report_recibodecorart.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="informe_recibo_decorart"
  5. model="account.voucher"
  6. string="Recibo"
  7. report_type="qweb-pdf"
  8. name="recibo_decorart.recibo_decorart"
  9. file="recibo_decorart.recibo_decorart"
  10. />
  11. <template id="recibo_decorart">
  12. <t t-call="report.html_container">
  13. <div class="page">
  14. <style type="text/css">
  15. body{
  16. font-size: 5mm;
  17. font-family: Arial;
  18. }
  19. .pagina{
  20. width:19.3cm;
  21. }
  22. .descripcion{
  23. width: 11.2cm;
  24. font-size: 13px;
  25. padding-top: 0.5cm;
  26. float: left;
  27. min-height: 0cm;
  28. }
  29. .descripcion1{
  30. width: 11.2cm;
  31. font-size: 17px;
  32. padding-top: 0.2cm;
  33. float: left;
  34. min-height: 0cm;
  35. }
  36. .descripcion2{
  37. width: 13cm;
  38. font-size: 10px;
  39. float: left;
  40. min-height: 0cm;
  41. }
  42. .descripcion3{
  43. width: 15cm;
  44. font-size: 10px;
  45. float: left;
  46. min-height: 0cm;
  47. }
  48. .descripcion4{
  49. width: 15cm;
  50. font-size: 10px;
  51. float: left;
  52. min-height: 0cm;
  53. }
  54. .email{
  55. width: 13cm;
  56. font-size: 10px;
  57. float: left;
  58. min-height: 0cm;
  59. }
  60. .ciudad{
  61. width: 13cm;
  62. float: left;
  63. font-size: 10px;
  64. min-height: 0cm;
  65. }
  66. .tel{
  67. width: 13cm;
  68. float: left;
  69. font-size: 10px;
  70. min-height: 0cm;
  71. }
  72. .rucdata{
  73. width: 13cm;
  74. float: left;
  75. font-size: 10px;
  76. min-height: 0cm;
  77. }
  78. .divisoria{
  79. height: 0.5cm;
  80. clear: both;
  81. }
  82. diva {
  83. text-decoration-line: overline;
  84. }
  85. .titulo{
  86. width: 19.2cm;
  87. text-align: center;
  88. width: 100%;
  89. min-height: 0.9cm;
  90. }
  91. margen{
  92. margin-right: 20px;
  93. }
  94. div{
  95. padding: 0px;
  96. }
  97. </style>
  98. <t t-foreach="docs" t-as="o">
  99. <div class="pagina">
  100. <div class="row">
  101. <div class="col-xs-6">
  102. <center>
  103. <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: 80px;"/>
  104. </center>
  105. </div>
  106. <div class="col-xs-6">
  107. <tr>
  108. <div class="descripcion">
  109. </div>
  110. </tr>
  111. <tr>
  112. <div class="descripcion1"><b><i>M Y S DECORART</i></b></div>
  113. </tr>
  114. <tr>
  115. <div class="descripcion2"><b>TU ESPACIO A MEDIDA</b></div>
  116. </tr>
  117. <tr>
  118. <div class="descripcion3"><b>Km. 5 - Lado Acaray - Avda. Foz de Iguazú - Fracción San Pablo II</b></div>
  119. </tr>
  120. <tr>
  121. <div class="descripcion4"><b>A 700 mts de la Copetrol - M: 8 L: 9</b></div>
  122. </tr>
  123. <tr>
  124. <div class="email"><b>Bº María Auxiliadora - Ciudad del Este - Paraguay</b></div>
  125. </tr>
  126. <tr>
  127. <div class="ciudad"><b>Gestiones_empresariales@hotmail.com</b></div>
  128. </tr>
  129. <tr>
  130. <div class="tel"><b>(061) 572 311 - (0983) 532 946</b></div>
  131. </tr>
  132. <tr>
  133. <div class="rucdata"><b>R.U.C. N° 2.405.627- </b></div>
  134. </tr>
  135. </div>
  136. <div class="divisoria"> </div>
  137. <div class="diva"> </div>
  138. <div class="titulo" >
  139. <h3 class="text-center"><strong>RECIBO DE DINERO</strong></h3>
  140. <h4 class="text-center">M Y S Decorart</h4>
  141. </div>
  142. <div class="col-xs-12">
  143. <br>
  144. <tr>
  145. <div t-if="o.number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
  146. </tr>
  147. <tr>
  148. <div t-if="o.date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
  149. </tr>
  150. <tr>
  151. <div t-if="o.amount">
  152. <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
  153. </div>
  154. </tr>
  155. </br>
  156. </div>
  157. <br>
  158. </br>
  159. <div class="col-xs-12">
  160. <br>
  161. <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>
  162. <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>
  163. <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>
  164. <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>
  165. <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 ........................................................................................ de la Factura Nro <span t-field="o.reference"/></p>
  166. </br>
  167. </div>
  168. <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
  169. <br>
  170. </br>
  171. <br>
  172. </br>
  173. <br>
  174. <div class="col-xs-6">
  175. <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
  176. </div>
  177. </br>
  178. <br>
  179. </br>
  180. <br>
  181. </br>
  182. </div>
  183. </div>
  184. </t>
  185. </div>
  186. </t>
  187. </template>
  188. </data>
  189. </openerp>