@extends('layouts/microfin_layout') @section('title', '| OTS Closing Application List') @section('content')
{{-- --}}

OTS List For Payment

{!! Form::open([ 'url' => Request::url(), 'class' => 'form-horizontal form-groups', '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('memberCode', 'Member Code:', ['class' => 'control-label']) !!} {!! Form::text('memberCode', request()->all('memberCode')['memberCode'] ?? '', [ 'id' => 'memberCode', 'class' => 'form-control', 'autocomplete' => 'off' ]) !!}
{{--
{!! Form::label('processPayment', 'Process Payment:', ['class' => 'control-label required']) !!} {!! Form::select( 'processPayment', ['' => 'Select'] + $processPayments, request()->all('processPayment')['processPayment'] ?? '', ['class' => 'form-control', 'id' => 'processPayment'] ) !!}
--}}
{!! Form::label('paymentMode', 'Payment Type:', ['class' => 'control-label required']) !!} {!! Form::select( 'paymentMode', ['' => 'Select', 'Cash' => 'Cash', 'Bank' => 'Bank', 'mobile_banking' => 'MFS'], request()->all('paymentMode')['paymentMode'] ?? '', ['class' => 'form-control', 'id' => 'paymentMode'] ) !!}
{!! Form::label('submit', ' ', ['class' => 'control-label']) !!} {!! Form::submit('Search', ['id' => 'submit', 'class' => 'form-control btn btn-search']) !!}
{!! Form::close() !!} {!! Form::open(['url' => '', 'id' => 'bulkPaymentForm']) !!} {{-- --}} @foreach ($applications as $key => $application) {{-- --}} @endforeach
SL NO Member Name Member Code Savings Code Member BankBranch BankRefundable Amount Application Date @if($isBulkPayment) Payment @else Action @endif
Bank Name A/C Number
{{ ($key + 1) }} {{ $application->memberName }} {{ $application->memberCode }} {{ $application->savingsCode }} {{ $application->bankName }} {{ $application->accountNumber }} @if(isset($application->banks)) @else Cash @endif {{ number_format($application->refundableAmount) }} {{ date('d-m-Y', strtotime($application->applicationDate)) }} @if($isBulkPayment) {{-- --}} @endif @if(!$isBulkPayment) @if (isset($application->isAllowToClose) && $application->isAllowToClose) @endif @endif
{!! Form::close() !!}
@endsection