feat: additional custom discount applied to total price
This commit is contained in:
1 parent
dea7a3dc97
commit
8443dae5ad
14 files changed
+287
-23
No files matched your search
@@ -84,6 +84,9 @@
|
||||
{% if booking.additionalServicesDiscount is not null %}
|
||||
{% set discounts = discounts | merge(['Zusatzleistungen ' ~ booking.additionalServicesDiscount ~ '%']) %}
|
||||
{% endif %}
|
||||
{% if booking.totalDiscount is not null %}
|
||||
{% set discounts = discounts | merge([(booking.totalDiscountLabel ?: 'Gesamtpreis') ~ ' ' ~ booking.totalDiscount ~ '%']) %}
|
||||
{% endif %}
|
||||
<a href="{{ edit_url }}">{{ discounts | length > 0 ? (discounts | join(', ')) : '–' }}</a>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
|
||||
Reference in new issue
Block a user