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

fix: #87

Übergeordneter 89429bd2
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -19,6 +19,7 @@
<span class="quiqqer-order-control-order-header-placer">|</span>
{/if}
{if $shippingIsInstalled}
<div class="quiqqer-order-control-order-header-id">
{if $Order->isPosted() && $Order->getAttribute('downloadLink')}
<a href="{$Order->getAttribute('downloadLink')}" target="_blank">
......@@ -32,6 +33,7 @@
</a>
{/if}
</div>
{/if}
</header>
<div class="quiqqer-order-control-order-information">
......@@ -185,4 +187,4 @@
</article>
{assign var=pos value=$pos+1}
{/foreach}
</section>
\ No newline at end of file
</section>
......@@ -115,18 +115,18 @@ public function getBody()
$DeliveryAddress = null;
}
// template
$Engine->assign([
'Order' => $View,
'Articles' => $View->getArticles(),
'Invoice' => $Invoice,
'Calculation' => $View->getPriceCalculation(),
'Vats' => $View->getPriceCalculation()->getVat(),
'PriceFactors' => $View->getArticles()->getPriceFactors(),
'Payment' => $View->getPayment(),
'DeliveryAddress' => $DeliveryAddress,
'Shipping' => $Order->getShipping()
'Order' => $View,
'Articles' => $View->getArticles(),
'Invoice' => $Invoice,
'Calculation' => $View->getPriceCalculation(),
'Vats' => $View->getPriceCalculation()->getVat(),
'PriceFactors' => $View->getArticles()->getPriceFactors(),
'Payment' => $View->getPayment(),
'DeliveryAddress' => $DeliveryAddress,
'shippingIsInstalled' => QUI\ERP\Utils\Shop::isShippingInstalled(),
'Shipping' => $Order->getShipping()
]);
return $Engine->fetch($template);
......
......@@ -78,7 +78,7 @@
{/if}
</div>
{if $DeliveryAddress || $Shipping}
{if $shippingIsInstalled && ($DeliveryAddress || $Shipping)}
<div class="quiqqer-order-control-order-information-delivery">
{if $DeliveryAddress}
<section class="quiqqer-order-control-order-information-delivery-address">
......
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