@if($total_received_payments_by_other >0 ) @endif
@lang('cash_register.sales_summery'):
@lang('cash_register.total_sales'): {{ $cashRegister['totalCashSale'] }}
@lang('app.credit_sales'): {{ $cashRegister['totalCreditSaleOrPartialPaid'] }}
Note: @lang('app.only_remaining_credit_payment_will_be_displayed')
@lang('cash_register.credit_sale_cash_received_by_other_cashier') {{ $total_received_payments_by_other }}
@lang('cash_register.total_sales_cash_credit'): {{ $cashRegister['totalSale'] }}

@if($cashRegister['totalPaymentByCash'] > 0 || $cashRegister['totalExpenseByCash'] > 0) @endif @if($cashRegister['totalPaymentByCheque'] > 0 || $cashRegister['totalExpenseByCheque'] > 0) @endif @if($cashRegister['totalPaymentByCard'] > 0 || $cashRegister['totalExpenseByCard'] > 0) @endif @if($cashRegister['totalPaymentByBankTransfer'] > 0 || $cashRegister['totalExpenseByBankTransfer'] > 0) @endif @if($cashRegister['totalPaymentByAdvance'] > 0 || $cashRegister['totalExpenseByAdvance'] > 0) @endif @if(array_key_exists('custom_pay_1', $payment_types)) @if($cashRegister['totalPaymentByCustomPay1'] > 0 || $cashRegister['totalExpenseByCustomPay1'] > 0) @endif @endif @if(array_key_exists('custom_pay_2', $payment_types)) @if($cashRegister['totalPaymentByCustomPay2'] > 0 || $cashRegister['totalExpenseByCustomPay2'] > 0) @endif @endif @if(array_key_exists('custom_pay_3', $payment_types)) @if($cashRegister['totalPaymentByCustomPay3'] > 0 || $cashRegister['totalExpenseByCustomPay3'] > 0) @endif @endif @if(array_key_exists('custom_pay_4', $payment_types)) @if($cashRegister['totalPaymentByCustomPay4'] > 0 || $cashRegister['totalExpenseByCustomPay4'] > 0) @endif @endif @if(array_key_exists('custom_pay_5', $payment_types)) @if($cashRegister['totalPaymentByCustomPay5'] > 0 || $cashRegister['totalExpenseByCustomPay5'] > 0) @endif @endif @if(array_key_exists('custom_pay_6', $payment_types)) @if($cashRegister['totalPaymentByCustomPay6'] > 0 || $cashRegister['totalExpenseByCustomPay6'] > 0) @endif @endif @if(array_key_exists('custom_pay_7', $payment_types)) @if($cashRegister['totalPaymentByCustomPay7'] > 0 || $cashRegister['totalExpenseByCustomPay7'] > 0) @endif @endif @if($cashRegister['totalPaymentByOther'] > 0 || $cashRegister['totalExpenseByOther'] > 0) @endif
@lang('cash_register.payment_distribution'):
@lang('app.payment_method') @lang('sale.amount')
@lang('cash_register.cash_payment'): {{ $cashRegister['totalPaymentByCash'] }}
@lang('cash_register.checque_payment'): {{ $cashRegister['totalPaymentByCheque'] }}
@lang('cash_register.card_payment'): {{ $cashRegister['totalPaymentByCard'] }}
@lang('cash_register.bank_transfer'): {{ $cashRegister['totalPaymentByBankTransfer'] }}
@lang('app.advance_payment'): {{ $cashRegister['totalPaymentByAdvance'] }}
{{$payment_types['custom_pay_1']}}: {{ $cashRegister['totalPaymentByCustomPay1'] }}
{{$payment_types['custom_pay_2']}}: {{ $cashRegister['totalPaymentByCustomPay2'] }}
{{$payment_types['custom_pay_3']}}: {{ $cashRegister['totalPaymentByCustomPay3']}}
{{$payment_types['custom_pay_4']}}: {{ $cashRegister['totalPaymentByCustomPay4'] }}
{{$payment_types['custom_pay_5']}}: {{ $cashRegister['totalPaymentByCustomPay5'] }}
{{$payment_types['custom_pay_6']}}: {{ $cashRegister['totalPaymentByCustomPay6'] }}
{{$payment_types['custom_pay_7']}}: {{ $cashRegister['totalPaymentByCustomPay7'] }}
@lang('cash_register.other_payments'): {{ $cashRegister['totalPaymentByOther'] }}
@lang('cash_register.total'): {{ $cashRegister['totalReceivedPayment'] }}

@if($cashRegister['totalReceivedOthersCashierSalesCashPayment'] > 0) @endif @if($cashRegister['totalRefund'] != 0) @endif
@lang('cash_register.Finalize_cash_transaction'):
@lang('cash_register.cash_in_hand'): {{ $cashRegister['openingCash'] }}
@lang('cash_register.total_cash_sales_payment'): {{ $cashRegister['totalReceivedOwnSaleCashPayment'] }}
@lang('cash_register.others_sales_payment'): {{ $cashRegister['totalReceivedOthersCashierSalesCashPayment'] }}
@lang('cash_register.total_refund'): {{ $cashRegister['totalRefund'] }}
@if($cashRegister['totalCashRefund'] != 0) Cash: {{ $cashRegister['totalCashRefund'] }}
@endif @if($cashRegister['totalRefundByCheque'] != 0) Cheque: {{ $cashRegister['totalRefundByCheque'] }}
@endif @if($cashRegister['totalRefundByCard'] != 0) Card: {{ $cashRegister['totalRefundByCard'] }}
@endif @if($cashRegister['totalRefundByBankTransfer'] != 0) Bank Transfer: {{ $cashRegister['totalRefundByBankTransfer'] }}
@endif @if(array_key_exists('custom_pay_1', $payment_types) && $cashRegister['totalRefundByCustomPay1'] != 0) {{$payment_types['custom_pay_1']}}: {{ $cashRegister['totalRefundByCustomPay1'] }} @endif @if(array_key_exists('custom_pay_2', $payment_types) && $cashRegister['totalRefundByCustomPay2'] != 0) {{$payment_types['custom_pay_2']}}: {{ $cashRegister['totalRefundByCustomPay2'] }} @endif @if(array_key_exists('custom_pay_3', $payment_types) && $cashRegister['totalRefundByCustomPay3'] != 0) {{$payment_types['custom_pay_3']}}: {{ $cashRegister['totalRefundByCustomPay3'] }} @endif @if($cashRegister['totalRefundByOther'] != 0) Other: {{ $cashRegister['totalRefundByOther'] }} @endif
@lang('app.total_payment'): {{ $cashRegister['closingCash'] }}