@extends('layouts.app') @section('title', __('lang_v1.smart_root_discount_report')) @section('content')

{{ __('lang_v1.smart_root_discount_report') }}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open([ 'url' => action([\App\Http\Controllers\ReportController::class, 'getStockReport']), 'method' => 'get', 'id' => 'smart_root_discount_report_form', ]) !!}
{!! Form::label('customer_id', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required', 'style' => 'width:100%', ]) !!}
{!! Form::label('psr_customer_group_id', __('lang_v1.customer_group_name') . ':') !!} {!! Form::select('psr_customer_group_id', $customer_group, null, [ 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'psr_customer_group_id', ]) !!}
{!! Form::label('user_filter', __('report.user') . ':') !!}
{!! Form::select('user_filter', $usersFilter, null, [ 'class' => 'form-control select2', 'placeholder' => __('report.user'), 'required', 'style' => 'width:100%', ]) !!}
{!! Form::label('smart_discount_name', __('report.smart_discount_name') . ':') !!}
{!! Form::select('smart_discount_name', $smartRootDiscountNames, null, [ 'class' => 'form-control select2', 'placeholder' => __('report.smart_discount_name'), 'required', 'style' => 'width:100%', ]) !!}
{!! Form::label('smart_discount_type', __('report.smart_discount_type') . ':') !!}
{!! Form::select('smart_discount_type', $smartRootDiscountTypes, null, [ 'class' => 'form-control select2', 'placeholder' => __('report.smart_discount_type'), 'required', 'style' => 'width:100%', ]) !!}
{!! Form::label('product_sr_date_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, [ 'placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'product_sr_date_filter', 'readonly', ]) !!}
{!! Form::close() !!} @endcomponent
@endsection @section('javascript') @endsection