fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [6846] bkbooking: update booking in frontend


From: Kjell Arne Espedal
Subject: [Fmsystem-commits] [6846] bkbooking: update booking in frontend
Date: Wed, 26 Jan 2011 09:04:25 +0000

Revision: 6846
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6846
Author:   kjell
Date:     2011-01-26 09:04:24 +0000 (Wed, 26 Jan 2011)
Log Message:
-----------
bkbooking: update booking in frontend

Modified Paths:
--------------
    trunk/bookingfrontend/inc/class.uibooking.inc.php

Modified: trunk/bookingfrontend/inc/class.uibooking.inc.php
===================================================================
--- trunk/bookingfrontend/inc/class.uibooking.inc.php   2011-01-26 08:25:55 UTC 
(rev 6845)
+++ trunk/bookingfrontend/inc/class.uibooking.inc.php   2011-01-26 09:04:24 UTC 
(rev 6846)
@@ -123,17 +123,17 @@
                                $errors = $this->bo->validate($booking);
 
 
-                               if (strtotime($_POST['from_']) < $today[0])
-                               {
-                                       if($_POST['recurring'] == 'on' || 
$_POST['outseason'] == 'on')
-                                       {                                       
-                                               $errors['booking'] = lang('Can 
not repeat from a date in the past');
-                                       }
-                                       else
-                                       {
-                                               $errors['booking'] = lang('Can 
not create a booking in the past');
-                                       }
-                               } 
+#                              if (strtotime($_POST['from_']) < $today[0])
+#                              {
+#                                      if($_POST['recurring'] == 'on' || 
$_POST['outseason'] == 'on')
+#                                      {                                       
+#                                              $errors['booking'] = lang('Can 
not repeat from a date in the past');
+#                                      }
+#                                      else
+#                                      {
+#                                              $errors['booking'] = lang('Can 
not create a booking in the past');
+#                                      }
+#                              } 
                                if (!$allocation_id &&  $_POST['outseason'] == 
'on')
                                {
                                        $errors['booking'] = lang('This booking 
is not connected to a season');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]