Browse Source

Agregar en caálogo de productos la imagen del logo

Sebas 6 years ago
parent
commit
f4f1bd29c6
1 changed files with 11 additions and 6 deletions
  1. 11 6
      catalogo_productos_bioelectric.xml

+ 11 - 6
catalogo_productos_bioelectric.xml

@@ -11,6 +11,7 @@
 	    />
     <template id="catalogo_productos_biolectric">
         <t t-call="report.html_container">
+            <t t-call="report.external_layout">
             <div class="page">
                 <style type="text/css">
                     body{
@@ -129,9 +130,8 @@
                    <div class="pagina">
                        <div class="logo"> </div>
                        <div style="padding-left:1.5cm;padding-right:0.5cm;">
-                        <table class="table table-condensed table-bordered">
-
-                           <thead>
+                        <div class="row">
+                            <div class="col-xs-4">
                                <tr>
                                    <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div>
                                </tr>
@@ -155,9 +155,13 @@
                                <tr>
                                    <div class="tel"><b>(021) 951827 - (0981) 939132 - (0984) 120678</b></div>
                                </tr>
-
-                           </thead>
-                       </table>
+                            </div>
+                            <div class="col-xs-8">
+                                <img class="img-responsive"
+                                    t-att-src="'data:image/png;base64,%s' % res_company.logo"
+                                    style="background-color: #fff;max-height: 120px;max-width: 90px;margin-bottom: 8px; margin-left: 4cm;"/>
+                            </div>
+                        </div>
                            <div class="divisoria"> </div>
                            <div class="titulo" >
                                <h3><strong>CATÁLOGO DE SERVICIOS Y PRODUCTOS</strong></h3>
@@ -204,6 +208,7 @@
                      </div>
                 </div>
            </div>
+            </t>
         </t>
    </template>
 </data>