wip
This commit is contained in:
1 parent
1b96fb1a99
commit
505f6bb37b
9 files changed
+374
-23
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Nova\Resources\Order\Card\Requisite\Concerns;
|
||||
|
||||
use App\Modules\DateHelper\Repositories\DateHelperRepository;
|
||||
use App\Nova\Resources\Branch\Branch;
|
||||
use App\Nova\Resources\Order\Card\CardType;
|
||||
use App\Nova\User;
|
||||
@@ -51,11 +52,15 @@ public static function make(): array
|
||||
BelongsTo::make(__('Created by').': ', 'user', User::class),
|
||||
|
||||
new Panel(__('Card'), [
|
||||
BelongsTo::make(__('Card type'), 'cardType', CardType::class),
|
||||
|
||||
NovaInputmask::make(__('Card number'), 'card_number')
|
||||
->mask('9999 9999 9999 9999')
|
||||
->storeRawValue(),
|
||||
|
||||
Select::make(__('Card').' '.__('Expiration month'), 'card_month')
|
||||
->options(DateHelperRepository::staticNumberMonths()),
|
||||
|
||||
Select::make(__('Card').' '.__('Expiration year'), 'card_year')
|
||||
->options(DateHelperRepository::staticNumberYears())
|
||||
]),
|
||||
|
||||
new Panel(__('Location'), [
|
||||
@@ -97,10 +102,6 @@ public static function make(): array
|
||||
Image::make(__('Passport (page 8-9)'), 'passport_three'),
|
||||
Image::make(__('Passport (page 32)'), 'passport_four'),
|
||||
]),
|
||||
|
||||
new Panel(__('Ready files'), [
|
||||
File::make(__('Card requisite'), 'ready_files'),
|
||||
]),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user