Added untested changes for exporting all receivables BOD-240

This commit is contained in:
Patrick Fic
2020-08-03 08:51:23 -07:00
parent b9f555683f
commit 0f5deae22e
6 changed files with 219 additions and 57 deletions

View File

@@ -26,7 +26,7 @@ export function JobsCloseExportButton({ bodyshop, jobId, disabled }) {
try {
QbXmlResponse = await axios.post(
"/accounting/qbxml/receivables",
{ jobId: jobId },
{ jobIds: [jobId] },
{
headers: {
Authorization: `Bearer ${await auth.currentUser.getIdToken(true)}`,