@@ -83,8 +83,11 @@ |
||
83 | 83 | $this->config( 'client/html/checkout/standard/summary/address', 'common/summary/address-standard' ), |
84 | 84 | ['addresses' => $addresses, 'type' => 'delivery'] |
85 | 85 | ); ?> |
86 | - <?php else : ?> |
|
87 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
86 | + <?php else { |
|
87 | + : ?> |
|
88 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
89 | +} |
|
90 | +?> |
|
88 | 91 | <?php endif; ?> |
89 | 92 | </div> |
90 | 93 | </div> |
@@ -57,9 +57,12 @@ discard block |
||
57 | 57 | <p class="order-notice"> |
58 | 58 | <?= $enc->html( $this->translate( 'client', 'Please enter your payment details' ), $enc::TRUST ); ?> |
59 | 59 | </p> |
60 | - <?php else : ?> |
|
60 | + <?php else { |
|
61 | + : ?> |
|
61 | 62 | <p class="order-notice"> |
62 | - <?= $enc->html( $this->translate( 'client', 'You will now be forwarded to the next step' ), $enc::TRUST ); ?> |
|
63 | + <?= $enc->html( $this->translate( 'client', 'You will now be forwarded to the next step' ), $enc::TRUST ); |
|
64 | +} |
|
65 | +?> |
|
63 | 66 | </p> |
64 | 67 | <?php endif; ?> |
65 | 68 | |
@@ -158,10 +161,13 @@ discard block |
||
158 | 161 | <?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST ); ?> |
159 | 162 | </a> |
160 | 163 | |
161 | - <?php else : ?> |
|
164 | + <?php else { |
|
165 | + : ?> |
|
162 | 166 | |
163 | 167 | <button class="btn btn-primary btn-lg btn-action"> |
164 | - <?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST ); ?> |
|
168 | + <?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST ); |
|
169 | +} |
|
170 | +?> |
|
165 | 171 | </button> |
166 | 172 | |
167 | 173 | <?php endif; ?> |
@@ -41,14 +41,17 @@ |
||
41 | 41 | $this->translate( 'currency', $price->getCurrencyId() ) |
42 | 42 | ) ); ?> |
43 | 43 | </span> |
44 | - <?php else : ?> |
|
44 | + <?php else { |
|
45 | + : ?> |
|
45 | 46 | <span class="price-value"> |
46 | 47 | <?= $enc->html( sprintf( |
47 | 48 | /// Price format with price value (%1$s) and currency (%2$s) |
48 | 49 | $this->translate( 'client/code', 'price:default', null, null, false ) ?: $this->translate( 'client', '%1$s %2$s' ), |
49 | 50 | $this->number( $price->getCosts() > 0 ? $price->getCosts() : 0, $price->getPrecision() ), |
50 | 51 | $this->translate( 'currency', $price->getCurrencyId() ) |
51 | - ) ); ?> |
|
52 | + ) ); |
|
53 | +} |
|
54 | +?> |
|
52 | 55 | </span> |
53 | 56 | <?php endif; ?> |
54 | 57 |