Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMoeglich committed Oct 8, 2023
1 parent ce55aeb commit 1313cef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/asset_library/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
</li>
<li>- trendSports mtl. {@html get_price_string(['trendsports'], 'jahr')}</li>
<li>- 18+ für Blue Movie €&nbsp;0, einmalige Versandpauschale 18+ PIN</li>
<li>
- Sky Kids für {@html get_price_string(['kids'], 'jahr')} mtl.
</li>
<!-- <li>
- UHD für €&nbsp;4 mtl. mit Entertainment Plus <mark>(20% Rabatt)</mark> oder €&nbsp;5 mtl. mit Entertainment
(für Sat oder Kabel-Empfang)
Expand All @@ -99,10 +102,6 @@
>
oder €&nbsp;10 mtl. mit Entertainment
</li>
<li>
- Sky Kids Zubuchung für €&nbsp;4 mtl. mit Entertainment Plus <mark>(20% Rabatt)</mark> oder €
5 mtl. mit Entertainment
</li>
<li>- trendSports für €&nbsp;5,99 mtl.</li>
<li>- 18+ für Blue Movie €&nbsp;0, einmalige Versandpauschale 18+ PIN</li> -->
</ul>
Expand Down

1 comment on commit 1313cef

@vercel
Copy link

@vercel vercel bot commented on 1313cef Oct 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.