@extends('layouts.page') @section('title') Bank Masters {{ $bankmaster->bankmaster_id }} @endsection @section('content') @include('common.errors')
{!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(2, 10) !!} {{ Form::open(['url' => '#', 'id' => 'idThisMainForm']) }}
Warning: Some of the persons have an Annual Indent. Please ensure that you check carefully before proceeding.
Attention: You are about to reject the following beneficiaries who were part of the Admin Indent process.
Please ensure that this action is intentional. Rejected beneficiaries will be excluded from further processing under the current indent cycle.
@foreach ($bankmaster_records as $record) @php $beneficiary = $record->beneficiary; $adminIndent = App\Models\AdminIndentRecord::where('beneficiary_name', 'beneficiary_new') ->where('beneficiary_id', $record->beneficiary_id) ->whereNotIn('status', ['completed', 'rejected']) ->whereNull('deleted_at') ->first(); $hasAdminIndent = !empty($adminIndent); $bgColor = $hasAdminIndent ? '#f8d7da' : ''; @endphp @endforeach
Project Code Bank Master ID Name Account Number Bank IFSC Code Annual Indent
@if ($record->isValid()) {{ Form::checkbox("bankmaster_records[$record->id]", $record->id, true, ['class' => 'child-checkbox']) }} @else @endif {{ $beneficiary->full_code }} {{ $bankmaster->bankmaster_id }} {{ $record->passbook_name }} {{ $record->account_no }} {{ AppHelper::dropdown($record->bank_name, 'banks') }} {{ $record->ifsc_code }} @if ($hasAdminIndent) Admin Indent @endif
@php $url = route('bankmaster.reject_records', $bankmaster->id); @endphp Yes, Reject Cancel
{{ Form::close() }}
@endsection @section('scripts') @endsection