Skip to content
Code-Schnipsel Gruppen Projekte
Commit 462d0d4d erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'dev' of dev.quiqqer.com:quiqqer/shipping into dev

Übergeordnete 19b946ae 62a67b7a
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -171,6 +171,14 @@
<de><![CDATA[sofort verfügbar]]></de>
<en><![CDATA[immediately available]]></en>
</locale>
<locale name="fields.ShippingTimeFrontendView.on_request">
<de><![CDATA[auf Anfrage]]></de>
<en><![CDATA[on request]]></en>
</locale>
<locale name="fields.ShippingTimeFrontendView.available_soon">
<de><![CDATA[bald verfügbar]]></de>
<en><![CDATA[available soon]]></en>
</locale>
<locale name="fields.ShippingTimeFrontendView.timeperiod.from_to">
<de><![CDATA[ca. [from] bis [to]]]></de>
<en><![CDATA[approx. [from] to [to]]]></en>
......
......@@ -34,11 +34,9 @@ public function create()
switch ($value['option']) {
case ShippingTimePeriod::OPTION_UNAVAILABLE:
$valueText = $L->get($lg, 'fields.ShippingTimeFrontendView.unavailable');
break;
case ShippingTimePeriod::OPTION_ON_REQUEST:
case ShippingTimePeriod::OPTION_IMMEDIATELY_AVAILABLE:
$valueText = $L->get($lg, 'fields.ShippingTimeFrontendView.immediately_available');
$valueText = $L->get($lg, 'fields.ShippingTimeFrontendView.'.$value['option']);
break;
default:
......
......@@ -15,6 +15,8 @@ class ShippingTimePeriod extends TimePeriod
const OPTION_TIMEPERIOD = 'timeperiod';
const OPTION_UNAVAILABLE = 'unavailable';
const OPTION_IMMEDIATELY_AVAILABLE = 'immediately_available';
const OPTION_ON_REQUEST = 'on_request';
const OPTION_AVAILABLE_SOON = 'available_soon';
/**
* Check the value
......@@ -66,6 +68,8 @@ public function cleanup($value)
case self::OPTION_TIMEPERIOD:
case self::OPTION_UNAVAILABLE:
case self::OPTION_IMMEDIATELY_AVAILABLE:
case self::OPTION_ON_REQUEST:
case self::OPTION_AVAILABLE_SOON:
break;
default:
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren