docs: note managers pay-type filter (rides with paused Manager/Salaried)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
18ec393c0a
commit
0d77d7228d
@ -262,6 +262,13 @@ mirrors `is_advance`/`is_loan` across `pdf/payslip_pdf.html`,
|
|||||||
`email/payslip_email.html`, `core/payslip.html`. `--badge-salary-*`
|
`email/payslip_email.html`, `core/payslip.html`. `--badge-salary-*`
|
||||||
CSS (dark+light) + `.badge-type-salary`.
|
CSS (dark+light) + `.badge-type-salary`.
|
||||||
|
|
||||||
|
**Finding managers:** `/workers/?pay_type=fixed` (display-only filter,
|
||||||
|
mirrors the status/team filters) + a "Managers only" client-side
|
||||||
|
toggle on the Add-Adjustment modal picker. Both display-only — the
|
||||||
|
modal's `all_workers` queryset is NOT narrowed server-side (preserves
|
||||||
|
the must-stay-payable invariant). DB value `fixed`/`daily` (Path-A);
|
||||||
|
labels "Managers (Salaried)" / "Daily workers".
|
||||||
|
|
||||||
## Payroll Constants
|
## Payroll Constants
|
||||||
Defined at top of views.py — used in dashboard calculations and payment processing:
|
Defined at top of views.py — used in dashboard calculations and payment processing:
|
||||||
- **ADDITIVE_TYPES** = `['Bonus', 'Overtime', 'New Loan', 'Advance Payment', 'Salary']` — increase worker's net pay
|
- **ADDITIVE_TYPES** = `['Bonus', 'Overtime', 'New Loan', 'Advance Payment', 'Salary']` — increase worker's net pay
|
||||||
|
|||||||
@ -73,6 +73,15 @@ explicit approval does anything get pushed to `origin/ai-dev`. No
|
|||||||
code changes pending — implementation is complete; this is purely a
|
code changes pending — implementation is complete; this is purely a
|
||||||
human verify-then-approve gate.
|
human verify-then-approve gate.
|
||||||
|
|
||||||
|
Now also includes a display-only pay-type filter (design
|
||||||
|
`docs/plans/2026-05-16-managers-paytype-filter-design.md`, plan
|
||||||
|
`docs/plans/2026-05-16-managers-paytype-filter-plan.md`): a
|
||||||
|
`/workers/?pay_type=fixed` filter + dropdown and a "Managers only"
|
||||||
|
client-side toggle on the Add-Adjustment modal picker. Same HARD
|
||||||
|
STOP — all of it is un-pushed until Konrad's local verification;
|
||||||
|
it ships bundled with the rest of the paused Manager/Salaried work
|
||||||
|
in one push, his call.
|
||||||
|
|
||||||
#### Follow-ups from code review (parked, out of scope for this feature)
|
#### Follow-ups from code review (parked, out of scope for this feature)
|
||||||
|
|
||||||
1. **Atomicity hardening (cross-cutting, pre-existing).**
|
1. **Atomicity hardening (cross-cutting, pre-existing).**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user