Commit Graph

2 Commits

Author SHA1 Message Date
Ilya Mukhortov 13960689fd Booking: choose services like in the current MIS
- «Выбор услуг» dialog: doctor's / internal / all services, funding and
  category filters, search, checkboxes, selected total; already added
  services are marked
- booking form: services table with quantity, price, sum, category
  totals; profile's main service is added automatically; at least one
  service required; amount due in the summary and on the ticket
- appointment sheet in Schedule: services with payment status
  (не оплачено / оплачено / возвращено / отказ), totals and refunds
- demo price list (ОМС, платные, ДМС, внутренние) with codes from the MIS
- kit: ServicePicker, ServiceLinesTable (editable and compact modes);
  FormField accepts className; formatMoney

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:21:52 +10:00
Ilya Mukhortov 6d1a8719be Extract reusable kit components and add /ui showcase
Kit (src/components/kit): PageTabs, ContentTabs, PatientPanel, DataTable
with sorting, Pagination, FileGallery (image lightbox, PDF preview),
StatusBadge, StatTile, InfoSection/Field, DateLeaf, PageFrame, CodeBlock.
Patient pages now use them; search results are sortable; documents show
attachments. Replace next-themes with a small ThemeProvider (React 19
warned about its inline script).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:49:10 +10:00