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

refactor: fix: template-cologne#39

Übergeordneter 21d456a4
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -37,6 +37,7 @@
<div class="">
<h4>{locale group="quiqqer/order" var="mail.order.confirmation.payment.title"}</h4>
{$Payment->getTitle()}
{$Payment->getOrderInformationText($Order)}
</div>
{/if}
......
......@@ -243,7 +243,7 @@ protected function send()
// is one invalid, go to them
foreach ($steps as $name => $Step) {
/* @var $Step AbstractOrderingStep */
if ($Step->getName() === 'checkout' || $Step->getName() === 'finish') {
if ($Step->getName() === 'Checkout' || $Step->getName() === 'Finish') {
continue;
}
......@@ -293,9 +293,8 @@ protected function send()
}
$this->setAttribute('orderHash', $this->Order->getHash());
$this->setAttribute('current', 'finish');
$this->setAttribute('step', 'finish');
$this->setAttribute('current', 'Finish');
$this->setAttribute('step', 'Finish');
// set all to successful
$this->cleanup();
......@@ -460,8 +459,8 @@ public function getBody()
}
// standard procedure
$steps = $this->getSteps();
$Current = $this->getCurrentStep();
$steps = $this->getSteps();
$LastStep = \end($steps);
$this->checkSubmission();
$this->checkSuccessfulStatus();
......@@ -475,14 +474,14 @@ public function getBody()
$Order = $this->Order;
}
$LastStep = \end($steps);
$this->setAttribute('step', $LastStep->getName());
$this->setAttribute('orderHash', $Order->getHash());
return $this->renderFinish();
}
$Current = $this->getCurrentStep();
// check all previous steps
// is one invalid, go to them
foreach ($steps as $name => $Step) {
......
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