mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat: payment received mail preview
This commit is contained in:
@@ -40,7 +40,7 @@ export function ReceiptSendMailForm({ children }: ReceiptSendMailFormProps) {
|
||||
{ setSubmitting }: FormikHelpers<ReceiptSendMailFormValues>,
|
||||
) => {
|
||||
setSubmitting(true);
|
||||
sendReceiptMail({ id: receiptId, values: { ...values } })
|
||||
sendReceiptMail([receiptId, values])
|
||||
.then(() => {
|
||||
AppToaster.show({
|
||||
message: 'The receipt mail has been sent to the customer.',
|
||||
|
||||
Reference in New Issue
Block a user