@extends('admin.layout.master') @section('title', ucfirst($routeGroup).' List') @section('content')

{{ ucfirst($routeGroup) }} List

@if(checkAuthPermission($type==2?'customer.create':'vendor.create'))
Add New
@endif

{{-- @php($i = 1) @foreach ($customers as $customer) @endforeach --}}
# Code Name Ledger Email Mobile C Type Comm(%) Limit Apply Limit Status Action
{{ $i++ }} @if ($customer->code) {{ $customer->code }} @else

Not Found

@endif
@if ($customer->user_name) {{ $customer->user_name }} @else

Not Found

@endif
@if ($customer->name_eng) {{ $customer->name_eng }} @else

Not Found

@endif
@if ($customer->mobile) {{ $customer->mobile }} @else

Not Found

@endif
Edit @if (count($customer->shops) > 0) @endif
{{--
{!! $customers->links() !!}
--}} {{--
--}}
@include('inventory.forms.customer_info') {{-- --}} @endsection @section('script') @endsection