@extends('layouts.default_report') @section('report_name') Custom Orders @stop @section('report_description') Product Sales @stop @section('excel') {!!Form::open(['method'=>'get','route' =>array('custom.orders.excel')])!!} {!!Form::hidden('user_excel',null,['id'=>'user_excel'])!!} {!!Form::hidden('date_excel',null,['id'=>'date_excel'])!!} {!!Form::hidden('status_excel',null,['id'=>'status_excel'])!!} {!!Form::submit('Export Excel',['class'=>'btn btn-success pull-right', 'onclick'=>'return order_excel(event);', 'data-url'=>asset('index.php/admin/custom/orders.excel') ])!!} {!!Form::close()!!} @stop @section('form') {!!Form::open(array('id'=>'search_form', 'method'=>'post','route' =>array('custom.orders.index'),'class'=>'form-horizontal')) !!} @include('Admin.reports.custom_orders.partial.searchfilters') {!!Form::close()!!} @stop @section('table') Name Email Size Color Quantity Status @foreach($orders as $order) {!! $order->name !!} {!! $order->email !!} {!! $order->size !!} {!! $order->color !!} {!! $order->quantity !!} {{-- {!! $order->country.' '.$order->city.' '.$order->address.'' !!} --}} {{-- {!! $order->instruction!!} --}} Detail @include('Admin.reports.custom_orders.partial.order_modal',['order'=>$order]) {{--
Notice: Undefined variable: order in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/custom_orders/index.blade.php on line 61

Notice: Trying to get property 'status' of non-object in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/custom_orders/index.blade.php on line 61

Notice: Undefined variable: order in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/custom_orders/index.blade.php on line 64

Notice: Trying to get property 'status' of non-object in /home/demohatinco/public_html/petmates_backend/resources/views/Admin/reports/custom_orders/index.blade.php on line 64
In Progress @include('Admin.reports.custom_orders.partial.confirmation_modal', [ 'order_id'=>$order->id, 'cell_id'=>'td_'.$order->id, 'req_status'=>'inprogress_request_'.$order->id, 'url'=>asset('admin/reports/custom/orders/status_update/'.$order->id), 'status'=>'completed', 'btn_class'=>'btn-primary' ]) Reject @include('Admin.reports.custom_orders.partial.confirmation_modal', [ 'order_id'=>$order->id, 'cell_id'=>'td_'.$order->id, 'req_status'=>'reject_request_'.$order->id, 'url'=>asset('admin/reports/custom/orders/status_update/'.$order->id), 'status'=>'rejected', 'btn_class'=>'btn-danger' ])
Complete @include('Admin.reports.custom_orders.partial.confirmation_modal', [ 'order_id'=>$order->id, 'cell_id'=>'td_'.$order->id, 'req_status'=>'completed_request_'.$order->id, 'url'=>asset('admin/reports/custom/orders/status_update/'.$order->id), 'status'=>'completed', 'btn_class'=>'btn-success' ])
{!! ucwords($order->status) !!}
--}} @endforeach @section('pagination') {!! $orders->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop @include('Admin.reports.custom_orders.partial.msg_modal') @section('extra_css') @stop @section('app_jquery') @endsection