diff --git a/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx b/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx new file mode 100644 index 0000000..8adcd86 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx @@ -0,0 +1,12 @@ +import { SelectInput } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const EquipmentStatusSelectInput = (props: any) => ( + +); \ No newline at end of file