You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

64 lines
3.1 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Appointment card report template -->
<template id="appointment_card">
<t t-call="web.html_container">
<section>
<div style="width: 500px; height: 260px; border: 2px black solid; border-radius: 5px;">
<div class="container"
style="width: 500px; height: 50px; background-color:red">
<span>
<i class="fa fa-wave-pulse" style="color:black;"/>
</span>
<h1 style="margin-left: 150px; padding-top: 10px; color:white; border-radius: 10px;">
Appointment Card
</h1>
<div class="page">
<h1 style="margin-left: 15px;">
<b>Token :
<t t-esc="token"/>
</b>
<br/>
<label style="font-size: 18px;">
<b>Doctor :
<t t-esc="doctor"/>
</b>
</label>
</h1>
<p style="margin-left: 15px;">
<label>
<b>Specialised :</b>
<t t-esc="specialised"/>
</label>
<br/>
<label>
<b>Time :</b>
<t t-esc="appointment_time"/>
</label>
<br/>
<label>
<b>Date :</b>
<t t-esc="date"/>
</label>
<div style="position:absolute; left:320px; top:100px;">
<img t-attf-src="{{ request.httprequest.url_root }}dental_clinical_management/static/src/img/appointment.jpeg"
style="height: 140px; width: 150px;"/>
</div>
</p>
</div>
</div>
</div>
</section>
</t>
</template>
<!-- Action report appointment card -->
<record id="action_appointment_card" model="ir.actions.report">
<field name="name">Appointment Card</field>
<field name="model">dental.appointment</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">dental_clinical_management.appointment_card</field>
<field name="report_file">dental_clinical_management.appointment_card</field>
<field name="binding_model_id"
ref="dental_clinical_management.model_dental_appointment"/>
</record>
</odoo>