This commit is contained in:
2024-09-24 14:17:33 +05:00
parent 04d9b9ac7a
commit 5266e66760
5 changed files with 235 additions and 219 deletions

View File

@@ -7,7 +7,6 @@ use App\Nova\Resources\Branch\Branch;
use App\Nova\Resources\Order\Loan\LoanType;
use App\Nova\Resources\System\Location\Province;
use App\Nova\User;
use App\Repos\Order\Loan\LoanTypeRepo;
use App\Repos\Order\OrderRepo;
use App\Repos\System\Settings\Legal\EducationRepo;
use App\Repos\System\Settings\Legal\MarriageRepo;
@@ -98,12 +97,12 @@ class LoanOrderFieldsForDetail
Text::make(__('Name on card'), 'card_name'),
Select::make(__('Card'). ' ' . __('Expiration month'), 'card_month')
Select::make(__('Card').' '.__('Expiration month'), 'card_month')
->displayUsingLabels()
->searchable()
->options(DateHelperRepository::monthsAsNumber()),
Select::make(__('Card'). ' ' . __('Expiration year'), 'card_year')
Select::make(__('Card').' '.__('Expiration year'), 'card_year')
->displayUsingLabels()
->searchable()
->options(DateHelperRepository::yearsUntil()),
@@ -182,7 +181,7 @@ class LoanOrderFieldsForDetail
->size('w-1/2'),
]),
new Panel('1. ' . __('Guarantor'), [
new Panel('1. '.__('Guarantor'), [
Text::make(__('Guarantor name'), 'guarantor_name'),
Text::make(__('Guarantor Surname'), 'guarantor_surname'),
@@ -204,7 +203,7 @@ class LoanOrderFieldsForDetail
->options(DateHelperRepository::yearsUntil()),
]),
new Panel('2. ' . __('Guarantor'), [
new Panel('2. '.__('Guarantor'), [
Text::make(__('Guarantor name'), 'guarantor_2_name'),
Text::make(__('Guarantor Surname'), 'guarantor_2_surname'),
Text::make(__('Guarantor Patronic name'), 'guarantor_2_patronic_name'),