749e92b135
* fix: bottle total capacity shows dash for old medications Old medications created before the totalPills column was added had totalPills=null. This caused two issues: 1. MedDetailModal showed '—' instead of the actual capacity in the Package Details section (while the Stock section showed correct values) 2. Edit form showed an empty Total Capacity field on mobile Fix: Fall back to packageSize (looseTablets for bottles) when totalPills is null, matching the behavior already used in MedicationsPage and the stock display section. Added test for backward compatibility scenario. * chore: retrigger CI