Overview
This guide walks you through the complete process of creating a room reservation in Apartado de Salas, from accessing the form to successfully submitting your request.Prerequisites
Before creating a reservation, ensure you have:- An active user account
- Valid login credentials
- Basic information about your event (name, date, time)
- Knowledge of which room and materials you need
All users must be authenticated to create reservations. The system enforces this via
Auth::requireLogin() in app/controllers/ReservationController.php:17.Step 1: Access the Reservation Form
The create form is loaded from
app/views/reservations/create.php and includes:
- Room selection dropdown
- Event information fields
- Dynamic time slot management
- Material selection checkboxes
Step 2: Select Your Room
The first step is choosing which room you want to reserve:Choose a Room
Select the room that best fits your event needs. Each room has different capacities and available materials.
Dynamic Material Loading
When you select a room, JavaScript triggers an API call:The materials are room-specific. Each room only shows materials that have been configured for it in the database.
Step 3: Enter Event Details
Provide information about your event:Required Fields
The name of your event. This will be visible to administrators when reviewing your request.Example: “Marketing Team Quarterly Meeting”, “Student Workshop”, “Board Presentation”
Optional Fields
Additional observations or special requirements. Use this to communicate:
- Special setup needs
- Expected number of attendees
- Technical requirements
- Contact information for event day
Step 4: Add Time Slots
Every reservation requires at least one time slot:Fill First Time Slot
The form includes one time slot by default. Fill in:
- Date: When you need the room
- Start Time: When your event begins
- End Time: When your event ends
Add More Slots (Optional)
If your event spans multiple days or has multiple sessions, click “Agregar otro horario” to add additional time slots.Each click adds a new set of date/time fields:
Time Slot Validation
When you submit, the system validates each time slot:Step 5: Select Materials
Choose the materials you need for your event:Review Available Materials
After selecting a room, checkboxes appear for all materials configured for that room.
Check Required Materials
Select only the materials you actually need. Common materials include:
- Projectors
- Microphones
- Whiteboards
- Audio equipment
- Video conferencing tools
If no materials are available for a room, you’ll see: “No hay materiales disponibles para esta sala.” You can still proceed with the reservation.
Step 6: Review and Submit
Before submitting, review all information:Double-Check Details
Verify:
- ✓ Correct room selected
- ✓ Event name is descriptive
- ✓ All time slots are accurate
- ✓ Start/end times are correct
- ✓ Appropriate materials selected
- ✓ Notes contain relevant information
Submission Process
Here’s what happens when you submit:1. Initial Validation
2. Database Transaction
Your reservation is created in a database transaction to ensure data integrity:The transaction ensures that if any step fails, all changes are rolled back. Your reservation is only created if all validations pass.
3. Success Response
On successful submission:- Flash message: “La reservación fue creada correctamente”
- Redirect to dashboard
- Reservation created with status
pendiente - Awaiting administrator review
Common Errors and Solutions
”Datos incompletos” (Incomplete Data)
Cause: Missing required fields Solution: Ensure you’ve filled in:- Room selection
- Event name
- At least one time slot with date, start time, and end time
”Debe agregar al menos un horario” (Must Add at Least One Time Slot)
Cause: No time slots provided Solution: Fill in at least one complete time slot before submitting.”Conflicto de horario” (Schedule Conflict)
Cause: Your requested time overlaps with an existing approved reservation Solution:- Try a different time slot
- Choose a different date
- Select a different room
- Contact an administrator to discuss options
”Bloque horario incompleto” (Incomplete Time Block)
Cause: One of your time slots is missing date, start time, or end time Solution: Complete all fields for every time slot you’ve added.”Seleccionaste materiales no válidos” (Invalid Materials Selected)
Cause: Selected materials don’t belong to the chosen room Solution: This usually indicates a technical issue. Try:- Refreshing the page
- Reselecting the room
- Only choosing materials that appear after room selection
After Submission
Once your reservation is successfully created:Best Practices
Plan Ahead
Plan Ahead
Submit requests at least 3-5 days before your event date to allow time for review and approval.
Be Specific
Be Specific
Use descriptive event names and detailed notes. “Team Meeting” is less helpful than “Q4 Sales Team Strategy Meeting”.
Check Availability First
Check Availability First
Consider checking with administrators or reviewing existing schedules before submitting to avoid conflicts.
Accurate Time Estimates
Accurate Time Estimates
Request realistic time blocks. Include setup and teardown time in your start and end times.
Only Request Needed Materials
Only Request Needed Materials
Don’t select materials “just in case”. Only request what you actually need to help administrators prepare efficiently.
Provide Contact Info
Provide Contact Info
Include contact information in your notes so administrators can reach you with questions.
Example Reservation Workflow
Here’s a complete example:Event Details
- Event Name: “Product Launch Planning”
- Notes: “Need U-shape seating for 20 people. John Smith (ext. 1234) will be onsite by 8:30am for setup.”
Next Steps
User Role Guide
Learn about all user capabilities
Managing Requests
How administrators review and process requests