@extends('layouts.admin') @section('style') {{-- --}} @endsection @section('script') {{-- --}} {{-- --}} @parent @endSection @section('content') @component('admin.components.tabs') @php $form = config('admin.convert_vouchers_filter') @endphp
@php $id = 'user_id'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-4', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'date_from'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-4', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'date_to'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-4', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'store_name'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-3', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'min_assets'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-3', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'min_spend'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-3', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent @php $id = 'max_voucher_downloaded'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-6 col-sm-3', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent
@php $id = 'voucher_convert'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', [ 'class'=> 'col-12 mb-2', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @endcomponent
@endcomponent @component('components.utility.modal_confirmation') @slot('slot_header') Confirm @endslot @slot('slot_body_info') Are you sure to convert the voucher

for user(s)? @endslot @endcomponent @endsection