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

{{strtoupper(str_replace('_',' ',$route_group=='sr_order_list'?'sr_sale_list':$route_group))}}

{{-- --}}
@if($type<4)
@endif
{{--
--}} {{--
--}}
@csrf
{{-- --}}
@if(isMarketingEnable()==1 && Request()->status==0) @endif @if(isMarketingEnable()==1 && Request()->status==0) @else @endif {{-- --}} @if($type==3) @endif @php $p=1; $action_id=9; $total=0; $totalMemo=0; @endphp @forelse ($orders as $i=>$item) @if(isMarketingEnable()==1 && Request()->status==0) @else @endif {{-- --}} @if($type==3) @endif @empty @endforelse @if($type==3) @endif
showroom_id!=0)) disabled="disabled" @endif onclick="selectAllChild(this)">
# DateTransaction NoNameMemo NoAmount Action
showroom_id!=0)) disabled="disabled" @endif value="{{$item->id}}">
{{ ($p++) }} {{ date('d-M-Y h:i A',strtotime($item->date)) }} {{ $type>3?$item->order_no:$item->transaction_no }} @if($type>3) {{ $item->shop?$item->shop->name:'N/A' }} {{-- {{ $item->party?$item->party->name_eng:'N/A' }} --}} @else {{ $item->srParty?$item->srParty->name_eng:'N/A' }} @endif {{ $item->memo_no }} @php $totalMemo+=$item->memo_no; $total+=($type>3||$type==2)?$item->net_total:$item->details_sum; @endphp {{round(($type>3||$type==2)?$item->net_total:$item->details_sum)}} Detail @if($route_group=='sr_order_list' && checkAuthPermission('marketing.sr_order_update')) Edit Delete @else {{-- if($type==119 && checkAuthPermission('marketing.rm_target_update')) --}} Edit Delete @endif
TOTAL {{round($totalMemo)}} {{round($total)}}

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