mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
BIG-354: fix validate the warehouse transfer.
This commit is contained in:
@@ -71,6 +71,7 @@ function WarehouseTransferForm({
|
||||
|
||||
// Handles form submit.
|
||||
const handleSubmit = (values, { setSubmitting, setErrors, resetForm }) => {
|
||||
setSubmitting(true);
|
||||
// Transformes the values of the form to request.
|
||||
const form = {
|
||||
...transformValueToRequest(values),
|
||||
|
||||
@@ -2005,7 +2005,5 @@
|
||||
"receipt.warehouse_button.label": "المخزن: {label}",
|
||||
"warehouse_transfer.empty_status.title": "إدارة عمليات النقل بين المستودعات",
|
||||
"warehouse_transfer.empty_status.description": "غالبًا ماتحتاج الاعمال ذات مستودعات متعددة لطلبات نقل البضائع من مستودع إلى آخر عندما تكون في حاجة ماسة إلى البائعين.",
|
||||
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به ",
|
||||
"warehouse_transfer.quantity_cannot_be_zero_or_empty": "لا يمكن أن تكون الكمية صفراً أو فارغة."
|
||||
|
||||
"item.error.you_could_not_delete_item_has_associated": "لا يمكنك حذف العنصر لديه معاملات مرتبطة به "
|
||||
}
|
||||
@@ -2006,6 +2006,5 @@
|
||||
"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.form.reason.label": "Reason",
|
||||
"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."
|
||||
"warehouse_transfer.form.reason.placeholder": "Enter the reason behind the transfer order."
|
||||
}
|
||||
Reference in New Issue
Block a user