Compare commits
1
Commits
a6626e023a
...
41ab7445f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41ab7445f7 |
@@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 '<p>' . 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.') . '</p>';
|
||||
return '<p>' . 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.') . '</p>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user