@@ -117,10 +117,13 @@ |
||
| 117 | 117 | <?= $enc->html( $this->translate( 'mshop/code', 'status:-2' ) ); ?> |
| 118 | 118 | </option> |
| 119 | 119 | </select> |
| 120 | - <?php else : ?> |
|
| 120 | + <?php else { |
|
| 121 | + : ?> |
|
| 121 | 122 | <span class="form-control item-status"> |
| 122 | 123 | <?php $key = 'status:' . $this->get( 'itemData/review.status' ) ?> |
| 123 | - <?= $enc->html( $this->translate( 'mshop/code', $key ) ); ?> |
|
| 124 | + <?= $enc->html( $this->translate( 'mshop/code', $key ) ); |
|
| 125 | +} |
|
| 126 | +?> |
|
| 124 | 127 | </span> |
| 125 | 128 | <?php endif ?> |
| 126 | 129 | </div> |
@@ -184,9 +184,12 @@ |
||
| 184 | 184 | </option> |
| 185 | 185 | <?php endforeach; ?> |
| 186 | 186 | </select> |
| 187 | - <?php else : ?> |
|
| 187 | + <?php else { |
|
| 188 | + : ?> |
|
| 188 | 189 | <input class="item-languageid" type="hidden" |
| 189 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); ?>" |
|
| 190 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); |
|
| 191 | +} |
|
| 192 | +?>" |
|
| 190 | 193 | value="<?= $enc->attr( $languages->getCode()->first() ); ?>" /> |
| 191 | 194 | <?php endif; ?> |
| 192 | 195 | </div> |
@@ -345,8 +345,11 @@ discard block |
||
| 345 | 345 | <div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div> |
| 346 | 346 | </div> |
| 347 | 347 | <?php endforeach; ?> |
| 348 | - <?php else : ?> |
|
| 349 | - <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?> |
|
| 348 | + <?php else { |
|
| 349 | + : ?> |
|
| 350 | + <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); |
|
| 351 | +} |
|
| 352 | +?> |
|
| 350 | 353 | <?php endif; ?> |
| 351 | 354 | </div> |
| 352 | 355 | </div> |
@@ -777,8 +780,11 @@ discard block |
||
| 777 | 780 | <div class="col-6 name"> |
| 778 | 781 | <?php if( $basket->getPrice()->getTaxFlag() ) : ?> |
| 779 | 782 | <?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?> |
| 780 | - <?php else : ?> |
|
| 781 | - <?= $enc->html( $this->translate( 'admin', '+ Tax' ) ); ?> |
|
| 783 | + <?php else { |
|
| 784 | + : ?> |
|
| 785 | + <?= $enc->html( $this->translate( 'admin', '+ Tax' ) ); |
|
| 786 | +} |
|
| 787 | +?> |
|
| 782 | 788 | <?php endif; ?> |
| 783 | 789 | </div> |
| 784 | 790 | <div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div> |