Passed
Push — master ( 5ef141...611970 )
by Aimeos
03:16
created
admin/jqadm/templates/order/item-standard.php 1 patch
Braces   +11 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
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
 };
@@ -325,8 +324,11 @@  discard block
 block discarded – undo
325 324
 										<div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div>
326 325
 									</div>
327 326
 								<?php endforeach; ?>
328
-							<?php else : ?>
329
-								<?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?>
327
+							<?php else {
328
+	: ?>
329
+								<?= $enc->html( $this->translate( 'admin', 'No voucher' ) );
330
+}
331
+?>
330 332
 							<?php endif; ?>
331 333
 						</div>
332 334
 
@@ -753,8 +755,11 @@  discard block
 block discarded – undo
753 755
 								<div class="col-6 name">
754 756
 									<?php if( $basket->getPrice()->getTaxFlag() ) : ?>
755 757
 										<?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?>
756
-									<?php else : ?>
757
-										<?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); ?>
758
+									<?php else {
759
+	: ?>
760
+										<?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) );
761
+}
762
+?>
758 763
 									<?php endif; ?>
759 764
 								</div>
760 765
 								<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/common/partials/listsearch-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,11 @@
 block discarded – undo
52 52
 								</option>
53 53
 							<?php endforeach; ?>
54 54
 						</select>
55
-					<?php else : ?>
56
-						<input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
55
+					<?php else {
56
+	: ?>
57
+						<input class="form-control" type="<?= $enc->attr( $type );
58
+}
59
+?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
57 60
 							name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>"
58 61
 							value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx ) ); ?>" />
59 62
 					<?php endif; ?>
Please login to merge, or discard this patch.