R02 · 🔴 High · silent-failure
Rejected annual statement can leave the store uninformed
What the code does
rejectSaleYear saves the rejection, then the communication; a bare .catch(() => {}) hides a failed communication.
Where
app/controllers/intranet/sales-years/show.js
Suggested fix
Suggestion
Report the failure and offer to resend, or create both atomically on the API.
Affected features
- Annual sales statement — Intranet