feat: wip send invoice preview

This commit is contained in:
Ahmed Bouhuolia
2024-10-26 18:39:36 +02:00
parent 728b4cacd9
commit ce40d67ea2
7 changed files with 198 additions and 80 deletions

View File

@@ -3,11 +3,22 @@ import { Form, Formik, FormikHelpers } from 'formik';
import { css } from '@emotion/css';
const initialValues = {
subject: '',
message: '',
to: [],
subject: 'invoice INV-0002 for AED 0.00',
message: `Hi Ahmed,
Heres invoice INV-0002 for AED 0.00
The amount outstanding of AED $100,00 is due on 2 October 2024
View your bill online From your online you can print a PDF or pay your outstanding bills,
If you have any questions, please let us know,
Thanks,
Mohamed`,
to: ['a.bouhuolia@gmail.com'],
cc: [],
bcc: []
bcc: [],
};
interface InvoiceSendMailFormValues {
subject: string;