From f2a8f469b353d616a009f1db80df057fc4d5d16e Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 3 Sep 2026 23:07:12 +0200 Subject: [PATCH] =?UTF-8?q?Add=20"H=C3=A9bergement"=20type,=20reclassify?= =?UTF-8?q?=20EXT.WEB=20sorties=20into=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 27 lines (18 previously "charge", 9 "versement") that touch the EXT.WEB compte in their répartition are now typed "hebergement" instead -- makes Bachir's separate hosting activity filterable/visible as its own category rather than blended into general charges/versements. Amounts/répartition untouched, only the classification changed. Co-Authored-By: Claude Sonnet 5 --- config/sync/field.storage.node.field_type_ligne.yml | 3 +++ web/modules/custom/figli_compta_ledger/css/home.css | 1 + .../custom/figli_compta_ledger/figli_compta_ledger.install | 2 ++ web/modules/custom/figli_compta_ledger/js/home.js | 1 + 4 files changed, 7 insertions(+) diff --git a/config/sync/field.storage.node.field_type_ligne.yml b/config/sync/field.storage.node.field_type_ligne.yml index 29ecc99..31f9e4c 100644 --- a/config/sync/field.storage.node.field_type_ligne.yml +++ b/config/sync/field.storage.node.field_type_ligne.yml @@ -29,6 +29,9 @@ settings: - value: autre label: Autre + - + value: hebergement + label: Hébergement allowed_values_function: '' module: options locked: false diff --git a/web/modules/custom/figli_compta_ledger/css/home.css b/web/modules/custom/figli_compta_ledger/css/home.css index a48fcfd..2ed5fd6 100644 --- a/web/modules/custom/figli_compta_ledger/css/home.css +++ b/web/modules/custom/figli_compta_ledger/css/home.css @@ -177,6 +177,7 @@ html.gin--dark-mode #figli-home-app { #figli-home-app .type-charge { background: #6b72801a; color: var(--figli-text-light); } #figli-home-app .type-versement { background: #d97a0a1a; color: #d97a0a; } #figli-home-app .type-achat { background: #1d4ed81a; color: #3b6fe0; } +#figli-home-app .type-hebergement { background: #0e91821a; color: #0e9182; } #figli-home-app .type-ouverture { background: #7c3aed1a; color: #9061f0; } #figli-home-app .type-autre { background: #6b72801a; color: var(--figli-text-light); } 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 bbb4507..e104e66 100644 --- a/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install +++ b/web/modules/custom/figli_compta_ledger/figli_compta_ledger.install @@ -185,6 +185,8 @@ function _figli_compta_ledger_create_node_type_ligne_comptable() { 'charge' => 'Charge structurelle SAS', 'versement' => 'Versement freelance', 'achat' => 'Achat client (pass-through)', + 'hebergement' => 'Hébergement', + 'autre' => 'Autre', 'ouverture' => "Ligne d'ouverture", ], ], TRUE); diff --git a/web/modules/custom/figli_compta_ledger/js/home.js b/web/modules/custom/figli_compta_ledger/js/home.js index 2df1bb3..cbd8567 100644 --- a/web/modules/custom/figli_compta_ledger/js/home.js +++ b/web/modules/custom/figli_compta_ledger/js/home.js @@ -17,6 +17,7 @@ charge: 'Charge structurelle', versement: 'Versement freelance', achat: 'Achat client', + hebergement: 'Hébergement', autre: 'Autre', ouverture: 'Ouverture', };