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

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

{{-- --}}
{{-- --}}
{{--
--}}
{{--
--}}
@csrf @php $p=1; $action_id=9; @endphp @forelse ($orders as $i=>$item) @empty @endforelse
# {{lt('obs.order_no')}} {{lt('obs.date')}} {{lt('obs.order_type')}} {{lt('obs.group')}} {{lt('obs.status')}} {{lt('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')) }} {{lt('obs.print')}} {{lt('obs.print')}} @if ($item->delivery_status == 2) @php $showBill=0; $invoice=$item->fgStoreInvoice??$item->storeInvoice; @endphp @if($invoice && $invoice->status==1) {{lt('obs.bill')}} {{lt('obs.bill')}} @endif @endif
@include('inventory.order.detail_modal') @endsection @section('script') @stop