@extends('layouts._front.pages') @section('content')

Checkout

{{ Form::open(array('url' => '/checkout', 'method' => 'post', 'class' => 'row-fluid bill-info','id'=>'page_form')); }}

Billing Information

{{ Form::label('firstname', 'First Name',array('style'=>'width:120px')); }} {{ Form::text('firstname',isset($billing->firstname) ? $billing->firstname : "",array('id'=>'firstname','required','class'=>'form-control')) }}
{{ Form::label('lastname', 'Last Name',array('style'=>'width:120px')); }} {{ Form::text('lastname',isset($billing->lastname) ? $billing->lastname : "",array('id'=>'lastname','required','class'=>'form-control')) }}
{{ Form::label('address', 'Address',array('style'=>'width:120px')); }} {{ Form::text('address',isset($billing->address) ? $billing->address : "",array('id'=>'address','required','class'=>'form-control')) }}
{{ Form::label('address1', 'Address 2',array('style'=>'width:120px')); }} {{ Form::text('address1',isset($billing->address1) ? $billing->address1 : "",array('id'=>'address1','class'=>'form-control')) }}
{{ Form::label('city', 'City',array('style'=>'width:120px')); }} {{ Form::text('city',isset($billing->city) ? $billing->city : "",array('id'=>'city','required','class'=>'form-control')) }}
{{ Form::label('state', 'State'); }} {{ Form::select('state',array('0' => 'Select one')+StateManagement::displayState(),isset($billing->state) ? $billing->state : "0",array('onchange' => 'checkTax(this.value)', 'id'=>'state','data-placeholder'=>'Select State','class'=>'form-control')) }}
{{ Form::label('country', 'Country'); }} {{ Form::select('country',array('0' => 'Select one')+CountryManagement::displayCountry(),isset($billing->country) ? $billing->country : "US",array('id'=>'country','data-placeholder'=>'Select Country','class'=>'form-control')) }}
{{ Form::label('zip', 'Zip Code',array('style'=>'width:120px')); }} {{ Form::text('zip',isset($billing->zip) ? $billing->zip : "",array('id'=>'zip','required','class'=>'form-control')) }}
{{ Form::label('phone', 'Phone Number',array('style'=>'width:120px')); }} {{ Form::text('phone',isset($billing->phone) ? $billing->phone : "",array('id'=>'phone','required','class'=>'form-control')) }}
{{ Form::label('email', 'Email Address',array('style'=>'width:120px')); }} {{ Form::email('email',isset($billing->email) ? $billing->email : "",array('id'=>'email','required','class'=>'form-control')) }}

Shipping Information

{{ Form::label('shipping_firstname', 'First Name',array('style'=>'width:120px')); }} {{ Form::text('shipping_firstname',isset($shipping->firstname) ? $shipping->firstname : "",array('id'=>'shipping_firstname','required','class'=>'form-control')) }}
{{ Form::label('shipping_lastname', 'Last Name',array('style'=>'width:120px')); }} {{ Form::text('shipping_lastname',isset($shipping->lastname) ? $shipping->lastname : "",array('id'=>'shipping_lastname','required','class'=>'form-control')) }}
{{ Form::label('shipping_address', 'Address',array('style'=>'width:120px')); }} {{ Form::text('shipping_address',isset($shipping->address) ? $shipping->address : "",array('id'=>'shipping_address','required','class'=>'form-control')) }}
{{ Form::label('shipping_address1', 'Address 2',array('style'=>'width:120px')); }} {{ Form::text('shipping_address1',isset($shipping->address1) ? $shipping->address1 : "",array('id'=>'shipping_address1','class'=>'form-control')) }}
{{ Form::label('shipping_city', 'City',array('style'=>'width:120px')); }} {{ Form::text('shipping_city',isset($shipping->city) ? $shipping->city : "",array('id'=>'shipping_city','required','class'=>'form-control')) }}
{{ Form::label('shipping_state', 'State'); }} {{ Form::select('shipping_state',array('0' => 'Select one')+StateManagement::displayState(),isset($shipping->state) ? $shipping->state : "0",array('id'=>'shipping_state','data-placeholder'=>'Select State','class'=>'form-control')) }}
{{ Form::label('shipping_country', 'Country'); }} {{ Form::select('shipping_country',array('0' => 'Select one')+CountryManagement::displayCountry(),isset($shipping->country) ? $shipping->country : 'US',array('id'=>'shipping_country','data-placeholder'=>'Select Country','class'=>'form-control')) }}
{{ Form::label('shipping_zip', 'Zip Code',array('style'=>'width:120px')); }} {{ Form::text('shipping_zip',isset($shipping->zip) ? $shipping->zip : "",array('id'=>'shipping_zip','required','class'=>'form-control')) }}
{{ Form::label('shipping_phone', 'Phone Number',array('style'=>'width:120px')); }} {{ Form::text('shipping_phone',isset($shipping->phone) ? $shipping->phone : "",array('id'=>'shipping_phone','required','class'=>'form-control')) }}
{{ Form::label('shipping_email', 'Email Address',array('style'=>'width:120px')); }} {{ Form::text('shipping_email',isset($shipping->email) ? $shipping->email : "",array('id'=>'shipping_email','required','class'=>'form-control')) }}

Shipping Rate (Shipping Weight: {{ $cart[0]->weight }} lbs.)

{{ HTML::image('_front/assets/images/ajax-loader.gif') }}

Payment Method

@include('home.payment')
@foreach($cart as $carts) @endforeach {{ Form::hidden('freeshipping',$coupon_code->freeshipping) }} @if($coupon_code->freeshipping == 'yes') {{ Form::hidden('shipping_rate_value','0') }} @endif @if($cart[0]->freeshipping == "no" || !Session::has('couponCode')) @endif @if(Session::has('couponCode')) @endif {{ Form::hidden('coupon_code',Session::get('couponCode')) }} {{ Form::hidden('coupon_price',$cart[0]->coupon_amount) }} {{ Form::hidden('total',number_format($cart[0]->grandtotal,2),array('id'=>'total')) }} {{ Form::hidden('tax',$tax,array('id'=>'taxvalue')) }}
Item Name Price QTY Item Total
{{ HTML::image_link_delete('shopping-cart/delete/'.$carts->temp_cart_id,'_admin/assets/images/icons/page_delete.png') }} @if($carts->image != "") {{ HTML::image('upload/products/'.$carts->product_id.'/_75_'.$carts->image) }} @else {{ HTML::image('_front/assets/images/no-image-small.jpg') }} @endif
{{ $carts->product_name }}
{{ number_format($carts->product_price,2) }} {{ Form::text('qty[]',$carts->quantity) }} {{ Form::hidden('cartId[]',$carts->temp_cart_id) }} {{ number_format($carts->total,2) }}
Sub Total {{ number_format($cart[0]->subtotal,2) }}
Tax $ {{ number_format($coupon_code->tax,2) }}
Shipping ( )
Discount Code
{{ Session::get('couponCode') }} $ {{ number_format($cart[0]->coupon_amount,2) }}
Grand Total $ {{ number_format($cart[0]->grandtotal,2) }}
{{ Form::hidden('client_id',Session::get('client_id')) }}
{{ Form::submit('Purchase',array('name'=>'submit_bill','class'=>'btn btn-small btn-warning','id'=>'submit_bill'))}}
{{ Form::close() }}
@stop @section('headercodes') {{ HTML::script('_front/assets/js/jquery.mCustomScrollbar.concat.min.js') }} @stop