@include('admin.layouts.header') @include('admin.layouts.sidebar')

Grade

@if(\Illuminate\Support\Facades\Session::has('Document_List_Create|13-2-0')) Add Document List @endif
@if(Session::has('success')) @endif @if(Session::has('error')) @endif

Grade

{{-- Grade Name --}}
{{-- Approval Rule Set --}}
{{-- Existing rules --}}
@if(isset($grade)) @foreach($grade->selectedFields as $label => $field)
@foreach($field['list'] as $value)
@if($value['type'] == 'select') @elseif($value['type'] == 'text' || $value['type'] == 'number') @elseif($value['type'] == 'checkbox') @endif
@endforeach
@endforeach @endif
{{-- New Rule creation --}}
@include('admin.grade.grade_form')
{{-- Document Rule Set --}}
@if(isset($grade['docRules'])) @foreach($grade['docRules'] as $index=>$docRule)
negative_profile) && $docRule->negative_profile == 1) checked="checked" @endif name="negative_profile">
negative_area) && $docRule->negative_area == 1) checked="checked" @endif name="negative_area">
collateral_loan) && $docRule->collateral_loan == 1) checked="checked" @endif name="collateral_loan">
@if((\Illuminate\Support\Facades\Session::has('Grades_Update|13-0-2') && isset($docRule->id)) || (!isset($docRule->id) && \Illuminate\Support\Facades\Session::has('Grades_Create|13-0-1')))
@endif
@endforeach @endif
{{-- Pre-Approval Rule Set --}}
@if(isset($grade['preApproval'])) @foreach($grade['preApproval'] as $index=>$preApproval)
thin_file) && $preApproval->thin_file == 1 ? 'checked="checked"' : ''; ?>>
employment_type) ? explode(',',$preApproval->employment_type) : []; ?>
residence_status) ? explode(',',$preApproval->residence_status) : []; ?>
@if((\Illuminate\Support\Facades\Session::has('Grades_Update|13-0-2') && isset($preApproval->id)) || (!isset($preApproval->id) && \Illuminate\Support\Facades\Session::has('Grades_Create|13-0-1')))
@endif
@endforeach @endif
{{-- Rejection Rule Set --}}
@if(isset($grade->id))
If one of them condition failed than it will reject the application. There is OR condition between the each attributes.
negative_area) && $grade['auto_reject']['consumer']->negative_area == 1) checked="checked" @endif />
approved_pincode) && $grade['auto_reject']['consumer']->approved_pincode == 1) checked="checked" @endif />
@if((\Illuminate\Support\Facades\Session::has('Grades_Update|13-0-2') && isset($grade['auto_reject']['consumer']->id)) || (!isset($grade['auto_reject']['consumer']->id) && \Illuminate\Support\Facades\Session::has('Grades_Create|13-0-1')))
@endif
@endif
@if(isset($grade->id))
If one of the conditions is passed then it will reject the application. There is an OR condition between each of the attributes.
{{-- DPD Section Card --}}
{{-- Card Header --}}

{{-- Card Body --}}
{{-- Ownership Dropdown --}}
{{-- Container for DPD Rules --}}
{{-- Default Rule Row (Can be removed if populateCard always runs or added by JS) --}}
+ days in the last months Tradeline
{{-- This is a template row for JavaScript to clone. --}}
{{-- Keep unique ID for template lookup --}} + days in the last months Tradeline
{{-- Add Rule Button --}}
{{-- End card-body --}}
{{-- End collapse --}}
{{-- End card --}} {{-- Keyword Section Card --}}
{{-- Card Body --}}
{{-- Ownership Dropdown --}}
{{-- Default Rule Row --}}
in the last months Tradeline
{{-- This is a template row for JavaScript to clone. --}}
in the last months Tradeline
{{-- Add Rule Button --}}
{{-- End card-body --}}
{{-- End collapse --}}
{{-- End card --}} {{-- Account Status --}} {{-- End card --}} {{-- Principal Written Off --}}
{{-- Card Header --}} {{-- Card Body --}}
{{-- Ownership Dropdown --}}
{{-- Rules Container --}}
{{-- Default Row --}}
in the last months
{{-- Template Row --}}
in the last months
{{-- Add Rule Button --}}
{{-- End card-body --}}
{{-- End collapse --}}
{{-- End card --}} {{-- Total Past Dues --}}
{{-- Card Header --}} {{-- Card Body --}}
{{-- Ownership Dropdown --}}
{{-- Rules Container --}}
{{-- Default Row --}}
for in the last months
{{-- Template Row --}}
for in the last months
{{-- Add Rule Button --}}
{{-- End card-body --}}
{{-- End collapse --}}
{{-- End card --}} {{-- NACH BOUNCE --}}
{{-- Card Header --}} {{-- Card Body --}}
{{-- Rules Container --}}
Number of EMI/ECS/Nach Bounce in the last months
{{-- Add Rule Button --}}
{{-- Negative Area --}}
{{-- Pincode Should Be Approved --}}
@if((\Illuminate\Support\Facades\Session::has('Grades_Update|13-0-2') && isset($grade['auto_reject']['ex_consumer']->id)) || (!isset($grade['auto_reject']['ex_consumer']->id) && \Illuminate\Support\Facades\Session::has('Grades_Create|13-0-1')))
@endif
@endif
{{-- Save button for grade name --}}
{{-- Update Grade Pop-Up --}} @include("admin.layouts.footer") @if (!empty($rejection_json)) @endif