Browse Source

export commande moins de colonnes (special Maddie)

master
beta3:ct7 4 years ago
parent
commit
10f916f262
  1. 11
      src/controller/Distribution.hx

11
src/controller/Distribution.hx

@ -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;
}

Loading…
Cancel
Save