voucher_report_bioelectric.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_voucher_document_bioelectric">
  5. <t t-call="report.html_container">
  6. <div class="page">
  7. <t t-foreach="[1,2]" t-as="i">
  8. <style type="text/css">
  9. body{
  10. font-size: 3mm;
  11. font-family: Arial, Helvetica, sans-serif;
  12. }
  13. div{
  14. padding: 0px;
  15. }
  16. .pagina{
  17. width:19.3cm;
  18. }
  19. .descripcion1{
  20. width: 11.2cm;
  21. font-size: 13px;
  22. padding-top: 0.2cm;
  23. padding-left: 0.5cm;
  24. float: left;
  25. min-height: 0cm;
  26. }
  27. .descripcion2{
  28. width: 13cm;
  29. font-size: 10px;
  30. float: left;
  31. padding-left: 0.5cm;
  32. min-height: 0cm;
  33. }
  34. .descripcion3{
  35. width: 15cm;
  36. font-size: 10px;
  37. float: left;
  38. padding-left: 0.5cm;
  39. min-height: 0cm;
  40. }
  41. .descripcion4{
  42. width: 15cm;
  43. font-size: 10px;
  44. padding-left: 0.5cm;
  45. float: left;
  46. min-height: 0cm;
  47. }
  48. .email{
  49. width: 13cm;
  50. font-size: 10px;
  51. float: left;
  52. padding-left: 0.5cm;
  53. min-height: 0cm;
  54. }
  55. .ciudad{
  56. width: 13cm;
  57. float: left;
  58. font-size: 10px;
  59. padding-left: 0.5cm;
  60. min-height: 0cm;
  61. }
  62. .tel{
  63. width: 13cm;
  64. float: left;
  65. font-size: 10px;
  66. padding-left: 0.5cm;
  67. min-height: 0cm;
  68. }
  69. .divisoria{
  70. height: 0.5cm;
  71. clear: both;
  72. }
  73. .divisoria2{
  74. height: 2cm;
  75. clear: both;
  76. }
  77. .divisoria3{
  78. height: 1cm;
  79. clear: both;
  80. }
  81. .divisoria5{
  82. width: 23cm;
  83. float: left;
  84. font-size: 11px;
  85. padding-left: 0.5cm;
  86. min-height: 0cm;
  87. }
  88. </style>
  89. <div style="border:3px solid #ccc; border-radius:10px;">
  90. <div class="row">
  91. <div class="col-xs-4">
  92. <tr>
  93. <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div>
  94. </tr>
  95. <tr>
  96. <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div>
  97. </tr>
  98. <tr>
  99. <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES</b></div>
  100. </tr>
  101. <tr>
  102. <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div>
  103. </tr>
  104. <tr>
  105. <div class="email"><b>bioelectric.central@hotmail.com - R.U.C. N°: 5847352-1</b></div>
  106. </tr>
  107. <tr>
  108. <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
  109. </tr>
  110. <tr>
  111. <div class="tel"><b>(021) 951825 - (0981) 353235 - (0983) 541504</b></div>
  112. </tr>
  113. </div>
  114. <div class="col-xs-8">
  115. <center>
  116. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 140px;max-width: 30px;"/>
  117. </center>
  118. </div>
  119. </div>
  120. <h3 style="text-align:center;">
  121. <span t-if="o.type == 'receipt'"> Recibo de Cobro</span>
  122. <span t-if="o.type == 'payment'"> Recibo de Pago</span>
  123. <span t-if="o.number"> No. <span t-field="o.number"/></span>
  124. </h3>
  125. <div class="divisoria"></div>
  126. <div class="divisoria5">
  127. <div class="row">
  128. <div class="col-xs-9">
  129. <p><strong>
  130. <span t-if="o.type == 'receipt'"> Cobrado a:</span>
  131. <span t-if="o.type == 'payment'"> Pagado a:</span>
  132. </strong>
  133. <span t-field="o.partner_id"/> - Dirección:
  134. <span t-field="o.partner_id.contact_address"/></p>
  135. </div>
  136. <div class="col-xs-9">
  137. <p><strong>
  138. <span t-if="o.type == 'receipt'"> Cobrado por:</span>
  139. <span t-if="o.type == 'payment'"> Pagado por:</span>
  140. </strong>
  141. <span t-field="o.company_id"/> - Dirección:
  142. <span t-field="o.company_id.partner_id.contact_address"/></p>
  143. </div>
  144. <div class="col-xs-4">
  145. <p><strong> <span t-if="o.type == 'receipt'"> Fecha de Cobro:</span><span t-if="o.type == 'payment'"> Fecha de Pago:</span></strong> <span t-field="o.date"/></p>
  146. </div>
  147. <div class="col-xs-4">
  148. <p><strong> Referencia/Descripción:</strong><span t-field="o.reference"/></p>
  149. </div>
  150. </div>
  151. </div>
  152. <hr size="4" width="90%"></hr>
  153. <div class="divisoria5">
  154. <p>
  155. <span t-if="o.type == 'receipt'"> Recibi(mos) de</span>
  156. <span t-if="o.type == 'payment'"> Pagado a</span>
  157. <strong><span t-field="o.partner_id"/></strong> - R.U.C. N°:
  158. <span t-field="o.partner_id.ruc"/> Dirección:
  159. <span t-field="o.partner_id.contact_address"/></p>
  160. <p> Monto de
  161. <strong>
  162. <span t-field="o.currency_id.symbol"/>
  163. <t t-if="o.currency_id.id == 166">
  164. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  165. </t>
  166. <t t-if="o.currency_id.id != 166">
  167. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  168. </t>
  169. </strong>
  170. Método de <strong><span t-field="o.journal_id"/></strong>
  171. <span t-if="o.reference">
  172. con Referencia/s valor de <strong><span t-field="o.reference"/> / <span t-field="o.name"/>
  173. </strong></span>
  174. </p>
  175. </div>
  176. <div class="divisoria5">
  177. <p><strong> Notas:</strong> <span t-field="o.narration"/></p>
  178. </div>
  179. <hr size="4" width="90%"></hr>
  180. <div class="divisoria5">
  181. <table width="50%">
  182. <tr>
  183. <td width="10%"><strong> Cliente:</strong></td>
  184. <td width="20%">................................................</td>
  185. <td width="10%">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</td>
  186. <td width="10%"><strong> Cobrador:</strong></td>
  187. <td width="20%">.................................................</td>
  188. <td width="10%">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</td>
  189. <td width="10%"><strong>Sello</strong></td>
  190. </tr>
  191. <br>
  192. </br>
  193. </table>
  194. </div>
  195. <div class="divisoria3"></div>
  196. </div>
  197. <div class="divisoria2"></div>
  198. </t>
  199. </div>
  200. </t>
  201. </template>
  202. <template id="report_voucher_bioelectric">
  203. <t t-call="report.html_container">
  204. <t t-foreach="doc_ids" t-as="doc_id">
  205. <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'voucher_print_bioelectric.report_voucher_document_bioelectric')"/>
  206. </t>
  207. </t>
  208. </template>
  209. </data>
  210. </openerp>