Add a past payout as a first-class action #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The gap
The original ask was "there's a payment I want to add that was from the past". Nothing in payroll does that directly:
So a one-off ("I paid Alice 200 EUR in cash on 12 June, record it") has no home, and correcting a period already settled has none either.
Proposal
An explicit Add past payout action on a contract:
Record-only matters and is arguably the more common case: when the money already moved, the sat amount is a known fact and deriving it from a rate would be re-deriving something we hold. Take it as input.
Open question it forces: should this advance
periods_done, or sit outside the schedule as an adjustment? Probably the latter — a correction is not a period.Related
While doing this, reconsider whether the pay-now dialog keeps its pricing selector. Pay-now nearly always faces a payday that is today or in the future (the scheduler settles due periods within 5 minutes), and for those only
manualcan change the outcome —paydayandcurrentare identical. If the real back-dating need moves here, pay-now could drop back to a simple confirm that just names the payday it is settling.🤖 Generated with Claude Code
https://claude.ai/code/session_018jy52j9GRZ6XKa1Zt21LLj
manualpricing apply to every period, or only back-dated ones? #6