feat: invalidate invoice state once change default template

This commit is contained in:
Ahmed Bouhuolia
2024-10-03 17:01:35 +02:00
parent 3c7e22be43
commit 126eb221d0
5 changed files with 13 additions and 188 deletions

View File

@@ -228,6 +228,11 @@ export class PaymentReceivesApplication {
);
};
/**
* Retrieves the create/edit initial state of the payment received.
* @param {number} tenantId - The ID of the tenant.
* @returns {Promise<IPaymentReceivedState>}
*/
public getPaymentReceivedState = (tenantId: number) => {
return this.getPaymentReceivedStateService.getPaymentReceivedState(
tenantId