Menu

#1074 Problems with the max and min settings of creating and deleting new booking.

None
open
nobody
None
1
2016-10-29
2016-10-19
Anonymous
No

I'm using this code to change the setting to force a minimum and/or maximum advance booking time on ordinary users but dont change anything and continue the default setting.

$min_create_ahead_enabled = TRUE;    
$max_create_ahead_enabled = TRUE;    

$min_delete_ahead_enabled = TRUE;    
$max_delete_ahead_enabled = FALSE; 

// Creating new bookings
$min_create_ahead_secs = 60*60*12;  // (seconds) 
$max_create_ahead_secs = 60*60*24*30;  // (seconds) 

// Deleting existing bookings
$min_delete_ahead_secs = 60*60*2;        // (seconds) 
$max_delete_ahead_secs = 0;  // (seconds) 

Discussion

  • Campbell Morrison

    The settings in the config file only define the default settings for new areas. For existing areas you need to login to MRBS as an admin, go to the Rooms page, select the area you want to edit and click the Edit button.

     
  • Campbell Morrison

    Login to MRBS as an admin, go to the Rooms page, select the area in question and then click the Edit icon. Set min_create_ahead to 12 hours and Save.

     
MongoDB Logo MongoDB