@@ -9,8 +9,7 @@ discard block |
||
| 9 | 9 | return ( $key == $code ? 'selected="selected"' : '' ); |
| 10 | 10 | }; |
| 11 | 11 | |
| 12 | -$sortItems = function( array $items ) |
|
| 13 | -{ |
|
| 12 | +$sortItems = function( array $items ) { |
|
| 14 | 13 | krsort( $items ); |
| 15 | 14 | return $items; |
| 16 | 15 | }; |
@@ -340,8 +339,11 @@ discard block |
||
| 340 | 339 | <div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div> |
| 341 | 340 | </div> |
| 342 | 341 | <?php endforeach; ?> |
| 343 | - <?php else : ?> |
|
| 344 | - <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?> |
|
| 342 | + <?php else { |
|
| 343 | + : ?> |
|
| 344 | + <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); |
|
| 345 | +} |
|
| 346 | +?> |
|
| 345 | 347 | <?php endif; ?> |
| 346 | 348 | </div> |
| 347 | 349 | |
@@ -768,8 +770,11 @@ discard block |
||
| 768 | 770 | <div class="col-6 name"> |
| 769 | 771 | <?php if( $basket->getPrice()->getTaxFlag() ) : ?> |
| 770 | 772 | <?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?> |
| 771 | - <?php else : ?> |
|
| 772 | - <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); ?> |
|
| 773 | + <?php else { |
|
| 774 | + : ?> |
|
| 775 | + <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); |
|
| 776 | +} |
|
| 777 | +?> |
|
| 773 | 778 | <?php endif; ?> |
| 774 | 779 | </div> |
| 775 | 780 | <div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div> |