@if($item_list->purchase_request_id > 0)
@permission('view-purchase-request')
PR-{{$item_list->purchase_request_id }}
@else
PR-{{$item_list->purchase_request_id }}
@endpermission
@else
--
@endif
|
{{$item_list->department->department_name}} |
{{ucfirst($item_list->releaser_name)}} |
{{ucfirst($item_list->receiver_name)}} |
@php $current_release = \App\Http\Controllers\ItemController::getCurrentRelease($item->id , $item_list->purchase_request_id , $item_list->department_id); @endphp {{$current_release}}
|
{{date('d-F-Y' , strtotime($item_list->releasing_date))}} |
@php $total_release = $total_release + $current_release; @endphp
@endforeach