mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
formatting
This commit is contained in:
@@ -607,9 +607,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
flags: 'PAKAN,OVK',
|
flags: 'PAKAN,OVK',
|
||||||
limit: '100',
|
limit: '100',
|
||||||
location_id: stockProductsLocationId,
|
location_id: stockProductsLocationId,
|
||||||
...(selectedKandangId
|
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
|
||||||
? { kandang_id: selectedKandangId.toString() }
|
|
||||||
: {}),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const {
|
const {
|
||||||
@@ -619,9 +617,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', '', {
|
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', '', {
|
||||||
limit: '100',
|
limit: '100',
|
||||||
location_id: depletionProductsLocationId,
|
location_id: depletionProductsLocationId,
|
||||||
...(selectedKandangId
|
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
|
||||||
? { kandang_id: selectedKandangId.toString() }
|
|
||||||
: {}),
|
|
||||||
type: 'AYAM',
|
type: 'AYAM',
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -689,9 +685,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
limit: '100',
|
limit: '100',
|
||||||
type: 'TELUR',
|
type: 'TELUR',
|
||||||
location_id: eggProductsLocationId,
|
location_id: eggProductsLocationId,
|
||||||
...(selectedKandangId
|
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
|
||||||
? { kandang_id: selectedKandangId.toString() }
|
|
||||||
: {}),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const approvedProjectFlockKandangsUrl = useMemo(() => {
|
const approvedProjectFlockKandangsUrl = useMemo(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user