UNIT-003 - Konfigurasi Contract Bonus

Status: Intent PO: @lusiono0312 Created at: 2026-11-13 Priority: 1 Engineer owner: @ZihxS · QA owner: @bararck Needs UI: Yes, Figma Sprint-39 node 74072-13487 (konfigurasi). Design log release di Payroll belum ada.

Proposal disetujui PO dalam percakapan pada 2026-11-13.

Problem

Konfigurasi bonus saat ini hanya berupa tabel datar di admin-internal (nama, salary metric, tipe, release condition). Release bonus selalu manual per payroll, dan bonus Accrued yang bertambah saat kru rotation di dalam kontrak (berbasis hari rotation) tidak bisa dimodelkan. Akibatnya payroll menghitung dan me-release bonus di luar sistem, sehingga lambat dan rawan salah.

Users

Success metric

0 bonus yang dihitung atau di-release manual di luar sistem untuk setiap kategori bonus (Accrued Flexible, Accrued Required Contract, Accrued Hold On Vessel, Fixed) pada 2 periode payroll pertama setelah rilis.

Constraints

Out of scope

Codebase exploration notes