wip supervisor
This commit is contained in:
1 parent
e46722a6f8
commit
769fbc242c
40 files changed
+834
-52
No files matched your search
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Supervisors\Schemas;
|
||||
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class SupervisorForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
TextInput::make('name')
|
||||
->default(null),
|
||||
TextInput::make('provider_id')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
TextInput::make('sport_id')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
TextInput::make('bookmaker_id')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
TextInput::make('sleep')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(10),
|
||||
TextInput::make('limit')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
TextInput::make('runtime')
|
||||
->default(null),
|
||||
TextInput::make('events')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
TextInput::make('lastcall')
|
||||
->required()
|
||||
->numeric()
|
||||
->default(0),
|
||||
Toggle::make('is_cron')
|
||||
->required(),
|
||||
Toggle::make('is_active')
|
||||
->required(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user