feat(management): paginate aging inventory table and clean mobile stock card layout #188
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?
Problem
/stok,/pembelian,/penjualan,/pelanggan), users cannot page through all aging inventory or adjust page sizes.InventoryMobileCardinapps/management/app/(dashboard)/stok/inventory-table.tsx), the horizontal border line separator between the category row and the prices row is visually distracting.Acceptance Criteria
DataTableand@tanstack/react-tablematching the behavior and styling of the other tables in the app.pageSize: 5), with page size options including 5, 10, 25, 50.slice(0, 5)limit), sorted initially by aged cost value descending.renderMobileCardand desktop table view) for the aging inventory table.apps/management/app/(dashboard)/stok/inventory-table.tsx, remove the separator (border-t border-zinc-100) between the category row and the prices row inInventoryMobileCard.pnpm exec tsc --noEmit), and biome lint gates pass cleanly with 0 regressions.