odex30_standard/employee_requests/report/salary_confirmation.xml

140 lines
8.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<template id="salary_confirmation">
<t t-call="web.html_container" t-translation="off">
<t t-call="hr_base.hr_layout">
<style>
@font-face {font-family: "Sakkal Majalla"; src:
url("/employee_requests/static/fonts/ce7b5754581057e6f7444e2192850cc8.eot"); src:
url("/employee_requests/static/fonts/ce7b5754581057e6f7444e2192850cc8.eot?#iefix")
format("embedded-opentype"),
url("/employee_requests/static/fonts/ce7b5754581057e6f7444e2192850cc8.woff2") format("woff2"),
url("/employee_requests/static/fonts/ce7b5754581057e6f7444e2192850cc8.woff") format("woff"),
url("/employee_requests/static/fonts/ce7b5754581057e6f7444e2192850cc8.ttf") format("truetype");
}
</style>
<div class="page" style="font-family:'Sakkal Majalla'!important;font-size:18pt;direction:rtl">
<t t-foreach="docs" t-as="o">
<div class="row">
<strong>
<span style="margin-right: 8%;">التاريخ :</span>
</strong>
<span style="font-size:21px;" t-esc="o.change_current_date_hijri()"/>
<br/>
<strong>
<span style="margin-right: 8%;">الموافق :</span>
</strong>
<span style="font-size:20px;" t-esc="o.date"/>
<br/>
</div>
<div class="OutlineElement Rtl SCXW182515882 BCX2">
<h3 style="font-weight:bold;margin-bottom: 60px;text-align:center;font-family: 'Sakkal Majalla'!important;color:black;font-size: 20pt;margin-top: 0;">
<span>تثبيت راتب</span>
</h3>
</div>
<table cellpadding="2" cellspacing="2"
class="table table-borderless"
style="width:100%;border-collapse: collapse;border-collapse:separate;border-spacing: 0 10px;"
dir="rtl">
<tr style="border: 0">
<td style="text-align:right;border:0;">
<span style="float:right;margin-right:8%">
<strong>السـادة/</strong>
<span t-esc="o.destination.name"/>
</span>
<span style="float:left;margin-left:8%">
<strong>المحترمين ,,</strong>
</span>
</td>
</tr>
</table>
<div class="text-center">
<p style="text-align:center;margin: 10px;">
<span>السلام عليكم ورحمة الله و بركاته ,,</span>
</p>
</div>
<br/>
<p style="text-align:justify;margin-right:8%;margin-left:8%;color:black; line-height: 1.8;">
بهذا تفيد
<span t-esc="o.employee_id.company_id.name"/>
بأن
الأستاذ/ة
<span t-field="o.employee_id.name"/>
رقم الهوية (
<t t-if="o.employee_id.country_id.name == 'Saudi Arabia' or o.employee_id.country_id.name == 'المملكة العربية السعودية'">
<span t-field="o.employee_id.saudi_number.saudi_id"/>
</t>
<t t-else="">
<span t-field="o.employee_id.iqama_number.iqama_id"/>
</t>
)
يعمل لدينا بوظيفة (<span t-field="o.employee_id.job_id.name"/>) من تاريخ
<span t-esc="o.employee_id.contract_id.date_start"/>
ويتقاضى/تتقاضى راتب اساسي وقدره (<span t-field="o.employee_id.contract_id.salary"/>)
وبدل سكن وقدره
(<span
t-field="o.employee_id.contract_id.house_allowance_temp"/>) وبدل نقل وقدره
(<span t-field="o.employee_id.contract_id.transport_allowance"/>)، ومازال/ت على رأس
العمل حتى تاريخه ولا
<span>مانع لدينا</span>
من تحويـل راتبه إلـى حسـابه
(<span t-esc="o.employee_id.bank_account_id.acc_number"/>) لدى
<span t-esc="o.employee_id.bank_code"/>
كما نتعهد بإبلاغكم في حالة فصله عن العمل أو إنتهاء خدماته لدينا لأي سبب وكما نتعهد
بتحويل مكافأة نهاية خدمته وتعويضاته إلى الحساب المذكور أعلاه حتى يردنا إخلاء طرف من
قبلكم.
</p>
<br/>
<br/>
<table style="width:100%; margin-top:60px; border:0;" dir="ltr">
<tr>
<td style="text-align:center; vertical-align:top;">
<div style="text-align:center;">
<t t-if="env.user.sudo().company_id.authorized_signatory_id.user_id.sign_signature">
<img t-att-src="image_data_uri(env.user.sudo().company_id.authorized_signatory_id.user_id.sign_signature)"
style="max-height: 5cm; max-width: 10cm"/>
</t>
<div style="margin-top:8px;">
<span style="font-weight:bold;"
t-esc="env.user.sudo().company_id.authorized_position"/>
<br/>
<span style="font-weight:bold;"
t-esc="env.user.sudo().company_id.authorized_signatory_id.name"/>
</div>
</div>
</td>
<td style="text-align:center; vertical-align:top;">
<t t-if="env.user.sudo().company_id.authorized_signatory_id.user_id.sign_initials">
<img t-att-src="image_data_uri(env.user.sudo().company_id.authorized_signatory_id.user_id.sign_initials)"
style="max-height: 12cm; max-width: 12cm"/>
</t>
</td>
</tr>
</table>
</t>
</div>
</t>
</t>
</template>
<record id="salary_conf_report_act" model="ir.actions.report">
<field name="model">employee.other.request</field>
<field name="name">Salary Confirmation</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">employee_requests.salary_confirmation</field>
<field name="report_file">employee_requests.salary_confirmation</field>
<field name="groups_id" eval="[(4, ref('hr.group_hr_user'))]"/>
</record>
</data>
</odoo>