feat: add generated code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Show, SimpleShowLayout, TextField, DateField, ReferenceField } from 'react-admin';
|
||||
|
||||
export const ConsumptionRegistrationShow = () => (
|
||||
<Show>
|
||||
<SimpleShowLayout>
|
||||
<TextField source="id" />
|
||||
<TextField source="number" />
|
||||
<DateField source="date" />
|
||||
<ReferenceField source="equipmentId" reference="equipment">
|
||||
<TextField source="name" />
|
||||
</ReferenceField>
|
||||
<TextField source="totalEngineHours" />
|
||||
<TextField source="fuelConsumption" />
|
||||
<DateField source="createdAt" showTime />
|
||||
<DateField source="updatedAt" showTime />
|
||||
</SimpleShowLayout>
|
||||
</Show>
|
||||
);
|
||||
Reference in New Issue
Block a user