# CLOUDYTE HMS PRO – ADVANCED F&B, RESTAURANT POS, KITCHEN DISPLAY SYSTEM (KDS) & REMOTE MANAGEMENT ENHANCEMENT

## 1. Project Background

I am developing **Cloudyte HMS Pro**, a professional Hotel Management System using:

- Backend: PHP
- Database: MySQL
- Current hosting: Shared hosting / cPanel
- Deployment approach: One hotel at a time
- Target customers: Professional hotels, including large hotels with restaurants, bars, lounges, room service and multiple outlets.

Our hotel-management benchmark is **Oracle OPERA standards**.

I have reviewed SambaPOS (https://sambapos.com/) and want to use its restaurant-management concepts as inspiration for improving the Food & Beverage (F&B) department of Cloudyte HMS Pro.

Important: Cloudyte HMS Pro must remain an integrated Hotel Management System, not just a restaurant POS.

Use SambaPOS as a reference for specialist restaurant operations, Oracle OPERA as the hotel-management benchmark, and Cloudyte's existing architecture as the foundation.

Do not copy SambaPOS proprietary source code, branding, assets or exact interface design. Build original Cloudyte functionality.

## 2. Main Objective

Inspect my existing Cloudyte HMS Pro codebase and implement an advanced, integrated F&B management system with:

1. Restaurant POS.
2. Bar POS.
3. Room Service POS.
4. Kitchen Display System (KDS).
5. Table and floor management.
6. Menu and modifier management.
7. Recipe and ingredient costing.
8. F&B inventory integration.
9. Takeaway and delivery management.
10. Banquet and event F&B management.
11. Multiple outlet management.
12. Remote F&B monitoring dashboard.
13. Management reports and analytics.
14. Integration with hotel rooms, guest folios, cashiering and accounting.

## 3. Restaurant and Bar POS

Build a professional POS interface suitable for hotel restaurants, bars, lounges and other F&B outlets.

### Order management

- Create new orders.
- Select restaurant outlet.
- Select table or service type.
- Assign waiter/server.
- Add menu items.
- Add item quantities.
- Add modifiers and special instructions.
- Apply approved discounts.
- Transfer orders between tables.
- Merge tables where permitted.
- Split bills.
- Split payments.
- Hold and resume orders.
- Reprint authorized receipts.
- Cancel items through an approval-controlled process.
- Track order history.
- Track the user who created, modified or cancelled each order.

### Service types

Support:

- Dine-in.
- Takeaway.
- Delivery.
- Room service.
- Poolside service.
- Bar service.
- Banquet/event service.

### Payment methods

Support configurable payment methods:

- Cash.
- POS/card.
- Bank transfer.
- Approved digital payments.
- Room charge/post to guest folio.
- Split payment.

Room charges must be linked to a valid guest reservation or in-house guest account. Apply the hotel's authorization and credit-limit rules.

### Table management

Create a visual restaurant floor plan.

Include:

- Tables and table numbers.
- Table capacity.
- Available.
- Occupied.
- Reserved.
- Waiting for order.
- Order in progress.
- Bill requested.
- Payment pending.
- Cleaning required.

Allow authorized users to transfer and combine tables.

Keep a complete table and order history.

## 4. Kitchen Display System (KDS)

Develop a dedicated Kitchen Display System inspired by SambaPOS KDS.

The KDS should receive orders from restaurant, bar, room service and other configured outlets.

### Kitchen order workflow

Use the following statuses:

1. New.
2. Accepted.
3. Preparing.
4. Ready.
5. Collected.
6. Served.
7. Cancelled.

Each status change must record the user and timestamp.

### Kitchen stations

Support multiple kitchen stations, such as:

- Main Kitchen.
- Grill.
- Cold Kitchen.
- Pastry.
- Bakery.
- Bar.
- Room Service Kitchen.

Menu items should automatically route to the appropriate station.

For example, a food order may go to Main Kitchen while drinks go to Bar.

### KDS screen features

- Display order number.
- Display table number or delivery/room number.
- Display ordered items.
- Display quantities.
- Display modifiers.
- Display special instructions.
- Show order creation time.
- Show preparation duration.
- Highlight delayed orders.
- Allow kitchen staff to accept orders.
- Allow kitchen staff to mark orders as preparing.
- Allow kitchen staff to mark orders as ready.
- Notify waiters when orders are ready.
- Allow authorized supervisors to manage exceptions.

### KDS performance reports

Track:

- Average preparation time.
- Orders completed.
- Delayed orders.
- Cancelled orders.
- Kitchen station performance.
- Peak service periods.
- Order preparation trends.

Do not allow kitchen staff to alter prices, payments or financial transactions.

## 5. Menu, Modifiers and Recipe Management

Create a central menu management module.

### Menu management

- Categories.
- Menu items.
- Item descriptions.
- Images.
- Selling prices.
- Tax configuration.
- Service charges.
- Availability.
- Outlet-specific menus.
- Scheduled menu availability.
- Happy-hour pricing, where configured.
- Item activation/deactivation.

### Modifiers

Support:

- Size selection.
- Extra ingredients.
- Side dishes.
- Cooking preferences.
- Drink options.
- Add-ons.
- Special instructions.

Allow modifier pricing and availability to be configured.

### Recipe management

Each menu item should optionally have a recipe containing:

- Ingredients.
- Ingredient quantities.
- Units of measurement.
- Standard portion size.
- Ingredient cost.
- Expected yield.
- Selling price.
- Gross profit.
- Food cost percentage.

When a sale is completed, deduct the appropriate ingredient quantities from the correct inventory location according to the configured posting rules.

Support recipe revisions and preserve historical costing records.

## 6. Inventory Integration

Integrate the F&B system with the existing hotel inventory and stores modules.

Include:

- Ingredient stock.
- Beverage stock.
- Bar inventory.
- Kitchen inventory.
- Stock transfers.
- Stock requisitions.
- Goods received.
- Purchase orders.
- Supplier records.
- Stock counts.
- Wastage.
- Spoilage.
- Breakages.
- Stock adjustments.
- Minimum stock alerts.
- Expiry tracking.
- Stock valuation.
- Outlet-level stock reports.

Every stock movement must have a transaction reference and audit trail.

Prevent unauthorized stock adjustments.

Support configurable stock deduction rules so that stock is not deducted twice when an order is modified, cancelled or refunded.

## 7. Takeaway and Delivery Management

Provide a dedicated takeaway and delivery workflow.

Include:

- Customer details.
- Customer phone number.
- Delivery address.
- Order number.
- Ordered items.
- Payment status.
- Delivery charge.
- Assigned delivery staff.
- Order preparation status.
- Dispatch status.
- Delivery completion.
- Customer order history.

Support order tracking and delivery performance reports.

## 8. Room Service Integration

Connect restaurant and room service operations to the hotel's Front Office and guest folio system.

Features:

- Select occupied room.
- Verify guest and reservation.
- Create room service order.
- Assign order to room service.
- Send food orders to the kitchen.
- Track preparation and delivery.
- Post authorized charges to the guest folio.
- Display room service charges on the guest account.
- Support payment at checkout where hotel policy allows.

Do not permit posting to checked-out, invalid or unauthorized guest accounts.

## 9. Banquet and Events F&B

Integrate F&B with the hotel's events and banquet management.

Include:

- Event booking.
- Function room.
- Event date and time.
- Expected attendance.
- Menu selection.
- Food packages.
- Beverage packages.
- Per-person pricing.
- Special dietary requirements.
- Kitchen preparation schedule.
- Event consumption.
- Event billing.
- Actual versus expected cost.
- Event profitability.

Support banquet orders separately from ordinary restaurant orders while maintaining integrated inventory and accounting records.

## 10. Multiple Outlet Management

Support multiple F&B outlets within one hotel.

Examples:

- Main Restaurant.
- Rooftop Restaurant.
- Pool Bar.
- Lounge.
- Coffee Shop.
- Room Service.
- Banquet Department.

Each outlet should have configurable:

- Menu.
- Prices.
- Tables.
- Employees.
- Kitchen routing.
- Inventory location.
- Cashier/register.
- Reports.
- Operating hours.

The F&B Manager should have consolidated reporting across all outlets.

## 11. Remote F&B Manager Dashboard

Create a responsive management dashboard inspired by the remote monitoring concepts of SambaPOS Metrik.

The dashboard should work on desktop, tablet and mobile browsers.

The owner, General Manager and F&B Manager should be able to monitor authorized information remotely.

### Dashboard information

Display:

- Today's F&B sales.
- Restaurant sales.
- Bar sales.
- Room service sales.
- Banquet sales.
- Sales by outlet.
- Number of orders.
- Average order value.
- Top-selling products.
- Low-performing products.
- Best-performing outlet.
- Payment breakdown.
- Discounts.
- Voids and cancellations.
- Refunds.
- Cashier collections.
- Outstanding room charges.
- Inventory alerts.
- Food cost percentage.
- Estimated gross profit.
- Kitchen preparation performance.

### Remote management controls

Authorized managers should be able to:

- View outlet performance.
- View transaction details.
- Review exceptions.
- Review stock alerts.
- Approve permitted requests.
- Review staff performance.
- View daily, weekly and monthly reports.

Use role-based access. Remote users should not automatically receive permission to edit financial records or make payments.

## 12. Reports and Analytics

Build comprehensive reports.

### Sales reports

- Daily F&B sales.
- Sales by outlet.
- Sales by category.
- Sales by menu item.
- Sales by waiter.
- Sales by cashier.
- Sales by payment method.
- Sales by service type.
- Hourly sales.
- Discount report.
- Cancellation report.
- Refund report.

### Inventory reports

- Current stock.
- Stock movement.
- Stock valuation.
- Stock variance.
- Wastage.
- Spoilage.
- Breakage.
- Ingredient consumption.
- Reorder requirements.

### Profitability reports

- Recipe costing.
- Food cost percentage.
- Beverage cost percentage.
- Gross profit by menu item.
- Gross profit by outlet.
- Actual versus expected consumption.

### Kitchen reports

- Preparation time.
- Delayed orders.
- Orders by station.
- Kitchen productivity.
- Order completion rates.

Reports should support date ranges, outlet filters and export to PDF or Excel where the existing application supports it.

## 13. Hotel Accounting and Cashiering Integration

This is extremely important.

F&B transactions must integrate properly with the existing hotel cashiering and accounting architecture.

Follow professional hotel financial control practices.

Requirements:

- Every completed sale must have a unique transaction reference.
- Payments must reconcile with POS orders.
- Room charges must post to the correct guest folio.
- Cashier shifts must reconcile.
- Discounts must follow permission limits.
- Voids and cancellations must be recorded.
- Refunds must require appropriate authorization.
- Stock consumption must be linked to sales and inventory records.
- Financial transactions must not be silently deleted.
- Corrections must use controlled reversal or adjustment procedures.
- Every important action must have an audit trail.

Do not allow F&B POS users to bypass the hotel's cashiering, accounting or Night Audit controls.

The Night Auditor should be able to review F&B revenue, outstanding orders, room charges, payment reconciliation and exceptions during the daily closing process.

## 14. User Roles and Permissions

Implement role-based access control.

Suggested roles:

**F&B Manager**
- Manage outlets.
- Manage menus within authorized limits.
- View all F&B reports.
- Review staff performance.
- Approve authorized operational requests.

**Restaurant Supervisor**
- Supervise restaurant operations.
- Manage table assignments.
- Monitor orders.
- Handle authorized service exceptions.

**Waiter/Server**
- Create orders.
- Send orders to kitchen.
- Track orders.
- Request bills.
- Perform only permitted order modifications.

**Bartender**
- Manage bar orders.
- View bar menu.
- Send orders to bar preparation.

**Kitchen Manager**
- Manage kitchen stations.
- Monitor kitchen operations.
- Review preparation performance.

**Kitchen Staff**
- View assigned orders.
- Update preparation status.

**F&B Cashier**
- Process authorized payments.
- Print receipts.
- Reconcile assigned cashier shift.

**Storekeeper**
- Manage authorized inventory operations.
- Process stock requisitions and transfers.

**General Manager**
- View consolidated operational and financial reports.
- Approve actions within assigned authority.

**Accountant**
- Review F&B financial postings.
- Reconcile sales and inventory values.
- Review relevant financial reports.

**Auditor**
- Independently inspect transactions, approvals, reversals and audit trails.
- Primarily read-only access.

Do not combine cashier, accountant, auditor and Night Auditor responsibilities into one unrestricted role.

## 15. Notifications and Alerts

Provide configurable alerts for:

- New kitchen orders.
- Delayed orders.
- Ready orders.
- Low stock.
- Critical stock shortages.
- High wastage.
- Unusual discounts.
- Excessive cancellations.
- Unusual refunds.
- Cashier reconciliation differences.
- Unposted room charges.
- Outlet performance exceptions.

Use the existing notification infrastructure where available. Do not hard-code external API credentials.

## 16. Technical and Architecture Requirements

Before implementation, inspect the existing PHP and MySQL application.

Identify:

- Existing F&B modules.
- Existing POS functionality.
- Existing inventory tables.
- Existing cashiering.
- Existing guest folio structure.
- Existing accounting integration.
- Existing users and permissions.
- Existing reporting infrastructure.
- Existing API or AJAX patterns.
- Existing UI components and design system.

Reuse and improve existing functionality wherever possible.

Do not create duplicate modules or tables unnecessarily.

### Technical requirements

- Use the existing PHP architecture and coding conventions.
- Use MySQL with appropriate indexes and foreign keys.
- Use secure prepared statements.
- Apply server-side validation.
- Use database transactions for important financial and inventory operations.
- Prevent duplicate order submissions.
- Protect against unauthorized access.
- Implement CSRF protection where applicable.
- Use role-based authorization on the server, not just hidden interface buttons.
- Make screens responsive.
- Optimize for shared-hosting limitations during development.
- Keep the architecture ready for migration to a dedicated VPS.
- Use polling or another suitable approach for KDS updates compatible with the existing hosting environment.

Do not assume WebSockets are available on shared hosting. Evaluate practical alternatives before choosing the implementation.

## 17. Interface and Design Requirements

The interface must look like a modern professional hotel F&B system.

Design references:

- Oracle OPERA for hotel workflow and control standards.
- SambaPOS for restaurant POS and KDS functionality.
- Modern hospitality management software for usability.

Create:

- Fast POS interface.
- Visual table layout.
- Kitchen display screen.
- Outlet dashboards.
- Menu management screens.
- Inventory screens.
- Reports and analytics.
- Mobile management dashboard.

Use consistent navigation, professional typography, clear status indicators and minimal unnecessary clicks.

Do not redesign unrelated parts of Cloudyte HMS Pro.

## 18. Implementation Rules – Very Important

Follow these instructions strictly:

1. First audit the entire existing codebase.
2. Do not immediately start writing new code.
3. Identify what already exists.
4. Identify what is missing.
5. Identify what needs improvement.
6. Identify any existing bugs or integration risks.
7. Prepare an implementation plan.
8. Show me the proposed database changes.
9. Explain how the new modules will integrate with existing hotel modules.
10. Wait for my approval before major structural changes.
11. Implement in phases.
12. Test each phase before moving to the next.
13. Preserve existing working features.
14. Do not delete existing data or database tables.
15. Do not replace working modules without a clear reason and approval.
16. Do not introduce unnecessary frameworks or dependencies.
17. Maintain compatibility with the existing PHP and MySQL environment.
18. Provide complete code changes, not incomplete snippets.
19. Include database migrations or SQL scripts where needed.
20. Document all new permissions and workflows.

## 19. Required First Deliverable

Before coding, produce an audit report with these sections:

**A. Existing Functionality**
List all F&B, POS, inventory, cashiering and accounting functionality already present.

**B. Missing Functionality**
List features required for a professional hotel F&B operation that are not currently available.

**C. Improvement Areas**
Identify existing features that need better workflows, security, usability or reporting.

**D. Database Changes**
List proposed new tables, modified tables, relationships, indexes and migration requirements.

**E. Module Integration**
Explain how Restaurant POS, KDS, Inventory, Guest Folio, Cashiering, Accounting, Night Audit and Reports will communicate.

**F. Implementation Phases**
Recommend a practical implementation order, dependencies and testing requirements.

**G. Risks**
Identify security, financial, inventory, performance and shared-hosting risks.

Do not begin the full implementation until I review and approve this audit and implementation plan.

## 20. Final Product Goal

The final result should make Cloudyte HMS Pro a professional integrated hotel system with a strong F&B department.

The system should support a hotel operating:

- Multiple restaurants.
- Multiple bars.
- Room service.
- Banquet and events.
- Central kitchen.
- Multiple kitchen stations.
- Multiple cashiers.
- Centralized inventory.
- Management monitoring from remote locations.

The objective is to deliver a reliable, auditable, integrated hotel F&B platform that follows Oracle OPERA-level hotel operational discipline while providing specialist restaurant capabilities inspired by SambaPOS.