{!! Form::label('inventory_type', __('Smartinventory::inventory.inventory_type')) !!}
{!! Form::select('inventory_type', [
'all_products' => __('Smartinventory::inventory.all_products'),
'specific_product' => __('Smartinventory::inventory.specific_product'),
'brand' => __('product.brand'),
'category' => __('product.category'),
'sub_category' => __('product.sub_category'),
], null, [
'class' => 'form-control',
'id' => 'inventory_type',
]) !!}
{!! Form::label('brand_id', __('product.brand') . ': (' . __('lang_v1.optional') . ')') !!}
{!! Form::select(
'brand_id',
$brands,
null,
[
'placeholder' => __('messages.please_select'),
'class' => 'form-control select2',
'style' => 'width:100%;',
]
) !!}
{!! Form::label('product_ids', __('product.product_name') . ':') !!}
{!! Form::select('product_ids[]', [], null, [
'class' => 'form-control select2-product',
'id' => 'product_ids',
'multiple' => 'multiple',
'style' => 'width: 100%;',
]) !!}
{!! Form::label('category_id', __('product.category') . ': (' . __('lang_v1.optional') . ')') !!}
{!! Form::select(
'category_id',
$categories,
null,
[
'placeholder' => __('messages.please_select'),
'class' => 'form-control select2',
'style' => 'width:100%;',
]
) !!}
{!! Form::label('sub_category_id', __('product.sub_category') . ': (' . __('lang_v1.optional') . ')') !!}
{!! Form::select(
'sub_category_id',
$sub_categories,
null,
[
'placeholder' => __('messages.please_select'),
'class' => 'form-control select2',
'style' => 'width:100%;',
]
) !!}