upd
This commit is contained in:
@ -211,6 +211,7 @@ class ProcJustificationAdapter extends Adapter {
|
|||||||
qryVendor += "name='" + vendor.vendorname + "',";
|
qryVendor += "name='" + vendor.vendorname + "',";
|
||||||
qryVendor += "address='" + vendor.address + "',";
|
qryVendor += "address='" + vendor.address + "',";
|
||||||
qryVendor += "phone='" + vendor.phone + "',";
|
qryVendor += "phone='" + vendor.phone + "',";
|
||||||
|
qryVendor += vendor.currency_id ? "currency_id='" + vendor.currency_id + "'," : "";
|
||||||
qryVendor += "iby='" + nik + "',idt=now()";
|
qryVendor += "iby='" + nik + "',idt=now()";
|
||||||
|
|
||||||
db.query(qryVendor, [], function (errVendor, resultVendor) {
|
db.query(qryVendor, [], function (errVendor, resultVendor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user