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

Preview

Total Orders {{number_format($report->total_orders)}}
Open Orders {{ number_format($report->open_orders) }}
Invoiced Orders {{ number_format($report->invoiced_orders) }}
Completed Orders {{ number_format($report->complete_orders) }}
@if (\Session::has('success'))
@endif @if (\Session::has('error'))
@endif

Orders

{{ Form::open(array( 'action' => 'ReportingController@getOrdersList','class'=>'form-horizontal','files' => true,'role' => 'form','method' => 'GET')) }}
{{ Form::close() }}

{{ Form::open(array( 'action' => 'ReportingController@getOrdersList','class'=>'form-horizontal','files' => true,'role' => 'form','method' => 'GET')) }}
{{ $orders->appends(Request::except('page'))->links() }} {{ Form::close() }}
@if(count($orders) > 0) {{ Form::open(array( 'action' => 'ReportingController@getOrdersReportDownload','class'=>'form-horizontal','files' => true,'role' => 'form','method' => 'GET')) }}
{{ Form::close() }}
@endif
@foreach($orders as $o) @if($o->status == 'Completed') @elseif($o->status == 'Open') @elseif($o->status == 'Invoiced') @elseif($o->status == 'Partially Paid') @endif @endforeach
Order Number Location Sales Person Gramd Total Paid Amount Balance Status Invoice
{{$o->OrderNumber}} {{$o->location}} {{$o->sales_rep}} {{number_format($o->grand_total)}} {{number_format($o->paid)}} {{number_format($o->balance)}} {{$o->status}} {{$o->status}} {{$o->status}} {{$o->status}}
@include('layouts.footer')