{{$company->company_name}}

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

ASSET SERVICE REQUISITION

@if($job_card) @endif
REQ#. : {{$requisition->id}}
Created By. : {{$requisition->initiator}}
Date : {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}}   {{ explode(' ', \Carbon\Carbon::parse($requisition->date)->toDateTimeString())[1]}}
Job-Card : {{($requisition->job_card->job_card_id)}}
Vendor: {{($job_card->vendor)}}
Requisition Details
{{-- --}} @foreach($requisition->requisitionItems as $index=>$requisition_item) @if(!$requisition_item->is_approved) @if($requisition_item->requisitionItemAccount) @if($requisition_item->is_rejected) @else @endif @else @foreach($requisition_item->requisitionItemDescription as $requisition_item_description) @if($requisition_item->is_rejected) @else {{-- --}} @endif @endforeach @endif @endif @endforeach @if($rejected_amount_total > 0) @endif
S/N Asset LocationCustodianService Type Currency Amount
{{++$number}} {{$requisition_item->requisitionItemDescription[0]->asset->item->name}} ({{ $requisition_item->requisitionItemDescription[0]->asset->code }}) {{$requisition_item->requisitionItemDescription[0]->job_card_item->asset()->location}} {{$requisition_item->requisitionItemDescription[0]->asset->item->unitOfMeasurement->name}} {{$requisition_item->currency}} {{ number_format(( $requisition_item->requisitionItemAccount->amount), 2)}}
{{++$number}} {{$requisition_item->requisitionItemDescription[0]->asset->item->name}} ({{ $requisition_item->requisitionItemDescription[0]->asset->code }}) {{$requisition_item->requisitionItemDescription[0]->job_card_item->asset()->location}} {{$requisition_item->requisitionItemDescription[0]->asset->item->unitOfMeasurement->name}} {{$requisition_item->currency}} {{ number_format(( $requisition_item->requisitionItemAccount->amount), 2)}}
{{++$number}} {{$requisition_item_description->asset->item->name}} ({{ $requisition_item_description->asset->code }}) {{$requisition_item_description->job_card_item->asset()->location}} {{$requisition_item_description->asset->item->unitOfMeasurement->name}} {{$requisition_item->currency}} {{ number_format(( $requisition_item->requisitionItemItem->rate), 2)}}
{{++$number}} {{ $requisition_item_description->job_card_item->asset()->name }} {{$requisition_item_description->job_card_item->asset()->location}}{{$requisition_item_description->job_card_item->asset()->custodian}}{{$requisition_item_description->asset->item->name}} {{$requisition_item->currency}} {{ number_format(( $requisition_item->requisitionItemItem->rate), 2)}}
TOTAL {{number_format($amount_total ? $amount_total : $amount_total ,2)}}
TOTAL {{number_format($amount_total - $rejected_amount_total > 0 ? $amount_total - $rejected_amount_total : 0 ,2)}}
{{----}}