# Incoming website orders and online reservations

## Website Orders

Website Orders is a standalone module for retail products and food orders received
through the existing website ordering API. It uses the same records as the older
Restaurant/Bar website-orders page; there is no duplicate import or separate store.

Grant Website Orders module access and View Website Orders. Confirm, Decline and
Send Website Orders to Restaurant POS have separate permission checkboxes.
Filters cover assigned branch, status, customer/reference/phone and received dates.
Pagination follows the system entries setting. Newest received orders appear first.

Confirming an order marks it confirmed, but is not a payment, stock movement or
invoice. For a retail order, complete the actual sale through the normal Retail
POS when payment/fulfilment occurs; automatic retail-cart conversion is not added
by this change. Existing restaurant acceptance creates the same restaurant bill
as before and requires Restaurant/Bar access and Order permission as well as the
new standalone Process permission. The old restaurant link remains compatible.

## Online Reservations

Accommodation > Online Reservations sits immediately before Room Reports.
Grant View Online Reservations under Accommodation. It shows website and
Booking.com-sourced bookings already stored in the database, including checked-out
and cancelled records. This does not connect a new Booking.com feed by itself.
Search by guest, phone or booking number, filter by received dates and status.
The normal check-in, payment, receipt and cancellation permissions remain in force.
The view reuses existing bookings and does not create duplicate room reservations.

## Deployment

Back up the database, deploy updated files and run `php artisan migrate --force`,
`php artisan route:clear`, and `php artisan view:clear` on each installation.
Migration `2026_10_12_190000_add_website_order_module` adds module/permission records
only. No existing website orders, reservations, products or sales are removed.
