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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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%;"/>
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
4
thg 1 25
|
44522 | ||
|
0
thg 10 24
|
1444 | ||
|
0
thg 10 24
|
5 | ||
|
1
thg 5 23
|
2982 | ||
|
5
thg 5 21
|
11501 |