@component('components.filters', ['title' => __('report.filters')])
{!! Form::open([
'url' => action('ReportController@getStockReport'),
'method' => 'get',
'id' => 'stock_report_filter_form',
]) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, 1, [
'class' => 'form-control select2',
'style' => 'width:100%',
]) !!}
{!! Form::label('category_id', __('category.category') . ':') !!}
{!! Form::select('category', $categories, null, [
'placeholder' => __('messages.all'),
'class' => 'form-control select2',
'style' => 'width:100%',
'id' => 'category_id',
]) !!}
{!! Form::label('sub_category_id', __('product.sub_category') . ':') !!}
{!! Form::select('sub_category', [], null, [
'placeholder' => __('messages.all'),
'class' => 'form-control select2',
'style' => 'width:100%',
'id' => 'sub_category_id',
]) !!}
{!! Form::label('brand', __('product.brand') . ':') !!}
{!! Form::select('brand', $brands, null, [
'placeholder' => __('messages.all'),
'class' => 'form-control select2',
'style' => 'width:100%',
]) !!}
{!! Form::label('active_state', 'Active Status:') !!}
{!! Form::label('unit', __('product.unit') . ':') !!}
{!! Form::select('unit', $units, null, [
'placeholder' => __('messages.all'),
'class' => 'form-control select2',
'style' => 'width:100%',
]) !!}
@if ($show_manufacturing_data)
@endif
{!! Form::close() !!}
@endcomponent