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->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 @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 @elseif($status_slug == 'needs-clarity') View @else View @endif @php $i++; @endphp @endif @if($data->order_creator_id > 0) @endif |