mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Add type annotation for inventory adjustment payload
This commit is contained in:
@@ -248,7 +248,7 @@ const InventoryAdjustmentForm = ({
|
|||||||
validateOnBlur: true,
|
validateOnBlur: true,
|
||||||
onSubmit: async (values) => {
|
onSubmit: async (values) => {
|
||||||
setInventoryAdjustmentFormErrorMessage('');
|
setInventoryAdjustmentFormErrorMessage('');
|
||||||
const payload = {
|
const payload: CreateInventoryAdjustmentPayload = {
|
||||||
project_flock_kandang_id: values.project_flock_kandang_id,
|
project_flock_kandang_id: values.project_flock_kandang_id,
|
||||||
product_id: values.product_id,
|
product_id: values.product_id,
|
||||||
transaction_subtype: values.transaction_subtype,
|
transaction_subtype: values.transaction_subtype,
|
||||||
|
|||||||
Reference in New Issue
Block a user