From 9322cb28ed8121c5aacb73bd26afad1ab9b97887 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 20 Feb 2023 13:59:46 +0100 Subject: [PATCH] Typo --- htdocs/accountancy/journal/bankjournal.php | 2 +- htdocs/compta/paiement/card.php | 2 +- htdocs/compta/resultat/index.php | 2 +- htdocs/core/class/html.formmail.class.php | 2 +- htdocs/core/modules/rapport/pdf_paiement.class.php | 4 ++-- htdocs/loan/class/loan.class.php | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php index c23392cada0..544f077f1ea 100644 --- a/htdocs/accountancy/journal/bankjournal.php +++ b/htdocs/accountancy/journal/bankjournal.php @@ -434,7 +434,7 @@ if ($result) { $tabpay[$obj->rowid]["paymentsalid"] = $paymentsalstatic->id; // This part of code is no more required. it is here to solve case where a link were missing (ith v14.0.0) and keep writing in accountancy complete. - // Note: A better way to fix this is to delete payement of salary and recreate it, or to fix the bookkeeping table manually after. + // Note: A better way to fix this is to delete payment of salary and recreate it, or to fix the bookkeeping table manually after. if (!empty($conf->global->ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USEr_ON_SALARY_BANK_PAYMENT)) { $tmpsalary = new Salary($db); $tmpsalary->fetch($paymentsalstatic->id); diff --git a/htdocs/compta/paiement/card.php b/htdocs/compta/paiement/card.php index 29d9ce25bb6..59cb153bb54 100644 --- a/htdocs/compta/paiement/card.php +++ b/htdocs/compta/paiement/card.php @@ -242,7 +242,7 @@ $thirdpartystatic = new Societe($db); $result = $object->fetch($id, $ref); if ($result <= 0) { - dol_print_error($db, 'Payement '.$id.' not found in database'); + dol_print_error($db, 'Payment '.$id.' not found in database'); exit; } diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php index 4012994be58..73a4e7d902a 100644 --- a/htdocs/compta/resultat/index.php +++ b/htdocs/compta/resultat/index.php @@ -868,7 +868,7 @@ if (!empty($conf->global->ACCOUNTING_REPORTS_INCLUDE_VARPAY) && isModEnabled("ba //} /* - * Payement Loan + * Payment Loan */ if (!empty($conf->global->ACCOUNTING_REPORTS_INCLUDE_LOAN) && isModEnabled('loan') && ($modecompta == 'CREANCES-DETTES' || $modecompta == "RECETTES-DEPENSES")) { diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index c81ccb769ab..665ec68c85f 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -1646,7 +1646,7 @@ class FormMail extends Form $tmparray['__SECUREKEYPAYMENT_CONTRACTLINE__'] = 'SecureKeyPAYMENTUniquePerContractLine'; } - //Online payement link + //Online payment link if (isModEnabled('adherent')) { $tmparray['__ONLINEPAYMENTLINK_MEMBER__'] = 'OnlinePaymentLinkUniquePerMember'; } diff --git a/htdocs/core/modules/rapport/pdf_paiement.class.php b/htdocs/core/modules/rapport/pdf_paiement.class.php index 5440c8e1201..a1d073b1fd3 100644 --- a/htdocs/core/modules/rapport/pdf_paiement.class.php +++ b/htdocs/core/modules/rapport/pdf_paiement.class.php @@ -211,7 +211,7 @@ class pdf_paiement if (!empty($socid)) { $sql .= " AND s.rowid = ".((int) $socid); } - // If global param PAYMENTS_REPORT_GROUP_BY_MOD is set, payement are ordered by paiement_code + // If global param PAYMENTS_REPORT_GROUP_BY_MOD is set, payment are ordered by paiement_code if (!empty($conf->global->PAYMENTS_REPORT_GROUP_BY_MOD)) { $sql .= " ORDER BY paiement_code ASC, p.datep ASC, pf.fk_paiement ASC"; } else { @@ -249,7 +249,7 @@ class pdf_paiement if (!empty($socid)) { $sql .= " AND s.rowid = ".((int) $socid); } - // If global param PAYMENTS_FOURN_REPORT_GROUP_BY_MOD is set, payement fourn are ordered by paiement_code + // If global param PAYMENTS_FOURN_REPORT_GROUP_BY_MOD is set, payment fourn are ordered by paiement_code if (!empty($conf->global->PAYMENTS_FOURN_REPORT_GROUP_BY_MOD)) { $sql .= " ORDER BY paiement_code ASC, p.datep ASC, pf.fk_paiementfourn ASC"; } else { diff --git a/htdocs/loan/class/loan.class.php b/htdocs/loan/class/loan.class.php index 1c6913035e8..bbe986a87b0 100644 --- a/htdocs/loan/class/loan.class.php +++ b/htdocs/loan/class/loan.class.php @@ -457,7 +457,7 @@ class Loan extends CommonObject // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Tag loan as payement as unpaid + * Tag loan as payment as unpaid * @deprecated * @see setUnpaid() * @param User $user Object user making change @@ -471,7 +471,7 @@ class Loan extends CommonObject } /** - * Tag loan as payement as unpaid + * Tag loan as payment as unpaid * * @param User $user Object user making change * @return int <0 if KO, >0 if OK