@extends('admin.layouts.master') @section('content')
Search By
{!! Form::open(array('files' => false, 'route' => config('quickadmin.route').'.searchorders.index', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!} Date Range:
{!! Form::label('date_from', 'Date from', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('date_from', old('date_from'), array('class'=>'form-control datepicker')) !!}
{!! Form::label('date_to', 'Date to', array('class'=>'col-sm-1 control-label')) !!}
{!! Form::text('date_to', old('date_to'), array('class'=>'form-control datepicker')) !!}

Order No:
{!! Form::label('order_no', 'Order Number', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('order_no', old('order_no'), array('class'=>'form-control')) !!}

Customer:
{!! Form::label('company_name', 'Company / Name / Address', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('company_name', old('company_name'), array('class'=>'form-control')) !!}

Tracking:
{!! Form::label('tracking_no', 'Tracking Number', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('tracking_no', old('tracking_no'), array('class'=>'form-control')) !!}

{!! Form::submit( 'Search' , array('class' => 'btn btn-primary')) !!}
{!! Form::close() !!}
@if (count($orders))
All on-hold processing artwork-issue completed shipped
{{ trans('quickadmin::templates.templates-view_index-list') }}
@if(is_array($orders)) @foreach ($orders as $row)
Notice: Undefined variable: row in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/searchorders/index.blade.php on line 152

Notice: Trying to get property 'date_created' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/searchorders/index.blade.php on line 152
@foreach($row->meta_data as $metaData) @if($metaData->key == 'assigned_to')
Notice: Undefined variable: metaData in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/searchorders/index.blade.php on line 169

Notice: Trying to get property 'value' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/searchorders/index.blade.php on line 169
@endif @endforeach @endforeach @endif
Order ID Order Date Customer Status Value Assigned To  
{{ $row->id }} {{ $date }} {{ $row->billing->company }}
{{ $row->billing->first_name }} {{ $row->billing->last_name }}
{{ $row->billing->email }}
@if($row->status == 'pre-order') Account Processing @else {{ ucfirst($row->status) }} @endif £{{ ucfirst($row->total) }} {{ $assignedto }} {!! link_to_route(config('quickadmin.route').'.orders.view', 'View', array($row->id), array('class' => 'btn btn-xs btn-success')) !!} {!! link_to_route(config('quickadmin.route').'.orders.index', 'Assign', array($row->id), array('class' => 'btn btn-xs btn-info assignuser', 'id' => $row->id)) !!} @if(!feedbackController::check($row->billing->email) && $row->status == 'shipped' &&(strtotime($row->date_modified) < strtotime('-6 days'))) @endif
@else {{ trans('quickadmin::templates.templates-view_index-no_entries_found') }} @endif @endsection @section('javascript') @stop