@extends(!in_array(\Auth::user()->role, [10, 15]) ? 'layout' : 'layoutfrontdesk') @section('title', 'Direct Consume List') @section('css') @endsection @section('content')

Filter Data

@php $filter_date = $_GET['tanggal'] ?? ''; $filter_supplier = $_GET['supplier'] ?? ''; $filter_type = $_GET['type'] ?? ''; @endphp
@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 Direct Consume Date ArtNo Description Quantity Unit Price Amount Payment Type Actions
{{ $detail->supplier_id != 0 ? @$detail->supplier->company_name : 'Empty Recipient' }} {{ $receive->id }}+{{ $receive->document_no }}+{{$receive->department->name}}+{{dateFormat(@$receive->transaction_time, 'd-m-Y H:i:s')}}+{{$type}}+{{@$receive->type}}+{{ribuanWithComma($receive->total_amount)}} {{ dateFormat(@$receive->receiving_date,'d-m-Y') }} {{ @$detail->stock->article_no }} {{ @$detail->stock->description }} {{ ribuanDuaAngkaBelakangKomaIndoFilter(@$detail->qty) }} {{ ribuanWithComma($detail->price_unit) }} {{ ribuanWithComma($detail->amount) }} {{ $detail->payment_type == 1 ? 'AP' : 'Cash' }} {{-- --}}
@endsection @section('js') @endsection