public NouvelleCommandeClientProVM() { commandePayeeEnDiffere = false; lArticles = new List <Article>(); defileDepartementPrecedente(); //deselectButtons(); prixTotal = 0; if (ContentDetailCommande != null) { for (int i = 0; i < ContentDetailCommande.Count; i++) { Label_NouvelleCommande_prixTotal += (ContentDetailCommande[i].typeArticle.TTC); } } ClasseGlobale.PlacesLibres.setList(PlaceConvoyeurDAO.selectConvoyeursEmpty()); }
public NouvelleCommandeVM() { lArticles = new List <Article>(); defileDepartementPrecedente(); prixTotal = 0; if (ContentDetailCommande != null) { for (int i = 0; i < ContentDetailCommande.Count; i++) { Label_NouvelleCommande_prixTotal += (ContentDetailCommande[i].typeArticle.TTC); } } //Initialisation de la liste d'emplacements vides ClasseGlobale.PlacesLibres.setList(PlaceConvoyeurDAO.selectConvoyeursEmpty()); commandePayeeEnDiffere = false; ClasseGlobale._contentDetailCommande = null; }