Quellcode durchsuchen

Agregar nuevo informe de comisión por pagos.

sebas vor 3 Jahren
Ursprung
Commit
1451bc982b

+ 2 - 2
static/src/js/reports/report_customer_payment.js

@@ -321,7 +321,7 @@ function report_customer_payment (reporting){
                             amount_in: accounting.formatMoney(total_price,'', CurrencyBase.decimal_places, CurrencyBase.thousands_separator, CurrencyBase.decimal_separator),
                             total_comision: accounting.formatMoney(tcomision,'', CurrencyBase.decimal_places, CurrencyBase.thousands_separator, CurrencyBase.decimal_separator),
                             date: item.date,
-                            // empl_name: item.employee_id[1],
+                            empl_name: item.employee_id[1],
                             employee_name: item.employee_id2[1],
                             journal_id: item.journal_id[0],
                             partner_id: item.partner_id[0],
@@ -405,7 +405,7 @@ function report_customer_payment (reporting){
                   product_name : {columnWidth: 20, halign:'left'},
                   amount_in : {columnWidth: 18, halign:'right'},
                   tcomision : {columnWidth: 18, halign:'right'},
-                  // empl_name: {columnWidth: 18, halign:'left'},
+                  empl_name: {columnWidth: 18, halign:'left'},
                   employee_name : {columnWidth: 18, halign:'left'},
                 };
                 /*

+ 3 - 3
static/src/reports/report_customer_payment.xml

@@ -91,7 +91,7 @@
                                     >Nº de Pago</th>
                               <th data-field="reference"
                                     data-align="left"
-                                    >Número Fact.</th>
+                                    >Nº Fact.</th>
                               <th data-field="partner"
                                     data-align="left"
                                     >Cliente</th>
@@ -109,9 +109,9 @@
                                     data-align="right"
                                     data-footer-formatter="totalUtilityFormatter"
                                     >Comisión</th>
-                                <!-- <th data-field="empl_name"
+                                <th data-field="empl_name"
                                     data-align="left"
-                                    >Cob. Orig.</th> -->
+                                    >Cob. Orig.</th>
                                 <th data-field="employee_name"
                                     data-align="left"
                                     >Cob. Real</th>