#561 How to deal with multi-size rooms

open
nobody
None
1
2014-07-04
2014-07-02
Anonymous
No

Hello,

Not sure how to solve this one....

I have Room A which can be split into Room A1 and Room A2

If Room A is booked, then automatically Room A1 and Room A2 are booked.
If Room A1 is booked, then Room A2 is available and Room A is not available.
If Room A2 is booked, then Room A1 is available and Room A is not available.

Is this possible? Imagine this is a room with a divider in the middle.

Or imagine a room with 2 dividers in it to make 3 sub rooms...and so on...

Thanks,
Nick

Discussion

  • Campbell Morrison

    Just have two rooms, A1 and A2. If you want them both (ie Room A, but you don't define Room A in MRBS) then book them both.

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2014-07-03

    I will have to think about that solution for a while since the data I am dealing with is not "normalized" and defines fields as such:

    Leblanc #1
    Leblanc #1A
    Leblanc #1B

    And the data then the scheduled times for the import include records for the three fields above. For this to work in the way you described, I would need to somehow find all the fields defined as Leblanc #1 and create 2 entries out of it to make it into Leblanc #1A and Leblanc #1B, correct?

    Thanks,
    Nick

     
  • Campbell Morrison

    Yes, correct. I guess there are three possible places you could split #1 into #1A and #1B:

    (1) When the .ics file is produced in the first place
    (2) By writing some kind of script that processes the .ics file
    (3) By modifying import.php so that it does something special when the room is #1

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2014-07-04

    Thanks for the clarification and I will be doing it when the source file is built since I may have to split the file into smaller chunks anyways, or hack the import.php script (which I have already done somewhat) to import a file that I have already uploaded to the server to process in hopefully less than 45 seconds.

    Thanks,
    Nick

     


Anonymous

Cancel  Add attachments





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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks