@extends('frontend.layouts.app') @section('title', 'Payment Details - ' . app_name()) @section('content')

PAYMENT DETAILS

@include('includes.partials.messages') @if($data['payment_check'])
Important! It appears that this order has already been paid for. To avoid duplicate charges, please do not resubmit the order. Our team has been notified and will be in touch with you shortly.
@endif @if($data['order']->order_status != 3) @endif @if(session()->get('ses_total_engraving_charges') > 0) @endif
Order Status: {{ \App\Models\Order::$statuses[$data['order']->order_status] }}
Sub Total: ${{ number_format($data['order']->sub_total,2) }}
Shipping Charges: ${{ number_format($data['order']->shipping_fee,2). ' ('. $data['order']->shipping_service .')' }}
Discount: ${{ number_format($data['order']->discount,2) }}
Custom Marking Charges: ${{ number_format(session()->get('ses_total_engraving_charges'), 2) }}
Grand Total: ${{ number_format($data['order']->grand_total,2) }}
@if($data['order']->order_status == 3)
@php $css_frm_payment = ''; @endphp @if($data['customer'] && $data['customer']->group->bank_payment == 'Y') @php $css_frm_payment = 'd-none'; @endphp
Pay Using Credit / Debit Card Pay with Credit Cards
Visa, AMEX, MasterCard, Discover
Pay By Bank Transfer Pay with Bank Transfer
{!! \App\Models\Settings::getSettingValue(8) !!}
{!! Form::open(array('method' => 'POST', 'id' => 'frm_bank_transfer', 'route' => array('frontend.save-order-bank-transfer', $data['order']->id))) !!} {!! Form::hidden('order_id', $data['order']->id) !!}
{!! Form::close() !!}
@endif
{!! Form::open(array('method' => 'POST', 'id' => 'frm_payment')) !!} {!! Form::hidden('order_id', $data['order']->id) !!}

Credit Card Details

{!! Form::checkbox('same_billing_info', true, $data['v_billing_details']['same_billing_info'], ['id' => 'same_billing_info']) !!}
{!! Form::label('email', 'Email Address: *') !!} {!! Form::text('email', $data['v_billing_details']['email'], ['required' => 'required', 'type' => 'email', 'class' => 'form-control', 'placeholder' => 'Enter email address ...', 'id' => 'bl_email']) !!}
{!! Form::label('first_name', 'First Name: *') !!} {!! Form::text('first_name', $data['v_billing_details']['first_name'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter first name ...', 'id' => 'bl_first_name']) !!}
{!! Form::label('last_name', 'Last Name: *') !!} {!! Form::text('last_name', $data['v_billing_details']['last_name'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter last name ...', 'id' => 'bl_last_name']) !!}
{!! Form::label('company', 'Company:') !!} {!! Form::text('company', $data['v_billing_details']['company'],['class'=>'form-control', 'placeholder'=>'Enter company name ...', 'id' => 'bl_company', 'maxlength' => 50]) !!}
{!! Form::text('address1', $data['v_billing_details']['address1'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter address line 1...', 'id' => 'bl_address1']) !!}
{!! Form::text('address2', $data['v_billing_details']['address2'],['class'=>'form-control', 'placeholder'=>'Enter address line 2 ...', 'id' => 'bl_address2']) !!}
{!! Form::label('country', 'Country: *') !!} {!! Form::select('country', $data['countries'], $data['v_billing_details']['country'],['required' => 'required', 'class'=>'form-control', 'onchange="get_states(this.value);"', 'placeholder'=>'Select country ...', 'id' => 'bl_country']) !!}
{!! Form::label('state', 'State: *') !!}
@php $show_text_field = true; if(isset($data['address'])) { if(is_numeric($data['address']->state)) $show_text_field = false; } @endphp @if($show_text_field) {!! Form::text('state', $data['v_billing_details']['state'], ['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter state ...']) !!} @else {!! Form::select('state', $data['states'], $data['v_billing_details']['state'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter state ...']) !!} @endif
{!! Form::label('city', 'City: *') !!} {!! Form::text('city', $data['v_billing_details']['city'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter city ...', 'id' => 'bl_city']) !!}
{!! Form::label('zip', 'Zip / Post Code: *') !!} {!! Form::text('zip', $data['v_billing_details']['zip'],['required' => 'required', 'maxlength' => '9', 'class'=>'form-control', 'placeholder'=>'Enter zip / post code ...', 'id' => 'bl_zip']) !!}
{!! Form::label('phone', 'Phone: *') !!} {!! Form::text('phone', $data['v_billing_details']['phone'],['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter phone ...', 'id' => 'bl_phone']) !!}
{!! Form::label('cc_number', 'Card Number:') !!}
{!! Form::text('cc_number', null, ['required' => 'required', 'class' => 'form-control', 'placeholder' => 'Card Number ...', 'id' => 'cc_number']) !!}
{!! Form::hidden('cc_type', null, ['id' => 'cc_type']) !!}
{!! Form::label('cc_month', 'Expiry Month:') !!} {!! Form::select('cc_month', $data['months'], null, ['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Please Select ...']) !!}
{!! Form::label('cc_year', 'Expiry Year:') !!} {!! Form::select('cc_year', $data['years'], null, ['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Please Select ...']) !!}
{!! Form::label('cc_cvv', 'CVC:') !!} {!! Form::text('cc_cvv', null,['required' => 'required', 'class'=>'form-control', 'placeholder'=>'Enter CVC ...', 'maxlength' => 4]) !!}
{!! Form::checkbox('terms', true, $data['v_billing_details']['terms'], ['id' => 'terms']) !!}

Secure Payments by Authorize.net
{!! Form::close() !!}
@else @endif
SHIPPING ADDRESS
@if($data['order']->customer_id > 0) @endif @if($data['order']->company) @endif @if($data['order']->notes) @endif
{{ \App\Models\Customer::getCustomerName($data['order']->customer_id) }}
{{ $data['order']->email ?? 'N/A' }}
{{ $data['order']->first_name . ' ' . $data['order']->last_name }}
{{ $data['order']->company ?? 'N/A' }}
{{ $data['order']->address1 }}, @if($data['order']->address2) {{ $data['order']->address2 ?? 'N/A' }}, @endif {{ $data['order']->city }}, {{ $data['order']->zip_code }}, @if(is_numeric($data['order']->state)) {{ \App\Models\State::get_state_name($data['order']->state) }}, @else {{ $data['order']->state }}, @endif {{ \App\Models\Country::get_country_name($data['order']->country) }}
{{ $data['order']->phone ?? 'N/A' }}
{{ $data['order']->notes ?? 'N/A' }}
Change Address
@push('after-scripts') @if($data['v_billing_details']['terms']) @endif @endpush @push('head-area') {{-- --}} @endpush @endsection