From e552017101a103ec22de226d1a32cebd58f7d7e5 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 11:54:46 +0000 Subject: [PATCH] feat: add generated code: frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx --- .../ChangeEquipmentStatusShow.tsx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx diff --git a/frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx b/frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx new file mode 100644 index 0000000..d173284 --- /dev/null +++ b/frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx @@ -0,0 +1,22 @@ +import { Show, SimpleShowLayout, ReferenceField, SelectField, TextField, DateField } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const ChangeEquipmentStatusShow = () => ( + + + + + + + + + + + +); \ No newline at end of file