@extends('admin.layout.master') @section('title',$blade_type==1?'ORDER LIST MANAGEMENT':'DELIVERY LIST MANAGEMENT') @section('custom_style') @endsection @section ('content')

{{$type==1? __('obs.order_return_list') : ''}}

{{-- --}}
{{-- --}}
{{--
--}}
{{--
--}}
@csrf @php $p=1; $action_id=9; @endphp @forelse ($orders as $i=>$item) @empty @endforelse
# {{__('obs.order_no')}} {{__('obs.date')}} {{__('obs.order_type')}} {{__('obs.group')}} {{__('obs.status')}} {{__('obs.action')}}
{{ ($p++) }} {{ $item->order_no }} {{ date('d-M-Y h:i A',strtotime($item->created_at)) }} {{ $item->special==1?'Special':'Normal' }} {{ $item->group==0?'All':$item->groupInfo->name }} {{ ($item->delivery_status==2?'DELIVERED':($item->delivery_status==0?'PENDING':'REJECTED')) }} {{__('obs.print')}} {{__('obs.print')}} @if ($item->delivery_status == 2) @php $showBill=0; $invoice=$item->fgStoreInvoice??$item->storeInvoice; @endphp @if($invoice && $invoice->status==1) {{__('obs.bill')}} {{__('obs.bill')}} @endif @endif
@include('inventory.order.detail_modal') @endsection @section('script') @stop