mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: add endpoints to retrieving the default mail options
This commit is contained in:
@@ -232,4 +232,17 @@ export class SaleEstimatesApplication {
|
||||
saleEstimateMailOpts
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the default mail options of the given sale estimate.
|
||||
* @param {number} tenantId
|
||||
* @param {number} saleEstimateId
|
||||
* @returns {}
|
||||
*/
|
||||
public getSaleEstimateMail(tenantId: number, saleEstimateId: number) {
|
||||
return this.sendEstimateMailService.getDefaultMailOpts(
|
||||
tenantId,
|
||||
saleEstimateId
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user