diff --git a/packages/asset_library/prices.ts b/packages/asset_library/prices.ts index 3b757b9..5d7a6db 100644 --- a/packages/asset_library/prices.ts +++ b/packages/asset_library/prices.ts @@ -34,10 +34,10 @@ export function get_offer_price( const current_price_table = clone(price_table); for (const overwrite of offer.overwrites) { - const filtered_zubuchoptionen = assets.filter((id) => - zubuchoption_ids.includes(id as zubuchoption_id) - ); - const other_assets = assets.filter((id) => !zubuchoption_ids.includes(id as zubuchoption_id)); + const matches = (id: priceable_asset_id) => + zubuchoption_ids.includes(id as zubuchoption_id) || id === 'kids'; + const filtered_zubuchoptionen = assets.filter(matches); + const other_assets = assets.filter((id) => !matches(id)); if (isEqual(sortBy(overwrite[0]), sortBy(other_assets)) && !exclude_overwrite) { const price = (() => { if (isEqual(empty_offer, offer)) { diff --git a/packages/components/templates/section/vertragsinfomationen_template.svelte b/packages/components/templates/section/vertragsinfomationen_template.svelte index ead8fb2..2e74583 100644 --- a/packages/components/templates/section/vertragsinfomationen_template.svelte +++ b/packages/components/templates/section/vertragsinfomationen_template.svelte @@ -77,6 +77,9 @@
  • - trendSports mtl. {@html get_price_string(['trendsports'], 'jahr')}
  • - 18+ für Blue Movie € 0, einmalige Versandpauschale 18+ PIN
  • +
  • + - Sky Kids für {@html get_price_string(['kids'], 'jahr')} mtl. +