This commit is contained in:
f4ilji
2024-10-04 12:48:19 +05:00
parent 21a6e9073b
commit cebc584a14
303 changed files with 8224 additions and 2563 deletions
@@ -39,8 +39,18 @@ class AdmissionCampaignResource extends Resource
Forms\Components\Section::make()->schema([
Forms\Components\Repeater::make('info')->schema([
Forms\Components\Select::make('edu_name')->options(LevelEducational::class),
Forms\Components\Grid::make(2)->schema([
Forms\Components\Section::make()->schema([
TextInput::make('total_programs')->label('Количество программ по набору')->integer()->required(),
]),
Forms\Components\Section::make('Места')->schema([
TextInput::make('och_count')->label('Количество мест (Очная форма)')->integer()->required(),
TextInput::make('zaoch_count')->label('Количество мест (Заочная форма)')->integer()->required(),
TextInput::make('budget_places')->label('Количество бюджетных мест')->integer()->required(),
TextInput::make('non_budget_places')->label('Количество платных мест')->integer()->required(),
]),
]),
])->columnSpanFull(),
]),
]);
}