0c9f8ca41ff3238c638481fd6283721134caaa4b
Hébergement (and achat/sous-traitant) were already linkable to an entrée client -- LINKABLE_TYPES already included them, so the "Lier" button and the reconciliation math worked fine -- but versementStatus() hardcoded item.type !== 'versement' and returned null for every other type, so those rows never got the Non liée/Lié/Reste à verser/Sur-versé badge at all, and had no way to open the link form except the small actions-column icon. Renamed versementStatus()/versementStatusLabel()/versementStatusClasses() to linkStatus()/linkStatusLabel()/linkStatusClasses() and generalized the type check to LINKABLE_TYPES.includes(item.type). Verified live: a hébergement row linked to an entrée now shows the same badge, status math, and drill-down modal as a versement.
Description
No description provided
1.2 MiB
Languages
php
44.6%
JavaScript
32.8%
CSS
13.4%
Twig
9.2%