@extends('layouts.admin') @section('content')
{!! Form::open(array('route' => $route, 'method' => 'GET', 'class'=>'filter_form mobile_filter d-block')) !!}
{!! Form::label("date", __('report.date')) !!}
{!! Form::hidden('from_date', (isset($inputs['from_date'])?dateFormat($inputs['from_date'], 'd-m-Y') :''), ['id' => 'from_date']) !!} {!! Form::hidden('to_date', (isset($inputs['to_date'])?dateFormat($inputs['to_date'], 'd-m-Y') :''), ['id' => 'to_date']) !!}
@if(!isSeller())
{!! Form::label("store_id", __('report.store'), ['class' => 'first-column']) !!} {!! Form::select('store_id[]', $stores, (isset($inputs['store_id'])?$inputs['store_id']:[]), [ 'class'=>'form-control select2 second-column', 'id' => 'store_id', 'multiple' => true, 'data-actions-box'=>'true', 'data-width'=>'100%', 'required' => true, 'data-route' => route('report.get-store-category'), ]) !!}
@endif
{!! Form::label("category[]", __('report.category') , ['class' => 'first-column']) !!} {!! Form::select('category[]', $categories, (isset($inputs['category'])?$inputs['category']:[]), [ 'class'=>'form-control select2 second-column', 'id' => 'category_id', 'multiple' => true, 'data-actions-box'=>'true', 'data-width'=>'100%', ]) !!}
{!! Form::label("order_from", __('report.platform'), ['class' => 'first-column']) !!} {!! Form::select('order_from[]', orderFrom(), (isset($inputs['order_from'])?$inputs['order_from']:''), ['class'=>'form-control select2 second-column','multiple' => true]) !!}
{!! Form::hidden('filter', 1) !!} {!! __('orders.reset') !!}
{!! Form::close() !!} @if((isset($orders) && count($orders) > 0))
{!! Form::label("item_name", __('common.search')) !!} {!! Form::text("item_name", '', ['class'=>'form-control live-search']) !!}
@endif
@include('admin.report.raw-material-cost-by-order-view')
{{--@if(count($items) > 0)--}} {{--{{ $items->links() }}--}} {{--@endif--}}
@endsection @section('script') @endsection