@extends('layouts/microfin_layout') @section('title', '| Deposit List') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; $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['filProduct']) ? $_GET['filProduct'] : null; $primaryProductSelected = isset($_GET['filPrimaryProduct']) ? $_GET['filPrimaryProduct'] : null; $dateFromSelected = isset($_GET['filDateFrom']) ? $_GET['filDateFrom'] : null; $dateToSelected = isset($_GET['filDateTo']) ? $_GET['filDateTo'] : null; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// $moneyRecNoSelected = isset($_GET['filMoneyRecNo']) ? $_GET['filMoneyRecNo'] : null; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @endphp

SAVINGS DEPOSIT LIST

{!! Form::open(array('url' => 'viewMfnSavingsDeposit', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'get')) !!}
@if(count($branchList) > 1)
{!! Form::label('', 'Branch:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filBranch', [''=>'--All--']+$branchList, $branchSelected ,['id'=>'filBranch','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
@endif
{!! Form::label('', 'Samity:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filSamity', [''=>'--All--']+$samityList, $samitySelected ,['id'=>'filSamity','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', 'Member Code:', ['class' => 'control-label pull-left']) !!}
{!! Form::text('filMemberCode', $memberCodeSelected ,['id'=>'filMemberCode','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{{-- ------------------------------------///////////////////////////////////////////////////////////////////////////////////////////////////////------------------------------ --}} @if($moneyRecNoType != null)
{!! Form::label('', 'Money Receipt No:', ['class' => 'control-label pull-left']) !!}
{!! Form::text('filMoneyRecNo', $moneyRecNoSelected ,['id'=>'filMoneyRecNo','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
@endif {{-- --------------------------------------///////////////////////////////////////////////////////////////////////////////////////////////////---------------------------- --}}
{!! Form::label('', 'Product:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filProduct', [''=>'--All--']+$productList, $primarySelected ,['id'=>'filProduct','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', 'Primary Product:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filPrimaryProduct', [''=>'--All--']+$primaryProductList, $primaryProductSelected ,['id'=>'filPrimaryProduct','class'=>'form-control input-sm','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() !!} {{-- --------///////////////////////////////////////////////////////////////////////////////////////////////////////////////////--------- --}} @if($moneyRecNoType != null) @endif {{-- ------------////////////////////////////////////////////////////////////////////////////////////////////////////////////////////----- --}} @foreach ($deposits as $key => $deposit) {{-- ------------------/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////------------- --}} @if($moneyRecNoType != null) @endif {{-- ---------------------///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////---------- --}} @if ($deposit->ds==1) @else @endif @endforeach
SL# MEMBER NAME MEMBER CODE SAVINGS CODE TRANSACTION DATE MODE OF PAYMENT AMOUNTMoney Receipt NoENTRY BY STATUS ACTION
{{($pageNo-1)*100+($key+1)}} {{$deposit->memberName}} {{$deposit->memberCode}} {{$deposit->savingsCode}} {{date('d-m-Y',strtotime($deposit->depositDate))}} {{$deposit->paymentType}} {{number_format($deposit->amount,2)}}{{$deposit->moneyReceiptNo}}{{$deposit->moneyReceiptAutoSerialNo ?? null}} {{ @$deposit->entryBy }} @if ($deposit->isAuthorized==1) @else @endif {{-- --------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////----------------- --}} @if($isMoneyReceiptPrintAllow == 1) @endif {{-- -------------------////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////------------ --}} {{-- --------------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////----------- --}} @if($isMoneyReceiptPrintAllow == 1) @endif {{-- -----------------///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////-------------- --}} @if($deposit->canDeleteOrEdit==1) canDeleteOrEdit==0){ echo "style=\"pointer-events: none;cursor: not-allowed;\"";}@endphp> canDeleteOrEdit==0){ echo "style=\"pointer-events: none;cursor: not-allowed;\"";}@endphp> @endif
{{-- @if (!isset($_GET['filDateFrom'])) --}}
{{ $deposits->appends(request()->input())->links() }}
{{-- @endif --}}
{{-- View Modal --}} {{-- End View Modal --}} {{-- Edit Modal --}} {{-- End Edit Modal --}} {{-- Delete Modal --}} {{-- End Delete Modal --}} @endsection