wip
This commit is contained in:
@@ -178,22 +178,20 @@ class LoanOrderMobileFieldsForDetail
|
||||
|
||||
Text::make(__('Guarantor Patronic name'), 'guarantor_patronic_name'),
|
||||
|
||||
Number::make(__('Card number'), 'guarantor_card_number'),
|
||||
Text::make(__('Passport'), fn ($model) => sprintf(
|
||||
'<strong>%s %s<strong>',
|
||||
$model->guarantor_passport_serie,
|
||||
$model->guarantor_passport_id,
|
||||
))->asHtml(),
|
||||
|
||||
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()),
|
||||
|
||||
Text::make(__('Ortaça zähmen haky'), 'guarantor_note')
|
||||
Text::make(__('Ortaça zähmet haky'), 'guarantor_note')
|
||||
->canSeeWhen('systemUser', $resource),
|
||||
|
||||
NovaCustomHtml::make(__('Data'), 'card_name')
|
||||
->html(view('orders.loan.mobile.card-gurantor-history', [
|
||||
'resource' => $resource,
|
||||
])->render())
|
||||
->fillUsing(NovaForm::fillEmpty()),
|
||||
]),
|
||||
|
||||
new Panel('2. '.__('Guarantor'), [
|
||||
@@ -201,21 +199,20 @@ class LoanOrderMobileFieldsForDetail
|
||||
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'),
|
||||
Text::make(__('Passport'), fn ($model) => sprintf(
|
||||
'<strong>%s %s<strong>',
|
||||
$model->guarantor_2_passport_serie,
|
||||
$model->guarantor_2_passport_id,
|
||||
))->asHtml(),
|
||||
|
||||
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()),
|
||||
|
||||
Text::make(__('Ortaça zähmen haky'), 'guarantor_2_note')
|
||||
Text::make(__('Ortaça zähmet haky'), 'guarantor_2_note')
|
||||
->canSeeWhen('systemUser', $resource),
|
||||
|
||||
NovaCustomHtml::make(__('Data'), 'card_name')
|
||||
->html(view('orders.loan.mobile.card-gurantor-2-history', [
|
||||
'resource' => $resource,
|
||||
])->render())
|
||||
->fillUsing(NovaForm::fillEmpty()),
|
||||
]),
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user