@php $payable_amount = $total_price * $qty; @endphp @if (session()->has('discount')) @endif @if ($setting?->tax_rate) @endif @if ($setting?->is_delivery_charge && $product->type == Modules\Shop\app\Models\Product::PHYSICAL_TYPE) @endif
{{ __('Product') }} {{ __('Sub Total') }}
{{ $product?->name }} {{ $product?->name }} x{{$qty}} {{ currency($payable_amount) }}
{{ __('Discount') }} {{ currency(totalAmount($payable_amount)?->discount) }} (-)
{{ __('Tax') }} {{ currency(totalAmount($payable_amount)?->tax) }}
{{ __('Delivery') }} {{ session('delivery_charge', 0) ? currency(session('delivery_charge', 0)) : __('Free') }}
{{ __('Total') }} {{ currency(totalAmount($payable_amount)?->total + session('delivery_charge', 0)) }}
@php $payable_amount = totalAmount($payable_amount)?->total + session('delivery_charge', 0); @endphp @if ($payable_amount > 0)
{{ __('Payable With Charge') }}
@php $currency = getSessionCurrency(); @endphp @foreach ($activeGateways as $gatewayKey => $gatewayDetails) @if ($paymentService->isCurrencySupported($gatewayKey)) @php $payableDetails = $paymentService->getPayableAmount( $gatewayKey, $payable_amount, ); @endphp

{{ $gatewayDetails['name'] }}: {{ $payableDetails->payable_with_charge }} {{ $currency }}

@endif @endforeach
@endif