@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(hasPermission('customers', 'update') || hasPermission('customers', 'delete') || hasPermission('customers','view')) @endif @if(hasPermission('customers', 'status')) @endif @foreach($customers as $row) @if(hasPermission('customers', 'update') || hasPermission('customers', 'delete') || hasPermission('customers','view')) @endif @if(hasPermission('customers', 'status')) @endif @endforeach
ActionCustomer ID Name Type Mobile NoStatus
@if(hasPermission('customers','view')) @endif @if(hasPermission('customers', 'update')) @endif @if(hasPermission('customers', 'delete')) @endif
{{ $row->customer_id}} {{ $row->customer_name}} {{ $row->customer_type}} {{ $row->mobile}} @if($row->status==1)Active@else Inactive @endif
@include('layouts.footer')