Date-Time Generated: {{ \Carbon\Carbon::now()->format('M d, Y g:i A') }}

{{ strtoupper(session('company_name')) }}

{{ strtoupper(session('branch_name')) }}

List of Customer Referrals

{{ date('M d, Y', strtotime($date_from)) . ' - ' . date('M d, Y', strtotime($date_to)) }}


@foreach ($data as $d) @endforeach {{-- --}}
Appl Number Customer Name Address Class Referral Type Referred By Status Appl Status Date Generated
{{ $d->application_number }} {{ strtoupper($d->cust_name) }} {{ strtoupper($d->complete_address) }} {{ $d->acct_class }} {{ strtoupper($d->referral_type ) }} {{ strtoupper($d->referral_name ) }} {{ strtoupper($d->application_status ) }} {{ strtoupper($d->promo_title ) }} {{ date('F d, Y', strtotime($d->created_at)) }}
Grand Total: {{ $total['total_count'] }} {{ number_format($total['total_amt'], 2,".",",") }}