The charity owner provides certificates for blood donors and donation providers in my application. These certificates have a specific format. How can I create these certificates in the QWeb report?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Eye Donation Pledge Form
/eyedonation
90
class="o_mark_required"
data-mark="*" data-model_name="" data-success-page="">
style="margin-top:2%;">
REGISTER HERE FOR EYE DONATION
data-type="char" data-name="Field" style="padding:5px;">
name="name" required="0" style="width:49%;text-transform: uppercase;"
placeholder="Enter First Name" pattern="[A-Za-z. ]+"
title="Please enter only letters, dots, or spaces"/>
class="form-control s_website_form_input"
name="last_name" required=""
style="width:49%;margin-left: 2%;text-transform: uppercase;"
placeholder="Enter Last Name" pattern="[A-Za-z. ]+"
title="Please enter only letters, dots, or spaces"/>
data-type="selection" data-name="Field" style="padding:5px;">
class="form-control s_website_form_input"
name="guardian_name" required="1"
style="width:68%;text-transform: uppercase;"
placeholder="Relative Name"
pattern="[A-Za-z. ]+"
title="Please enter only letters, dots, or spaces"/>
data-type="char" data-name="Field" style="padding:5px;">
name="dob" required="required"
style="width:33%;margin-left: 2%;text-transform: uppercase;"/>
name="age" required="1" style="width:30%;margin-left: 2%;" min="18"
max="100"
placeholder="ENTER AGE IN YEARS"/>
data-type="char" data-name="Field" style="padding:5px;">
name="mobile" required="1" style="width:49%;" pattern="[0-9]{10}"
title="Please enter a valid phone number"
placeholder="ENTER MOBILE NUMBER"/>
name="email" required="1" style="width:49%;margin-left: 2%;"
placeholder="ENTER EMAIL"/>
data-name="Field" style="padding:5px;">
data-name="Field" style="padding:5px;">
data-type="char" data-name="Field" style="padding:5px;">
class="form-control s_website_form_input"
name="ward_village" required="1"
placeholder="Enter Ward/Village Name"
style="text-transform: uppercase;"/>
data-type="char" data-name="Field" style="padding:5px;">
class="form-control s_website_form_input"
name="door_no" required="1"
style="width:49%;text-transform: uppercase;"
placeholder="Enter Door Number"/>
name="street" required="1"
style="width:49%;margin-left: 2%;text-transform: uppercase;"
placeholder="Enter Street Name"/>
data-type="char" data-name="Field" style="padding:5px;">
name="pincode" required="1" pattern="[0-9]{6}"
title="Please enter a valid pin code" placeholder="ENTER PIN CODE"/>
data-type="char" data-name="Field" style="padding:5px;">
class="form-control s_website_form_input"
name="id_proof_number" required="1"
style="width:68%;margin-left: 2%;text-transform: uppercase;"
placeholder="Enter ID Proof Number"/>
data-type="char" data-name="Field" style="padding:5px;">
style="margin-bottom: 20PX;">
style="margin-top:3%;">
Thank You!
You have successfully registered for eye donation.
Your Register No:
Certificate
/* Define specific styles for printing */
body {
width: 1000px; /* Set width to 100% */
height: 950px; /* Set height to 100% */
margin: 20px; /* Remove default margin */
}
function generatePDF() {
var pdfContent = document.getElementById('pdfContent').innerHTML;
var oldPage = document.body.innerHTML;
document.body.innerHTML = pdfContent;
window.print();
document.body.innerHTML = oldPage;
}
]]>
alt="Certificate Image"
style="width:100%; height: 100%; margin-top:10px; margin-bottom:10px;"/>
Mr.
Miss.
F/o.
M/o.
W/o.
S/o.
D/o.
G/o.
, , , , ,
|
|
style=" width: 110px; height: 110px; margin-left: 12%; margin-top: -17%;"/>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
4
يناير 25
|
44492 | ||
|
0
أكتوبر 24
|
1422 | ||
|
0
أكتوبر 24
|
5 | ||
|
1
مايو 23
|
2963 | ||
|
5
مايو 21
|
11497 |