{{ getTitleInPage() }}
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach @if (Session::has('error')){!! Session::get('error') !!}
@endif
@if($ho_id > 0)
{{ getTitleInPage() }}
{{ $getHo->receipt_number_prefix }}- @if($parent_merchant_id != '') {{ getMerchantNameById($parent_merchant_id) }} @else {{ getMerchantNameById($ho_id) }} @endif ({{$fiscal_year}}) Trial Balance 1-{{ getMonthName($from_month) }}-{{$fiscalY[0]}} to @if($to_month >= 1 && $to_month <= 3) {{$lastdate}}-{{ getMonthName($to_month) }}-{{$fiscalY[1]}} @else {{$lastdate}}-{{ getMonthName($to_month) }}-{{$fiscalY[0]}} @endif |
||||||||
Particulars | Opening Balance |
Transactions
|
Closing Balance | |||||
{{ $val['group_name'] }} |
|
{{ $val['group_total'] }} @if($val['dr_cr_type'] == 'dr') Dr @elseif($val['dr_cr_type'] == 'cr') Cr @endif | ||||||
{{ $hed['head_name'] }} | @if($hed['head_slug'] == 'sat-ho-for-opening-balance') @if($hed['totalHeadDR'] > 0) {{ $hed['totalHeadDR'] }} Dr @endif @if($hed['totalHeadCR'] > 0) {{ $hed['totalHeadCR'] }} Cr @endif @else @if($hed['dr_cr_type'] == 'dr' && $hed['dr_op'] > 0) {{ $hed['dr_op'] }} Dr @elseif($hed['cr_op'] > 0) {{ $hed['cr_op'] }} Dr @endif @endif @if($hed['head_slug'] == 'contra-sat-ho-for-opening-balance') {{ $hed['ledger_total'] }} Cr @endif |
|
{{ $hed['ledger_total'] }} @if($hed['dr_cr_type'] == 'dr') Dr @elseif($hed['dr_cr_type'] == 'cr') Cr @endif | |||||
Grand Total |
|
View Ledger Report
@if(count($ordersPending) > 0)
View Pending Report
@endif
@endif
Date | Particulars | Vch Type | Vch No. | Debit | Credit |
{{ date('d-m-Y', strtotime($openingArr['date'])) }} | {{ $openingArr['cr_dr_type'] }} {{ $openingArr['Particulars'] }} | {{ $openingArr['dr'] }} | |||
@if($v['date'] != null) {{ date('d-m-Y', strtotime($v['date'])) }} @endif | {{ $v['cr_dr_type'] }} {{ $v['Particulars'] }} | {{ getMerchantVoucherType($v['voucher_type_id']) }} | {{ $v['order_id'] }} | @if($v['dr'] > 0) {{ $v['totalItem'] }} @endif | @if($v['cr'] > 0) {{ $v['totalItem'] }} @endif |
@if($v['date'] != null) {{ date('d-m-Y', strtotime($v['date'])) }} @endif | @if($v['is_check_main'] == 0) {{ $v['cr_dr_type'] }} @else @endif @if($v['cr_dr_type'] == 'Cr') {{ str_replace('Branch', getMechantShortCode($v['merchant_id']).'-'.getBranchCode($v['merchant_id']), getAccountHeadByIdMerchant($v['ledger_id'])) }} @else {{ str_replace('Branch', getMechantShortCode($v['merchant_id']).'-'.getBranchCode($v['merchant_id']), getAccountHeadByIdMerchant($v['ledger_id'])) }} @endif | @if($v['is_check_main'] == 1) {{ $v['amount'] }} {{ $v['cr_dr_type'] }} @else {{ getMerchantVoucherType($v['voucher_type_id']) }} @endif | @if($v['is_check_main'] == 0) {{ $v['order_id'] }} @endif | @if($v['dr'] > 0 && $v['is_check_main'] == 0) {{ $v['dr'] }} @endif | @if($v['cr'] > 0 && $v['is_check_main'] == 0) {{ $v['cr'] }} @endif |
@if($val['date'] != null) {{ date('d-m-Y', strtotime($val['date'])) }} @endif | {{ $val['cr_dr_type'] }} @if($val['cr_dr_type'] == 'Cr') {{ str_replace('Branch', getMechantShortCode($val['merchant_id']).'-'.getBranchCode($val['merchant_id']), getAccountHeadByIdMerchant($val['ledger_id'])) }} @else {{ str_replace('Branch', getMechantShortCode($val['merchant_id']).'-'.getBranchCode($val['merchant_id']), getAccountHeadByIdMerchant($val['ledger_id'])) }} @endif | {{ getMerchantVoucherType($val['voucher_type_id']) }} | {{ $val['order_id'] }} | @if($val['dr'] > 0) {{ $val['dr'] }} @endif | @if($val['cr'] > 0) {{ $val['cr'] }} @endif |
Dr Closing Balance | {{$grandTotalDr}} | {{$grandTotalCr}} | |||
{{ $grandTotalDr-$grandTotalCr}} | |||||
{{$grandTotalDr}} | {{$grandTotalDr}} |
Date | Particulars | Vch Type | Vch No. | Debit | Credit |
@if($val['date'] != null) {{ date('d-m-Y', strtotime($val['date'])) }} @endif | {{ str_replace('Branch', getMechantShortCode($val['auto_mer_id']).'-'.getBranchCode($val['auto_mer_id']), getAccountHeadByIdMerchant($val['cr_account_head'])) }} | {{ getMerchantVoucherType($val['voucher_type_id']) }} | {{ $val['id'] }} | {{ $val['amount'] }} | |
Dr Closing Balance | {{$pendingTotal}} |