voucher_report_profesional.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_voucher_document_profesional">
  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. .email{
  28. width: 13cm;
  29. font-size: 10px;
  30. float: left;
  31. padding-left: 0.5cm;
  32. min-height: 0cm;
  33. }
  34. .ciudad{
  35. width: 13cm;
  36. float: left;
  37. font-size: 10px;
  38. padding-left: 0.5cm;
  39. min-height: 0cm;
  40. }
  41. .tel{
  42. width: 13cm;
  43. float: left;
  44. font-size: 10px;
  45. padding-left: 0.5cm;
  46. min-height: 0cm;
  47. }
  48. .divisoria{
  49. height: 0.5cm;
  50. clear: both;
  51. }
  52. .divisoria2{
  53. height: 2cm;
  54. clear: both;
  55. }
  56. .divisoria3{
  57. height: 1cm;
  58. clear: both;
  59. }
  60. .divisoria5{
  61. width: 23cm;
  62. float: left;
  63. font-size: 11px;
  64. padding-left: 0.5cm;
  65. min-height: 0cm;
  66. }
  67. </style>
  68. <div style="border:3px solid #ccc; border-radius:10px;">
  69. <div class="row">
  70. <div class="col-xs-4">
  71. <tr>
  72. <div class="descripcion1"><b><i>FERREWORK</i></b></div>
  73. </tr>
  74. <tr>
  75. <div class="email"><b>ferrework@gmail.com - R.U.C. N°: 1292025-1</b></div>
  76. </tr>
  77. <tr>
  78. <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
  79. </tr>
  80. <tr>
  81. <div class="tel"><b>(0981) 939132 - (0985) 714455</b></div>
  82. </tr>
  83. </div>
  84. <div class="col-xs-8">
  85. <center>
  86. <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;"/>
  87. </center>
  88. </div>
  89. </div>
  90. <h3 style="text-align:center;">
  91. <span t-if="o.type == 'receipt'"> Recibo de Cobro</span>
  92. <span t-if="o.type == 'payment'"> Recibo de Pago</span>
  93. <span t-if="o.number"> No. <span t-field="o.number"/></span>
  94. </h3>
  95. <div class="divisoria"></div>
  96. <div class="divisoria5">
  97. <div class="row">
  98. <div class="col-xs-9">
  99. <p><strong>
  100. <span t-if="o.type == 'receipt'"> Cobrado a:</span>
  101. <span t-if="o.type == 'payment'"> Pagado a:</span>
  102. </strong>
  103. <span t-field="o.partner_id"/> - Dirección:
  104. <span t-field="o.partner_id.contact_address"/></p>
  105. </div>
  106. <div class="col-xs-9">
  107. <p><strong>
  108. <span t-if="o.type == 'receipt'"> Cobrado por:</span>
  109. <span t-if="o.type == 'payment'"> Pagado por:</span>
  110. </strong>
  111. <span t-field="o.company_id"/> - Dirección:
  112. <span t-field="o.company_id.partner_id.contact_address"/></p>
  113. </div>
  114. <div class="col-xs-4">
  115. <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>
  116. </div>
  117. <div class="col-xs-4">
  118. <p><strong> Referencia/Descripción:</strong><span t-field="o.reference"/></p>
  119. </div>
  120. </div>
  121. </div>
  122. <hr size="4" width="90%"></hr>
  123. <div class="divisoria5">
  124. <p>
  125. <span t-if="o.type == 'receipt'"> Recibi(mos) de</span>
  126. <span t-if="o.type == 'payment'"> Pagado a</span>
  127. <strong><span t-field="o.partner_id"/></strong> - R.U.C. N°:
  128. <span t-field="o.partner_id.ruc"/> Dirección:
  129. <span t-field="o.partner_id.contact_address"/></p>
  130. <p> Monto de
  131. <strong>
  132. <span t-field="o.currency_id.symbol"/>
  133. <t t-if="o.currency_id.id == 166">
  134. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  135. </t>
  136. <t t-if="o.currency_id.id != 166">
  137. <span t-esc="'{0:,.0f}'.format(o.amount)"/>
  138. </t>
  139. </strong>
  140. Método de <strong><span t-field="o.journal_id"/></strong>
  141. <span t-if="o.reference">
  142. con Referencia/s valor de <strong><span t-field="o.reference"/> / <span t-field="o.name"/>
  143. </strong></span>
  144. </p>
  145. </div>
  146. <div class="divisoria5">
  147. <p><strong> Notas:</strong> <span t-field="o.narration"/></p>
  148. </div>
  149. <hr size="4" width="90%"></hr>
  150. <div class="divisoria5">
  151. <table width="50%">
  152. <tr>
  153. <td width="10%"><strong> Cliente:</strong></td>
  154. <td width="20%">................................................</td>
  155. <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>
  156. <td width="10%"><strong> Cobrador:</strong></td>
  157. <td width="20%">.................................................</td>
  158. <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>
  159. <td width="10%"><strong>Sello</strong></td>
  160. </tr>
  161. <br>
  162. </br>
  163. </table>
  164. </div>
  165. <div class="divisoria3"></div>
  166. </div>
  167. <div class="divisoria2"></div>
  168. </t>
  169. </div>
  170. </t>
  171. </template>
  172. <template id="report_voucher_profesional">
  173. <t t-call="report.html_container">
  174. <t t-foreach="doc_ids" t-as="doc_id">
  175. <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'voucher_print_profesional.report_voucher_document_profesional')"/>
  176. </t>
  177. </t>
  178. </template>
  179. </data>
  180. </openerp>