@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Purchase Request List') @section('css') @endsection @section('content')
@if (!$purchases->isEmpty()) @foreach($purchases as $purchase) {{-- --}} @foreach (@$purchase->purchaseRequestDetail as $detail) @endforeach @endforeach @endif
none Department ReqNo Request Date Needed Date ArtNo Description Quantity D-Unit Content Actions
{{ @$purchase->department->name }}
{{ @$purchase->department->name }} {{ $purchase->id }}-{{ $purchase->request_no }}-{{$purchase->is_approved_1}} {{ date('d-m-Y', strtotime($purchase->request_date)) }} {{ date('d-m-Y', strtotime($purchase->needed_by)) }} {{ @$detail->stock->article_no }} {{ @$detail->stock->description }} {{ ribuan(@$detail->qty) }} {{ @$detail->stock->deliveryUnit->description }} {{@$detail->stock->content_delivery_unit ? ribuanDuaAngkaBelakangKomaIndo(@$detail->stock->content_delivery_unit) : ''}}
@endsection @section('js') @endsection