{{-- --}} {{-- --}}

TAX INVOICE


Customer Copy / Control Copy

Company Name @php echo(ucwords(strtolower(trim($insjob->get_chklistfield_byId(1))))); @endphp Branch {{ $insjob->instask->workorder->insservice->zone->emirate->name }},{{ $insjob->instask->workorder->insservice->zone->name }},{{ $insjob->instask->workorder->insservice->location }} Contact ID: @php echo(ucwords(strtolower(trim($insjob->get_chklistfield_byId(2))))); @endphp Tel. NO. @php echo(ucfirst(strtolower(trim($insjob->get_chklistfield_byId(3))))); @endphp
Client VAT {{$insjob->instask->workorder->insservice->inqservice->branch->company->vat}} Invoice No. BSS-INS-{{$insinvoice->id}} Invoice Date {{$insinvoice->created_at->format('m/d/Y')}} Delivery Site {{$insjob->instask->workorder->insservice->invoice_delivery_site}}
LPO.NO {{$insjob->instask->workorder->insservice->insproposal->lpos->client_lpo_number}} Proposal.NO. {{$insjob->instask->workorder->insservice->insproposal->reference_number}} Paymethod {{$insjob->instask->workorder->insservice->insproposal->lpos->paymentmethods->name}} BSafe VAT 10000666666788452

@php $counter = 1; $total = 0; @endphp @php // foreach ($insjob->instask->workorder->instask()->where('original',1)->get() as $tsk) { // echo ($service_eq); // $cost = $service_eq->cost; // $total = $insjob->qty * $cost; // foreach ($tsk->insjobs()->where('original',1)->get() as $t_j) { $service_eq = $insjob->instask->workorder->insservice->get_equipment_pivot_by_id($insjob->service_equipment_pivot_id); $cost = $service_eq[0]['pivot']['cost']; echo(''); echo(' '); echo(''); $counter +=1; $total = $total + ($insjob->qty * $cost); // } // } @endphp
No. Document.NO. Description Quantity Unit Price Amount
'.$counter.' BSS-'.$insjob->insdocuments->id.' '.ucwords(strtolower(trim($insjob->equipment->name))).' '.$insjob->qty.' '.$cost.' '.$insjob->qty * $cost.'
Total {{$total}} AED
VAT 5% {{$total * 5/100}} AED
Total in Words: @php echo(ucwords(strtolower(trim(app('App\Http\Controllers\DocumentsController')->convert_numbers_to_words($total + ($total * 5/100)))))); @endphp Grand Total {{$total + ($total * 5/100)}} AED

Name Tel. NO.
Mobile Number Position
Date Location