[#FER-26] Passeport du bovin #53

Merged
tristan merged 8 commits from feat/vie-du-bovin into develop 2026-05-13 12:14:16 +00:00
2 changed files with 19 additions and 7 deletions
Showing only changes of commit b390dd51de - Show all commits
+1 -1
View File
@@ -1,2 +1,2 @@
parameters: parameters:
app.version: '0.0.98' app.version: '0.0.99'
+18 -6
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