This commit is contained in:
2025-11-04 23:10:50 +05:00
parent 65a47e8028
commit cc3a9cd854
11 changed files with 348 additions and 12 deletions

View File

@@ -453,7 +453,7 @@ class LoanOrderMobileForm
Tab::make(__('Guarantor').' 2')
->columns(6)
->hidden(function (Get $get): bool {
$loan_amount = string($get('loan_amount'));
$loan_amount = $get('loan_amount') ? string($get('loan_amount')) : 1;
return ! ($loan_amount && intval($loan_amount) > 20000);
})