report_reciboanillos.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="informe_recibo_anillos"
  5. model="account.voucher"
  6. string="Recibo"
  7. report_type="qweb-pdf"
  8. name="recibo_anillos.recibo_anillos"
  9. file="recibo_anillos.recibo_anillos"
  10. />
  11. <template id="recibo_anillos">
  12. <t t-call="report.html_container">
  13. <div class="page">
  14. <style type="text/css">
  15. body{
  16. font-size: 6mm;
  17. font-family: Arial;
  18. }
  19. div{
  20. padding: 0px;
  21. }
  22. .pagina{
  23. width:19.3cm;
  24. padding-left: 1.5cm;
  25. padding-right: 1.5cm;
  26. }
  27. .logo{
  28. height: 0.25cm;
  29. width: 100%;
  30. top: 0px;
  31. }
  32. .descripcion{
  33. width: 11.2cm;
  34. font-size: 13px;
  35. padding-top: 0.5cm;
  36. float: left;
  37. min-height: 0cm;
  38. }
  39. .descripcion1{
  40. width: 11.2cm;
  41. font-size: 17px;
  42. padding-top: 0.2cm;
  43. float: left;
  44. min-height: 0cm;
  45. }
  46. .descripcion2{
  47. width: 13cm;
  48. font-size: 10px;
  49. float: left;
  50. min-height: 0cm;
  51. }
  52. .descripcion3{
  53. width: 15cm;
  54. font-size: 10px;
  55. float: left;
  56. min-height: 0cm;
  57. }
  58. .descripcion4{
  59. width: 15cm;
  60. font-size: 10px;
  61. float: left;
  62. min-height: 0cm;
  63. }
  64. .email{
  65. width: 13cm;
  66. font-size: 10px;
  67. float: left;
  68. min-height: 0cm;
  69. }
  70. .ciudad{
  71. width: 13cm;
  72. float: left;
  73. font-size: 10px;
  74. min-height: 0cm;
  75. }
  76. .tel{
  77. width: 13cm;
  78. float: left;
  79. font-size: 10px;
  80. min-height: 0cm;
  81. }
  82. .rucdata{
  83. width: 13cm;
  84. float: left;
  85. font-size: 10px;
  86. min-height: 0cm;
  87. }
  88. .divisoria{
  89. height: 0.5cm;
  90. clear: both;
  91. }
  92. diva {
  93. text-decoration-line: overline;
  94. }
  95. .titulo{
  96. width: 19.2cm;
  97. text-align: center;
  98. margin-left: 0.8cm;
  99. width: 100%;
  100. min-height: 0.9cm;
  101. }
  102. .number{
  103. width: 13cm;
  104. float: left;
  105. margin-left: 1cm;
  106. font-size: 15px;
  107. min-height: 0cm;
  108. }
  109. .date{
  110. width: 13cm;
  111. float: left;
  112. margin-left: 1cm;
  113. font-size: 15px;
  114. min-height: 0cm;
  115. }
  116. .amount{
  117. width: 13cm;
  118. float: left;
  119. margin-left: 1cm;
  120. font-size: 15px;
  121. min-height: 0cm;
  122. }
  123. .currency{
  124. width: 19cm;
  125. float: left;
  126. margin-left: 1cm;
  127. font-size: 15px;
  128. min-height: 0cm;
  129. }
  130. .firma{
  131. width: 19cm;
  132. float: left;
  133. margin-left: 1cm;
  134. font-size: 15px;
  135. min-height: 0cm;
  136. }
  137. margen{
  138. margin-right: 20px;
  139. }
  140. div{
  141. padding: 0px;
  142. }
  143. </style>
  144. <t t-foreach="docs" t-as="o">
  145. <div class="pagina">
  146. <div class="row">
  147. <div class="col-xs-6">
  148. <left>
  149. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 250px;max-width: 50px;"/>
  150. </left>
  151. <tr>
  152. <div class="descripcion3"><b>Km4. Supercarretera camino a Hernandarias</b></div>
  153. </tr>
  154. <tr>
  155. <div class="email"><b>Ciudad del Este - Paraguay</b></div>
  156. </tr>
  157. <tr>
  158. <div class="tel"><b></b></div>
  159. </tr>
  160. <tr>
  161. <div class="rucdata"><b>R.U.C. N° 1.139.280</b></div>
  162. </tr>
  163. </div>
  164. <div class="divisoria"> </div>
  165. <hr width="125%" style="border: 2px dashed #C0C0C0" color="#FFFFFF" size="6"></hr>
  166. <t t-foreach="[1]" t-as="i">
  167. <div class="divisoria"> </div>
  168. <div class="titulo" >
  169. <h3 class="text-center"><strong>RECIBO DE DINERO</strong></h3>
  170. <h4 class="text-center"></h4>
  171. </div>
  172. <div class="col-xs-12">
  173. <br>
  174. <tr>
  175. <div class="number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
  176. </tr>
  177. <tr>
  178. <div class="date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
  179. </tr>
  180. <tr>
  181. <div class="amount">
  182. <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
  183. </div>
  184. </tr>
  185. </br>
  186. </div>
  187. <br>
  188. </br>
  189. <div class="col-xs-12">
  190. <br>
  191. <div class="currency">
  192. <p t-if="o.currency_id.id==3">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Dolares en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  193. <p t-if="o.currency_id.id==20">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Pesos Argentinos en concepto de pago por ........................................................................................ de la Factura Nro <span t-field="o.reference"/></p>
  194. <p t-if="o.currency_id.id==7">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Reales en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  195. <p t-if="o.currency_id.id==1">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Euros en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
  196. <tr>
  197. <p t-if="o.currency_id.id==166">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Guaranies en concepto de pago por </p>
  198. </tr>
  199. <tr>
  200. <p t-if="o.currency_id.id==166">...........................................................................................................................................................................</p>
  201. </tr>
  202. <tr>
  203. <p t-if="o.currency_id.id==166">de la Factura Nro <span t-field="o.reference"/></p>
  204. </tr>
  205. </div>
  206. </br>
  207. </div>
  208. <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
  209. <div class="divisoria"> </div>
  210. <br>
  211. <div class="col-xs-6">
  212. <div class="firma">
  213. <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
  214. </div>
  215. </div>
  216. </br>
  217. <br>
  218. </br>
  219. <br>
  220. </br>
  221. </t> <!-- -->
  222. </div>
  223. </div>
  224. </t>
  225. </div>
  226. </t>
  227. </template>
  228. </data>
  229. </openerp>