The report endpoint's totalPickup/totalRooms summed every day's pickup override regardless of whether the day had already passed, even though a past day's actual accommodation revenue already supersedes it (fAccomm ignores pickup for those days). This overstated Probable Pickup and the month's rooms estimate. Also fixed pickup.accomm to sum each day's own rate instead of multiplying the total by a flat session rate. |
||
|---|---|---|
| .. | ||
| lib | ||
| reports | ||
| routes | ||
| auth.js | ||
| db.js | ||
| forecast-db.js | ||
| index.js | ||
| ip-check.js | ||