@php $is_warehouse_only = current_warehouse() == current_store(); @endphp
| # | {{__('obs.order_no')}} | {{__('obs.date')}} | {{__('obs.customer_name')}} | {{__('obs.net_total')}} | {{__('obs.delivery_status')}} | {{__('obs.approval_status')}} | {{__('obs.action')}} | @foreach ($result['orders'] as $key => $odr)|||
|---|---|---|---|---|---|---|---|---|---|---|
| --}} | {{ ++$key }} | {{ $odr->order_no }} | {{ date('d-m-Y h:i a', strtotime($odr->date)) }} | {{----}} {{-- | {{ $odr->createdBy->name }} | --}}{{ $odr->party ? $odr->party->name_eng : '' }} | {{ number_format($odr->net_total, 2) }} | {{-- 0=pending, 1=rejected paid, 2=delivered --}} @if ($odr->delivery_status == 0) {{__('obs.pending')}} @elseif ($odr->delivery_status == 1) {{__('obs.rejected')}} @elseif($odr->delivery_status == 2) {{__('obs.delivered')}} @endif | {{-- 0=stand by, 1= Panding, 2=Approve --}} {!! isset($result['approvals'][$odr->id])?$result['approvals'][$odr->id]:($odr->approve_status == 1?__('obs.approved'):'') !!} @if (isset($result['action_id'])) @endif | @php $print_url = $odr->posting_view->print??'inventory.order.print'; if ($odr->transaction_type == 14) $edit_url = $odr->posting_view->edit??'inventory.order.edit'; else $edit_url = $odr->posting_view->edit??'inventory.order.edit'; @endphp |
| Total | ||||||||||