@@ -83,8 +83,7 @@ |
||
83 | 83 | |
84 | 84 | $serviceCntl = \Aimeos\Controller\Frontend::create( $context, 'service' ); |
85 | 85 | $orderItem = $serviceCntl->config( ['payment.url-self' => $url] )->updateSync( $view->request(), $code, $orderid ); |
86 | - } |
|
87 | - else |
|
86 | + } else |
|
88 | 87 | { |
89 | 88 | $orderItem = $orderCntl->get( $orderid, false ); |
90 | 89 | } |
@@ -15,7 +15,8 @@ discard block |
||
15 | 15 | </div> |
16 | 16 | </div> |
17 | 17 | </section> |
18 | -<?php else : ?> |
|
18 | +<?php else { |
|
19 | + : ?> |
|
19 | 20 | ?> |
20 | 21 | <div class="section aimeos checkout-confirm" data-jsonurl="<?= $enc->attr( $this->link( 'client/jsonapi/url' ) ) ?>"> |
21 | 22 | <div class="container-xxl"> |
@@ -25,7 +26,9 @@ discard block |
||
25 | 26 | <div class="checkout-confirm-intro"> |
26 | 27 | <?php switch( $this->confirmOrderItem->getStatusPayment() ) : case \Aimeos\MShop\Order\Item\Base::PAY_CANCELED: ?> |
27 | 28 | <p class="note"><?= nl2br( $enc->html( $this->translate( 'client', "The order was canceled. |
28 | -Do you wish to retry your order?" ), $enc::TRUST ) ); break ?></p> |
|
29 | +Do you wish to retry your order?" ), $enc::TRUST ) ); |
|
30 | +} |
|
31 | +break ?></p> |
|
29 | 32 | <?php case \Aimeos\MShop\Order\Item\Base::PAY_REFUSED: ?> |
30 | 33 | <p class="note"><?= nl2br( $enc->html( $this->translate( 'client', "Unfortunately, the payment for your order was refused. |
31 | 34 | Do you wish to retry?" ), $enc::TRUST ) ); break ?></p> |
@@ -128,7 +131,8 @@ discard block |
||
128 | 131 | $this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address' ), |
129 | 132 | ['addresses' => $addresses] |
130 | 133 | ) ?> |
131 | - <?php else : ?> |
|
134 | + <?php else { |
|
135 | + : ?> |
|
132 | 136 | <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ) ?> |
133 | 137 | <?php endif ?> |
134 | 138 | </div> |
@@ -250,4 +254,6 @@ discard block |
||
250 | 254 | </div> |
251 | 255 | </div> |
252 | 256 | </div> |
253 | -<?php endif; ?> |
|
257 | +<?php endif; |
|
258 | +} |
|
259 | +?> |