@foreach($invoices as $invoice)
{!! QrCode::generate(route('printInvoice', ["invoice_nos" => $invoice->invoice_no])) !!}

{{env('STATE_NAME')}} STATE IGR PLATFORM e-REVENUE RECEIPT

{{ env('APP_URL') }}

{{$currDate}}/{{strtoupper(substr(env('STATE_NAME'),0,3))}}/{{$invoice->id}}

PAYMENT DETAILS

{{env('STATE_NAME')}} STATE INTERNAL REVENUE SERVICE

Transaction Reference: {{$invoice->transaction_reference}}

Invoice Number: {{$invoice->invoice_no}}

Payer Name: {{$invoice->fname}} {{$invoice->lname}}

Payer Address / Phone: {{$invoice->address ? $invoice->address . " / " : ""}}{{$invoice->phone}}

Amount Paid: ₦{{number_format($invoice->amount,2)}}

Revenue Head: {{$invoice->service->name}}

Revenue Category: {{$invoice->mda->name}}

Channel: {{$invoice->paychannel}}({{$invoice->bankbranch}})

Details: {{$invoice->description}}

Date: {{$invoice->paid_at}}

Printed By: {{auth()->user()->name}}

TIMESTAMP: {{$timestamp}}

EXECUTIVE CHAIRMAN

@endforeach