mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: send mail notifications of sale transactions
This commit is contained in:
@@ -165,3 +165,7 @@ export type IPaymentReceiveGLCommonEntry = Pick<
|
||||
| 'createdAt'
|
||||
| 'branchId'
|
||||
>;
|
||||
|
||||
export interface IPaymentReceiveMailOpts {
|
||||
|
||||
}
|
||||
@@ -124,3 +124,11 @@ export interface ISaleEstimateApprovedEvent {
|
||||
saleEstimate: ISaleEstimate;
|
||||
trx: Knex.Transaction;
|
||||
}
|
||||
|
||||
export interface SaleEstimateMailOptions {
|
||||
to: string;
|
||||
from: string;
|
||||
subject: string;
|
||||
body: string;
|
||||
attachInvoice?: boolean;
|
||||
}
|
||||
@@ -134,3 +134,7 @@ export interface ISaleReceiptDeletingPayload {
|
||||
oldSaleReceipt: ISaleReceipt;
|
||||
trx: Knex.Transaction;
|
||||
}
|
||||
|
||||
export interface SaleReceiptMailOpts {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user