pelagia-portal/App/pelagia-portal/components/ui
Hardik 392bad7549 feat(vendor): pincode-based geocoding, vendor delete, and GST captcha auto-fill
- Replace manual lat/lng fields in the vendor form with a single
  Pincode field; location is auto-filled from the GST GSTIN lookup
- On save the Server Action geocodes the pincode via Nominatim and
  caches lat/lng in the DB so distance queries stay fast
- Add deleteVendor action: blocked by non-draft POs; nulls out draft
  PO vendorId and Product.lastVendorId; cascades ProductVendorPrice
- Add ConfirmDeleteButton shared component (inline two-step confirm)

Migration: 20260514091124_vendor_pincode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 17:07:43 +05:30
..
admin-dialog.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
badge.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
button.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
card.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
confirm-delete-button.tsx feat(vendor): pincode-based geocoding, vendor delete, and GST captcha auto-fill 2026-05-14 17:07:43 +05:30
input.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
label.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30
textarea.tsx feat(ui): shared component library — buttons, badges, cards, inputs, header, stat cards 2026-05-05 23:24:46 +05:30