Ejemplo n.º 1
0
 /**
  * Adds a done reserve to the list of the client.
  *
  * @param client id that we use to find the client.
  * @param r reserve that we will add
  * @param falta The reserve can have admonishes
  */
 public void addReserveToClient(String client, Reserve r, int falta) {
   for (Client c : lstClient) {
     if (c.compareById(client)) {
       c.addReserveDone(r);
       c.updateAdmonish(falta);
     }
   }
 }