{{----}} {{----}} {{----}}
{{$company->company_address}},
{{$company->city}}, Tanzania
Mob: {{$company->compny_phone}}
Email: {{$company->company_email}}
TAX INVOICE

CASH REQUISITION

{{----}} {{----}} {{----}} {{----}}
Requisition NO. : {{$requisition->id}}
Created By. : {{$requisition->initiator}}
Cost Center : {{$requisition->request_for}}
Requisition Date : {{\Carbon\Carbon::parse($requisition->date)->toDayDateTimeString()}} Status :--}} {{----}} {{--{{$requisition->status}}--}} {{----}} {{--
Required On : {{\Carbon\Carbon::parse($requisition->required_date)->toFormattedDateString()}} Time Remaining :--}} {{----}} {{----}} {{--
REQUESTED ITEMS
{{--*/ $total_requested = 0 /*--}} {{--*/ $j=1 /*--}} @foreach($requisition->requisitionItems as $index=> $requisition_item) {{--*/ $total_requested += $requisition_item->quantity*$requisition_item->price /*--}} {{--*/ $j++ /*--}} @endforeach @foreach($requisition->cashRequisitionItems as $index=> $requisition_item) {{--*/ $total_requested += $requisition_item->amount /*--}} {{--*/ $j++ /*--}} @endforeach
No. DESCRIPTION UoM/Currency QTY UNIT PRICE AMOUNT
{{$j}} {{$requisition_item->item_name}} @if(!empty($requisition_item->remarks))
({{$requisition_item->remarks}}) @endif
{{$requisition_item->unit_of_measure}} {{$requisition_item->quantity}} {{number_format($requisition_item->price)}} {{number_format($requisition_item->quantity*$requisition_item->price)}}
{{$j}} {{$requisition_item->account_name}} @if(!empty($requisition_item->descriptions))
({{$requisition_item->descriptions}}) @endif
{{$requisition_item->currency}} {{$requisition_item->quantity}} {{number_format($requisition_item->price)}} {{number_format($requisition_item->amount)}}
{{number_format($total_requested)}}
@if(!empty($requisition->remarks))
REMARKS( {{$requisition->initiator}} ): {{$requisition->remarks}}
@endif

@if(sizeof($requisition->requisitionApprovals) > 0) @foreach($requisition->requisitionApprovals as $requisition_approval)
Items Approved By {{$requisition_approval->employee_approve}} (as {{$requisition_approval->approve_as}}) at {{\Carbon\Carbon::parse($requisition_approval->date)->toDayDateTimeString()}}
{{--*/ $total_approved = 0 /*--}} {{--*/ $i = 1 /*--}} @foreach($requisition_approval->requisitionApprovalItems as $index=> $requisition_approval_item) {{--*/ $total_approved += $requisition_approval_item->quantity*$requisition_approval_item->price /*--}} {{--*/ $i++ /*--}} @endforeach @foreach($requisition_approval->cashRequisitionApprovalItems as $index=> $requisition_approval_item) {{--*/ $total_approved += $requisition_approval_item->amount /*--}} {{--*/ $i++ /*--}} @endforeach
No. DESCRIPTION UoM/Currency QTY UNIT PRICE AMOUNT
{{$i}} {{$requisition_approval_item->item_name}} @if(!empty($requisition_approval_item->description))
({{$requisition_approval_item->description}}) @endif
{{$requisition_approval_item->unit_of_measure}} {{$requisition_approval_item->quantity}} {{number_format($requisition_approval_item->price)}} {{number_format($requisition_approval_item->quantity*$requisition_approval_item->price)}}
{{$i}} {{$requisition_approval_item->account_name}} @if(!empty($requisition_approval_item->description))
({{$requisition_approval_item->description}}) @endif
{{$requisition_approval_item->currency}} {{$requisition_approval_item->quantity}} {{number_format($requisition_approval_item->price)}} {{number_format($requisition_approval_item->amount)}}
{{number_format($total_approved)}}
@if(!empty($requisition_approval->remarks))
REMARKS( {{$requisition_approval->employee_approve}} ): {{$requisition_approval->remarks}}
@endif
@endforeach @endif