ROOMZ COMMUNICATION CENTRE - PHASE 1

1. Upload this folder as:
   /rooms/modules/communications/

2. Run migration.sql once in the RoomZ database.

3. In outlook_addin/manifest.xml replace YOUR-ROOMZ-DOMAIN with your HTTPS host name only.

4. Install outlook_addin/manifest.xml in Outlook as the custom add-in.

5. Add a booking-page button pointing to:
   /rooms/modules/communications/index.php?order_id=BOOKING_ID

IMPORTANT PDF AUTHENTICATION NOTE
The add-in document API calls proforma_invoice.php with an addin_token query parameter. Your existing proforma_invoice.php currently calls require_login(). To permit add-in PDF generation securely, add a small token-aware authentication bridge before require_login(), or create a dedicated server-side PDF service that accepts a validated communication_addin_sessions token. The provided package deliberately does not remove require_login() or expose PDFs publicly.

Recommended deployment path:
- First test booking lookup/token exchange.
- Then patch proforma_invoice.php with the token bridge supplied in TOKEN_BRIDGE.txt.
