From a8f62d65e5a2cae6a9b08d9031e605ff39433926 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 15:20:53 +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..66813c3 --- /dev/null +++ b/frontend/src/resources/change-equipment-status/ChangeEquipmentStatusShow.tsx @@ -0,0 +1,22 @@ +import { Show, SimpleShowLayout, TextField, DateField, SelectField, ReferenceField } 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