* @return
*/
public ModelAndView addService(HttpServletRequest req, HttpServletResponse resp){
int id = Integer.parseInt(req.getParameter("id"));
ConfirmedBooking confirmedBooking = bookingManager.getConfirmedBooking(id);
try{
double cost_double = Double.parseDouble(req.getParameter("cost"));
BigDecimal cost = BigDecimal.valueOf(cost_double);
String description = req.getParameter("description");
Service service = new Service();
service.setCost(cost);
service.setDescription(description);
service.setDateadded(CalendarUtils.GetToday());
confirmedBooking.addServices(service);
bookingManager.updateConfirmedBookingWithTodaysDateIfNecessary(confirmedBooking);
bookingManager.add(confirmedBooking);
}
catch (Exception e){