Passed
Push — master ( ae2cd9...fbe1d2 )
by Aimeos
03:33
created
admin/jqadm/templates/order/item-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -345,8 +345,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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>
Please login to merge, or discard this patch.
admin/jqadm/templates/plugin/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,9 +140,12 @@
 block discarded – undo
140 140
 											</select>
141 141
 										</div>
142 142
 									</div>
143
-								<?php else : ?>
143
+								<?php else {
144
+	: ?>
144 145
 									<input class="item-type" type="hidden"
145
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>"
146
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) );
147
+}
148
+?>"
146 149
 										value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
147 150
 								<?php endif; ?>
148 151
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,9 +356,12 @@
 block discarded – undo
356 356
 											</select>
357 357
 										</div>
358 358
 									</div>
359
-								<?php else : ?>
359
+								<?php else {
360
+	: ?>
360 361
 									<input class="item-type" type="hidden"
361
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>"
362
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) );
363
+}
364
+?>"
362 365
 										value="<?= $enc->attr( $types->firstKey() ) ?>" />
363 366
 								<?php endif; ?>
364 367
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,9 +140,12 @@
 block discarded – undo
140 140
 											</select>
141 141
 										</div>
142 142
 									</div>
143
-								<?php else : ?>
143
+								<?php else {
144
+	: ?>
144 145
 									<input class="item-type" type="hidden"
145
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>"
146
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) );
147
+}
148
+?>"
146 149
 										value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
147 150
 								<?php endif; ?>
148 151
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.