@component('components.filters', ['title' => __('report.filters')])
{!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getProductDiscountDownload']), 'method' => 'post', 'files' => true ]) !!}
{!! Form::label('category_id', __('product.category') . ':') !!}
{!! Form::select('category_id', $categories, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_category_id', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('brand_id', __('product.brand') . ':') !!}
{!! Form::select('brand_id', $brands, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'product_list_filter_brand_id', 'placeholder' => __('lang_v1.all')]); !!}
{{--
{!! Form::label('based_on', 'Based On') !!}
@php
$basedOn = array(
'0' => 'Select All',
'1' => 'Customer Dis %',
'2' => 'Customer Profit %',
'3' => 'Customer Profit INR',
'4' => 'Canteen Dis %',
'5' => 'Canteen Profit %',
'6' => 'Canteen Profit INR',
'7' => 'Wholesale Dis %',
'8' => 'Wholesale Profit %',
'9' => 'Wholesale Profit INR',
);
@endphp
{!! Form::select('based_on', $basedOn, null, ['class' => 'form-control select2', 'id' => 'product_list_filter_based_id', 'style' => 'width:100%']); !!}
--}}
{{--
{!! Form::label('based_on_can', 'Based On Cant Offer') !!}
{!! Form::select('based_on_can', ['0' => 'All', '1' => 'Net Margin', '2' => 'Profit Margin', '3' => 'Discount'], null, ['class' => 'form-control select2', 'id' => 'product_list_filter_based_can_id', 'style' => 'width:100%']); !!}
--}}
{{--
{!! Form::label('min_dis', 'Min:') !!}
{!! Form::text('min_dis', null, ['class' => 'form-control', 'id' => 'product_list_min_id', 'placeholder' => 0]); !!}
{!! Form::label('max_dis', 'Max:') !!}
{!! Form::text('max_dis', null, ['class' => 'form-control', 'id' => 'product_list_max_id', 'placeholder' => 0]); !!}
--}}
{{--
{{ Form::button(' Download Excel', ['class' => 'btn btn-success pull-right', 'type' => 'submit']) }}
{{-- {!! Form::submit('Download Excel', ['class' => 'form-control btn btn-success pull-right margin-left-10 ', '']) !!} --}}
{{--
--}}
{!! Form::close() !!}
@endcomponent