|
@php
$paymentsTotal = $paymentSummary['paymentsTotal'];
$surcharge = $paymentSummary['surcharge'];
$orderTotal = $paymentSummary['orderTotal'];
@endphp
{{ __('lbl.Cash') }} |
{{ $paymentSummary['cashAmount'] }} |
{{ $paymentSummary['cash_percentage'] }} |
% |
|
{{ __('lbl.Card') }} |
{{ $paymentSummary['cardtotalpayment'] }} |
{{ $paymentSummary['card_percentage'] }} |
% |
|
{{ __('lbl.cash_transctions') }} |
{{ $paymentSummary['cashTranactions'] }} |
{{ $paymentSummary['cash_trans_perc'] }} |
% |
|
{{ __('lbl.card_transctions') }} |
{{ $paymentSummary['cardTransactions'] }} |
{{ $paymentSummary['card_trans_perc'] }} |
% |
|
{{ __('lbl.other_transctions') }} |
{{ $paymentSummary['otherTransactions'] }} |
{{ $paymentSummary['other_trans_perc'] }} |
% |
|
{{ __('lbl.total_transctions') }} |
{{ $paymentSummary['totalTransactions'] }} |
100 |
% |
|
@if (!empty($Paymethods))
@foreach ($Paymethods as $key => $Paymethod)
@if(isset($paymentSummary[$Paymethod->payment_key.'Amount']))
{{ __($Paymethod->payment_value) }} |
{{storecurrency().$paymentSummary[$Paymethod->payment_key.'Amount'] }} |
{{ $paymentSummary[$Paymethod->payment_key.'_percentage'] }} |
% |
|
@endif
@endforeach
@endif
{{ __('lbl.CreditM') }} |
{{storecurrency().$paymentSummary['creditMAmount'] }} |
{{ $paymentSummary['creditm_percentage'] }} |
% |
|
@if (!empty($paymentSummary['CARDS']))
@foreach ($paymentSummary['CARDS'] as $cardType => $cardAmount)
@php
$cardTypePercentage = ($paymentsTotal != 0) ? $cardAmount * 100 / $paymentsTotal : '0.00';
$cardTypePercentage = round($cardTypePercentage,2);
@endphp
{{ $cardType }} |
{{storecurrency().storecurrency().$cardAmount }} |
{{ $cardTypePercentage }} |
% |
|
@endforeach
@endif
{{ __('lbl.CustomPayment') }} |
{{storecurrency()}}0 |
0.00 |
% |
|
{{ __('lbl.TotalTenderPayments') }} |
{{storecurrency()}}0 |
0.00 |
% |
|
{{ __('lbl.GiftCards') }} |
{{storecurrency()}}0 |
0.00 |
% |
|
{{ __('lbl.tip_amount') }} |
{{storecurrency().$paymentSummary['tipAmount'] }} |
0.00 |
% |
|
@if(Helper::widgetAccess('show_column_service_charge'))
{{ __('lbl.service_charge') }} |
{{storecurrency().$paymentSummary['serviceCharge'] }} |
0.00 |
% |
|
{{ __('lbl.service_charge_cash') }} |
{{storecurrency().$paymentSummary['service_charge_cash'] }} |
0.00 |
% |
|
{{ __('lbl.service_charge_card') }} |
{{storecurrency().$paymentSummary['service_charge_card'] }} |
0.00 |
% |
|
@endif
{{ __('lbl.refunds') }} |
{{ $paymentSummary['refundAmount'] }} |
0.00 |
% |
|
@if(Helper::widgetAccess('show_refund_cash_card_data'))
{{ __('lbl.refund_amount_cash') }} |
{{storecurrency().$paymentSummary['total_refund_cash'] }} |
0.00% |
|
{{ __('lbl.refund_amount_card') }} |
{{storecurrency().$paymentSummary['total_refund_card'] }} |
0.00 |
% |
|
@endif
{{ __('lbl.surcharge') }} |
{{storecurrency().$paymentSummary['surcharge'] }} |
0.00 |
% |
|
@if(Helper::widgetAccess('show_column_tax_amount'))
{{ __('lbl.tax_amount') }} |
{{storecurrency().$paymentSummary['tax_amount'] }} |
0.00 |
% |
|
{{ __('lbl.tax_amount_cash') }} |
{{storecurrency().$paymentSummary['tax_amount_cash'] }} |
0.00 |
% |
|
{{ __('lbl.tax_amount_card') }} |
{{storecurrency().$paymentSummary['tax_amount_card'] }} |
0.00 |
% |
|
@endif
{{ __('lbl.payments_total') }} |
{{storecurrency().number_format($paymentSummary['paymentsTotal'],2) }} |
100.00 |
% |
|