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

feat: Seiten settings

Übergeordneter 76c73293
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -15,6 +15,10 @@
<de><![CDATA[Allgemein]]></de>
<en><![CDATA[General]]></en>
</locale>
<locale name="menu.erp.sites.title">
<de><![CDATA[Verwendete Seiten]]></de>
<en><![CDATA[Used sites]]></en>
</locale>
<locale name="price.starting.from">
<de><![CDATA[ab [price]]]></de>
......@@ -78,6 +82,20 @@
<de><![CDATA[Produkt Einstellungen]]></de>
<en><![CDATA[Product settings]]></en>
</locale>
<locale name="profile.erp.title">
<de><![CDATA[Shop]]></de>
<en><![CDATA[Shop]]></en>
</locale>
<locale name="menu.erp.sites.terms.and.conditions">
<de><![CDATA[Allgemeine Geschäftsbedingungen]]></de>
<en><![CDATA[Terms and Conditions]]></en>
</locale>
<locale name="menu.erp.sites.revocation">
<de><![CDATA[Widerrufsbelehrung]]></de>
<en><![CDATA[Revocation policy]]></en>
</locale>
</groups>
<groups name="quiqqer/erp" datatype="js">
......
......@@ -2,6 +2,19 @@
<quiqqer>
<settings>
<config>
<section name="sites">
<conf name="terms_and_conditions">
<type><![CDATA[string]]></type>
</conf>
<conf name="revocation">
<type><![CDATA[string]]></type>
</conf>
</section>
<section name="paymentsChangeable"/>
</config>
<window name="ERP">
<title>
......@@ -29,6 +42,25 @@
</input>
</settings>
<settings>
<title>
<locale group="quiqqer/erp" var="menu.erp.sites.title"/>
</title>
<input conf="sites.terms_and_conditions"
data-qui="controls/projects/project/site/MultiLangSelect">
<text>
<locale group="quiqqer/erp" var="menu.erp.sites.terms.and.conditions"/>
</text>
</input>
<input conf="sites.revocation"
data-qui="controls/projects/project/site/MultiLangSelect">
<text>
<locale group="quiqqer/erp" var="menu.erp.sites.revocation"/>
</text>
</input>
</settings>
</category>
</categories>
......
......@@ -247,6 +247,8 @@ public function getSum()
* Return the VAT for the article
*
* @return int
*
* @throws QUI\Exception
*/
public function getVat()
{
......@@ -408,6 +410,8 @@ public function calc($Instance = null)
* Return the article as an array
*
* @return array
*
* @throws QUI\Exception
*/
public function toArray()
{
......
......@@ -211,6 +211,8 @@ public function toArray()
* Parse this ArticleList to an ArticleListUnique
*
* @return ArticleListUnique
*
* @throws QUI\ERP\Exception
*/
public function toUniqueList()
{
......
......@@ -74,6 +74,8 @@ public function getCurrency()
* Create the html
*
* @return string
*
* @throws QUI\Exception
*/
public function toHTML()
{
......@@ -96,6 +98,6 @@ public function toHTML()
'calculated_nettoSum' => $Currency->format($calc['nettoSum'])
));
return $Engine->fetch(dirname(__FILE__) . '/ArticleView.html');
return $Engine->fetch(dirname(__FILE__).'/ArticleView.html');
}
}
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren