add createdat
This commit is contained in:
1 parent
09e2f1d5ce
commit
cf7b31e20e
6 files changed
+24
No files matched your search
@@ -8,6 +8,7 @@
|
||||
use App\Repos\System\Settings\Location\RegionRepo;
|
||||
use Laravel\Nova\Fields\Badge;
|
||||
use Laravel\Nova\Fields\BelongsTo;
|
||||
use Laravel\Nova\Fields\DateTime;
|
||||
use Laravel\Nova\Fields\ID;
|
||||
use Laravel\Nova\Fields\Select;
|
||||
use Laravel\Nova\Fields\Text;
|
||||
@@ -27,6 +28,9 @@ public static function make($resource, $request): array
|
||||
BelongsTo::make(__('Type'), 'cardType', CardType::class)
|
||||
->sortable(),
|
||||
|
||||
DateTime::make(__('Created at'), 'created_at')
|
||||
->turkmenDateTime(),
|
||||
|
||||
Select::make(__('Region'), 'region')
|
||||
->displayUsingLabels()
|
||||
->options(RegionRepo::values())
|
||||
|
||||
Reference in new issue
Block a user