@extends('Admin.master_layout.master') @section('title', getTitleInPage()) @section('header_menu') @parent @endsection @section('sidebar_menu') @parent @endsection @section('content')
Checker Name : @if($checker_user_id != '') {{ getUserName($checker_user_id) }} @else {{ getUserName(Auth::user()->id) }} @endif Branches Assigned : {{ $merchantQueCount }} (M: {{$mainBranchTotal}} ; P: {{$parentBranchTotal}} ; S: {{$subBranchTotal}} )
@if($date != null)
@else @endif @if(Auth::user()->is_branch_authorise == 1)
@endif
@if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if (Session::has('error'))
{!! Session::get('error') !!}
@endif @if (Session::has('success'))
{!! Session::get('success') !!}
@endif
{{ getTitleInPage() }} - List
@if(count($orders) > 0) @php $i = 1; @endphp @foreach($orders as $data) @if($data->date != getOpenDate($data->auto_mer_id)) @endif @endforeach @endif
No. Date Voucher Type DOP Branch Name Amount Remark User Details Transaction Actions
{{ $no++ }} {{ changeDateFormate($data->date) }} {{ getMerchantVoucherType($data->voucher_type_id) }} {{ getDOPMerchantName(getDOPMerchantbySlug($data->dop_slug,$data->ho_id)) }}
@if(count(App\Model\Orders::getItemListbyMain($data->id)) > 0) @if($data->dop_slug == 'cash-bill-paid') Bill No : {{ $data->bill_no }}
Bill Date : {{ changeDateFormate($data->bill_date) }}
@endif @foreach(App\Model\Orders::getItemListbyMain($data->id) as $item => $valItem)
Item Name : {{ getItemMerchantListTitle($valItem->item_id,$data->ho_id) }}
Amount : {{ getCurrencySymbolByHo($data->ho_id) }} {{ $valItem->amount }}
Dr : {{ str_replace('Branch', getMechantShortCode($data->auto_mer_id).'-'.getBranchCode($data->auto_mer_id), getAccountHeadByIdMerchant($valItem->dr_account_head))}}
Cr : {{ str_replace('Branch', getMechantShortCode($data->auto_mer_id).'-'.getBranchCode($data->auto_mer_id), getAccountHeadByIdMerchant($valItem->cr_account_head))}}
{{ getFileName($valItem->invoice_file) }} @endforeach @else
@if($data->transaction_type_slug == 'Ctfr-IB') @if($data->cashinout == 'out') Dr : {{ str_replace('Branch', getMechantShortCode($data->parent_merchant_id).'-'.getBranchCode($data->parent_merchant_id), getAccountHeadByIdMerchant($data->dr_account_head))}}
Cr : {{ str_replace('Branch', getMechantShortCode($data->merchant_id).'-'.getBranchCode($data->merchant_id), getAccountHeadByIdMerchant($data->cr_account_head))}}
@endif @if($data->cashinout == 'in') Dr : {{ str_replace('Branch', getMechantShortCode($data->merchant_id).'-'.getBranchCode($data->merchant_id), getAccountHeadByIdMerchant($data->dr_account_head))}}
Cr : {{ str_replace('Branch', getMechantShortCode($data->parent_merchant_id).'-'.getBranchCode($data->parent_merchant_id), getAccountHeadByIdMerchant($data->cr_account_head))}}
@endif @elseif($data->transaction_type_slug == 'Ctfr-MM') Dr : {{ str_replace('Branch', getMechantShortCode($data->receiver_merchant_id).'-'.getBranchCode($data->receiver_merchant_id), getAccountHeadByIdMerchant($data->dr_account_head))}}
Cr : {{ str_replace('Branch', getMechantShortCode($data->sender_merchant_id).'-'.getBranchCode($data->sender_merchant_id), getAccountHeadByIdMerchant($data->cr_account_head))}}
@else Dr : {{ str_replace('Branch', getMechantShortCode($data->auto_mer_id).'-'.getBranchCode($data->auto_mer_id), getAccountHeadByIdMerchant($data->dr_account_head))}}
Cr : {{ str_replace('Branch', getMechantShortCode($data->auto_mer_id).'-'.getBranchCode($data->auto_mer_id), getAccountHeadByIdMerchant($data->cr_account_head))}}
@endif {{ getFileName($data->invoice_file) }} @endif
{{ getMechantShortCode($data->auto_mer_id) }}-{{ getBranchCode($data->auto_mer_id) }} {{ getCurrencySymbolByHo($data->ho_id) }} {{ $data->amount }} @if($data->transaction_type_slug == 'CexpWB' || $data->transaction_type_slug == 'CexpPV' || $data->transaction_type_slug == 'CDB' || $data->transaction_type_slug == 'Ctfr-IB' && $data->cashinout == 'out') @else @endif @if($data->remark != '') Remarks : {{ $data->remark }} @endif
@if($data->remark_maker != '') Clarification : {{ $data->remark_maker }} @endif
@if($data->order_creator_id > 0) Name : {{ getUserDetailsInfo($data->order_creator_id)->name }}
Email : {{ getUserDetailsInfo($data->order_creator_id)->email }}
Phone. : {{ getUserDetailsInfo($data->order_creator_id)->phone }}
@endif
ID: {{ $data->id }}
Status: {{ getMerchantTransactionStatusNamebySlug($data->status_slug,$data->ho_id) }}
@if($data->transaction_type_slug != 'Ctfr-IB' && $data->transaction_type_slug != 'IB-CDB') @if(checkDayCheaking($data->auto_mer_id,$data->date,$data->status_slug)) View @else View @endif @php $i++; @endphp @endif @if($data->order_creator_id > 0) @endif
@endsection @section('footer') @parent @endsection @section('extraa_script_and_js') @parent @endsection