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

PAYMENT DETAILS

@if(session()->get('flash_danger')) @endif @if($data['order']->order_status != 3) + @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) }}
Grand Total:${{ number_format($data['order']->grand_total,2) }}
@if($data['order']->order_status == 3)
{!! Form::open(array('method' => 'POST', 'id' => 'frm_payment')) !!} {!! Form::hidden('order_id', $data['order']->id) !!}

Credit Card Details

{!! Form::label('cc_name', 'Name on Card:') !!} {!! Form::text('cc_name', null, ['required' => 'required', 'class' => 'form-control', 'placeholder' => 'Name on Card ...', 'id' => 'cc_name']) !!}
{!! 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, ['class'=>'form-control', 'required' => 'required', 'placeholder'=>'Please Select ...']) !!}
{!! Form::label('cc_year', 'Expiry Year:') !!} {!! Form::select('cc_year', $data['years'], null, ['class'=>'form-control', 'required' => 'required', 'placeholder'=>'Please Select ...']) !!}
{!! Form::label('cc_cvv', 'CVC:') !!} {!! Form::text('cc_cvv', null,['class'=>'form-control', 'required' => 'required', 'placeholder'=>'Enter CVC ...', 'maxlength' => 4]) !!}

get('move_to') == 'acc_payment_form') checked="checked" @endif>

{!! 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
@endsection