@extends('eform.layout.app') @section('styles') @endsection @section('content') {!! Form::open(['method'=>'POST','action' => 'EFormController@submit']) !!}

New Mailing
Address

800.755.2434

Fax - 903.686.2216

www.gourmetgardens.com

@if ($errors->any())
@endif
Bill To* {!! Form::text('bill_to', null, ['class'=>'form-control form-control-sm']) !!}
Address* {!! Form::text('bill_address', null, ['class'=>'form-control form-control-sm']) !!}
City* {!! Form::text('bill_city', null, ['class'=>'form-control form-control-sm']) !!}
State* {!! Form::select('bill_state',$stateForm, null, ['class'=>'form-control form-control-sm','placeholder'=>'Select State']) !!}
Zip* {!! Form::number('bill_zip', null, ['class'=>'form-control form-control-sm']) !!}
Phone* {!! Form::text('phone', null, ['class'=>'form-control form-control-sm']) !!}
Email* {!! Form::email('email', null, ['class'=>'form-control form-control-sm']) !!}
Representative {!! Form::text('representative', null, ['class'=>'form-control form-control-sm']) !!}
Payment Method* {!! Form::text('payment_method', null, ['class'=>'form-control form-control-sm']) !!}
Ship To* {!! Form::text('ship_to', null, ['class'=>'form-control form-control-sm']) !!}
Address* {!! Form::text('ship_address', null, ['class'=>'form-control form-control-sm']) !!}
City* {!! Form::text('ship_city', null, ['class'=>'form-control form-control-sm']) !!}
State* {!! Form::select('ship_state', $stateForm,null, ['v-model'=>'ship_state','@change'=>'changePrice','class'=>'form-control form-control-sm','placeholder'=>'Select State']) !!}
Zip* {!! Form::number('ship_zip', null, ['class'=>'form-control form-control-sm']) !!}
Contact Name* {!! Form::text('name', null, ['class'=>'form-control form-control-sm']) !!}
Label Description* {!! Form::text('label', null, ['class'=>'form-control form-control-sm']) !!}
Bar code* {!! Form::select('barcode', ['Yes'=>'Yes', 'No'=>'No'], null, ['class'=>'form-control form-control-sm','placeholder'=>'Select']) !!}
@foreach($categories as $category)
@foreach(App\Product::whereCategoryId($category->id)->get() as $product) {!! Form::hidden('cart['.$product->id.'][id]', $product->id) !!} {!! Form::hidden('cart['.$product->id.'][name]', $product->name) !!} {!! Form::hidden('cart['.$product->id.'][options][sku]', $product->sku) !!} @endforeach
{{$category->name}}
Qty SKU Description Price Total
{!! Form::text('cart['.$product->id.'][qty]', null,['v-model'=>'selected.inputNumber'.$product->id,'class'=>'inputNumber form-control form-control-sm mx-auto']) !!} {{$product->sku}} {{$product->name}} $ {!! Form::text('cart['.$product->id.'][price]', null,['v-model'=>'selected.inputPrice'.$product->id,'class'=>'inputNumber price','readonly']) !!} $ {!! Form::text('cart['.$product->id.'][total]', null,['v-model'=>'inputSubtotal'.$product->id,'class'=>'inputNumber price','readonly']) !!}
Total $ {!! Form::text('subtotal', null,['v-model'=>'inputTotal'.$category->id,'class'=>'inputNumber price','disabled']) !!}
@endforeach

*FREE SHIPPING on 30 CASES or more*


50% Shipping Discount on 10-29 cases Full Freight Charged on 1-9 cases

{!! Form::submit('Place Order', ['class'=>'btn btn-primary btn-block']) !!}
{!! Form::close() !!} @endsection @section('script') @endsection