feat(ui): migrate indent + patient-return flows (17 components) to Zard UI#154
Conversation
17 components: indent order worklists (main/sub-store), indent-dispenses (manual + select-batch-for-indent-item, system + show-indent-batch-details), item models, reject dialog, indent-request entry grid; patient-return (+ beneficiary details, item/batch details, previous records). - worklists -> z-card/z-table with template-only z-paginator; entry grids keep FormArray bindings verbatim; object-valued selects use the index-bind + patch pattern; z-date-picker for date fields - Mat-opened dialogs keep MatDialogRef with the neutral dialog header - fixes a latent bug: matDialogClose="false" closed with the truthy string 'false'; now closes with boolean false like the header close - bogus [formGroup] bindings on read-only display cells dropped Zero Material / zero Bootstrap presentation; 17 component CSS files deleted.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|


Stacked on #153 (dispense+rx). Migrates the indent and patient-return flows (17 components) to Zard UI + Tailwind v4 — zero Material/Bootstrap presentation; FormArray, dialog and service logic verbatim.
Screens
Notable (flagged)
matDialogClose="false"closed select-batch's OK with the truthy string'false'(opener'sif (result)would treat it as success) — now closes with booleanfalsemat-selects → index-bind + patch pattern (4 selects); therequiredattr on those no longer adds a reactive validator, but gating still holds via the batch-dependent required quantity controlsz-paginator(zero TS change); tables wheremat-paginatorwas decorative now actually paginate, with global serial numbers preservedcontrol.value | datewithout rebinding, keeping save payloads identicalMatDialogRef(Phase 4 migrates the opener)build-dev✅ · prettier/eslint ✅ · 17 component CSS files deleted