diff --git a/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install b/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install index 62ec0c0..bbb4507 100644 --- a/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install +++ b/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install @@ -5,7 +5,7 @@ * Install functions for the Figli Compta Ledger module. * * Builds the data model discussed with the SAS: a "Compte" per associate - * (+ EXT./EXT.WEB/Provision EPAU), a unified "Client" list, and + * (+ EXT./EXT.WEB), a unified "Client" list, and * "Ligne comptable" nodes whose amount is split across "Répartition" * paragraphs referencing a Compte. The presave validation in * figli_compta_ledger.module enforces sum(répartition) == montant_ht, @@ -22,10 +22,11 @@ use Drupal\Core\Entity\Entity\EntityFormDisplay; use Drupal\Core\Entity\Entity\EntityViewDisplay; /** - * The 9 "comptes" tracked historically (6 associates + EXT./EXT.WEB/Provision EPAU). + * The 8 "comptes" tracked (6 associates + EXT./EXT.WEB). "Provision EPAU" + * existed in the historical spreadsheets but is not used going forward. */ function _figli_compta_ledger_comptes() { - return ['Sandrine', 'Maud', 'Ouidade', 'Chloé', 'Bachir', 'Valentin', 'EXT.', 'EXT.WEB', 'Provision EPAU']; + return ['Sandrine', 'Maud', 'Ouidade', 'Chloé', 'Bachir', 'Valentin', 'EXT.', 'EXT.WEB']; } /** diff --git a/web/modules/custom/figli_compta_ledger/figli_compta_ledger.module b/web/modules/custom/figli_compta_ledger/figli_compta_ledger.module index 430ce3c..cce3257 100644 --- a/web/modules/custom/figli_compta_ledger/figli_compta_ledger.module +++ b/web/modules/custom/figli_compta_ledger/figli_compta_ledger.module @@ -157,6 +157,6 @@ function figli_compta_ledger_theme($existing, $type, $theme, $path) { */ function figli_compta_ledger_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) { if ($route_name === 'help.page.figli_compta_ledger') { - return '
' . t('Grand livre SAS Figures Libres : chaque "Ligne comptable" (entrée, charge, versement, achat) doit être répartie entre un ou plusieurs "Comptes" (les 6 associés + EXT./EXT.WEB/Provision EPAU) pour un total exactement égal au montant HT.') . '
'; + return '' . t('Grand livre SAS Figures Libres : chaque "Ligne comptable" (entrée, charge, versement, achat) doit être répartie entre un ou plusieurs "Comptes" (les 6 associés + EXT./EXT.WEB) pour un total exactement égal au montant HT.') . '
'; } } diff --git a/web/modules/custom/figli_compta_ledger/js/home.js b/web/modules/custom/figli_compta_ledger/js/home.js index ba9712c..8189cc6 100644 --- a/web/modules/custom/figli_compta_ledger/js/home.js +++ b/web/modules/custom/figli_compta_ledger/js/home.js @@ -85,7 +85,7 @@ loading: true, error: null, rows: [], - allComptes: ['Sandrine', 'Maud', 'Ouidade', 'Chloé', 'Bachir', 'Valentin', 'EXT.', 'EXT.WEB', 'Provision EPAU'], + allComptes: ['Sandrine', 'Maud', 'Ouidade', 'Chloé', 'Bachir', 'Valentin', 'EXT.', 'EXT.WEB'], filterCompte: '', filterClient: '', filterType: '',