Completed
Push — master ( 9b51fc...1cffcf )
by Aimeos
03:25
created
client/html/templates/checkout/standard/summary-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,11 @@
 block discarded – undo
83 83
 						$this->config( 'client/html/checkout/standard/summary/address', 'common/summary/address-standard' ),
84 84
 						['addresses' => $addresses, 'type' => 'delivery']
85 85
 					); ?>
86
-				<?php else : ?>
87
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
86
+				<?php else {
87
+	: ?>
88
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
89
+}
90
+?>
88 91
 				<?php endif; ?>
89 92
 			</div>
90 93
 		</div>
Please login to merge, or discard this patch.
client/html/templates/checkout/standard/process-body-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,9 +57,12 @@  discard block
 block discarded – undo
57 57
 		<p class="order-notice">
58 58
 			<?= $enc->html( $this->translate( 'client', 'Please enter your payment details' ), $enc::TRUST ); ?>
59 59
 		</p>
60
-	<?php else : ?>
60
+	<?php else {
61
+	: ?>
61 62
 		<p class="order-notice">
62
-			<?= $enc->html( $this->translate( 'client', 'You will now be forwarded to the next step' ), $enc::TRUST ); ?>
63
+			<?= $enc->html( $this->translate( 'client', 'You will now be forwarded to the next step' ), $enc::TRUST );
64
+}
65
+?>
63 66
 		</p>
64 67
 	<?php endif; ?>
65 68
 
@@ -158,10 +161,13 @@  discard block
 block discarded – undo
158 161
 				<?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST ); ?>
159 162
 			</a>
160 163
 
161
-		<?php else : ?>
164
+		<?php else {
165
+	: ?>
162 166
 
163 167
 			<button class="btn btn-primary btn-lg btn-action">
164
-				<?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST ); ?>
168
+				<?= $enc->html( $this->translate( 'client', 'Proceed' ), $enc::TRUST );
169
+}
170
+?>
165 171
 			</button>
166 172
 
167 173
 		<?php endif; ?>
Please login to merge, or discard this patch.
client/html/templates/checkout/standard/delivery-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,17 @@
 block discarded – undo
41 41
 									$this->translate( 'currency', $price->getCurrencyId() )
42 42
 								) ); ?>
43 43
 							</span>
44
-						<?php else : ?>
44
+						<?php else {
45
+	: ?>
45 46
 							<span class="price-value">
46 47
 								<?= $enc->html( sprintf(
47 48
 									/// Price format with price value (%1$s) and currency (%2$s)
48 49
 									$this->translate( 'client/code', 'price:default', null, 0, false ) ?: $this->translate( 'client', '%1$s %2$s' ),
49 50
 									$this->number( $price->getCosts() > 0 ? $price->getCosts() : 0, $price->getPrecision() ),
50 51
 									$this->translate( 'currency', $price->getCurrencyId() )
51
-								) ); ?>
52
+								) );
53
+}
54
+?>
52 55
 							</span>
53 56
 						<?php endif; ?>
54 57
 
Please login to merge, or discard this patch.
client/html/src/Client/Html/Checkout/Standard/Process/Account/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,9 +219,12 @@
 block discarded – undo
219 219
 		$context = $this->getContext();
220 220
 		$cntl = \Aimeos\Controller\Frontend::create( $context, 'customer' );
221 221
 
222
-		try {
222
+		try
223
+		{
223 224
 			$id = $cntl->find( $addr->getEmail() )->getId();
224
-		} catch( \Exception $e ) {
225
+		}
226
+		catch( \Exception $e )
227
+		{
225 228
 			$id = $new ? $cntl->add( $addr->toArray() )->store()->get()->getId() : null;
226 229
 		}
227 230
 
Please login to merge, or discard this patch.