diff --git a/client/src/components/bill-form/bill-form.component.jsx b/client/src/components/bill-form/bill-form.component.jsx index 86d4e0265..7b324b3d1 100644 --- a/client/src/components/bill-form/bill-form.component.jsx +++ b/client/src/components/bill-form/bill-form.component.jsx @@ -52,6 +52,7 @@ export function BillFormComponent({ const [discount, setDiscount] = useState(0); const notification = useNotification(); const jobIdFormWatch = Form.useWatch("jobid", form); + const vendorIdFormWatch = Form.useWatch("vendorid", form); const { treatments: { Extended_Bill_Posting, ClosingPeriod } @@ -118,6 +119,7 @@ export function BillFormComponent({ } }, [ form, + vendorIdFormWatch, billEdit, loadOutstandingReturns, loadInventory, diff --git a/server/accounting/pbs/pbs-job-export.js b/server/accounting/pbs/pbs-job-export.js index ee6360682..7e0499023 100644 --- a/server/accounting/pbs/pbs-job-export.js +++ b/server/accounting/pbs/pbs-job-export.js @@ -787,7 +787,8 @@ async function RepairOrderChange(socket) { // "DatePromisedUTC": "0001-01-01T00:00:00.0000000Z", DateVehicleCompleted: socket.JobData.actual_completion, // "DateCustomerNotified": "0001-01-01T00:00:00.0000000Z", - // "CSR": "String", + "CSR": "IMEX", //Hardcoded for now as the only shop that uses this RO posting is RC and they paid for a custom build. + Shop: "RB", // "CSRRef": "00000000000000000000000000000000", // "BookingUser": "String", // "BookingUserRef": "00000000000000000000000000000000",