IO-1847 Add blank line if no sales lines for QBD export.
This commit is contained in:
@@ -637,6 +637,13 @@ exports.default = function ({
|
||||
});
|
||||
}
|
||||
|
||||
if (!qbo && InvoiceLineAdd.length === 0) {
|
||||
//Handle the scenario where there is a $0 sale invoice.
|
||||
InvoiceLineAdd.push({
|
||||
Desc: "No estimate lines.",
|
||||
});
|
||||
}
|
||||
|
||||
return InvoiceLineAdd;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user