{{++$number}} |
Approved
|
{{$requisition_approval_item->requisitionApprovalItemItem->item->name }} |
{{--{{$requisition->remarks}} | --}}
{{''}} |
{{$requisition_approval_item->requisitionItem->requisitionItemCostCenter->costCenter->name}} |
{{$requisition_approval_item->requisitionApprovalItemItem->quantity}} |
{{$requisition_approval_item->requisitionApprovalItemItem->item->units}} |
{{'TSH'}} |
{{number_format($requisition_approval_item->requisitionApprovalItemItem->rate, 2)}} |
{{ number_format(($requisition_approval_item->requisitionApprovalItemItem->quantity*$requisition_approval_item->requisitionApprovalItemItem->rate), 2)}} |
@endforeach
@endif
@foreach($requisition->requisitionItems as $index=>$requisition_item)
@if(!$requisition_item->is_approved)
@if($requisition_item->is_rejected)
{{++$number}} |
Rejected
|
{{$requisition_item->requisitionItemAccount->account ? $requisition_item->requisitionItemAccount->account->name : $requisition_item->requisitionItemItem->item->name }} |
{{$requisition_item->remarks != '' ? $requisition_item->remarks : $requisition->remarks }} |
{{$requisition_item->requisitionItemCostCenter->costCenter->name ? $requisition_item->requisitionItemCostCenter->costCenter->name : $requisition_item->requisitionItemDepartment->department->dept_name}} |
{{$requisition_item->requisitionItemItem->quantity}} |
{{$requisition_item->requisitionItemItem->item->unit->name}} |
{{$requisition_item->currency}} |
{{number_format($requisition_item->requisitionItemItem->item->stock_price, 2)}} |
{{ number_format(($requisition_item->requisitionItemItem->quantity * $requisition_item->requisitionItemItem->item->stock_price), 2)}} |
@else
{{++$number}} |
Pending
|
{{($requisition_item->requisitionItemAccount) ? $requisition_item->requisitionItemAccount->account->name : $requisition_item->requisitionItemItem->item->name }} |
{{$requisition_item->remarks != '' ? $requisition_item->remarks : $requisition->remarks }} |
{{$requisition_item->requisitionItemCostCenter->costCenter->name ? $requisition_item->requisitionItemCostCenter->costCenter->name : $requisition_item->requisitionItemDepartment->department->dept_name}} |
{{$requisition_item->requisitionItemItem->quantity}} |
{{$requisition_item->requisitionItemItem->item->unit->name}} |
{{$requisition_item->currency}} |
{{number_format($requisition_item->requisitionItemItem->item->stock_price, 2)}} |
{{ number_format(($requisition_item->requisitionItemItem->quantity * $requisition_item->requisitionItemItem->item->stock_price), 2)}} |
@endif
@endif
@endforeach