Published on : July 08, 2020
What is Loan Tenure?
Sets the Range for the Setup Date and Validates whether the Provided Setup Date is Valid or Not.
Service Used: sublan_eligibility.setup_date
Setup Settings (Not Mandatory)
Logic: Calculation of loan tenure
Setup Today
-------------------
Today
Overwrite: $eligibility['rtsettings']['setup_date']['today']
<Required value = yes,calc>
Required=calc
Overwrite by $eligibility['rtsettings']['interest_rate']['required']
Overwrite by $settings['required']
Setup Max
-------------
Today
Setup Min
-------------
lan_setup_date
Setup date
----------------
Input Setup Date
Max Date
Output:
setup_date => [
"debug" => array()
"input_setup_date" => string(8) "20200708"
"required" => string(3) "yes"
"today" => string(8) "20200708"
"max_date" => string(8) "20200708"
"lan_setup_date" => string(8) "20200708"
"min_date" => string(8) "20200708"
"setup_date" => string(8) "20200708"
"status" => string(7) "success"
"message" => string(21) "setup date calculated"
]
Visual Output
