Minor bug fixes.

This commit is contained in:
Patrick Fic
2022-11-03 10:01:22 -07:00
parent b3ed9106f0
commit d0bd2aeaba
3 changed files with 4 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ export function DmsAllocationsSummaryAp({ socket, bodyshop, billids, title }) {
<tr key={idx}> <tr key={idx}>
<td>{l.InvoiceNumber}</td> <td>{l.InvoiceNumber}</td>
<td>{l.Account}</td> <td>{l.Account}</td>
<td>{Dinero(l.Amount).toFormat()}</td> <td>{l.Amount}</td>
</tr> </tr>
))} ))}
</table> </table>

View File

@@ -175,11 +175,13 @@ export function EmailOverlayContainer({
<Modal <Modal
destroyOnClose={true} destroyOnClose={true}
visible={modalVisible} visible={modalVisible}
maskClosable={false}
width={"80%"} width={"80%"}
onOk={() => form.submit()} onOk={() => form.submit()}
onCancel={() => { onCancel={() => {
toggleEmailOverlayVisible(); toggleEmailOverlayVisible();
}} }}
//closeIcon={() => null}
okText={t("general.actions.send")} okText={t("general.actions.send")}
okButtonProps={{ okButtonProps={{
loading: sending, loading: sending,

View File

@@ -254,8 +254,8 @@ exports.PbsExportAp = async function (socket, { billids, txEnvelope }) {
error: AccountPostingChange.Message, error: AccountPostingChange.Message,
}); });
} }
socket.emit("ap-export-complete");
} }
socket.emit("ap-export-complete");
}; };
async function MarkApExported(socket, billids) { async function MarkApExported(socket, billids) {