feat: add generated code
This commit is contained in:
24
frontend/src/resources/equipment/EquipmentShow.tsx
Normal file
24
frontend/src/resources/equipment/EquipmentShow.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Show, SimpleShowLayout, TextField, DateField } from 'react-admin';
|
||||
|
||||
export const EquipmentShow = () => (
|
||||
<Show>
|
||||
<SimpleShowLayout>
|
||||
<TextField source="id" />
|
||||
<TextField source="name" />
|
||||
<TextField source="serialNumber" />
|
||||
<TextField source="inventoryNumber" />
|
||||
<TextField source="equipmentType" />
|
||||
<DateField source="dateOfInspection" />
|
||||
<TextField source="periodicityTO" />
|
||||
<TextField source="location" />
|
||||
<TextField source="status" />
|
||||
<DateField source="commissionedAt" />
|
||||
<TextField source="totalEngineHours" />
|
||||
<TextField source="engineHoursSinceLastRepair" />
|
||||
<DateField source="lastRepairAt" />
|
||||
<TextField source="notes" />
|
||||
<DateField source="createdAt" showTime />
|
||||
<DateField source="updatedAt" showTime />
|
||||
</SimpleShowLayout>
|
||||
</Show>
|
||||
);
|
||||
Reference in New Issue
Block a user