Add expenses module, update dashboard financials, and enhance reservation payment management

This commit is contained in:
2025-12-04 16:31:49 +03:00
parent 6d777aa215
commit b89669f795
18 changed files with 801 additions and 98 deletions

View File

@@ -0,0 +1,8 @@
-- Add price column to reservations table
alter table reservations add column price decimal(10,2);
-- Optional: Update existing reservations to set price from their package (snapshotting the price)
update reservations
set price = packages.price
from packages
where reservations.package_id = packages.id;