|
@@ -44,7 +44,7 @@
|
|
}
|
|
}
|
|
.text-md {
|
|
.text-md {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- font-size: 18px;
|
|
|
|
|
|
+ font-size: 14px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
.bordered {
|
|
.bordered {
|
|
@@ -86,94 +86,35 @@
|
|
<section class="header">
|
|
<section class="header">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-12">
|
|
- <p class="text-center" style="margin-top: 10px; margin-bottom: 10px;"><span class="text-lg">COMPROBANTE SAT <span t-if="o.name" t-field="o.name"/></span></p>
|
|
|
|
- <!-- <div class="image-container">
|
|
|
|
- <div class="image-cropper">
|
|
|
|
- <img class="top" t-att-src="'data:image/png;base64,%s' % printBarcode(o.id, 732, 472)"/>
|
|
|
|
- </div>
|
|
|
|
- </div> -->
|
|
|
|
|
|
+ <p class="text-center" style="margin-top: 10px; margin-bottom: 10px;"><span class="text-lg">NUMERO DE ESTUDIO <span t-if="o.name" t-field="o.name"/></span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
<div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
<div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-12">
|
|
- MATERIAL A RECOGER<br/>
|
|
|
|
- <!-- <t t-if="o.line_ids">
|
|
|
|
- <table class="order_lines" style="width: 100%;">
|
|
|
|
- <thead>
|
|
|
|
- <tr>
|
|
|
|
- <th style="width: 75%;">Concepto</th>
|
|
|
|
- <th style="width: 25%;" class="text-right">Uds.</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <t t-foreach="o.line_ids" t-as="line">
|
|
|
|
- <tr>
|
|
|
|
- <td><span t-if="line.description" t-field="line.description"></span></td>
|
|
|
|
- <td class="text-right"><span t-if="line.quantity" t-field="line.quantity"></span></td>
|
|
|
|
- </tr>
|
|
|
|
- </t>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </t>
|
|
|
|
|
|
+ <p class="text-center" style="margin-top: 10px; margin-bottom: 10px;"><span class="text-md">Información del paciente</span></p>
|
|
|
|
+ <br/>
|
|
|
|
+ Cliente: <span t-if="o.partner_id.name" t-field="o.partner_id.name"/>
|
|
|
|
+ <br/>
|
|
|
|
+ Teléfono: <span t-if="o.partner_id.phone" t-field="o.partner_id.phone"/><t t-if="o.partner_id.mobile"> - <span t-field="o.partner_id.mobile"/></t>
|
|
<br/>
|
|
<br/>
|
|
- Cliente: <span t-if="o.partner_id.name" t-field="o.partner_id.name"/><br/>
|
|
|
|
- Teléfono: <span t-if="o.partner_id.phone" t-field="o.partner_id.phone"/><t t-if="o.partner_id.mobile"> - <span t-field="o.partner_id.mobile"/></t><br/>
|
|
|
|
- Fecha Entrada: <span t-if="o.order_date" t-field="o.order_date"/><br/>
|
|
|
|
- Fecha Recogida: <span t-if="o.planned_end_date" t-field="o.planned_end_date"/> -->
|
|
|
|
|
|
+ Estudio Realizado: <span t-if="o.product_id" t-field="o.product_id"/>
|
|
|
|
+ <br/>
|
|
|
|
+ Fecha: <span t-if="o.order_date" t-field="o.order_date"/>
|
|
|
|
+ <br/>
|
|
|
|
+ Doctor: <span t-if="o.partner_id.medic.name" t-field="o.partner_id.medic.name"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- <t t-if="o.consumed_ids">
|
|
|
|
- <div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
|
|
- <table class="consumed_lines" style="width: 100%;">
|
|
|
|
- <thead>
|
|
|
|
- <tr>
|
|
|
|
- <th style="width: 45%;">Concepto</th>
|
|
|
|
- <th style="width: 15%;" class="text-right">Uds.</th>
|
|
|
|
- <th style="width: 20%;" class="text-right">Precio</th>
|
|
|
|
- <th style="width: 20%;" class="text-right">Subtotal</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- <t t-foreach="o.consumed_ids" t-as="consumed">
|
|
|
|
- <tr>
|
|
|
|
- <td><span t-if="consumed.description" t-field="consumed.description"/></td>
|
|
|
|
- <td class="text-right"><span t-if="consumed.quantity" t-field="consumed.quantity"/></td>
|
|
|
|
- <td class="text-right"><span t-if="consumed.price_unit" t-field="consumed.price_unit"/></td>
|
|
|
|
- <td class="text-right"><span t-if="consumed.subtotal and consumed.price_unit" t-raw="consumed.quantity * consumed.price_unit"/></td>
|
|
|
|
- </tr>
|
|
|
|
- </t>
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- <t t-set="total" t-value="get_total(o)"/>
|
|
|
|
- <p class="text-right" style="margin-top: 10px; margin-bottom: 0px;">Total <span class="text-md" t-esc="total"></span> EUR</p>
|
|
|
|
-
|
|
|
|
- </t> -->
|
|
|
|
- <section class="warning">
|
|
|
|
- <div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-xs-12">
|
|
|
|
- <p style="text-align: justify; margin-bottom: 0px;">
|
|
|
|
- <small class="warning-text">Presupuesto estimado, si durante la reparación el importe se modificara sustancialmente se consultará al cliente para su aprobación.</small>
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </section>
|
|
|
|
<t t-if="o.partner_id.company_id">
|
|
<t t-if="o.partner_id.company_id">
|
|
<div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
<div class="row"><div class="col-xs-12"><div class="separator"/></div></div>
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-12">
|
|
- <p class="company-info text-center">
|
|
|
|
- <t t-if="o.partner_id.company_id.name"><span t-field="o.partner_id.company_id.name"/></t>
|
|
|
|
- <t t-if="o.partner_id.company_id.street">- <span t-field="o.partner_id.company_id.street"/>,</t>
|
|
|
|
- <t t-if="o.partner_id.company_id.zip"> <span t-field="o.partner_id.company_id.zip"/></t>
|
|
|
|
- <t t-if="o.partner_id.company_id.city">- <span t-field="o.partner_id.company_id.city"/></t>
|
|
|
|
- <t t-if="o.partner_id.company_id.state_id">(<span t-field="o.partner_id.company_id.state_id.name"/>)</t>
|
|
|
|
- <t t-if="o.partner_id.company_id.phone">- <span t-field="o.partner_id.company_id.phone"/></t>
|
|
|
|
- <t t-if="o.partner_id.company_id.email">- <span t-field="o.partner_id.company_id.email"/></t>
|
|
|
|
- <t t-if="o.partner_id.company_id.website">- <span t-field="o.partner_id.company_id.website"/></t>
|
|
|
|
- </p>
|
|
|
|
|
|
+ <p class="text-center" style="margin-top: 10px; margin-bottom: 10px;"><span class="text-md"><span t-if="o.partner_id.company_id.name" t-field="o.partner_id.company_id.name"/></span></p>
|
|
|
|
+ <br/>
|
|
|
|
+ Teléfono: <span t-if="o.partner_id.company_id.phone" t-field="o.partner_id.company_id.phone"/>
|
|
|
|
+ <br/>
|
|
|
|
+ Direccion: <span t-if="o.partner_id.company_id.street" t-field="o.partner_id.company_id.street"/><t t-if="o.partner_id.company_id.city">, <span t-field="o.partner_id.company_id.city"/></t><t t-if="o.partner_id.company_id.country_id.name">, <span t-field="o.partner_id.company_id.country_id.name"/></t>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|