Skip to content

The rebate calendar

The rebate calendar (sidebar Financials → Rebate Calendar, /rebate/calendar) is a read-only, year-at-a-glance schedule of rebate earnings — money due to or received by the member/group — laid out by month and split into paid, confirmed-but-unpaid, and (optionally) projected. It answers "what rebate income lands in which month?"

The sidebar link requires the member or figures role, a client version of 3.7.0 or later, and the site's advanced-projections setting.

What it shows

  • A calendar view — a stacked column chart by month (paid, unpaid, and projected series), where clicking a month lists each rebate in it with supplier, deal, period, frequency, confirmed/projected and paid/unpaid badges, and the amount.
  • A by-supplier view — expandable supplier cards with a 12-month grid per deal.
  • Four summary cards: total, confirmed (actual), projected, and paid.

Controls: projections on/off, year selector, the date basis (due date vs period end), a paid/unpaid/all filter, and — for those allowed group data — a My data / Group data toggle. It is purely a visualization: there are no payment actions here (those live on the rebate management dashboard).

Every control is applied on the server. The page makes one small request for the year summary (the chart and cards), another when a month is clicked (the rebate rows for that month), and another when the by-supplier view is opened (the grid for that year). Changing any filter re-requests only what is on screen, so nothing is loaded that is not being shown.

How paid and unpaid are decided

Paid status is decided per rebate line — one member, one rebate, one period — never for a whole month or a whole rebate at once:

  • Paid — the line's payment has been recorded (its paid flag is true).
  • Scheduled — the group has booked the payment but the member has not received it yet (holding). It counts as unpaid in the chart, cards and Unpaid filter, and is badged "Scheduled" in the month list.
  • Unpaid — everything else that is confirmed (the period's figures are complete, or the rebate was entered manually).
  • Projected — a forecast period; it is never paid or unpaid.
  • Others paid (sites with rebatePeerPaidAlerts on) — an unpaid line that most other members on the same element and period have recorded as paid. It still counts as unpaid; the amber strip under the summary cards, the badge in the month list and the cell marker in the supplier grid only draw attention to it. The rebate management dashboard has the matching Probably paid filter where the payment can be recorded.

When one rebate has lines in both states in the same month — for example, some members in the group have marked their share paid and others have not — the month list shows two rows for it, one paid and one unpaid, and the Paid / Unpaid filter keeps only the matching one. Confirmed lines are always read from the live rebate index that is refreshed when a payment is recorded; projections come from the projection snapshot, which is why a projection's paid state is never trusted.

Whose figures you see

The amount each user sees is role-gated in the query:

  • figures-role users see the whole-group payable figure and can switch between group and their own member data.
  • Everyone else is restricted server-side to their own company's member payable — the query appends a hard filter on the viewer's company, and the group-data toggle is hidden. The distinction is silent; the labels just read "My data" / "Group data".

Why does the calendar change unexpectedly

  • Amounts moved between months — the date-basis toggle (due date vs period end) buckets the same rebates differently.
  • Projected bars appeared or grew — the projections toggle is on, or new turnover changed the projections; projected figures are estimates, not confirmed income.
  • A month's total changed with no payment — rebates were recalculated after new turnover, or a payment moved a bar from unpaid to paid.
  • A rebate shows as both paid and unpaid in one month — in Group data it has lines for several members, and only some of them have been paid. Switch to My data to see only your own line.
  • Turning on Paid switched projections off — a paid-only view cannot contain forecasts, so the two controls are exclusive.
  • A figures user and a member see different totals — by design: group payable vs own-member payable.

What the rebate calendar is not

  • Not the rebate management dashboard — that is the actionable payment grid; the calendar only visualizes the schedule.
  • Not an accounts-payable calendar — it shows rebate income (receivable), not outgoing supplier payments.
  • Not the deal dashboard rebate cards — those are per-deal; the calendar spans all deals.