@include('layouts.head')
@include('layouts.header') @include('layouts.sidebar')

OrderNumber: {{$order->OrderNumber}}

@if (\Session::has('success'))
@endif @if (\Session::has('error'))
@endif

OrderNumber: {{$order->OrderNumber}}

{{ Form::open(array( 'action' => 'OrdersController@postOrder','class'=>'form-horizontal','files' => true,'role' => 'form', 'enctype'=>'multipart/form-data')) }}

{{$order->OrderNumber}}

{{count($o_items)}}

{{$order->customer_name}}

{{$order->location}}

{{$order->customer_address}}

{{$order->customer_contact}}

{{$order->sales_rep}}

{{$order->notes}}

@foreach($o_items as $oi) @endforeach
ItemCode Description Unit Price Qty Discount Subtotal
{{@$oi->product_code}} {{@$oi->product_description}} Rs. {{number_format(@$oi->unit_price)}} {{@$oi->qty}} @if($oi->discount_percent >0 ) {{@$oi->discount_percent}}% @else 0 @endif Rs. {{number_format(@$oi->sub_total)}}
{{Form::close()}}
{{-- @include('layouts.footer') --}} {{-- --}} {{--
--}}