//Type : 1 pour limite , 2 pour atp
        public void passerOrdreAchatById(int idClient, string codeValeur, string valeur, int type, int qte, decimal prix = 0)
        {
            OrdreAchat o = new OrdreAchat();
            Client     c = domain.getClient(idClient);

            o.type     = type;
            o.qte      = qte;
            o.prix     = prix;
            o.code_val = codeValeur;
            o.client   = c;
            o.valeur   = valeur;

            domain.saveOrdreAchat(o);
        }