@extends("front/layout.master") @section('title','Billing Address - Checkout |') @section("body") @php Session::forget('from-order-step-3'); @endphp
@auth

{{ Auth::user()->name }}

{{ Auth::user()->email }}

@endauth

@csrf
@foreach($addresses as $address)

@if($address->defaddress == 1)
{{ __('staticwords.Default') }}
@endif
{{ strip_tags($address->address) }},
{{ $address->getcity ? $address->getcity->name : '' }},{{ $address->getstate->name }},{{ $address->getCountry->nicename }} {{ $address->pin_code }}
@endforeach

@if(Auth::user()->addresses->count()>0) @endif
{{ __('staticwords.Orchoosedfromsavedaddress') }}
@csrf
@if ($pincodesystem == 1)
@endif

{{ __('staticwords.PaymentDetails') }}

{{ __('staticwords.Subtotal') }}
{{price_format($total*$conversion_rate,2)}}
@if(Session::get('gift'))
{{ __('Gift Discount') }}
${{Session::get('gift')['discount']}}
@endif @if(Auth::check() && App\Cart::isCoupanApplied() == 1)
{{ __('staticwords.Discount') }}
- {{price_format(App\Cart::getDiscount()*$conversion_rate,2)}}
@endif
{{ __('staticwords.Total') }}
@if(!App\Cart::isCoupanApplied() == 1) @if(Session::get('gift')) {{price_format($grandtotal*$conversion_rate,2) - Session::get('gift')['discount']}} @else {{price_format($grandtotal*$conversion_rate,2)}} @endif @else @if(Session::get('gift')) {{price_format(($grandtotal-App\Cart::getDiscount())*$conversion_rate,2) - Session::get('gift')['discount']}} @else {{price_format(($grandtotal-App\Cart::getDiscount())*$conversion_rate,2)}} @endif @endif
{{-- Address Modal start --}} {{-- Address Modal End --}} @endsection @section('script')