@include('layouts.header')
@include('layouts.sidebar')

Customer Management

@if (session('success')) @endif @if (session('error')) @endif @if ($errors->has('phno')) @endif

Customer Table

@php $no = '1'; @endphp @foreach ($customers as $customer) @php $no++; @endphp @endforeach
No. Name Phone Number Customer Type Address Action
{{ $no }} {{ $customer->name }} {{ $customer->phno }} {{ $customer->type }} {{ $customer->address }}