@extends('layouts.admin.app') @section('title') Add Order - Zone 2 @stop @section('main')
{!! Form::open(['method'=>'POST','files'=>'true','action' => 'AdminAddOrderController@zone2Store', 'class'=>'form-horizontal','@keydown.enter.prevent', 'autocomplete'=>'off']) !!} @include('admin.add-order.partials.RegisteredUsers') @include('admin.add-order.partials.customerInfo') @include('admin.add-order.partials.shippingInfo') @include('admin.add-order.partials.billingInfo')
LABEL SELECTION
{!! Form::label('label_type_id','Select Label Option:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('label_type_id', $labelTypes, null,['class'=>'form-control', 'v-model'=>'label_type_id', 'placeholder'=>'No Label']) !!} @if ($errors->has('label_type_id'))
{{ $errors->first('label_type_id') }}
@endif
OUR NAME
{!! Form::label('label_id','Select Label:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('label_id', $our_name, null,['class'=>'form-control', 'placeholder'=>'Select Label']) !!} @if ($errors->has('label_id'))
{{ $errors->first('label_id') }}
@endif
YOUR NAME
{!! Form::label('label_id','Select Label:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('label_id', $your_name, null,['class'=>'form-control', 'placeholder'=>'Select Label']) !!} @if ($errors->has('label_id'))
{{ $errors->first('label_id') }}
@endif
{!! Form::label('label_font','Select Font:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('label_font', $font, null,['class'=>'form-control', 'placeholder'=>'Select Font']) !!} @if ($errors->has('label_font'))
{{ $errors->first('label_font') }}
@endif
{!! Form::label('label_name','Customized Name :', ['class'=>'control-label col-sm-2']) !!}
{!! Form::text('label_name', null, ['class'=>'form-control','placeholder'=>'Enter Customized Name']) !!} @if ($errors->has('label_name'))
{{ $errors->first('label_name') }}
@endif
{!! Form::label('label_contact1','Contact 1:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::text('label_contact1', null, ['class'=>'form-control','placeholder'=>'Contact']) !!} @if ($errors->has('label_contact1'))
{{ $errors->first('label_contact1') }}
@endif
{!! Form::label('label_contact2','Contact 2:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::text('label_contact2', null, ['class'=>'form-control','placeholder'=>'Contact']) !!} @if ($errors->has('label_contact2'))
{{ $errors->first('label_contact2') }}
@endif
PAYMENT METHOD
{!! Form::label('payment_method','Payment Method:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('payment_method', ['cc'=>'Credit Card', 'invoice'=>'Invoice'], 'cc',['class'=>'form-control', 'v-model'=>'payment_method']) !!} @if ($errors->has('payment_method'))
{{ $errors->first('payment_method') }}
@endif
INVOICE
Purchase Order Number will be sent to customer via email.
CREDIT CARD INFORMATION
{!! Form::label('card_type','Card Type:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('card_type', $cards, null,['class'=>'form-control', 'placeholder'=>'Select Card Type']) !!} @if ($errors->has('card_type'))
{{ $errors->first('card_type') }}
@endif
{!! Form::label('card_name','Name on Card :', ['class'=>'control-label col-sm-2']) !!}
{!! Form::text('card_name', null, ['class'=>'form-control','placeholder'=>'Enter Name']) !!} @if ($errors->has('card_name'))
{{ $errors->first('card_name') }}
@endif
{!! Form::label('card_number','Card Number:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::number('card_number', null, ['class'=>'form-control','placeholder'=>'Card Number']) !!} @if ($errors->has('card_number'))
{{ $errors->first('card_number') }}
@endif
{!! Form::label('card_code','Validation Code:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::number('card_code', null, ['class'=>'form-control','placeholder'=>'Validation Code']) !!} @if ($errors->has('card_code'))
{{ $errors->first('card_code') }}
@endif
{!! Form::label('card_month','Expiration Month:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('card_month', $months, null,['class'=>'form-control', 'placeholder'=>'Select Month']) !!} @if ($errors->has('card_month'))
{{ $errors->first('card_month') }}
@endif
{!! Form::label('card_year','Expiration Year:', ['class'=>'control-label col-sm-2']) !!}
{!! Form::select('card_year', $years, null,['class'=>'form-control', 'placeholder'=>'Select Year']) !!} @if ($errors->has('card_year'))
{{ $errors->first('card_year') }}
@endif
CART
{!! Form::label('selected_quantity','Quantity:') !!} {!! Form::number('selected_quantity', null, ['class'=>'form-control','v-model'=>'cartItem.quantity', 'ref'=>'quantity','@keydown.enter.prevent'=>'addToCart(cartItem)']) !!}
{!! Form::label('product','Select Product Number:') !!}
@{{ product.sku + ' | ' + product.name }}
{!! Form::label('product','Enter') !!} {!! Form::button('Add to Cart', ['class'=>'btn btn-primary btn-block','@click.prevent'=>'addToCart(cartItem)','@keydown.enter.prevent'=>'addToCart(cartItem)','@keydown.tab.prevent'=>'back']) !!}
QTY
SKU
NAME
PRICE
SUBTOTAL
REMOVE
@{{ item.qty }}
@{{ item.options.sku }}
@{{ item.name }}
$ @{{ item.price | formatCurrency }}
$ @{{ item.subtotal | formatCurrency }}
TOTAL
$ @{{ Total | formatCurrency }}
@include('admin.add-order.partials.addInfo')
@{{ cart }}
{!! Form::submit('Submit Order', ['class'=>'btn btn-primary btn-block']) !!} {!! Form::close() !!}
@stop @section('footer') @stop