wip
This commit is contained in:
@@ -92,22 +92,6 @@ class LoanOrderFieldsForDetail
|
|||||||
->size('w-1/2'),
|
->size('w-1/2'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
new Panel(__('Card'), [
|
|
||||||
Number::make(__('Card number'), 'card_number'),
|
|
||||||
|
|
||||||
Text::make(__('Name on card'), 'card_name'),
|
|
||||||
|
|
||||||
Select::make(__('Card').' '.__('Expiration month'), 'card_month')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::monthsAsNumber()),
|
|
||||||
|
|
||||||
Select::make(__('Card').' '.__('Expiration year'), 'card_year')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::yearsUntil()),
|
|
||||||
]),
|
|
||||||
|
|
||||||
new Panel(__('Contact data'), [
|
new Panel(__('Contact data'), [
|
||||||
Email::make(__('Email'), 'email')
|
Email::make(__('Email'), 'email')
|
||||||
->size('w-1/4'),
|
->size('w-1/4'),
|
||||||
@@ -180,47 +164,6 @@ class LoanOrderFieldsForDetail
|
|||||||
Image::make(__('Passport (page 32)'), 'passport_four')
|
Image::make(__('Passport (page 32)'), 'passport_four')
|
||||||
->size('w-1/2'),
|
->size('w-1/2'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
new Panel('1. '.__('Guarantor'), [
|
|
||||||
Text::make(__('Guarantor name'), 'guarantor_name'),
|
|
||||||
|
|
||||||
Text::make(__('Guarantor Surname'), 'guarantor_surname'),
|
|
||||||
|
|
||||||
Text::make(__('Guarantor Patronic name'), 'guarantor_patronic_name'),
|
|
||||||
|
|
||||||
Number::make(__('Card number'), 'guarantor_card_number'),
|
|
||||||
|
|
||||||
Text::make(__('Name on card'), 'guarantor_card_name'),
|
|
||||||
|
|
||||||
Select::make(__('Expiration month'), 'guarantor_card_month')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::monthsAsNumber()),
|
|
||||||
|
|
||||||
Select::make(__('Expiration year'), 'guarantor_card_year')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::yearsUntil()),
|
|
||||||
]),
|
|
||||||
|
|
||||||
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'),
|
|
||||||
|
|
||||||
Number::make(__('Card number'), 'guarantor_2_card_number'),
|
|
||||||
Text::make(__('Name on card'), 'guarantor_2_card_name'),
|
|
||||||
|
|
||||||
Select::make(__('Expiration month'), 'guarantor_2_card_month')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::monthsAsNumber()),
|
|
||||||
|
|
||||||
Select::make(__('Expiration year'), 'guarantor_2_card_year')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::yearsUntil()),
|
|
||||||
]),
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user