buildSiteSummaries counts only internal invoice lines towards a site, but this page built its line-item table from every line whose invoice named the site. On a site carrying both, the table would have listed lines the totals excluded — the two halves of one page disagreeing. Both now filter on the internal party, so the table and the totals are always the same set. A site left with no internal invoices has no summary and notFound() fires, which is correct: "Move containers" now returns a 404 rather than being presented as a yard. |
||
|---|---|---|
| .. | ||
| (dashboard) | ||
| actions | ||
| api | ||
| change-password | ||
| login | ||
| globals.css | ||
| layout.tsx | ||