{{ get_phrase('Select payment gateway') }}

{{ get_phrase('Item List') }}

@foreach ($payment_details['items'] as $key => $item) @endforeach @php $payable = $payment_details['payable_amount']; if (isset($payment_details['custom_field']['coupon_discount'])) { $payable = $payment_details['payable_amount'] + $payment_details['custom_field']['coupon_discount']; } $payable = $payable - $payment_details['tax']; @endphp @isset($payment_details['coupon']) @endisset @if ($payment_details['tax'] > 0) @endif

#{{ $key + 1 }}

{{ $item['title'] }}

@if ($item['discount_price'] > 0)

{{ currency(number_format($item['price'], 2)) }} {{ currency(number_format($item['discount_price'], 2)) }}

@else

{{ currency(number_format($item['price'], 2)) }}

@endif

{{ get_phrase('Total') }}

{{ currency(number_format($payable, 2)) }}

{{ get_phrase('Coupon') }} ({{ $payment_details['coupon'] }})

{{ get_phrase('-') }} {{ currency(number_format($payment_details['custom_field']['coupon_discount'], 2)) }}

{{ get_phrase('Tax') }}

{{ get_phrase('+') }} {{ currency(number_format($payment_details['tax'], 2)) }}

{{ get_phrase('Grand Total') }}: {{ currency(number_format($payment_details['payable_amount'], 2)) }}