@extends('layouts.app') {{--Important Variables--}} @section('title') {{__('lang.cheques_report')}} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content') @php function checkFilter($request_name,$current_value=null){ // Check IF Current Value Exists in Required Request if($request_name && $current_value){ $request_value=request()->get($request_name); $check=$request_value == $current_value; $selected = ($check) ? 'selected' : ''; return $selected; } // Return Required Request Value if($request_name){ $request_value=request()->get($request_name); return $request_value; } return ''; } @endphp {{__('lang.cheques_manage_report')}} {{__('lang.search_criteria')}} {{ csrf_field() }} {{__('lang.select_bank_name')}} @foreach( App\Models\BankCash::all() as $bank ) head->id) }} value="{{ $bank->head->id }}">{{ $bank->name }} @endforeach {{__('lang.bank')}} {{__('lang.name')}} Select Status In Hand Submitted Cleared Bounced Returned Select Voucher Type {{__('lang.rv')}} {{-- PV JV --}} {{-- --}} @include("admin.components.input.date",[ "name" => "cheque_date_from", "label"=> __('lang.cheque_date_from'), "id"=> "bs_datepicker_container", "value"=> checkFilter('cheque_date_from'), "class"=> "", "col"=> "col-lg-4 col-md-4 col-sm-12 col-xs-12", ]) @include("admin.components.input.date",[ "name" => "cheque_date_to", "label"=> __('lang.cheque_date_to'), "id"=> "bs_datepicker_container1", "value"=> checkFilter('cheque_date_to'), "class"=> "", "col"=> "col-lg-4 col-md-4 col-sm-12 col-xs-12", ]) @include("admin.components.input.date",[ "name" => "voucher_date_from", "label"=> __('lang.voucher_date_from'), "id"=> "bs_datepicker_container", "value"=> checkFilter('voucher_date_from'), "class"=> "", "col"=> "col-lg-4 col-md-4 col-sm-12 col-xs-12", ]) @include("admin.components.input.date",[ "name" => "voucher_date_to", "label"=> __('lang.voucher_date_to'), "id"=> "bs_datepicker_container1", "value"=> checkFilter('voucher_date_to'), "class"=> "", "col"=> "col-lg-4 col-md-4 col-sm-12 col-xs-12", ]) {{-- --}} {{__('lang.clear')}} @stop @push('include-css') @endpush @push('include-js') @endpush