IO-256 Export payments with no matching invoice & export cust data.
This commit is contained in:
@@ -111,7 +111,9 @@ exports.default = async (req, res) => {
|
||||
);
|
||||
}
|
||||
|
||||
await InsertInvoice(oauthClient, req, job, bodyshop, jobTier);
|
||||
if (!req.body.custDataOnly) {
|
||||
await InsertInvoice(oauthClient, req, job, bodyshop, jobTier);
|
||||
}
|
||||
ret.push({ jobid: job.id, success: true });
|
||||
} catch (error) {
|
||||
ret.push({
|
||||
|
||||
Reference in New Issue
Block a user