Przeglądaj źródła

Retocar informe de DNA

root 3 lat temu
rodzic
commit
d12c3d2120

+ 1 - 1
static/src/js/reports/report_cuenta_resumen_dna.js

@@ -694,7 +694,7 @@ function report_cuenta_resumen_dna(reporting){
                         invoice_name : self.valorNull(item2.number),
                         supplier_invoice_number: self.valorNull(item2.supplier_invoice_number),
                         forma: forma,
-                        date_pay:  moment(item2.date_pay).format('DD/MM/YYYY'),
+                        date_pay:  self.valorNull(moment(item2.date_pay).format('DD/MM/YYYY')),
                         product_name: description_product,
                         amount_total: accounting.formatMoney(item2.amount_total_currency, '', CurrencyBase.decimal_places, CurrencyBase.thousands_separator, CurrencyBase.decimal_separator),
                         amount_pagado:accounting.formatMoney(item2.amount_total - item2.residual,'',CurrencyBase.decimal_places,CurrencyBase.thousands_separator,CurrencyBase.decimal_separator),