mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: mail state
This commit is contained in:
@@ -116,32 +116,6 @@ export class SaleReceiptApplication {
|
||||
return this.getSaleReceiptPdfService.saleReceiptPdf(saleReceiptId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Notify receipt customer by SMS of the given sale receipt.
|
||||
* @param {number} tenantId
|
||||
* @param {number} saleReceiptId
|
||||
* @returns
|
||||
*/
|
||||
// public saleReceiptNotifyBySms(tenantId: number, saleReceiptId: number) {
|
||||
// return this.saleReceiptNotifyBySmsService.notifyBySms(
|
||||
// tenantId,
|
||||
// saleReceiptId,
|
||||
// );
|
||||
// }
|
||||
|
||||
/**
|
||||
* Retrieves sms details of the given sale receipt.
|
||||
* @param {number} tenantId
|
||||
* @param {number} saleReceiptId
|
||||
* @returns
|
||||
*/
|
||||
// public getSaleReceiptSmsDetails(tenantId: number, saleReceiptId: number) {
|
||||
// return this.saleReceiptNotifyBySmsService.smsDetails(
|
||||
// tenantId,
|
||||
// saleReceiptId,
|
||||
// );
|
||||
// }
|
||||
|
||||
/**
|
||||
* Sends the receipt mail of the given sale receipt.
|
||||
* @param {number} tenantId
|
||||
@@ -159,17 +133,6 @@ export class SaleReceiptApplication {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the default mail options of the given sale receipt.
|
||||
* @param {number} saleReceiptId - Sale receipt identifier.
|
||||
* @returns {Promise<SaleReceiptMailOpts>}
|
||||
*/
|
||||
public getSaleReceiptMail(
|
||||
saleReceiptId: number,
|
||||
): Promise<SaleReceiptMailOpts> {
|
||||
return this.saleReceiptNotifyByMailService.getMailOptions(saleReceiptId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the current state of the sale receipt.
|
||||
* @returns {Promise<ISaleReceiptState>} - A promise resolving to the sale receipt state.
|
||||
@@ -191,7 +154,7 @@ export class SaleReceiptApplication {
|
||||
* Retrieves the mail state of the given sale receipt.
|
||||
* @param {number} saleReceiptId
|
||||
*/
|
||||
public getSaleReceiptMailState(
|
||||
public getSaleReceiptMail(
|
||||
saleReceiptId: number,
|
||||
): Promise<ISaleReceiptState> {
|
||||
return this.getSaleReceiptMailStateService.getMailState(saleReceiptId);
|
||||
|
||||
Reference in New Issue
Block a user