diff --git a/adapter/procjustificationadapter.js b/adapter/procjustificationadapter.js index 2243c11..50f42b1 100644 --- a/adapter/procjustificationadapter.js +++ b/adapter/procjustificationadapter.js @@ -211,6 +211,7 @@ class ProcJustificationAdapter extends Adapter { qryVendor += "name='" + vendor.vendorname + "',"; qryVendor += "address='" + vendor.address + "',"; qryVendor += "phone='" + vendor.phone + "',"; + qryVendor += vendor.currency_id ? "currency_id='" + vendor.currency_id + "'," : ""; qryVendor += "iby='" + nik + "',idt=now()"; db.query(qryVendor, [], function (errVendor, resultVendor) {