Passed
Push — master ( 080054...772b6c )
by Aimeos
05:10
created
admin/jqadm/templates/order/item-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -337,8 +337,11 @@  discard block
 block discarded – undo
337 337
 										<div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div>
338 338
 									</div>
339 339
 								<?php endforeach; ?>
340
-							<?php else : ?>
341
-								<?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?>
340
+							<?php else {
341
+	: ?>
342
+								<?= $enc->html( $this->translate( 'admin', 'No voucher' ) );
343
+}
344
+?>
342 345
 							<?php endif; ?>
343 346
 						</div>
344 347
 
@@ -767,8 +770,11 @@  discard block
 block discarded – undo
767 770
 									<div class="col-6 name">
768 771
 										<?php if( $basket->getPrice()->getTaxFlag() ) : ?>
769 772
 											<?= $enc->html( $this->translate( 'admin', 'Tax' ) ); ?>
770
-										<?php else : ?>
771
-											<?= $enc->html( $this->translate( 'admin', 'Tax' ) ); ?>
773
+										<?php else {
774
+	: ?>
775
+											<?= $enc->html( $this->translate( 'admin', 'Tax' ) );
776
+}
777
+?>
772 778
 										<?php endif; ?>
773 779
 									</div>
774 780
 									<div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div>
Please login to merge, or discard this patch.