From fc638868ba6e252e21e644626be988f3865318c4 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 18:42:53 +0000 Subject: [PATCH] feat: add generated code: frontend/src/resources/equipment/EquipmentCreate.tsx --- .../resources/equipment/EquipmentCreate.tsx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 frontend/src/resources/equipment/EquipmentCreate.tsx diff --git a/frontend/src/resources/equipment/EquipmentCreate.tsx b/frontend/src/resources/equipment/EquipmentCreate.tsx new file mode 100644 index 0000000..6310bf5 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentCreate.tsx @@ -0,0 +1,20 @@ +import { Create, SimpleForm, TextInput, DateInput, SelectInput } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const EquipmentCreate = () => ( + + + + + + + + + +); \ No newline at end of file