Both tiles were hardcoded. Parse the quantity strings (6 × ½ kg, 3 kg, ~700g, 2 stk.) live: Kødportioner = total Kød & fisk weight / 500g; Aftensmadsdage = meat portions + pasta/tortelloni packs. Recomputed on load and whenever a quantity changes, so the trip's food volume is visible while editing. Defaults now read ~30 portions / ~36 dinners.
40 KiB
40 KiB