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

fix: custom field passing had a mega error :-/

Übergeordneter 66d94fce
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -108,7 +108,7 @@ public function clear()
if ($Order->isSuccessful()) {
try {
// create a new in process
$NewOrder = QUI\ERP\Order\Factory::getInstance()->createOrderProcess();
$NewOrder = QUI\ERP\Order\Factory::getInstance()->createOrderInProcess();
$this->hash = $NewOrder->getHash();
} catch (QUi\Exception $Exception) {
QUI\System\Log::writeDebugException($Exception);
......@@ -279,7 +279,7 @@ public function toArray()
continue;
}
$fields[$Field->getId()] = $Field->getValue();
$fields[$Field->getId()] = $Field->getView()->getAttributes();
}
$result[] = [
......
......@@ -49,7 +49,7 @@
{/if}
{assign var=Address value=$Customer->getAddress()}
{$Address->render()}
{$Address->render(['tel' => false, 'mail' => false])}
</section>
<section class="quiqqer-order-control-order-information-orderData">
......@@ -154,6 +154,17 @@
<div class="quiqqer-order-profile-orders-order-articles-article-description">
{$Article->getDescription()}
{if count($customFields)}
<ul class="quiqqer-order-profile-orders-order-articles-article-description-customFields">
{foreach $customFields as $field}
<li class="quiqqer-order-profile-orders-order-articles-article-description-customFields-field">
<span>{$field.title}:</span>
<span>{$field.custom_calc.valueText}</span>
</li>
{/foreach}
</ul>
{/if}
</div>
<div class="quiqqer-order-profile-orders-order-articles-article-price">
......
......@@ -47,7 +47,7 @@
{/if}
{assign var=Address value=$Customer->getAddress()}
{$Address->render()}
{$Address->render(['tel' => false, 'mail' => false])}
</section>
{if $Payment}
......@@ -103,6 +103,18 @@
<div class="quiqqer-order-profile-orders-order-articles-article-description">
{$Article->getDescription()}
{assign var=customFields value=$Article->getCustomFields()}
{if count($customFields)}
<ul class="quiqqer-order-profile-orders-order-articles-article-description-customFields">
{foreach $customFields as $field}
<li class="quiqqer-order-profile-orders-order-articles-article-description-customFields-field">
<span>{$field.title}:</span>
<span>{$field.custom_calc.valueText}</span>
</li>
{/foreach}
</ul>
{/if}
</div>
<div class="quiqqer-order-profile-orders-order-articles-article-price">
......
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