@extends('layouts/microfin_layout') @section('title', '| Member Bank') @section('content')
| Bank Account Form | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bank Type | Bank Name | Holder Name | Account Number | Routing Number | Branch | Bank File | Effective Date | Action | |||||||||
| {!! Form::hidden('bankAccountId[]', $bankAccount->id) !!} {!! Form::select('bankType[]', ['' => 'Select'] + $BANK_TYPES, $bankAccount->bankType, [ 'class' => 'form-control bankType', ]) !!} | {!! Form::select( 'bankId[]', ['' => 'Select'] + ($bankAccount->bankType == 'bank' ? $banks : $mobileBankings), $bankAccount->bankId, ['class' => 'form-control bankList'], ) !!} | {{ $member->name }} | {!! Form::text('accountNumber[]', @$bankAccount->accountNumber, ['class' => 'text-center form-control']) !!} | {!! Form::text('routingNumber[]', @$bankAccount->routingNumber, [ 'class' => 'text-center form-control routingNo routingNumber', $bankAccount->bankType == 'mobile_banking' ? 'readonly' : null, ]) !!} | {{--{!! Form::select('routingNumber[]', (@$bankAccount->bankRoutings)? @$bankAccount->bankRoutings : [],@$bankAccount->routingNumber , ['class' => 'text-center form-control routingNo routingNumber select2', ($bankAccount->bankType == 'mobile_banking') ? 'disabled' : null]) !!} | --}} {{----}} | {{ @$bankAccount->branchName }} {!! Form::hidden('branchName[]', @$bankAccount->branchName, [ 'class' => 'text-center form-control branchName', 'readonly', ]) !!} | {{--{!! Form::text('branchName[]', @$bankAccount->branchName, ['class' => 'text-center form-control branchName', ($bankAccount->bankType == 'mobile_banking') ? 'readonly' : null]) !!} | --}}{!! Form::file('bankFile[]', [ 'class' => 'text-left', 'style' => 'width:150px;', $bankAccount->bankType == 'mobile_banking' ? 'disabled' : null, ]) !!} @if (@$bankAccount->bankFile) Show File @endif | {!! Form::text( 'effectiveDate[]', isset($bankAccount->effectiveDate) && $bankAccount->effectiveDate ? date('d-m-Y', strtotime(@$bankAccount->effectiveDate)) : null, ['class' => 'text-center form-control datepicker effectiveDate', 'readonly' => 'readonly'], ) !!} | |||||||
| Effective Date | {!! Form::text('effectiveDate', (isset($bankAccount->effectiveDate) && $bankAccount->effectiveDate) ? date('d-m-Y', strtotime(@$bankAccount->effectiveDate)) : null, ['class' => 'text-center form-control datepicker', 'readonly' => 'readonly', 'id' => 'effectiveDate']) !!} | ||||||||||||||||
| {{-- Close --}} | |||||||||||||||||