|
@@ -288,6 +288,7 @@ function report_sales_invoice_analysis (reporting){
|
|
|
utility : accounting.formatNumber(((item.quantity * (item.price_unit / invoice.rate)) - (item.quantity * producto.standard_price)),2, ".", ","),
|
|
|
journal_id :(invoice.journal_id[0]),
|
|
|
journal_name :(invoice.journal_id[1]),
|
|
|
+ date_create :moment(invoice.date_invoice).format("DD/MM/YYYY"),
|
|
|
date_invoice : (invoice.date_invoice),
|
|
|
partner_id : invoice.partner_id[0],
|
|
|
partner_name : invoice.partner_id[1]
|
|
@@ -531,6 +532,7 @@ function report_sales_invoice_analysis (reporting){
|
|
|
});
|
|
|
rowsPdf.push({
|
|
|
number : "TOTAL "+company,
|
|
|
+ date_create : " ",
|
|
|
name : " ",
|
|
|
quantity: accounting.formatNumber(quantity,0, ".", ","),
|
|
|
price_unity : accounting.formatNumber(precio_unit,2, ".", ","),
|
|
@@ -542,6 +544,7 @@ function report_sales_invoice_analysis (reporting){
|
|
|
|
|
|
rowsPdf.unshift({
|
|
|
number : "TOTAL "+company,
|
|
|
+ date_create : " ",
|
|
|
name : " ",
|
|
|
quantity: accounting.formatNumber(quantity,0, ".", ","),
|
|
|
price_unity : accounting.formatNumber(precio_unit,2, ".", ","),
|
|
@@ -555,6 +558,7 @@ function report_sales_invoice_analysis (reporting){
|
|
|
styles: { overflow: 'linebreak', fontSize: 8, columnWidth: 'wrap'},
|
|
|
columnStyles: {
|
|
|
number: {fontStyle: 'bold'},
|
|
|
+ date_create :{columnWidth: '12px'},
|
|
|
name :{columnWidth: '10px'},
|
|
|
quantity :{halign:'right' },
|
|
|
price_unity : {halign:'right' },
|