feat: add generated code

This commit is contained in:
aid-orchestrator
2026-05-12 09:31:32 +00:00
parent 62b4b052a3
commit 12179f2160
51 changed files with 1143 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { Edit, SimpleForm, TextInput, DateInput, SelectInput } from 'react-admin';
const kindChoices = [
{ id: 'Receipt', name: 'Receipt' },
{ id: 'Issue', name: 'Issue' },
{ id: 'Transfer', name: 'Transfer' },
{ id: 'Adjustment', name: 'Adjustment' },
];
export const StockMovementEdit = () => (
<Edit>
<SimpleForm>
<TextInput disabled source="id" />
<DateInput source="documentDate" />
<SelectInput source="kind" choices={kindChoices} />
<TextInput multiline source="comment" />
</SimpleForm>
</Edit>
);