@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Purchase Order List') @section('css') @endsection @section('content')
@if (!$purchases->isEmpty()) @foreach($purchases as $purchase) @endforeach @endif
OrderDate Department Document No Deliver Date Type of Order Created By Time Actions
{{ dateFormat(@$purchase->order_date,'d-m-Y') }} {{ @$purchase->department->name }} {{ @$purchase->document_no }} {{ dateFormat(@$purchase->delivery_date,'d-m-Y') }} {{ @$purchase->order_type }} {{ @$purchase->user->nama }} {{ dateFormat(@$purchase->transaction_time, 'd-m-Y H:i:s') }}
@endsection @section('js') @endsection