75 lines
3.4 KiB
PHP
Raw Normal View History

2024-09-19 18:33:08 +05:45
<div class="card">
<div class="card-body">
<div class="row g-2">
<div class="col-sm-12">
{{ html()->form('GET')->route('purchaseEntry.index')->open() }}
<div class="row g-8">
{{-- <div class="col-xl-3">
<div class="search-box">
{{ html()->text('search')->class('form-control search')->value(request('search'))->placeholder('Search...') }}
<i class="ri-search-line search-icon"></i>
</div>
</div> --}}
<div class="col-sm-3">
<div class="">
{{ html()->text('date')->class('form-control')->value(request('date'))->placeholder('Date Range')->attributes([
'id' => 'datepicker-range',
'data-provider' => 'flatpickr',
'data-date-format' => 'Y-m-d',
'data-range-date' => 'true',
]) }}
</div>
</div>
<div class="col-sm-2">
<div class="search-box">
{{ html()->select('ingredient_category_id', $ingredientCategoryList)->class('form-control select2')->value(request('ingredient_category_id'))->placeholder('By Category') }}
</div>
</div>
{{-- <div class="col-sm-2">
<div class="search-box">
{{ html()->select('stock_id', $stockList)->class('form-control select2')->value(request('stock_id'))->placeholder('By Stock') }}
</div>
</div> --}}
<div class="col-sm-2">
<div class="search-box">
{{ html()->select('ingredient_id', $ingredientList)->class('form-control select2')->value(request('ingredient_id'))->placeholder('By Product') }}
</div>
</div>
<!--end col-->
{{-- <div class="align-item-right"> --}}
<div class="col-sm-1 offset-lg-1">
<div>
<button type="submit" class="btn btn-primary">
<i class="ri-equalizer-fill me-2"></i>Filters</button>
{{-- <a href="{{ route('task.index') }}" class="btn btn-danger">
<i class="ri-bin-fill me-2"></i>Reset</a> --}}
</div>
</div>
<div class="col-sm-1">
<div>
<a href="{{ route('purchaseEntry.index') }}" class="btn btn-primary">
<i class="ri-loop-right-line me-2"></i>Reset</a>
{{-- <a href="{{ route('task.index') }}" class="btn btn-danger">
<i class="ri-bin-fill me-2"></i>Reset</a> --}}
</div>
</div>
{{-- </div> --}}
<!--end col-->
</div>
<!--end row-->
{{ html()->form()->close() }}
</div>
<!--end col-->
</div>
<!--end row-->
</div>
</div>
<script>
</script>