report_recibodecorart.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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: 6mm;
  17. font-family: Arial;
  18. }
  19. div{
  20. padding: 0px;
  21. }
  22. .pagina{
  23. width:19.3cm;
  24. }
  25. .descripcion{
  26. width: 11.2cm;
  27. font-size: 13px;
  28. padding-top: 0.5cm;
  29. float: left;
  30. min-height: 0cm;
  31. }
  32. .descripcion1{
  33. width: 11.2cm;
  34. font-size: 17px;
  35. padding-top: 0.2cm;
  36. float: left;
  37. min-height: 0cm;
  38. }
  39. .descripcion2{
  40. width: 13cm;
  41. font-size: 10px;
  42. float: left;
  43. min-height: 0cm;
  44. }
  45. .descripcion3{
  46. width: 15cm;
  47. font-size: 10px;
  48. float: left;
  49. min-height: 0cm;
  50. }
  51. .descripcion4{
  52. width: 15cm;
  53. font-size: 10px;
  54. float: left;
  55. min-height: 0cm;
  56. }
  57. .email{
  58. width: 13cm;
  59. font-size: 10px;
  60. float: left;
  61. min-height: 0cm;
  62. }
  63. .ciudad{
  64. width: 13cm;
  65. float: left;
  66. font-size: 10px;
  67. min-height: 0cm;
  68. }
  69. .tel{
  70. width: 13cm;
  71. float: left;
  72. font-size: 10px;
  73. min-height: 0cm;
  74. }
  75. .rucdata{
  76. width: 13cm;
  77. float: left;
  78. font-size: 10px;
  79. min-height: 0cm;
  80. }
  81. .divisoria{
  82. height: 0.5cm;
  83. clear: both;
  84. }
  85. diva {
  86. text-decoration-line: overline;
  87. }
  88. .titulo{
  89. width: 19.2cm;
  90. text-align: center;
  91. width: 100%;
  92. min-height: 0.9cm;
  93. }
  94. .number{
  95. width: 13cm;
  96. float: left;
  97. margin-left: 1cm;
  98. font-size: 15px;
  99. min-height: 0cm;
  100. }
  101. .date{
  102. width: 13cm;
  103. float: left;
  104. margin-left: 1cm;
  105. font-size: 15px;
  106. min-height: 0cm;
  107. }
  108. .amount{
  109. width: 13cm;
  110. float: left;
  111. margin-left: 1cm;
  112. font-size: 15px;
  113. min-height: 0cm;
  114. }
  115. .currency{
  116. width: 19cm;
  117. float: left;
  118. margin-left: 1cm;
  119. font-size: 15px;
  120. min-height: 0cm;
  121. }
  122. .firma{
  123. width: 19cm;
  124. float: left;
  125. margin-left: 1cm;
  126. font-size: 15px;
  127. min-height: 0cm;
  128. }
  129. margen{
  130. margin-right: 20px;
  131. }
  132. div{
  133. padding: 0px;
  134. }
  135. </style>
  136. <t t-foreach="docs" t-as="o">
  137. <div class="pagina">
  138. <div class="row">
  139. <div class="col-xs-6">
  140. <center>
  141. <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;"/>
  142. </center>
  143. </div>
  144. <div class="col-xs-6">
  145. <tr>
  146. <div class="descripcion">
  147. </div>
  148. </tr>
  149. <tr>
  150. <div class="descripcion1"><b><i>M Y S DECORART</i></b></div>
  151. </tr>
  152. <tr>
  153. <div class="descripcion2"><b>TU ESPACIO A MEDIDA</b></div>
  154. </tr>
  155. <tr>
  156. <div class="descripcion3"><b></b></div>
  157. </tr>
  158. <tr>
  159. <div class="descripcion4"><b>Km. 5 - Avda. Foz de Iguazú - Bº María Auxiliadora</b></div>
  160. </tr>
  161. <tr>
  162. <div class="email"><b>Ciudad del Este - Paraguay</b></div>
  163. </tr>
  164. <tr>
  165. <div class="ciudad"><b>Gestiones_empresariales@hotmail.com</b></div>
  166. </tr>
  167. <tr>
  168. <div class="tel"><b>(061) 572 311 - (0983) 532 946</b></div>
  169. </tr>
  170. <tr>
  171. <div class="rucdata"><b>R.U.C. N° 2.405.627-8 </b></div>
  172. </tr>
  173. </div>
  174. <hr width="100%" style="border: 2px dashed #C0C0C0" color="#FFFFFF" size="6"></hr>
  175. <div class="divisoria"> </div>
  176. <div class="titulo" >
  177. <h3 class="text-center"><strong>RECIBO DE DINERO</strong></h3>
  178. <h4 class="text-center">M Y S Decorart</h4>
  179. </div>
  180. <div class="col-xs-12">
  181. <br>
  182. <tr>
  183. <div class="number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
  184. </tr>
  185. <tr>
  186. <div class="date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
  187. </tr>
  188. <tr>
  189. <div class="amount">
  190. <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
  191. </div>
  192. </tr>
  193. </br>
  194. </div>
  195. <br>
  196. </br>
  197. <div class="col-xs-12">
  198. <br>
  199. <div class="currency">
  200. <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>
  201. <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>
  202. <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>
  203. <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>
  204. <tr>
  205. <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>
  206. </tr>
  207. <tr>
  208. <p t-if="o.currency_id.id==166">...............................................................................................................................................................</p>
  209. </tr>
  210. <tr>
  211. <p t-if="o.currency_id.id==166">de la Factura Nro <span t-field="o.reference"/></p>
  212. </tr>
  213. </div>
  214. </br>
  215. </div>
  216. <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
  217. <div class="divisoria"> </div>
  218. <br>
  219. <div class="col-xs-6">
  220. <div class="firma">
  221. <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
  222. </div>
  223. </div>
  224. </br>
  225. <br>
  226. </br>
  227. <br>
  228. </br>
  229. </div>
  230. </div>
  231. </t>
  232. </div>
  233. </t>
  234. </template>
  235. </data>
  236. </openerp>