spelling: associate

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2023-06-19 01:36:40 -04:00
parent efffdc021b
commit b6d8766173
24 changed files with 27 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ export default class InvoicePaymentsService {
private transformer: TransformerInjectable;
/**
* Retrieve the invoice assocaited payments transactions.
* Retrieve the invoice associated payments transactions.
* @param {number} tenantId - Tenant id.
* @param {number} invoiceId - Invoice id.
*/

View File

@@ -709,7 +709,7 @@ export default class PaymentReceiveService implements IPaymentsReceiveService {
}
/**
* Retrieve sale invoices that assocaited to the given payment receive.
* Retrieve sale invoices that associated to the given payment receive.
* @param {number} tenantId - Tenant id.
* @param {number} paymentReceiveId - Payment receive id.
* @return {Promise<ISaleInvoice>}

View File

@@ -584,7 +584,7 @@ export default class SaleEstimateService implements ISalesEstimatesService {
if (oldSaleEstimate.isDelivered) {
throw new ServiceError(ERRORS.SALE_ESTIMATE_ALREADY_DELIVERED);
}
// Updates the sale estimate transaction with assocaited transactions
// Updates the sale estimate transaction with associated transactions
// under UOW envirement.
return this.uow.withTransaction(tenantId, async (trx: Knex.Transaction) => {
// Triggers `onSaleEstimateDelivering` event.

View File

@@ -507,7 +507,7 @@ export default class SaleInvoicesService implements ISalesInvoicesService {
if (oldSaleInvoice.isDelivered) {
throw new ServiceError(ERRORS.SALE_INVOICE_ALREADY_DELIVERED);
}
// Update sale invoice transaction with assocaite transactions
// Update sale invoice transaction with associate transactions
// under unit-of-work envirement.
return this.uow.withTransaction(tenantId, async (trx: Knex.Transaction) => {
// Triggers `onSaleInvoiceDelivering` event.