Admin panel - RoomCategory - Bedtype fixed

This commit is contained in:
2024-09-13 20:45:35 +02:00
parent 98e3627f29
commit f1031c14df
3 changed files with 4 additions and 3 deletions
@@ -32,7 +32,6 @@ class RoomCategoryCrudController extends AbstractCrudController
{
yield TextField::new('name');
yield TextField::new('description');
yield TextField::new('bedType');
yield IntegerField::new('maxGuestNum');
yield CollectionField::new('roomCategoryPhotos')->useEntryCrudForm();
}
@@ -18,7 +18,7 @@ class RoomCategoryPhotoCrudController extends AbstractCrudController
{
yield TextField::new('path');
yield TextField::new('altText');
yield IntegerField::new('order');
yield IntegerField::new('photoOrder');
}
}