Saran pengguna
Fitur 2,2% untuk SKPDKB dari pemeriksaan
Ikuti perkembangan laporan dan penjelasan penyelesaiannya di halaman ini.
Selesai1 pengikut
Penjelasan perbaikan
fix(skpdkb): synchronize jabatan sanctions with examination records
Closes #1917
SKPDKB issuance always used 1.8% interest, including examinations with documented non-cooperation. Use uploaded BATDPBCD, BAPP, or BATMPDRPK from the same SP2 to select penghitungan jabatan and apply 2.2% monthly interest plus the required 50% PBJT or 25% other-tax increase. Count partial months in full, capped at 24 months.
- Preview the sanction basis in the Nota Hitung table and provide `Sinkronkan BA` for existing drafts. Synchronization uses the signing lock and rejects documents with signing activity, billing, payment, or an active/approved sanction request.
- Persist the increase separately, retain it when changing the sanction date, and include both interest and the increase in SKPDKB details and PDFs. Correct the legal references in the SKPDKB documentation.
- Require dashboard authorization before ordinary SKPDKB drafting. Preserve the Admin-only gate for manual transfer.
## Release impact
Patch. Correct the calculation and document synchronization within the existing SKPDKB examination workflow.
## Validation
- Merged production `8830ec2d9f527091a0a950dd22d3dbd44abacaf8`. Preserved published migration 0215 and appended SKPDKB migration 0216 without changing its SQL bytes or timestamp.
- Production schema/snapshot check passed for all 506 tables. Append-only history, journal order, snapshot parent identity, and the exact two-column schema delta passed static verification. The new STPD reporting column is retained.
- Independent review confirmed that the source auto-merges preserve the complete SKPDKB schema/PDF-data behavior, production's STPD reporting behavior, and both parents' issuance labels. No application logic was manually changed in this repair.
- React Doctor changed audit against the current production base completed with 0 errors and 0 warnings. Source syntax, graph-contract preflight, UI policy and whitespace checks passed. Drizzle query policy reported 0 violations and 0 exceptions.
- The earlier full React Doctor audit at base `8e44f008d2` remains incomplete despite 0 diagnostics. Literal dependency imports in `pending-tte-card.test.mjs` and `verify-sptpd-action-blob.mjs` cannot be resolved, and `@tiptap/extension-drag-handle` and `@tiptap/pm` have incomplete peer metadata. This is not a passing full audit; it was not repeated for this migration-metadata repair.
- Tests, migration compatibility fixtures, build, and dev server were not run locally, as requested. No live database was accessed.
## Rollout
Migration `0216_skpdkb_jabatan_sanctions` is required before activation. Existing detail rows receive zero increase by default. Signed or billed assessments are not recalculated by BA synchronization. The migration has not been applied here.
The existing migration still lacks its required rollout package. Its `DEFAULT 0 NOT NULL` additions also require reviewed rollout eligibility under the deployment policy. These deployment prerequisites remain unresolved by this conflict-only repair.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* SKPDKB calculations now show applicable interest and increase sanctions, including their rates and calculation basis.
* Draft assessments can be synchronized with examination records before signing, subject to payment and signing-status restrictions.
* Assessment tables and documents display sanction details and supporting examination information.
* **Bug Fixes**
* Sanction formulas now distinguish uniform rates from mixed details, and transition notes are recognized when they appear on any line.
* **Documentation**
* Updated SKPDKB guidance to clarify applicable legal references and synchronization requirements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Penjelasan laporan
Halaman terkait /dasbor/pemeriksaan
Harusnya ada dan bisa sync dengan berita acara (BA) tidak korporatif
- Kategori
- Lainnya
- Dampak
- Ringan
- Frekuensi
- Sekali