@@ -52,6 +52,7 @@ export function BillFormComponent({
|
|||||||
const [discount, setDiscount] = useState(0);
|
const [discount, setDiscount] = useState(0);
|
||||||
const notification = useNotification();
|
const notification = useNotification();
|
||||||
const jobIdFormWatch = Form.useWatch("jobid", form);
|
const jobIdFormWatch = Form.useWatch("jobid", form);
|
||||||
|
const vendorIdFormWatch = Form.useWatch("vendorid", form);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
treatments: { Extended_Bill_Posting, ClosingPeriod }
|
treatments: { Extended_Bill_Posting, ClosingPeriod }
|
||||||
@@ -118,6 +119,7 @@ export function BillFormComponent({
|
|||||||
}
|
}
|
||||||
}, [
|
}, [
|
||||||
form,
|
form,
|
||||||
|
vendorIdFormWatch,
|
||||||
billEdit,
|
billEdit,
|
||||||
loadOutstandingReturns,
|
loadOutstandingReturns,
|
||||||
loadInventory,
|
loadInventory,
|
||||||
|
|||||||
@@ -787,7 +787,8 @@ async function RepairOrderChange(socket) {
|
|||||||
// "DatePromisedUTC": "0001-01-01T00:00:00.0000000Z",
|
// "DatePromisedUTC": "0001-01-01T00:00:00.0000000Z",
|
||||||
DateVehicleCompleted: socket.JobData.actual_completion,
|
DateVehicleCompleted: socket.JobData.actual_completion,
|
||||||
// "DateCustomerNotified": "0001-01-01T00:00:00.0000000Z",
|
// "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",
|
// "CSRRef": "00000000000000000000000000000000",
|
||||||
// "BookingUser": "String",
|
// "BookingUser": "String",
|
||||||
// "BookingUserRef": "00000000000000000000000000000000",
|
// "BookingUserRef": "00000000000000000000000000000000",
|
||||||
|
|||||||
Reference in New Issue
Block a user