feat(pdf) : ajout bâtiment dans en-tête rapport poids case
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-06 11:43:17 +02:00
parent 59418f2c66
commit 92289f9cb2

View File

@@ -243,8 +243,10 @@
</tr> </tr>
</table> </table>
{% set buildingNumber = buildingCase.idBuilding.label ?? '' %}
{% set buildingNumber = buildingNumber|replace({'Bâtiment': '', 'BÂTIMENT': '', 'Batiment': '', 'BATIMENT': ''})|trim %}
<div style="font-weight:700; text-align:left; font-size: 18px; margin-bottom: 16px;"> <div style="font-weight:700; text-align:left; font-size: 18px; margin-bottom: 16px;">
CASE N° {{ buildingCase.caseNumber ?? '' }} BÂTIMENT N°{{ buildingNumber }} - CASE N°{{ buildingCase.caseNumber ?? '' }}
</div> </div>
<!-- ========================= <!-- =========================