Files
pms/hotel_l10n_es/views/report_viajero_head.xml
2019-03-20 12:43:07 +01:00

94 lines
3.3 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="report_viajero_head">
<t t-set="company" t-value="res_company"></t>
<style type="text/css">
.titulo {
font-size: 1.8em;
}
.titulo2 {
font-size: 1.2em;
}
.page {
margin: 0 auto;
font-family: kiro, Verdana, Geneva, sans-serif;
}
img {
max-width: 100%;
}
.cabezera {
width: 100%;
margin: 0 auto;
text-align: center;
}
.cabezera p {padding 8em}
.amount {
font-size: 0.65em;
}
#datos {
text-align: center;
padding: 0 15px;
font-size: 0.85em;
}
.bloque {
margin: 5px 0;
}
.fecha {
font-weight: bold;
font-size: 0.85em;
}
.firma {
width: 80%;
border: dotted 1px;
height: 80px;
margin: 0 auto;
}
.legal p {
font-size: 0.6em;
}
td {
font-size: 1.2em;
}
.numerocheck {
font-size: 0.9em;
}
.container-fluid,
col-md-12,
row {
padding-left: 0 !important;
padding-right: 0 !important;
}
.text-center {
text-align: center;
}
.text-justify {
text-align: justify;
}
</style>
<img t-attf-src="data:image/*;base64,{{company.checkin_img}}" t-att-alt="company.name"/>
<p class="titulo">PART OF TRAVELERS ENTRY</p>
<p class="numerocheck">Document number:
<strong><span t-field="o.id"/></strong>/
<span t-if="o.reservation_id.room_id.description_sale"><span t-field="o.reservation_id.folio_id"/>
(
<span t-field="o.reservation_id.room_id.description_sale"/>)</span>
<span t-if="not o.reservation_id.room_id.description_sale"><span t-field="o.reservation_id"/></span>
</p>
<p class="amount">
Total amount (Reservation Card):
<strong><span t-field="o.reservation_id.folio_id.amount_total"/></strong>
</p>
<p>
<strong>CIF:
<span t-field="company.vat"/></strong><br/>
<strong><span t-field="company.display_name"/></strong><br/>
<strong><span t-field="company.street"/>
<span t-field="company.street2"/></strong><br/>
<strong><span t-field="company.zip"/>
<span t-field="company.city"/></strong><br/></p>
<p class="titulo2">TRAVELER'S DOCUMENT</p>
</template>
</data>
</odoo>