Browse Source

impresion de pagare y nota de presupuesto crifin agregar monto cuota

Sebas 6 years ago
parent
commit
8c30435ff4
1 changed files with 10 additions and 2 deletions
  1. 10 2
      orden_de_pago.xml

+ 10 - 2
orden_de_pago.xml

@@ -12,7 +12,7 @@
 
     <template id="report_orden_de_pago_crifin">
         <t t-call="report.html_container">
-            <!-- <t t-foreach="[1,2,3]" t-as="i"> -->
+
                 <div class="page">
                     <style type="text/css">
                         body{
@@ -197,6 +197,14 @@
                                         <strong>Plazo de Pago:</strong>
                                         <p t-field="o.payment_term"/>
                                     </div>
+
+                                    <tr t-foreach="o.payment_term.line_ids" t-as="l">
+                                            <t t-if="l.days == 1">
+                                                <strong>Monto cuota:</strong>
+                                                <p t-esc="'{0:,.0f}'.format(l.value_amount)"/>
+                                            </t>
+                                    </tr>
+
                                 </div>
 
                                 <table class="table table-condensed">
@@ -386,7 +394,7 @@
                     </t>
 
                 </div>
-            <!-- </t> -->
+
         </t>
     </template>
 </data>