IO-2349 Change control number for AP to allow RO.

This commit is contained in:
Patrick Fic
2023-07-13 09:27:37 -07:00
parent 400dc79ed6
commit 9529335c96
6 changed files with 42 additions and 2 deletions

View File

@@ -127,7 +127,10 @@ async function PbsCalculateAllocationsAp(socket, billids) {
bodyshop.pbs_configuration.appostingaccount === "wip"
? cc.dms_wip_acctnumber
: cc.dms_acctnumber,
ControlNumber: bill.vendor.dmsid,
ControlNumber:
bodyshop.pbs_configuration.apcontrol === "ro"
? bill.job.ro_number
: bill.vendor.dmsid,
Amount: Dinero(),
// Comment: "String",
AdditionalInfo: bill.vendor.name,