Examples of verifBon()


Examples of com.netflox.form.Achat.verifBon()

    Achat achat = new Achat(user);
   
    //vérifier si le bon existe et qu'il est valide
    //S'il est valide on le donne en paramètre à achat.acheter
    String codeBon = request.getParameter("codeBon");
    Bon b = achat.verifBon(codeBon);
    if((b.getId() == 0) && (codeBon.length() > 0)){
      request.setAttribute("BonI", 1);
    }else{
      //choix entre acheter et louer
      if(request.getParameter("achat").equalsIgnoreCase("Acheter")){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.