case 4:
     if ($model->addReservation($_POST)) {
         echo 1;
     }
     break;
     // Update the status of the reservation, or cancel the reservation (which is a kind of status too)
 // Update the status of the reservation, or cancel the reservation (which is a kind of status too)
 case 5:
     if ($_POST['optRes'] != 5) {
         if ($model->uptadeSingleReservation($_POST)) {
             echo '1';
         } else {
             echo '0';
         }
     } else {
         if ($model->addCancelation($_POST)) {
             echo '1';
         } else {
             echo '0';
         }
     }
     break;
     // 	Add payment
 // 	Add payment
 case 6:
     if ($model->addPayment($_POST)) {
         echo '1';
     } else {
         echo '0';
     }
     break;