... | ... |
@@ -52,7 +52,7 @@ |
52 | 52 |
<div class="grid-md u-gap-2"> |
53 | 53 |
<div class="grid-c-6 mb-2 mb-0-md"> |
54 | 54 |
<fieldset> |
55 |
- <label for="res-behaeltereinheit"><strong>Mengeneinheit<sup class="text-danger">*</sup></strong></label> |
|
55 |
+ <label for="res-behaeltereinheit"><strong>Anlieferungsart<sup class="text-danger">*</sup></strong></label> |
|
56 | 56 |
<select id="res-behaeltereinheit" name="unit" hx-get="/_ajax/vr_wa/v1/slot?do=availableBookingUnitAmount&id={{ id }}" hx-target="#wa-booking-{{ id }} #res-behaelter" hx-trigger="change, load"> |
57 | 57 |
{% if not buchen.disable_base_unit %} |
58 | 58 |
<option value=""{% if buchen.default_unit == '' %} selected{% endif %}>{{ 'tl_vr_wa_units.containers.0'|trans([], 'contao_tl_vr_wa_units') }}</option> |
... | ... |
@@ -86,7 +86,7 @@ |
86 | 86 |
<div class="grid-md u-gap-2"> |
87 | 87 |
<div class="grid-c-6 mb-2 mb-0-md"> |
88 | 88 |
<fieldset> |
89 |
- <label for="res-behaeltereinheit"><strong>Mengeneinheit<sup class="text-danger">*</sup></strong></label> |
|
89 |
+ <label for="res-behaeltereinheit"><strong>Anlieferungsart<sup class="text-danger">*</sup></strong></label> |
|
90 | 90 |
<select id="res-behaeltereinheit" name="unit" hx-get="/_ajax/vr_wa/v1/slot?do=availableUnitAmount&id={{ id }}" hx-target="#wa-slot-{{ id }} #res-behaelter" hx-trigger="change, load"> |
91 | 91 |
{% if not buchen.disable_base_unit %} |
92 | 92 |
<option value=""{% if buchen.default_unit == '' %} selected{% endif %}>{{ 'tl_vr_wa_units.containers.0'|trans([], 'contao_tl_vr_wa_units') }}</option> |
... | ... |
@@ -146,7 +146,8 @@ class SlotAjaxController extends AbstractController |
146 | 146 |
{ |
147 | 147 |
foreach ($Units as $unit) |
148 | 148 |
{ |
149 |
- $arrUnits[$unit->id] = $unit->title . ' (' . $unit->containers . ' '.$this->translator->trans('tl_vr_wa_units.containers.0', [], 'contao_tl_vr_wa_units').')'; |
|
149 |
+ // $arrUnits[$unit->id] = $unit->title . ' (' . $unit->containers . ' '.$this->translator->trans('tl_vr_wa_units.containers.0', [], 'contao_tl_vr_wa_units').')'; |
|
150 |
+ $arrUnits[$unit->id] = $unit->title; |
|
150 | 151 |
} |
151 | 152 |
} |
152 | 153 |
} |
... | ... |
@@ -394,7 +395,8 @@ class SlotAjaxController extends AbstractController |
394 | 395 |
{ |
395 | 396 |
foreach ($Units as $unit) |
396 | 397 |
{ |
397 |
- $arrUnits[$unit->id] = $unit->title . ' (' . $unit->containers . ' '.$this->translator->trans('tl_vr_wa_units.containers.0', [], 'contao_tl_vr_wa_units').')'; |
|
398 |
+ //$arrUnits[$unit->id] = $unit->title . ' (' . $unit->containers . ' '.$this->translator->trans('tl_vr_wa_units.containers.0', [], 'contao_tl_vr_wa_units').')'; |
|
399 |
+ $arrUnits[$unit->id] = $unit->title; |
|
398 | 400 |
} |
399 | 401 |
} |
400 | 402 |
|