@@ -334,8 +334,11 @@ discard block |
||
| 334 | 334 | <div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div> |
| 335 | 335 | </div> |
| 336 | 336 | <?php endforeach; ?> |
| 337 | - <?php else : ?> |
|
| 338 | - <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?> |
|
| 337 | + <?php else { |
|
| 338 | + : ?> |
|
| 339 | + <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); |
|
| 340 | +} |
|
| 341 | +?> |
|
| 339 | 342 | <?php endif; ?> |
| 340 | 343 | </div> |
| 341 | 344 | |
@@ -762,8 +765,11 @@ discard block |
||
| 762 | 765 | <div class="col-6 name"> |
| 763 | 766 | <?php if( $basket->getPrice()->getTaxFlag() ) : ?> |
| 764 | 767 | <?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?> |
| 765 | - <?php else : ?> |
|
| 766 | - <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); ?> |
|
| 768 | + <?php else { |
|
| 769 | + : ?> |
|
| 770 | + <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); |
|
| 771 | +} |
|
| 772 | +?> |
|
| 767 | 773 | <?php endif; ?> |
| 768 | 774 | </div> |
| 769 | 775 | <div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div> |