@extends('admin.layout.master') @section('title',strtoupper($route_group)) @section('custom_style') @endsection @section ('content')

{{strtoupper($route_group)}} LIST

{{-- --}}
{{--
--}}
{{--
--}} {{--
--}}
@csrf
@if(isMarketingEnable()==1 && Request()->status==0) @endif @if(isMarketingEnable()==1 && Request()->status==0) @else @endif @php $p=1; $action_id=9; @endphp @forelse ($orders as $i=>$item) @if(isMarketingEnable()==1 && Request()->status==0) @else @endif @php $zn=null; $rm=null; $cm=null; if($item->marketing_user){ if($item->marketing_user->shop){ $zn=$item->marketing_user->shop; if($zn->parent){ $rm=$zn->parent; if($rm->parent){ $cm=$rm->parent; } } } } @endphp {{-- @php $zn=null; $rm=null; $cm=null; if($item->marketing_user){ if($item->marketing_user->shop){ $zn=$item->marketing_user->shop; if($zn->parent){ $rm=$zn->parent; if($rm->parent){ $cm=$rm->parent; } } } } @endphp --}} @empty @endforelse
showroom_id!=0)) disabled="disabled" @endif onclick="selectAllChild(this)">
# Date Order No CM RM ZONE Customer Action
showroom_id!=0)) disabled="disabled" @endif value="{{$item->id}}">
indent_id||$item->delivery_status>0) disabled @endif type="checkbox" value="{{$item->id}}" id="voucher_id_{{$item->id}}">
{{ ($p++) }} {{ date('d-M-Y h:i A',strtotime($item->created_at)) }} {{ $item->order_no }} {{ $cm?$cm->name:'N/A' }} {{ $rm?$rm->name:'N/A' }} {{ $zn?$zn->name:'N/A' }} {{ $cm?$cm->name:'N/A' }} {{ $rm?$rm->name:'N/A' }} {{ $zn?$zn->name:'N/A' }} @if($type>2) {{ $item->party?$item->party->name_eng:'N/A' }} @else {{ $item->srParty?$item->srParty->name_eng:'N/A' }} @endif Detail

{{--
--}} @endsection @section('script') @stop