mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
fix: show remaining qty on 'Complete Job' button instead of full qty
This commit is contained in:
@@ -217,7 +217,7 @@ frappe.ui.form.on("Job Card", {
|
|||||||
label: __("Completed Quantity"),
|
label: __("Completed Quantity"),
|
||||||
fieldname: "qty",
|
fieldname: "qty",
|
||||||
reqd: 1,
|
reqd: 1,
|
||||||
default: frm.doc.for_quantity - frm.doc.manufactured_qty,
|
default: frm.doc.for_quantity - frm.doc.total_completed_qty,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldtype: "Datetime",
|
fieldtype: "Datetime",
|
||||||
|
|||||||
Reference in New Issue
Block a user