15 Commits (main)

Author SHA1 Message Date
Deardo Satria 76fda6d1c4 Add Indonesian zod messages to pelanggan and tidy rak imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 minutes ago
Deardo Satria 3002e55bc4 Add master group product and sub group product features
Deleting a group or sub group still used by barang (or a group still
used by sub groups) is refused, because PHP queries inner join on these
codes and would silently hide the orphaned barang. Editing a sub group
only changes its name, matching ajaxdlmpdk.php; changing the code pair
would orphan barang the same way.

Group codes are generated automatically, unlike the old PHP form where
they were typed manually.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 minutes ago
Deardo Satria 22d51475a7 Change form input label 2 hours ago
Deardo Satria 5abf8a7e0c Unify master sheet form and move shared master components
- Move cari-master, master-sheet-form, and hapus-master-button into
  app/(dashboard)/master/_components since only master pages use them
- Merge MasterSheetForm and MasterMultiFieldSheetForm into one form that
  accepts multiple fields; forms needing select/textarea stay custom
- Drop the initial prop and hardcode { ok: false } as the action state seed
- Blur number inputs on wheel to prevent accidental value changes
- Update CLAUDE.md to describe the new layout and rules
20 hours ago
Deardo Satria 5c89d5714f Add master rak feature 21 hours ago
Deardo Satria bc7619210c Add master satuan barang feature
CRUD page for satuan barang following the pelanggan feature pattern:
page, actions, form sheet, delete dialog, and a data layer with LIKE
search and pagination. Delete rejects units still referenced by barang.
22 hours ago
Deardo Satria 6f1234aa49 Extract shared pagination, search box, and escapeLike helpers
Pull PER_PAGE, parsePage, and halamanHref into lib/pagination, the search
box into components/cari-master, and escapeLike into lib/utils so other
master features can reuse them. Pelanggan switches to these helpers and
its list now calls getCurrentUser() in its render chain.
22 hours ago
Deardo Satria eae4857c9d Add pagination to pelanggan list 2 days ago
Deardo Satria 3ffc94054b Add theme switch 2 days ago
Deardo Satria 1ab0c2e321 Fix sidebar bug 2 days ago
Deardo Satria e1c6104004 Fix customer form state, delete dialog, and action conventions 2 days ago
Deardo Satria b0bf1d5bf7 Add customer master page with list, add, edit, delete, and search 2 days ago
Deardo Satria 6abd3051c5 UI: add sidebar 2 weeks ago
Deardo Satria a44fb24136 Move login and logout actions into app/(auth)/actions.ts 2 weeks ago
Deardo Satria 119c55bf67 Add login page, logout, and dashboard home 2 weeks ago