@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Receiving List') @section('css') @endsection @section('content')
@if (!$receiving->isEmpty()) @foreach($receiving as $receive) @php $type = config('custom.receiving_type.' . $receive->type); if ($receive->type == 2) { $type = $type . ' (' . $receive->purchase_order->document_no . ')'; } @endphp @foreach ($receive->receiving_details as $detail) @endforeach @endforeach @endif
Supplier Document No Receiving Date ArtNo Description Quantity D-Unit Content Actions
{{ $detail->supplier_id != 0 ? @$detail->supplier->company_name : 'Empty Recipient' }} {{ $receive->id }}+{{ $receive->document_no }}+{{$receive->department->name}}+{{$type}}+{{dateFormat(@$receive->transaction_time, 'd-m-Y H:i:s')}}+{{@$receive->deletable()}}+{{@$receive->storage_status}} {{ dateFormat(@$receive->receiving_date,'d-m-Y') }} {{ @$detail->stock->article_no }} {{ @$detail->stock->description }} {{ ribuanDuaAngkaBelakangKomaIndoFilter(@$detail->qty) }} {{ @$detail->stock->deliveryUnit->description }} {{@$detail->stock->content_delivery_unit ? ribuanDuaAngkaBelakangKomaIndo(@$detail->stock->content_delivery_unit) : ''}} {{-- --}}
@endsection @section('js') @endsection