22 Commits (76fda6d1c428cca15c85cfac9dc1ccb4c9fc0a21)

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>
4 hours 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>
4 hours ago
Deardo Satria 22d51475a7 Change form input label 5 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
23 hours ago
Deardo Satria 5c89d5714f Add master rak feature 1 day 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.
1 day 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.
1 day ago
Deardo Satria eae4857c9d Add pagination to pelanggan list 2 days ago
Deardo Satria cb9b4b8730 Remove unused import 2 days ago
Deardo Satria a59eb3aef5 UI login page revamp 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 3bc5ce6d70 Move logged-in redirect from proxy to login page 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
Deardo Satria 6e512a14fc Add login server action, getCurrentUser, and progress notes 2 weeks ago
Deardo Satria 31c211f6ab Add shadcn/ui with base-nova preset 2 weeks ago
Deardo Satria 2f32ec4590 Add Better Auth with username login on Postgres 2 weeks ago
Deardo Satria 44bce1b20a Initial commit from Create Next App 2 weeks ago