fix report strings spacing
This commit is contained in:
parent
0f1fa6adda
commit
4a8512bbed
|
|
@ -107,7 +107,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: 20px; font-weight: bold; color: white; background-color: #22B6B3; padding: 10px 20px; margin: 0px; font-family: 'Cairo', Arial, sans-serif; white-space: nowrap; border-radius: 30px 0px 0px 30px;">تقرير اليتيم</h1>
|
||||
<h1 style="font-size: 20px; font-weight: bold; color: white; background-color: #22B6B3; padding: 10px 20px 10px 30px; margin: 0px; font-family: 'Cairo', Arial, sans-serif; white-space: nowrap; border-radius: 30px 0px 0px 30px;">تقرير اليتيم</h1>
|
||||
</td>
|
||||
<td style="width: 80%;"></td>
|
||||
<td style="width: auto; text-align: left; vertical-align: middle; padding-top: 20px; padding-left: 10px;">
|
||||
|
|
@ -124,20 +124,20 @@
|
|||
<table style="width: 100%; border-collapse: collapse; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<!-- Row 1: اسم الكافل + رقم الجوال -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; border-radius: 30px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; overflow: hidden; direction: rtl;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell" style="width: 50%; 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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif; padding: 0px 10px;"><t t-esc="doc.sponsor_related_id.name if doc.sponsor_related_id else ''"/></td>
|
||||
<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;">اسم الكافل</td>
|
||||
<td style="width: 52%; text-align: center; font-size: 14px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif; padding: 0px 10px;"><t t-esc="doc.sponsor_related_id.name if doc.sponsor_related_id else ''"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; 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: 50%; 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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.sponsor_related_id.mobile"/></td>
|
||||
<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;">رقم الجوال</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.sponsor_related_id.mobile"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -149,8 +149,8 @@
|
|||
<table style="width: 100%; border-collapse: collapse; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="font-size: 16px; color: #136456; text-align: start; font-weight: bold; margin: 5px 0px 0px; padding: 0px 40px; font-family: 'Cairo', Arial, sans-serif;">حين يصبح الأثر إنسانًا له اسم وقصة وابتسامة.. <br/> نعلم أن الكفالة ليست نهاية، بل بداية لعطاء مستدام، وأثر يصنع الفرق.</p>
|
||||
<span style="font-size: 16px; color: #136456; text-align: start; font-weight: normal; margin: 10px 0px; padding: 0px 40px; font-family: 'Cairo', Arial, sans-serif;">ما بين الصفوف الدراسية، والهوايات الصغيرة والأمنيات البسيطة، نرفق لكم تقرير مفصل عن اليتيم المكفول:</span>
|
||||
<p style="font-size: 14px; color: #136456; text-align: start; font-weight: bold; margin: 5px 0px 0px; padding: 0px 40px; font-family: 'Cairo', Arial, sans-serif;">حين يصبح الأثر إنسانًا له اسم وقصة وابتسامة.. <br/> نعلم أن الكفالة ليست نهاية، بل بداية لعطاء مستدام، وأثر يصنع الفرق.</p>
|
||||
<span style="font-size: 14px; color: #136456; text-align: start; font-weight: normal; margin: 10px 0px; padding: 0px 40px; font-family: 'Cairo', Arial, sans-serif;">ما بين الصفوف الدراسية، والهوايات الصغيرة والأمنيات البسيطة، نرفق لكم تقرير مفصل عن اليتيم المكفول:</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -159,20 +159,20 @@
|
|||
|
||||
<!-- Row 3: اسم الأرملة + العمر -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<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: 50%; 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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.name"/></td>
|
||||
<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;">اسم اليتيم</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.name"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell" style="width: 50%; 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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.age"/></td>
|
||||
<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;">العمر</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.age"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -180,20 +180,20 @@
|
|||
|
||||
<!-- Row 4: رقم الملف + تم الالتحاق في إنسان عام -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.benefit_code"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">رقم الملف</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.benefit_code"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.create_date.strftime('%Y')"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">تم الالتحاق في إنسان عام</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.create_date.strftime('%Y')"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -201,20 +201,20 @@
|
|||
|
||||
<!-- Row 5: عدد أفراد الأسرة + الجنسية -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="len(doc.benefit_id.member_ids)"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">عدد أفراد الأسرة</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="len(doc.benefit_id.member_ids)"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.benefit_id.father_country_id.name"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">الجنسية</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.benefit_id.father_country_id.name"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -222,20 +222,20 @@
|
|||
|
||||
<!-- Row 6: المرحلة الدراسية + التقدير -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.last_education_levels.name if doc.last_education_levels else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">المرحلة الدراسية</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.last_education_levels.name if doc.last_education_levels else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.last_education_levels.degree if doc.last_education_levels and doc.last_education_levels.degree else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">التقدير</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.last_education_levels.degree if doc.last_education_levels and doc.last_education_levels.degree else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -243,20 +243,20 @@
|
|||
|
||||
<!-- Row 7: الحالة الصحية + نوع السكن -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="'،'.join(doc.diseases_attachment_ids.mapped('diseases_id.name'))"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">الحالة الصحية</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="'،'.join(doc.diseases_attachment_ids.mapped('diseases_id.name'))"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.benefit_id.property_type_id.name if doc.benefit_id.property_type_id else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">نوع السكن</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.benefit_id.property_type_id.name if doc.benefit_id.property_type_id else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -264,11 +264,11 @@
|
|||
|
||||
<!-- Row 8: عنوان الأسرة + مبلغ الإيجار -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;">
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">عنوان الأسرة</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="' ، '.join(filter(None, [
|
||||
doc.benefit_id.city_id.name,
|
||||
doc.benefit_id.district_id.name,
|
||||
|
|
@ -283,11 +283,11 @@
|
|||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.benefit_id.rent_amount if doc.benefit_id.rent_amount else '0'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">مبلغ الإيجار</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.benefit_id.rent_amount if doc.benefit_id.rent_amount else '0'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -295,20 +295,20 @@
|
|||
|
||||
<!-- Row 9: حالة الأسرة + تاريخ نهاية الكفالة -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.benefit_id.benefit_category_id.name if doc.benefit_id.benefit_category_id else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">حالة الأسرة</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.benefit_id.benefit_category_id.name if doc.benefit_id.benefit_category_id else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell" style="width: 50%; 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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="doc.sponsorship_end_date.strftime('%Y-%m-%d') if doc.sponsorship_end_date else '-'"/></td>
|
||||
<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;">تاريخ نهاية الكفالة</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.sponsorship_end_date.strftime('%Y-%m-%d') if doc.sponsorship_end_date else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -319,7 +319,7 @@
|
|||
<td colspan="3" style="padding: 8px 35px;">
|
||||
<table style="width: 100%; height: 40px; background-color: #CCA761 !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="font-size: 16px; color: white; text-align: start; padding: 0px 20px; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;">مصادر دخل الأسرة</td>
|
||||
<td style="font-size: 15px; color: white; text-align: start; padding: 0px 20px; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;">مصادر دخل الأسرة</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -336,20 +336,20 @@
|
|||
<t t-set="total_income" t-value="sum(approved_salaries.mapped('salary_amount')) if approved_salaries else (benefit_member.member_income if benefit_member and benefit_member.member_income else 0)"/>
|
||||
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="sum(social_security.mapped('salary_amount')) if social_security else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">الضمان الاجتماعي</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="sum(social_security.mapped('salary_amount')) if social_security else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="sum(mother_salary.mapped('salary_amount')) if mother_salary else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">راتب الأم</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="sum(mother_salary.mapped('salary_amount')) if mother_salary else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -357,20 +357,20 @@
|
|||
|
||||
<!-- Row 12: الراتب التقاعدي + التأمينات الاجتماعية -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 35px 10px 15px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="sum(retirement.mapped('salary_amount')) if retirement else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">الراتب التقاعدي</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="sum(retirement.mapped('salary_amount')) if retirement else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- <td class="data-item-spacer" style="width: 2%;"></td> -->
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 9px 15px 10px 35px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="sum(social_insurance.mapped('salary_amount')) if social_insurance else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">التأمينات الاجتماعية</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="sum(social_insurance.mapped('salary_amount')) if social_insurance else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
@ -378,11 +378,11 @@
|
|||
|
||||
<!-- Row 13: المجموع (single item) -->
|
||||
<tr class="data-items-row">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px 35px; vertical-align: top;">
|
||||
<td class="data-item-col" style="width: 50%; padding: 8px 35px 35px 20px; vertical-align: top;">
|
||||
<table class="data-row-table" style="width: 100%; height: 40px; box-shadow: 0 0 0 1px #136456; background-color: white !important; border-collapse: separate; border-spacing: 0; border-radius: 30px; overflow: hidden; direction: rtl; table-layout: fixed;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label-cell-dark" style="width: 50%; height: 40px; background-color: #136456 !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>
|
||||
<td style="width: 50%; text-align: center; font-size: 16px; color: #136456; font-weight: bold; font-family: 'Cairo', Arial, sans-serif;"><t t-esc="total_income if total_income else '-'"/></td>
|
||||
<td class="label-cell-dark" style="width: 48%; height: 40px; background-color: #136456 !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;">المجموع</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="total_income if total_income else '-'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue