chore: spelling

This commit is contained in:
Ahmed Bouhuolia
2023-08-22 22:49:58 +02:00
parent 34efd58f34
commit 508054b594
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ export class DeleteBill {
// Validate the givne bill has no associated landed cost transactions.
await this.validators.validateBillHasNoLandedCost(tenantId, billId);
// Validate the purchase bill has no assocaited payments transactions.
// Validate the purchase bill has no associated payments transactions.
await this.validators.validateBillHasNoEntries(tenantId, billId);
// Validate the given bill has no associated reconciled with vendor credits.

View File

@@ -44,7 +44,7 @@ export class DeleteSaleEstimate {
if (oldSaleEstimate.convertedToInvoiceId) {
throw new ServiceError(ERRORS.SALE_ESTIMATE_CONVERTED_TO_INVOICE);
}
// Deletes the estimate with associated transactions under UOW enivrement.
// Updates the estimate with associated transactions under UOW enivrement.
return this.uow.withTransaction(tenantId, async (trx: Knex.Transaction) => {
// Triggers `onSaleEstimatedDeleting` event.
await this.eventPublisher.emitAsync(events.saleEstimate.onDeleting, {