|
|
@ -194,14 +194,15 @@ class Distribution extends Controller |
|
|
|
"ADHERENT":o.userName, |
|
|
|
"PRODUIT":o.productName, |
|
|
|
"QTÉ":o.quantity, |
|
|
|
"price":view.formatNum(o.productPrice), |
|
|
|
"fees":view.formatNum(o.fees), |
|
|
|
"total":view.formatNum(o.total), |
|
|
|
"paid":o.paid |
|
|
|
// "price":view.formatNum(o.productPrice), |
|
|
|
// "fees":view.formatNum(o.fees), |
|
|
|
// "total":view.formatNum(o.total), |
|
|
|
// "paid":o.paid |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
sugoi.tools.Csv.printCsvDataFromObjects(data, ["NUM","ADHERENT", "PRODUIT", "QTÉ","price","fees","total","paid"],"Export-commandes-"+date.toString().substr(0,10)+"-Cagette"); |
|
|
|
sugoi.tools.Csv.printCsvDataFromObjects(data, ["NUM","ADHERENT", "PRODUIT", "QTÉ"],"Export-commandes-"+date.toString().substr(0,10)+"-Cagette"); |
|
|
|
//sugoi.tools.Csv.printCsvDataFromObjects(data, ["NUM","ADHERENT", "PRODUIT", "QTÉ","price","fees","total","paid"],"Export-commandes-"+date.toString().substr(0,10)+"-Cagette"); |
|
|
|
//sugoi.tools.Csv.printCsvDataFromObjects(data, ["NUM","ADHERENT", "PRODUIT", "price", "quantity","fees","total", "paid"],"Export-commandes-"+date.toString().substr(0,10)+"-Cagette"); |
|
|
|
return; |
|
|
|
} |
|
|
|