@foreach ($parties as $party) @if ($party->type == 'Retailer') @else @endif @endforeach @if ($parties->count() > 0) @endif
{{ __('SL') }}. {{ __('Name') }} {{ __('Phone') }} {{ __('Type') }} {{ __('Credit Limit') }} {{ __('Due Amount') }}
{{ $loop->iteration }} {{ $party->name }} {{ $party->phone }}{{ __('Customer') }}{{ $party->type }}{{ currency_format($party->credit_limit, currency: business_currency()) }} {{ currency_format($party->due, currency: business_currency()) }}