@extends('layouts/microfin_layout') @section('title', '| Savings Account List') @section('content') @php $pageNo = isset($_GET['page']) ? (int) $_GET['page']: 1; $branchSelected = isset($_GET['filBranch']) ? $_GET['filBranch'] : null; $samitySelected = isset($_GET['filSamity']) ? $_GET['filSamity'] : null; $memberCodeSelected = isset($_GET['filMemberCode']) ? $_GET['filMemberCode'] : null; $primarySelected = isset($_GET['filProductCat']) ? $_GET['filProductCat'] : null; $dateFromSelected = isset($_GET['filDateFrom']) ? $_GET['filDateFrom'] : null; $dateToSelected = isset($_GET['filDateTo']) ? $_GET['filDateTo'] : null; @endphp
@if(in_array($userRoleId, Config('services.branch_level_user_roles'))) Add Savings Account @endif

SAVINGS ACCOUNT LIST

{!! Form::open(array('url' => 'viewMfnSavingsAccountList', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'get')) !!}
@if(!in_array($userRoleId, Config('services.branch_level_user_roles')))
{!! Form::label('', 'Branch:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filBranch', [''=>'--All--']+$branchList, $branchSelected ,['id'=>'filBranch','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
@endif @if(in_array($userRoleId, Config('services.branch_level_user_roles')))
{!! Form::label('', 'Samity:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filSamity', [''=>'--All--']+$samityList, $samitySelected ,['id'=>'filSamity','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
@endif
{!! Form::label('', 'Member Code:', ['class' => 'control-label pull-left']) !!}
{!! Form::text('filMemberCode', $memberCodeSelected ,['id'=>'filMemberCode','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', 'Product:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filProductCat', [''=>'--All--']+$productCatList, $primarySelected ,['id'=>'filProductCat','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('accountStatus', 'Status:', ['class' => 'control-label']) !!}
{!! Form::select('accountStatus',['0'=>'All', '1'=>'Active','2'=>'Inactive'], request()->all('accountStatus')['accountStatus'] ?? '1' ,['id'=>'accountStatus','class'=>'form-control', 'autocomplete'=>'off']) !!}
{!! Form::label('', 'Date From:', ['class' => 'control-label pull-left']) !!}
{!! Form::text('filDateFrom', $dateFromSelected,['id'=>'filDateFrom','class'=>'form-control input-sm', 'autocomplete'=>'off','readonly','style'=>'cursor:pointer']) !!}
{!! Form::label('', 'Date To:', ['class' => 'control-label pull-left']) !!}
{!! Form::text('filDateTo', $dateToSelected,['id'=>'filDateTo','class'=>'form-control input-sm', 'autocomplete'=>'off','readonly','style'=>'cursor:pointer']) !!}
{!! Form::label('', '', ['class' => 'control-label col-md-12']) !!}
{!! Form::submit('Search', ['id' => 'searchButton', 'class' => 'btn btn-primary btn-xs']); !!}
{!! Form::close() !!}
Warning: Undefined variable $TCN in /home/shikkhaplus/public_html/guk_bk/resources/views/microfin/savings/savingsAccount/viewSavingsAccount.blade.php on line 136

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/guk_bk/resources/views/microfin/savings/savingsAccount/viewSavingsAccount.blade.php:136 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/guk_bk/resources/views/microfin/savings/savingsAccount/viewSavingsAccount.blade.php on line 136