From 5b6625be5d40109e45422c2356303bfdbffe5bb1 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/EquipmentShow.tsx --- .../src/resources/equipment/EquipmentShow.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 frontend/src/resources/equipment/EquipmentShow.tsx diff --git a/frontend/src/resources/equipment/EquipmentShow.tsx b/frontend/src/resources/equipment/EquipmentShow.tsx new file mode 100644 index 0000000..a0c6302 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentShow.tsx @@ -0,0 +1,23 @@ +import { Show, SimpleShowLayout, TextField, DateField, SelectField } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const EquipmentShow = () => ( + + + + + + + + + + + + +); \ No newline at end of file