|
@@ -474,7 +474,6 @@ function report_sale(reporting){
|
|
|
|
|
|
BuildTable: function(){
|
|
BuildTable: function(){
|
|
var self = this;
|
|
var self = this;
|
|
- console.log(self);
|
|
|
|
var data = [];
|
|
var data = [];
|
|
var residual = 0;
|
|
var residual = 0;
|
|
var CurrencyBase = self.ResCompany[0].currency_id;
|
|
var CurrencyBase = self.ResCompany[0].currency_id;
|
|
@@ -555,7 +554,6 @@ function report_sale(reporting){
|
|
*/
|
|
*/
|
|
date_no_format: moment(item.date).format('YYYY-MM-DD'),
|
|
date_no_format: moment(item.date).format('YYYY-MM-DD'),
|
|
residual_no_format:residual,
|
|
residual_no_format:residual,
|
|
- discount_amount_no_format:item.discount_rate,
|
|
|
|
untaxed_no_format:item.amount - item.amount_tax,
|
|
untaxed_no_format:item.amount - item.amount_tax,
|
|
tax_no_format:item.amount_tax,
|
|
tax_no_format:item.amount_tax,
|
|
total_no_format:item.amount,
|
|
total_no_format:item.amount,
|