feat(management): rename order to penjualan, restore purchase pagination, and support numeric rupiah prices #94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/penjualan-and-decimal-currency"
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?
What changed
apps/management/app/(dashboard)/penjualan/: rename order route, files, and components topenjualanapps/management/app/(dashboard)/pembelian/purchase-table.tsx: removegetPaginationRowModel()so all purchases are displayedapps/management/lib/currency.ts& database schema: support decimal rupiah values (numeric 12,2)0012_bumpy_maginty.sqlVerified
pnpm test: 514 tests passed across 3 workspace packages.forgejo/scripts/biome-gate.sh: PASSEDDeviations
None.
VERDICT: approve
Review round 1 findings addressed in commit
8235428:computeFifoCogsinapps/management/lib/orders/service.ts: accumulate cost in integer cents (take * Math.round(lot.buyPrice * 100)) to eliminate floating-point drift and cents inaccuracy on large orders.