@@ -150,10 +150,13 @@ |
||
| 150 | 150 | |
| 151 | 151 | </ul> |
| 152 | 152 | |
| 153 | - <?php else : ?> |
|
| 153 | + <?php else { |
|
| 154 | + : ?> |
|
| 154 | 155 | |
| 155 | 156 | <select class="form-control select-list" |
| 156 | - name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrvarid', $code] ) ); ?>" |
|
| 157 | + name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrvarid', $code] ) ); |
|
| 158 | +} |
|
| 159 | +?>" |
|
| 157 | 160 | data-index="<?= $index++; ?>" data-type="<?= $enc->attr( $code ); ?>" > |
| 158 | 161 | |
| 159 | 162 | <?php if( !$this->config( 'client/html/catalog/selection/preselect/' . $code, false ) ) : ?> |
@@ -322,8 +322,7 @@ |
||
| 322 | 322 | { |
| 323 | 323 | $serviceCntl = \Aimeos\Controller\Frontend::create( $context, 'service' ); |
| 324 | 324 | $orderItem = $serviceCntl->updateSync( $view->request(), $code, $orderid ); |
| 325 | - } |
|
| 326 | - else |
|
| 325 | + } else |
|
| 327 | 326 | { |
| 328 | 327 | $orderCntl = \Aimeos\Controller\Frontend::create( $context, 'order' ); |
| 329 | 328 | $orderItem = $orderCntl->get( $orderid, false ); |
@@ -317,13 +317,11 @@ |
||
| 317 | 317 | { |
| 318 | 318 | $item = $item->set( 'checked', true ); |
| 319 | 319 | unset( $params[$key] ); |
| 320 | - } |
|
| 321 | - elseif( ( $key = array_search( $id, $oneIds ) ) !== false ) |
|
| 320 | + } elseif( ( $key = array_search( $id, $oneIds ) ) !== false ) |
|
| 322 | 321 | { |
| 323 | 322 | $item = $item->set( 'checked', true ); |
| 324 | 323 | unset( $params[$key] ); |
| 325 | - } |
|
| 326 | - elseif( ( $key = array_search( $id, $optIds ) ) !== false ) |
|
| 324 | + } elseif( ( $key = array_search( $id, $optIds ) ) !== false ) |
|
| 327 | 325 | { |
| 328 | 326 | $item = $item->set( 'checked', true ); |
| 329 | 327 | unset( $params[$key] ); |
@@ -55,8 +55,11 @@ |
||
| 55 | 55 | $this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address-standard' ), |
| 56 | 56 | ['addresses' => $addresses, 'type' => 'delivery'] |
| 57 | 57 | ); ?> |
| 58 | - <?php else : ?> |
|
| 59 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
| 58 | + <?php else { |
|
| 59 | + : ?> |
|
| 60 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
| 61 | +} |
|
| 62 | +?> |
|
| 60 | 63 | <?php endif; ?> |
| 61 | 64 | </div> |
| 62 | 65 | </div> |