[FIX] solve bugs from test 22

This commit is contained in:
Nossibaelhadi 2026-01-22 18:18:16 +03:00
parent 0d52f05249
commit c5f5f4e6b1
1 changed files with 3 additions and 6 deletions

View File

@ -63,7 +63,6 @@
}
.orphan-page td {
direction: rtl !important;
font-size: 16px;
}
.orphan-page .data-items-row {
display: table-row !important;
@ -83,7 +82,6 @@
background-color: white !important;
border-radius: 30px !important;
overflow: hidden !important;
font-size: 16px;
}
.orphan-page .label-cell {
@ -93,7 +91,6 @@
.orphan-page .label-cell-dark {
background-color: #136456 !important;
color: white !important;
font-size: 16px !important;
}
</style>
@ -106,7 +103,7 @@
<table style="width: 100%; margin-bottom: 30px; padding: 0px 40px; border-collapse: collapse; direction: rtl;" cellpadding="0" cellspacing="0">
<tr>
<td style="width: auto; text-align: right; vertical-align: middle; padding: 40px 0px 0px; white-space: nowrap;">
<h1 style="font-size: 15px; font-weight: bold; color: white; padding: 10px 20px 10px 30px; margin: 0px; font-family: 'Cairo', Arial, sans-serif; white-space: nowrap; border-radius: 30px 0px 0px 30px; background-color: #22B6B3;">تقرير <t t-if="doc.relationn.relation_type == 'mother'" t-esc="'أم'"/> اليتيم</h1>
<h1 style="font-size: 20px; font-weight: bold; color: white; padding: 10px 20px 10px 30px; margin: 0px; font-family: 'Cairo', Arial, sans-serif; white-space: nowrap; border-radius: 30px 0px 0px 30px; background-color: #22B6B3;">تقرير <t t-if="doc.relationn.relation_type == 'mother'" t-esc="'أم'"/> اليتيم</h1>
</td>
<td style="width: 78%;"></td>
<td style="width: auto; text-align: left; vertical-align: middle; padding-top: 20px; padding-left: 10px;">
@ -155,7 +152,7 @@
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
<table style="width: 100%; height: 40px; border-radius: 30px; box-shadow: 0 0 0 1px #136456; background-color: white; border-collapse: separate; border-spacing: 0; overflow: hidden; direction: rtl;" cellpadding="0" cellspacing="0">
<tr>
<td class="label-cell" style="width: 48%; height: 40px; background-color: #CCA761 !important; color: white !important; text-align: center; font-size: 16px; font-weight: bold; padding: 5px 15px; font-family: 'Cairo', Arial, sans-serif; border-radius: 30px 0px 0px 30px; overflow: hidden;">
<td class="label-cell" style="width: 48%; height: 40px; background-color: #CCA761 !important; color: white !important; text-align: center; font-size: 15px; font-weight: bold; padding: 5px 15px; font-family: 'Cairo', Arial, sans-serif; border-radius: 30px 0px 0px 30px; overflow: hidden;">
<t t-if="doc.relationn.relation_type == 'mother'">
اسم الأرملة
</t>
@ -163,7 +160,7 @@
اسم اليتيمـ/ـة
</t>
</td>
<td style="width: 52%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.mother_first_name if doc.mother_first_name else doc.member_first_name if doc.member_first_name else '-' "/></td>
<td style="width: 52%; text-align: center; font-size: 14px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.mother_first_name if doc.mother_first_name else doc.member_first_name if doc.member_first_name else '-' "/></td>
</tr>
</table>
</td>