update
This commit is contained in:
@@ -294,30 +294,6 @@ class LoanOrderMobile extends Resource
|
|||||||
->rules('required'),
|
->rules('required'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
new Panel(sprintf('%s (%s)', __('Loan Card'), __('Eger bar bolsa')), [
|
|
||||||
Number::make(__('Card number'), 'loan_card_number')
|
|
||||||
->size('w-1/4')
|
|
||||||
->rules('nullable', 'digits:16'),
|
|
||||||
|
|
||||||
Text::make(__('Name on card'), 'loan_card_name')
|
|
||||||
->size('w-1/4')
|
|
||||||
->rules('nullable'),
|
|
||||||
|
|
||||||
Select::make(__('Card').' '.__('Expiration month'), 'loan_card_month')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::monthsAsNumber())
|
|
||||||
->size('w-1/4')
|
|
||||||
->rules('nullable'),
|
|
||||||
|
|
||||||
Select::make(__('Card').' '.__('Expiration year'), 'loan_card_year')
|
|
||||||
->displayUsingLabels()
|
|
||||||
->searchable()
|
|
||||||
->options(DateHelperRepository::yearsUntil())
|
|
||||||
->size('w-1/4')
|
|
||||||
->rules('nullable'),
|
|
||||||
]),
|
|
||||||
|
|
||||||
new Panel(__('Passport'), [
|
new Panel(__('Passport'), [
|
||||||
Select::make(__('Passport serie'), 'passport_serie')
|
Select::make(__('Passport serie'), 'passport_serie')
|
||||||
->displayUsingLabels()
|
->displayUsingLabels()
|
||||||
|
|||||||
Reference in New Issue
Block a user