@extends('layouts/microfin_layout') @section('title', '| OTS Closing Application List') @section('content') @php $pageNo = isset($_GET['page']) ? (int) $_GET['page'] : 1; @endphp

OTS Close Application List

{!! Form::open([ 'url' => Request::url(), 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'filterFormId', 'method' => 'get' ]) !!}
@if (count($branchList) > 1)
{!! Form::label('branchId', 'Branch:', ['class' => 'control-label']) !!} {!! Form::select('branchId', ['' => 'Select'] + $branchList, request()->all('branchId')['branchId'] ?? '', [ 'class' => 'form-control', 'id' => 'branchId' ]) !!}
@endif
{!! Form::label('samityId', 'Samity:', ['class' => 'control-label']) !!} {!! Form::select('samityId', ['' => 'Select'] + $samity, request()->all('samityId')['samityId'] ?? '', [ 'class' => 'form-control', 'id' => 'samityId' ]) !!}
{!! Form::label('dateFrom', 'Date From:', ['class' => 'control-label']) !!} {!! Form::text('dateFrom', request()->all('dateFrom')['dateFrom'] ?? '', [ 'class' => 'form-control datepicker', 'id' => 'dateFrom', 'type' => 'text', 'readonly' => 'readonly' ]) !!}
{!! Form::label('dateTo', 'Date To:', ['class' => 'control-label']) !!} {!! Form::text('dateTo', request()->all('dateTo')['dateTo'] ?? '', [ 'class' => 'form-control datepicker', 'id' => 'dateTo', 'type' => 'text', 'readonly' => 'readonly' ]) !!}
{!! Form::label('authStatus', 'Status:', ['class' => 'control-label']) !!} {!! Form::select( 'authStatus', ['' => 'Select'] + $authStatus, request()->all('authStatus')['authStatus'] ?? '', ['class' => 'form-control', 'id' => 'authStatus'] ) !!}
{!! Form::label('paymentMode', 'Payment Type:', ['class' => 'control-label']) !!} {!! Form::select( 'paymentMode', ['' => 'Select', 'Cash' => 'Cash', 'Bank' => 'Bank', 'mobile_banking' => 'MFS'], request()->all('paymentMode')['paymentMode'] ?? '', ['class' => 'form-control', 'id' => 'paymentMode'] ) !!}
@if(auth::user()->id == 1)
{!! Form::label('processPayment', 'Payment Process:', ['class' => 'control-label']) !!} {!! Form::select( 'processPayment', ['' => 'Select'] + $processPayments, request()->all('processPayment')['processPayment'] ?? '', ['class' => 'form-control', 'id' => 'processPayment'] ) !!}
@endif
{!! Form::label('memberCode', 'Member Code:', ['class' => 'control-label']) !!} {!! Form::text('memberCode', request()->all('memberCode')['memberCode'] ?? '', [ 'id' => 'memberCode', 'class' => 'form-control', 'autocomplete' => 'off' ]) !!}
{!! Form::label('submit', ' ', ['class' => 'control-label']) !!} {!! Form::submit('Search', ['id' => 'submit', 'class' => 'form-control btn btn-search']) !!}
{!! Form::close() !!} {{-- --}} @foreach ($applications as $key => $application) {{-- --}} @endforeach
SL NO Member Name Member Code Savings Code Mode Of Payment Refundable Amount Entry By Application Date Approval StatusProcess to PaymentAction
{{ ($pageNo - 1) * 100 + ($key + 1) }} {{ $application->memberName }} {{ $application->memberCode }} {{ $application->savingsCode }} {{ $application->paymentMode }} {{ number_format($application->refundableAmount) }} {{ $application->entryBy }} {{ date('d-m-Y', strtotime($application->applicationDate)) }} {{ ucfirst(str_replace('_', ' ',$application->approvalStatus)) }} @if($application->isAllowToProcessPayment) @if($application->allowToClose == 'HO') @else @endif @else N/A @endif @if ($application->isAllowToAlter) @endif @if ($application->isAllowForward) @endif @if($application->isAllowToProcessPayment) @if($application->allowToClose == 'HO') @else @endif @endif {{-- @if (isset($application->isAllowToClose) && $application->isAllowToClose) @endif --}} @if($application->isAllowUnapproved) @endif
{{ $applications->appends(request()->input())->links() }}
@endsection {{-- Delete Modal --}} {{-- End Delete Modal --}} {{-- Process to Payment Modal --}} {{-- Process to Payment Modal --}}