{{$campany->company_name}}

Address: {{$campany->company_address}}, {{$campany->city}}, Tanzania
Mob: {{$campany->compny_phone}}
Email: {{$campany->company_email}}

{{$client->name}}

INVOICES FULL PAID

{{--*/ $total = 0 /*--}} {{--*/ $i = 1 /*--}} {{--*/ $amount_total =0 /*--}} {{--*/ $amount_paid_total =0 /*--}} @foreach($invoices as $index=>$invoice) @if(number_format($invoice->amount) == number_format($invoice->paidAmount)) {{--*/ $amount_total += $invoice->amount /*--}} {{--*/ $i++ /*--}} @endif @endforeach
S/N Inv. NO. Date. Description Amount
{{$i}} {{$invoice->id}} {{\Carbon\Carbon::parse($invoice->date_created)->toFormattedDateString()}} @if($invoice->truck == 'MULTIPLE ROUTE') MULTIPLE ROUTE @else {{$invoice->invoiceInDetails}} @endif {{number_format($invoice->amount,2)}}
Total Balance {{number_format($amount_total,2)}}