- {#each item.durations as option, i (option.minutes)}
-
- {/each}
+ {#if isService && item.durations.length > 1}
+
+
+ from {formatPrice(lowestPrice(item.durations) ?? item.price, currency)}
+ {formatDuration(item.durations[0].minutes)} – {formatDuration(item.durations[item.durations.length - 1].minutes)}
{:else}
@@ -425,6 +405,35 @@
{@const shown = shownRange(ui.monthOffset)}
{@const anyShown = availableKeys.some((key) => key >= shown.from && key <= shown.to)}
+ {#if item.durations.length > 1}
+
+
+
+
+ {#each item.durations as option, i (option.minutes)}
+
+ {/each}
+
+
+ {/if}