@if ($errors->any())
@endif @if($msg) @endif
@include('hr.employee.account.employeeAccountUpdateModal')
{!! Form::open([ 'enctype' => 'multipart/form-data', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'autocomplete' => 'off', ]) !!} {{-- pending table --}} @if( $data['pending_account']?->status == 'Rejected') @elseif( $data['pending_account']?->status == 'Pending') @else @endif
Bank Account Form
Bank Type Bank Name Holder Name Account Number Routing Number Branch Bank File Effective Date
{!! Form::select('bank_types', ['' => 'Select'] + $data['BANK_TYPES'], $data['pending_account']?->bank_type, [ 'class' => 'form-control bank_id bankList ' . ($errors->has('bank_types') ? 'is-invalid' : ''), 'id' => 'bank_type', 'required' => true, ]) !!} {!! Form::select('bank_id', ['' => 'Select any'] + $data['banks'], $data['pending_account']?->bank_id, [ 'class' => 'form-control bank_id bankList ' . ($errors->has('bank_id') ? 'is-invalid' : ''), 'id' => 'bank_id', 'disabled' => false, 'onchange' => 'getBankBranch(1, this)' ]) !!} {!! Form::text('holder_name', $data['introduction']->emp_name_english, [ 'disabled', 'class' => 'form-control', 'placeholder' => 'Holder Name' ]) !!} {!! Form::text('account_no', $data['pending_account']?->account_no, [ 'class' => 'form-control ' . ($errors->has('account_no') ? 'is-invalid' : ''), 'required' => false, 'id' => 'account_no', 'placeholder' => $data['placeholder']['account_no'] ]) !!} {!! Form::text('routing_number', $data['pending_account']?->routing_number, [ 'class' => 'form-control ' . ($errors->has('routing_number') ? 'is-invalid' : ''), 'id' => 'routing_number', 'disabled' => false, 'placeholder' => 'Routing Number' ]) !!} {!! Form::select('branch', [""=>"Select Branch"]+$data['branches'], $data['pending_account']?->branch, [ 'class' => 'form-control ' . ($errors->has('branch_id') ? 'is-invalid' : ''), 'id' => 'branch_id', 'disabled' => false ]) !!} @php $baseUrl = url('/').'/'.$data['pending_account']?->bank_file @endphp {!! Form::file('account_file', [ 'class' => 'form-control ' . ($errors->has('account_file') ? 'is-invalid' : ''), 'type' => 'file', 'disabled' => false, 'id' => 'bank_file' ]) !!} @if($data['pending_account']?->bank_file) @endif {{-- {{ date('d-m-Y', strtotime($data['pending_account']?->effect_date)) }}--}} {!! Form::text('effect_date', $data['pending_account']?->effect_date , [ 'class' => 'form-control datepicker ' . ($errors->has('effect_date') ? 'is-invalid' : ''), 'disabled' => false, 'id'=> 'effect_date', 'placeholder' => $data['placeholder']['effect_date'] ]) !!}
[ Note: This account is rejected. Please correct your account information. ][ Note: This account is pending. Please wait for approval. ] {!! Form::submit('Save', ['id' => 'add', 'class' => 'btn btn-info', 'name' => 'submit']) !!}
{!! Form::close() !!} {{-- approved account form list --}} @foreach ($data['approvedAccounts'] as $account) @endforeach
Approved Account List
Bank Name Holder Name Account Number Routing Number Branch Effective Date Approved By #
{{ $account?->bank?->name }} {{ $data['introduction']?->emp_name_english }} {{ $account?->account_no }} {{ $account?->routing_number ?? '-' }} {{ $account?->bankBranch?->name }} {{ isset($account) && !empty($account->effect_date) ? date('d-m-Y', strtotime($account->effect_date)) : '' }} {{ $account?->approvedName?->employee?->emp_name_english }} @php $baseUrlBankFile = url('/').'/'.$account?->bank_file @endphp @if($account?->bank_file) @endif @if($data['checkAccess']) @endif

Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/employee/accountFormIndividual.blade.php on line 245

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/employee/accountFormIndividual.blade.php on line 245

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/employee/accountFormIndividual.blade.php on line 245