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,
|
||||
onSubmit: async (values) => {
|
||||
setInventoryAdjustmentFormErrorMessage('');
|
||||
const payload = {
|
||||
const payload: CreateInventoryAdjustmentPayload = {
|
||||
project_flock_kandang_id: values.project_flock_kandang_id,
|
||||
product_id: values.product_id,
|
||||
transaction_subtype: values.transaction_subtype,
|
||||
|
||||
Reference in New Issue
Block a user