mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
BIG-354: fix validate the warehouse transfer.
This commit is contained in:
@@ -71,6 +71,7 @@ function WarehouseTransferForm({
|
|||||||
|
|
||||||
// Handles form submit.
|
// Handles form submit.
|
||||||
const handleSubmit = (values, { setSubmitting, setErrors, resetForm }) => {
|
const handleSubmit = (values, { setSubmitting, setErrors, resetForm }) => {
|
||||||
|
setSubmitting(true);
|
||||||
// Transformes the values of the form to request.
|
// Transformes the values of the form to request.
|
||||||
const form = {
|
const form = {
|
||||||
...transformValueToRequest(values),
|
...transformValueToRequest(values),
|
||||||
|
|||||||
@@ -2005,7 +2005,5 @@
|
|||||||
"receipt.warehouse_button.label": "المخزن: {label}",
|
"receipt.warehouse_button.label": "المخزن: {label}",
|
||||||
"warehouse_transfer.empty_status.title": "إدارة عمليات النقل بين المستودعات",
|
"warehouse_transfer.empty_status.title": "إدارة عمليات النقل بين المستودعات",
|
||||||
"warehouse_transfer.empty_status.description": "غالبًا ماتحتاج الاعمال ذات مستودعات متعددة لطلبات نقل البضائع من مستودع إلى آخر عندما تكون في حاجة ماسة إلى البائعين.",
|
"warehouse_transfer.empty_status.description": "غالبًا ماتحتاج الاعمال ذات مستودعات متعددة لطلبات نقل البضائع من مستودع إلى آخر عندما تكون في حاجة ماسة إلى البائعين.",
|
||||||
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به ",
|
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به "
|
||||||
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "لا يمكن أن تكون الكمية صفراً أو فارغة."
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2006,6 +2006,5 @@
|
|||||||
"warehouse_transfer.empty_status.title": "Manage transfer orders between warehouses.",
|
"warehouse_transfer.empty_status.title": "Manage transfer orders between warehouses.",
|
||||||
"warehouse_transfer.empty_status.description": "Business with multiply warehouses often transfers items from on warehouse to another when they are in immediate need of vendors.",
|
"warehouse_transfer.empty_status.description": "Business with multiply warehouses often transfers items from on warehouse to another when they are in immediate need of vendors.",
|
||||||
"warehouse_transfer.form.reason.label": "Reason",
|
"warehouse_transfer.form.reason.label": "Reason",
|
||||||
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order.",
|
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order."
|
||||||
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "Quantity cannot be zero or empty."
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user