@lang('Shipping Details:')
{{$customer->first_name . ' ' . $customer->last_name}} ,
{{$customer->address}}
{{$customer->city . ', ' . $customer->state . ' - ' . $customer->zip}}
{{$customer->country}}.
@lang('Phone:') {{$customer->phone}}
@lang('Email:') {{$customer->email}}
{!! Form::open(['method'=>'post', 'action'=>'CheckoutController@changeShippingAddress', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;']) !!}
@lang('Change Address')
{!! Form::close() !!}
@if(session()->has('coupon_invalid'))
×
{{session('coupon_invalid')}}
@endif
@if(session()->has('coupon_amount') && session()->has('coupon_valid_above_amount') && session('coupon_valid_above_amount') < Cart::total())
@if(session()->has('coupon_code'))
@lang('Coupon Applied:') {{session('coupon_code')}}
@lang('Discount:') {{currency_format(session('coupon_amount'))}}
@else
@lang('Coupon Discount:') {{currency_format(session('coupon_amount'))}}
@endif
@lang('Change Coupon?')
@else
@lang('Have a Coupon?')
@endif
{!! Form::open(['method'=>'post', 'action'=>'FrontCouponsController@checkCoupon', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;', 'class'=>'form-inline']) !!}
{!! Form::text('coupon', null, ['class'=>'form-control', 'placeholder'=>__('Enter Coupon'), 'required']) !!}
{!! Form::submit(__('Apply'), ['id'=>'coupon-btn', 'class'=>'btn btn-primary', 'name'=>'submit_button']) !!}
{!! Form::close() !!}
@lang('Select Your Payment Method')
{!! Form::open(['method'=>'post', 'action'=>'CheckoutController@processPayment', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait') . '"; return true;']) !!}
@php
$payment_methods_count = 0;
@endphp
@if($payment_methods_count > 0)
@lang('Place Order')
@else
@lang('No payment methods available.')
@endif
{!! Form::close() !!}