@extends('layouts.front') @section('content')
@lang('Address')
@lang('Details')
3 @lang('Payment')
@csrf
@lang('Select payment Method')
@foreach ($gateways as $gt) @if ($gt->checkout == 1) @if ($gt->type == 'manual') @if ($digital == 0)
@endif @else
@endif @endif @endforeach
{{--

Billing Details

--}}

@lang('Summery')

@lang('Apply Coupon Code')
@lang('Price Details')
@lang('Total MRP') {{ Session::has('cart') ? App\Models\Product::convertPrice(Session::get('cart')->totalPrice) : '0.00' }}
@lang('Tax') 0
@if (Session::has('coupon'))
@lang('Discount') {{ Session::get('coupon_percentage') == 0 ? '' : '(' . Session::get('coupon_percentage') . ')' }} @if ($gs->currency_format == 0) {{ $curr->sign }}{{ Session::get('coupon') }} @else {{ Session::get('coupon') }}{{ $curr->sign }} @endif
@else
@lang('Discount') {{ $curr->sign }}{{ Session::get('coupon') }}
@endif @php $shipping_cost = 0; if (isset($step2->shipping) && is_array($step2->shipping)) { foreach ($step2->shipping as $key => $value) { $shpping = App\Models\Shipping::findOrFail($value); $shipping_cost += $shpping->price; } } $packing_cost = 0; if (isset($step2->packeging) && is_array($step2->packeging)) { foreach ($step2->packeging as $key => $value) { $shpping = App\Models\Package::findOrFail($value); $packing_cost += $shpping->price; } } $extra_cost = $shipping_cost + $packing_cost; @endphp @if ($digital == 0) @php if (isset($step2->shipping_id)) { $shipping_cost = App\Models\Shipping::findOrFail($step2->shipping_id) ->price; } if (isset($step2->packaging_id)) { $packing_cost = App\Models\Package::findOrFail($step2->packaging_id) ->price; } @endphp
@lang('Shipping Cost') {{ App\Models\Product::convertPrice($shipping_cost) }}
@lang('Packaging Cost') {{ App\Models\Product::convertPrice($packing_cost) }}
@endif

@lang('Final Price') @if (Session::has('coupon_total')) @if ($gs->currency_format == 0) {{ $curr->sign }}{{ $step2->total }} @else {{ $step2->total }}{{ $curr->sign }} @endif @elseif(Session::has('coupon_total1')) {{ Session::get('coupon_total1') }} @else {{ App\Models\Product::convertPrice($step2->total) }} @endif
@lang('Back to Details')
@if (Session::has('coupon_total')) @elseif(Session::has('coupon_total1')) @else @endif
@php $country = App\Models\Country::where('country_name', $step1->customer_country)->first(); $isState = isset($step1->customer_state) ? $step1->customer_state : 0; @endphp @endsection @section('script') @endsection