Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit f03e98d7 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

feat: shipping#37

Übergeordneter 92993e4f
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -323,6 +323,15 @@
<de><![CDATA[Status: [status]]]></de>
<en><![CDATA[Status: [status]]]></en>
</locale>
<locale name="shipping.confirmation.title">
<de><![CDATA[Bestellungen - Versandbestätigung]]></de>
<en><![CDATA[Orders - Shipping confirmation]]></en>
</locale>
<locale name="shipping.confirmation.description">
<de><![CDATA[Versandbestätigungs E-Mail]]></de>
<en><![CDATA[Shipping confirmation E-mail]]></en>
</locale>
</groups>
<groups name="quiqqer/order" datatype="php">
......@@ -2054,6 +2063,76 @@
</ul>
]]></en>
</locale>
<locale name="mail.description.shipping.confirmation.subject">
<de><![CDATA[
Betreff der Versandbestätigungsmail. Verfügbare Variablen:
<ul>
<li><b>[orderId]:</b> Bestell-ID</li>
<li><b>[hash]:</b> Bestellungs-Hash</li>
<li><b>[date]:</b> Bestellungsdatum</li>
<li><b>[systemCompany]:</b> Company Name des QUIQQER Systems</li>
<li><b>[user]:</b> - Name des Kunden</li>
<li><b>[company]:</b> - Firma des Kunden</li>
<li><b>[companyOrName]:</b> - Firma des Kunden, falls diese leer ist wird [name] verwendet</li>
<li><b>[email]:</b> - E-Mail des Kunden</li>
<li><b>[salutation]:</b> - Anrede des Kunden</li>
<li><b>[firstname]:</b> - Vorname des Kunden</li>
<li><b>[lastname]:</b> - Nachname des Kunden</li>
</ul>
]]></de>
<en><![CDATA[
<p>Subject of the order shipping confirmation E-mail. Available variables:</p>
<ul>
<li><b>[orderId]:</b> Order Id</li>
<li><b>[hash]:</b> Order hash</li>
<li><b>[date]:</b> Order date</li>
<li><b>[systemCompany]:</b> Company of the QUIQQER system</li>
<li><b>[user]:</b> - Name of the customer</li>
<li><b>[company]:</b> - Company of the customer</li>
<li><b>[companyOrName]:</b> - Company of the customer, if this is empty [name] is used</li>
<li><b>[email]:</b> - Customer email</li>
<li><b>[salutation]:</b> - Salutation of the customer</li>
<li><b>[firstname]:</b> - Firstname of the customer/li>
<li><b>[lastname]:</b> - Lastname of the customer</li>
</ul>
]]></en>
</locale>
<locale name="mail.description.shipping.confirmation.body">
<de><![CDATA[
Inhalt der Versandbestätigungsmail. Verfügbare Variablen:
<ul>
<li><b>[orderId]:</b> Bestell-ID</li>
<li><b>[hash]:</b> Bestellungs-Hash</li>
<li><b>[date]:</b> Bestellungsdatum</li>
<li><b>[systemCompany]:</b> Company Name des QUIQQER Systems</li>
<li><b>[user]:</b> - Name des Kunden</li>
<li><b>[company]:</b> - Firma des Kunden</li>
<li><b>[companyOrName]:</b> - Firma des Kunden, falls diese leer ist wird [name] verwendet</li>
<li><b>[email]:</b> - E-Mail des Kunden</li>
<li><b>[salutation]:</b> - Anrede des Kunden</li>
<li><b>[firstname]:</b> - Vorname des Kunden</li>
<li><b>[lastname]:</b> - Nachname des Kunden</li>
<li><b>[trackingInfo]:</b> - Wenn es ein Tracking Info gibt, wird der Tracking Info Text verwendet</li>
</ul>
]]></de>
<en><![CDATA[
<p>Body of the order shipping confirmation E-mail. Available variables:</p>
<ul>
<li><b>[orderId]:</b> Order Id</li>
<li><b>[hash]:</b> Order hash</li>
<li><b>[date]:</b> Order date</li>
<li><b>[systemCompany]:</b> Company of the QUIQQER system</li>
<li><b>[user]:</b> - Name of the customer</li>
<li><b>[company]:</b> - Company of the customer</li>
<li><b>[companyOrName]:</b> - Company of the customer, if this is empty [name] is used</li>
<li><b>[email]:</b> - Customer email</li>
<li><b>[salutation]:</b> - Salutation of the customer</li>
<li><b>[firstname]:</b> - Firstname of the customer/li>
<li><b>[lastname]:</b> - Lastname of the customer</li>
<li><b>[trackingInfo]:</b> - If there is a tracking info, the tracking info text is used</li>
</ul>
]]></en>
</locale>
<locale name="customer.data.vat.chaning.not.allowed">
<de><![CDATA[
......
......@@ -7,9 +7,9 @@
namespace QUI\ERP\Order;
use QUI;
use QUI\ERP\Api\AbstractErpProvider;
use QUI\Controls\Sitemap\Map;
use QUI\Controls\Sitemap\Item;
use QUI\Controls\Sitemap\Map;
use QUI\ERP\Api\AbstractErpProvider;
/**
* Class ErpProvider
......@@ -99,6 +99,15 @@ public static function getMailLocale(): array
'subject.description' => ['quiqqer/order', 'mail.description.orderPaymentSuccess.subject'],
'content.description' => ['quiqqer/order', 'mail.description.orderPaymentSuccess.body']
],
[
'title' => QUI::getLocale()->get('quiqqer/order', 'shipping.confirmation.title'),
'description' => QUI::getLocale()->get('quiqqer/order', 'shipping.confirmation.description'),
'subject' => ['quiqqer/order', 'shipping.order.mail.subject'],
'content' => ['quiqqer/order', 'shipping.order.mail.body'],
'subject.description' => ['quiqqer/order', 'mail.description.shipping.confirmation.subject'],
'content.description' => ['quiqqer/order', 'mail.description.shipping.confirmation.body']
]
];
}
......
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