mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: payment received mail receipt
This commit is contained in:
@@ -3,7 +3,6 @@ import HasTenancyService from '@/services/Tenancy/TenancyService';
|
||||
import { GetPaymentReceivedMailStateTransformer } from './GetPaymentReceivedMailStateTransformer';
|
||||
import { TransformerInjectable } from '@/lib/Transformer/TransformerInjectable';
|
||||
import { Inject, Service } from 'typedi';
|
||||
import { ContactMailNotification } from '@/services/MailNotification/ContactMailNotification';
|
||||
import { SendPaymentReceiveMailNotification } from './PaymentReceivedMailNotification';
|
||||
|
||||
@Service()
|
||||
|
||||
@@ -82,14 +82,6 @@ export class GetPaymentReceivedMailStateTransformer extends PaymentReceiveTransf
|
||||
return this.formatDate(payment.paymentDate);
|
||||
};
|
||||
|
||||
/**
|
||||
* Retrieves the formatted payment amount.
|
||||
* @returns {string}
|
||||
*/
|
||||
protected paymentAmountFormatted = (payment) => {
|
||||
return this.formatMoney(payment.paymentAmount);
|
||||
};
|
||||
|
||||
/**
|
||||
* Retrieves the payment amount.
|
||||
* @param payment
|
||||
@@ -175,7 +167,7 @@ export class GetPaymentReceivedEntryMailState extends PaymentReceivedEntryTransf
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* Retrieves the paid amount.
|
||||
* @param entry
|
||||
* @returns {string}
|
||||
*/
|
||||
@@ -184,7 +176,7 @@ export class GetPaymentReceivedEntryMailState extends PaymentReceivedEntryTransf
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* Retrieves the invoice number.
|
||||
* @param entry
|
||||
* @returns {string}
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,7 @@ export class GetSaleReceiptState {
|
||||
private tenancy: HasTenancyService;
|
||||
|
||||
/**
|
||||
* Retireves the sale receipt state.
|
||||
* Retrieves the sale receipt state.
|
||||
* @param {Number} tenantId -
|
||||
* @return {Promise<ISaleReceiptState>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user