Add job total cehck for Autohouse.

This commit is contained in:
Patrick Fic
2022-03-30 08:34:55 -07:00
parent 80bd2dc6d8
commit d601617819

View File

@@ -184,6 +184,11 @@ exports.default = async (req, res) => {
const CreateRepairOrderTag = (job, errorCallback) => {
//Level 2
if (!job.job_totals) {
errorCallback({ job, error: { toString: () => "No job totals for RO." } });
return {};
}
const repairCosts = CreateCosts(job);
try {