Skip to content

Feature/pms platform - #6

Merged
Almondsf merged 2 commits into
masterfrom
feature/pms-platform
Oct 18, 2026
Merged

Almondsf merged 2 commits into
masterfrom
feature/pms-platform

Conversation

@Almondsf

Copy link
Copy Markdown
Owner

No description provided.

Reads
- Folio and company balances computed in the listing query (with_totals,
  with_balance); "ID on file" prefetched; tax rules loaded once per response
- Availability search prices every room type and rate plan from one
  StayContext and one availability query; group plans share one inventory
- Occupancy, guest-ledger and city-ledger reports are set-based instead of
  per day / per folio
- Room type lists annotate sellable room counts

Writes
- Set-based lifecycle and billing: check_in_many, check_out_many,
  cancel_many, mark_no_shows, confirm_paid_bookings, post_charges,
  post_room_charges_for, record_payments, refund_many, settle_many,
  issue_invoices, folios_for. The single-item functions are one-item calls
  of these, so there is one code path
- Bookings, nights, folios, audit entries, notifications, housekeeping tasks
  and token blacklisting written with bulk inserts/updates; a bookings_saved
  signal keeps the channel manager informed, and it now pushes once per
  transaction instead of once per booking
- Cancelling several rooms paid with one online payment refunds once, not
  once per room
- Booking.save validates fields without querying (the database enforces
  keys, uniqueness and constraints)

booking/test_query_counts.py fails if lists, search, reports, whole-group
actions or the night audit start costing more queries for more rows.
…itial

The public site shows the hotel's initial inside the diamond (built from the
hotel's name, escaped); public/favicon.svg is the letterless default and the
staff portal's icon, with PNG versions for older browsers and phone home
screens, and a theme colour for mobile browser bars.
@Almondsf
Almondsf merged commit 7843d22 into master Oct 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant