#359 Can you set an end data so users cannot book rooms after that date?

open
nobody
None
1
2013-06-19
2013-06-18
Anonymous
No

Hi,

Is it possible to set and end date of 1st October 2014, for example, in MRBS so that our users cannot book any rooms after that date?

Many thanks,

John

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-06-18

    Sorry, typo in the subject line, 'date' not 'data'. Thanks, John

     
    Last edit: Anonymous 2013-11-21
  • Campbell Morrison

    Yes, there are config variables to do this. See the extract below from systemdefaults.inc.php.

    Campbell

    ~~~~~~
    // Set the latest date for which you can make a booking. This can be useful if you
    // want to set an absolute date, eg the end of term, beyond which bookings cannot be made.
    // If you want to set a relative date, eg no more than a week away, then this can be done
    // using the area settings. Note that it is possible to have both a relative and absolute
    // date, eg "no more than a week away and in any casae not past the end of term".
    // Note that bookings are allowed on the $max_booking_date, but not after it.
    $max_booking_date_enabled = FALSE;
    $max_booking_date = "2012-07-23"; // Must be a string in the format "yyyy-mm-dd"
    ~~~~~

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks