{{ __('Order Summary') }}
{{ __('Subtotal') }}
{{ formatNumber($selectedTotal) }}
@if(isActive('Shipping'))
@php
$shipCount = 0;
$shipingIntailValue = 0;
@endphp
@if(is_array($shipping) && count($shipping) > 0)
{{ __('Shipping') }}
@foreach ($shipping as $key => $ship)
@php
if ($shipCount == $shippingIndex) {
$shipingIntailValue = $ship;
} else {
$shipCount == 0 ? $shipingIntailValue = $ship : '';
}
@endphp
-
@php $shipCount++; @endphp
@endforeach
@endif
@endif
@php $couponOffer = 0 @endphp
@if (isActive('Coupon') && preference('coupons') == 1)
{{ __('Coupon offer') }}
@php $couponOffer = $coupon; @endphp
{{ formatNumber($couponOffer) }}
@endif
@if(preference("taxes") == 1)
@php $tempTax = 0; @endphp
@if(is_array($tax))
@foreach ($tax as $key => $allTax)
{{ $key }}
{{ formatNumber($allTax) }}
@php $tempTax += $allTax; @endphp
@endforeach
@else
{{ __('Tax') }}
{{ formatNumber($tax) }}
@endif
@endif
{{ __('Total Amount') }}
@if(is_array($tax))
{{ formatNumber(($selectedTotal - $couponOffer) + $tempTax + $shipingIntailValue) }}
{{ ($selectedTotal - $couponOffer) + $tempTax + $shipingIntailValue }}
@else
{{ formatNumber(($selectedTotal - $couponOffer) + $tax + $shipingIntailValue) }}
{{ ($selectedTotal - $couponOffer) + $tax + $shipingIntailValue }}
@endif
@if($errors->any())
@foreach ($errors->all() as $error)
@endforeach
@endif
@php
$gateways = (new \Modules\Gateway\Entities\GatewayModule())->payableGateways();
@endphp
@if(is_array($gateways) && count($gateways) > 0)
{{ __('Accepted payment method') }}
@foreach ($gateways as $gateway)
@endforeach
@endif