From d0bd2aeabace053cb36f2eead92494065b57f77b Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 3 Nov 2022 10:01:22 -0700 Subject: [PATCH] Minor bug fixes. --- .../dms-allocations-summary-ap.component.jsx | 2 +- client/src/components/email-overlay/email-overlay.container.jsx | 2 ++ server/accounting/pbs/pbs-ap-allocations.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/components/dms-allocations-summary-ap/dms-allocations-summary-ap.component.jsx b/client/src/components/dms-allocations-summary-ap/dms-allocations-summary-ap.component.jsx index 21850b2c8..2b83ced4c 100644 --- a/client/src/components/dms-allocations-summary-ap/dms-allocations-summary-ap.component.jsx +++ b/client/src/components/dms-allocations-summary-ap/dms-allocations-summary-ap.component.jsx @@ -87,7 +87,7 @@ export function DmsAllocationsSummaryAp({ socket, bodyshop, billids, title }) { {l.InvoiceNumber} {l.Account} - {Dinero(l.Amount).toFormat()} + {l.Amount} ))} diff --git a/client/src/components/email-overlay/email-overlay.container.jsx b/client/src/components/email-overlay/email-overlay.container.jsx index 5a939ae31..906be19be 100644 --- a/client/src/components/email-overlay/email-overlay.container.jsx +++ b/client/src/components/email-overlay/email-overlay.container.jsx @@ -175,11 +175,13 @@ export function EmailOverlayContainer({ form.submit()} onCancel={() => { toggleEmailOverlayVisible(); }} + //closeIcon={() => null} okText={t("general.actions.send")} okButtonProps={{ loading: sending, diff --git a/server/accounting/pbs/pbs-ap-allocations.js b/server/accounting/pbs/pbs-ap-allocations.js index 985a7d94e..8c4ebad11 100644 --- a/server/accounting/pbs/pbs-ap-allocations.js +++ b/server/accounting/pbs/pbs-ap-allocations.js @@ -254,8 +254,8 @@ exports.PbsExportAp = async function (socket, { billids, txEnvelope }) { error: AccountPostingChange.Message, }); } - socket.emit("ap-export-complete"); } + socket.emit("ap-export-complete"); }; async function MarkApExported(socket, billids) {