@php $paymentsTotal = $paymentSummary['paymentsTotal']; $orderTotal = $paymentSummary['orderTotal']; $surcharge = number_format($paymentSummary['surcharge'], 2); @endphp @if ($Paymethods) @foreach ($Paymethods as $Paymethod) @if (isset($paymentSummary[$Paymethod->payment_key.'Amount'])) @endif @endforeach @endif @if (!empty($paymentSummary['CARDS'])) @foreach ($paymentSummary['CARDS'] as $cardType => $cardAmount) @php $cardTypePercentage = ($paymentsTotal != 0) ? number_format($cardAmount * 100 / $paymentsTotal, 2) : '0.00'; @endphp @endforeach @endif @if(Helper::widgetAccess('show_column_service_charge')) @endif @if (Helper::widgetAccess('show_column_tax_amount')) @endif @if (Helper::widgetAccess('show_refund_cash_card_data')) @endif
{{ __('lbl.Cash') }} {{storecurrency().number_format($paymentSummary['cashAmount'], 2) }} {{ $paymentSummary['cash_percentage'] }}%
{{ __('lbl.Card') }} {{storecurrency().number_format($paymentSummary['cardtotalpayment'], 2) }} {{ $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%
{{ __($Paymethod->payment_value) }} {{storecurrency().number_format($paymentSummary[$Paymethod->payment_key.'Amount'], 2) }} {{ $paymentSummary[$Paymethod->payment_key.'_percentage'] }}%
{{ __('lbl.CreditM') }} {{storecurrency().number_format($paymentSummary['creditMAmount'], 2) }} {{ $paymentSummary['creditm_percentage'] }}%
{{ $cardType }} {{storecurrency().number_format($cardAmount, 2) }} {{ $cardTypePercentage }}%
{{ __('lbl.CustomPayment') }} {{storecurrency().number_format(0, 2) }} 0.00%
{{ __('lbl.TotalTenderPayments') }} {{storecurrency().number_format(0, 2) }} 0.00%
{{ __('lbl.GiftCards') }} {{storecurrency().number_format($giftCardOrders->gift_card_amount, 2) }} 0.00%
{{ __('lbl.tip_amount') }} {{storecurrency().number_format($paymentSummary['tipAmount'], 2) }} 0.00%
{{ __('lbl.service_charge') }} {{storecurrency().number_format($paymentSummary['serviceCharge'], 2) }} 0.00%
{{ __('lbl.service_charge_cash') }} {{storecurrency().number_format($paymentSummary['service_charge_cash'], 2) }} 0.00%
{{ __('lbl.service_charge_card') }} {{storecurrency().number_format($paymentSummary['service_charge_card'], 2) }} 0.00%
{{ __('lbl.surchages') }} {{storecurrency().number_format($paymentSummary['surcharge'], 2) }}
{{ __('lbl.tax_amount') }} {{storecurrency().number_format($paymentSummary['tax_amount'], 2) }} 0.00%
{{ __('lbl.tax_amount_cash') }} {{storecurrency().number_format($paymentSummary['tax_amount_cash'], 2) }} 0.00%
{{ __('lbl.tax_amount_card') }} {{storecurrency().number_format($paymentSummary['tax_amount_card'], 2) }} 0.00%
{{ __('lbl.refunds') }} {{storecurrency().number_format($paymentSummary['refundAmount'], 2) }}
{{ __('lbl.refund_amount_cash') }} {{storecurrency().number_format($paymentSummary['total_refund_cash'], 2) }} 0.00%
{{ __('lbl.refund_amount_card') }} {{storecurrency().number_format($paymentSummary['total_refund_card'], 2) }} 0.00%
{{ __('lbl.payments_total') }} {{storecurrency().number_format($paymentsTotal, 2) }} 100.00%