Update membership_card_reports.xml

This commit is contained in:
zainab2097 2024-08-15 17:29:38 +03:00 committed by GitHub
parent b8b2a4d0c2
commit f15001fb77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 17 deletions

View File

@ -32,25 +32,19 @@
<t t-set="company" t-value="user.company_id"/>
<!-- Header -->
<style>
@font-face {font-family: "Sakkal Majalla"; src:
url(/membership_card_odoo/static/fonts/ce7b5754581057e6f7444e2192850cc8.eot); src:
url(/membership_card_odoo/static/fonts/ce7b5754581057e6f7444e2192850cc8.eot?#iefix)
format("embedded-opentype"),
url(/membership_card_odoo/static/fonts/ce7b5754581057e6f7444e2192850cc8.woff2) format("woff2"),
url(/membership_card_odoo/static/fonts/ce7b5754581057e6f7444e2192850cc8.woff) format("woff"),
url(/membership_card_odoo/static/fonts/ce7b5754581057e6f7444e2192850cc8.ttf) format("truetype");
}
#font{
font-family: Sakkal Majalla;
}
.font_cairo{
font-family: Sakkal Majalla;
}
@font-face {
font-family: 'Cairo-Regular';
src: local('Cairo-Regular'), local('Cairo-Regular'),
url(/membership_card_odoo/static/fonts/Cairo-Regular.ttf) format('opentype');
}
.font_cairo{
font-family: Cairo-Regular, Arial, sans-serif !important;;
}
</style>
<div style="font-family:'Sakkal Majalla'!important;" id="font" class="page font_cairo">
<div t-attf-style="background-color:{{membrship_level_color }};">
<div style="font-family:'Sakkal Majalla'!important;" class="font_cairo">
<div style="font-family:'Cairo-Regular';" class="font_cairo">
<center>
<h2><t t-esc="company.name"/></h2>
</center>
@ -59,13 +53,13 @@
</center>
</div><br/>
<!-- Content -->
<div style="font-family:'Sakkal Majalla'!important;" class="row mt32">
<div style="font-family:'Cairo-Regular';" class="row mt32">
<div style="width:20%;margin-top:10px;float:right">
<img t-if="image" style="width: 120px; border-radius: 5px;"
t-attf-src="data:image/*;base64,{{image}}"/>
</div>
<div style="width:75%;font-family:'Sakkal Majalla'!important;margin-top:5px;float:left">
<div style="width:75%;font-family:'Cairo-Regular';margin-top:5px;float:left">
<p dir="rtl" t-if="name"><strong>الاسم:</strong> <t t-esc="name"/></p>
<p dir="rtl" t-if="membrship_no"><strong>رقم العضوية:</strong> <t t-esc="membrship_no"/></p>
<p dir="rtl" t-if="product_id"><strong> نوع العضوية:</strong> <t t-esc="product_id"/></p>