feat : amélioration du tableau bovin
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

This commit is contained in:
2026-05-07 08:39:39 +02:00
parent 9e67a5e289
commit 5552d98935

View File

@@ -25,7 +25,7 @@
.sheet { width: auto; } .sheet { width: auto; }
h1 { h1 {
margin: 8px 0 16px 0; margin: 0 0 8px 0;
padding: 0; padding: 0;
line-height: 1; line-height: 1;
text-transform: uppercase; text-transform: uppercase;
@@ -243,11 +243,23 @@
</tr> </tr>
</table> </table>
{% set buildingNumber = buildingCase.idBuilding.label ?? '' %} <table style="width:auto; border-collapse:collapse; margin-bottom: 8px; margin-top: 8px">
{% set buildingNumber = buildingNumber|replace({'Bâtiment': '', 'BÂTIMENT': '', 'Batiment': '', 'BATIMENT': ''})|trim %} <tr>
<div style="font-weight:700; text-align:left; font-size: 18px; margin-bottom: 16px;"> <td style="border:0; text-align:left; font-weight:700; font-size: 18px; padding-right: 8px;">BATIMENT N°</td>
BÂTIMENT N°{{ buildingNumber }} - CASE N°{{ buildingCase.caseNumber ?? '' }} <td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
</div> <td style="border:0; width: 22px;"></td>
<td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
<td style="border:0; width: 22px;"></td>
<td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
<td style="border:0; width: 32px;"></td>
<td style="border:0; text-align:left; font-weight:700; font-size: 18px; padding-right: 8px;">CASE N°</td>
<td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
<td style="border:0; width: 22px;"></td>
<td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
<td style="border:0; width: 22px;"></td>
<td style="border:1px solid #2b2b2b; width: 22px; height: 22px;"></td>
</tr>
</table>
<!-- ========================= <!-- =========================
TABLEAU PRINCIPAL TABLEAU PRINCIPAL