@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['price.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['price.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['price.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['price.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |
@@ -56,16 +56,14 @@ |
||
| 56 | 56 | $controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' ); |
| 57 | 57 | $action = $this->config( 'admin/jqadm/url/get/action', 'get' ); |
| 58 | 58 | $config = $this->config( 'admin/jqadm/url/get/config', [] ); |
| 59 | - } |
|
| 60 | - else |
|
| 59 | + } else |
|
| 61 | 60 | { |
| 62 | 61 | $target = $this->config( 'admin/jqadm/url/create/target' ); |
| 63 | 62 | $controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' ); |
| 64 | 63 | $action = $this->config( 'admin/jqadm/url/create/action', 'create' ); |
| 65 | 64 | $config = $this->config( 'admin/jqadm/url/create/config', [] ); |
| 66 | 65 | } |
| 67 | -} |
|
| 68 | -else |
|
| 66 | +} else |
|
| 69 | 67 | { |
| 70 | 68 | $target = $this->config( 'admin/jqadm/url/search/target' ); |
| 71 | 69 | $controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' ); |
@@ -294,8 +294,7 @@ |
||
| 294 | 294 | $propItem->setValue( $value ); |
| 295 | 295 | |
| 296 | 296 | $item->addPropertyItem( $propItem ); |
| 297 | - } |
|
| 298 | - else |
|
| 297 | + } else |
|
| 299 | 298 | { |
| 300 | 299 | $item->deletePropertyItems( $propItems->toArray() ); |
| 301 | 300 | } |
@@ -334,8 +334,11 @@ discard block |
||
| 334 | 334 | <div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div> |
| 335 | 335 | </div> |
| 336 | 336 | <?php endforeach; ?> |
| 337 | - <?php else : ?> |
|
| 338 | - <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?> |
|
| 337 | + <?php else { |
|
| 338 | + : ?> |
|
| 339 | + <?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); |
|
| 340 | +} |
|
| 341 | +?> |
|
| 339 | 342 | <?php endif; ?> |
| 340 | 343 | </div> |
| 341 | 344 | |
@@ -762,8 +765,11 @@ discard block |
||
| 762 | 765 | <div class="col-6 name"> |
| 763 | 766 | <?php if( $basket->getPrice()->getTaxFlag() ) : ?> |
| 764 | 767 | <?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?> |
| 765 | - <?php else : ?> |
|
| 766 | - <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); ?> |
|
| 768 | + <?php else { |
|
| 769 | + : ?> |
|
| 770 | + <?= $enc->html( $this->translate( 'admin', 'Excl. tax' ) ); |
|
| 771 | +} |
|
| 772 | +?> |
|
| 767 | 773 | <?php endif; ?> |
| 768 | 774 | </div> |
| 769 | 775 | <div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div> |
@@ -123,9 +123,12 @@ discard block |
||
| 123 | 123 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 124 | 124 | </div> |
| 125 | 125 | </div> |
| 126 | - <?php else : ?> |
|
| 126 | + <?php else { |
|
| 127 | + : ?> |
|
| 127 | 128 | <input class="item-type" type="hidden" |
| 128 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 129 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); |
|
| 130 | +} |
|
| 131 | +?>'.replace('_idx_', idx)" |
|
| 129 | 132 | value="<?= $enc->attr( $mediaTypes->getCode()->first() ) ?>" /> |
| 130 | 133 | <?php endif; ?> |
| 131 | 134 | |
@@ -188,9 +191,12 @@ discard block |
||
| 188 | 191 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 189 | 192 | </div> |
| 190 | 193 | </div> |
| 191 | - <?php else : ?> |
|
| 194 | + <?php else { |
|
| 195 | + : ?> |
|
| 192 | 196 | <input class="listitem-type" type="hidden" |
| 193 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'service.lists.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 197 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'service.lists.type'] ) ); |
|
| 198 | +} |
|
| 199 | +?>'.replace('_idx_', idx)" |
|
| 194 | 200 | value="<?= $enc->attr( $listTypes->getCode()->first() ) ?>" /> |
| 195 | 201 | <?php endif; ?> |
| 196 | 202 | <div class="form-group row optional"> |
@@ -140,9 +140,12 @@ discard block |
||
| 140 | 140 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 141 | 141 | </div> |
| 142 | 142 | </div> |
| 143 | - <?php else : ?> |
|
| 143 | + <?php else { |
|
| 144 | + : ?> |
|
| 144 | 145 | <input class="text-langid" type="hidden" |
| 145 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'text.languageid' ) ) ); ?>'.replace('_idx_', idx)" |
|
| 146 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'text.languageid' ) ) ); |
|
| 147 | +} |
|
| 148 | +?>'.replace('_idx_', idx)" |
|
| 146 | 149 | value="<?= $enc->attr( $languages->getCode()->first() ) ?>" /> |
| 147 | 150 | <?php endif; ?> |
| 148 | 151 | |
@@ -162,9 +165,12 @@ discard block |
||
| 162 | 165 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 163 | 166 | </div> |
| 164 | 167 | </div> |
| 165 | - <?php else : ?> |
|
| 168 | + <?php else { |
|
| 169 | + : ?> |
|
| 166 | 170 | <input class="item-type" type="hidden" |
| 167 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'text.type' ) ) ); ?>'.replace('_idx_', idx)" |
|
| 171 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'text.type' ) ) ); |
|
| 172 | +} |
|
| 173 | +?>'.replace('_idx_', idx)" |
|
| 168 | 174 | value="<?= $enc->attr( $textTypes->getCode()->first() ) ?>" /> |
| 169 | 175 | <?php endif; ?> |
| 170 | 176 | |
@@ -212,9 +218,12 @@ discard block |
||
| 212 | 218 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 213 | 219 | </div> |
| 214 | 220 | </div> |
| 215 | - <?php else : ?> |
|
| 221 | + <?php else { |
|
| 222 | + : ?> |
|
| 216 | 223 | <input class="listitem-type" type="hidden" |
| 217 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'service.lists.type' ) ) ); ?>'.replace('_idx_', idx)" |
|
| 224 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', '_idx_', 'service.lists.type' ) ) ); |
|
| 225 | +} |
|
| 226 | +?>'.replace('_idx_', idx)" |
|
| 218 | 227 | value="<?= $enc->attr( $listTypes->getCode()->first() ) ?>" /> |
| 219 | 228 | <?php endif; ?> |
| 220 | 229 | |
@@ -161,9 +161,12 @@ discard block |
||
| 161 | 161 | </select> |
| 162 | 162 | </div> |
| 163 | 163 | </div> |
| 164 | - <?php else : ?> |
|
| 164 | + <?php else { |
|
| 165 | + : ?> |
|
| 165 | 166 | <input class="item-currencyid" type="hidden" |
| 166 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 167 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 168 | +} |
|
| 169 | +?>'.replace('idx', idx)" |
|
| 167 | 170 | value="<?= $enc->attr( $currencies->getCode()->first() ) ?>" /> |
| 168 | 171 | <?php endif; ?> |
| 169 | 172 | |
@@ -183,9 +186,12 @@ discard block |
||
| 183 | 186 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 184 | 187 | </div> |
| 185 | 188 | </div> |
| 186 | - <?php else : ?> |
|
| 189 | + <?php else { |
|
| 190 | + : ?> |
|
| 187 | 191 | <input class="item-type" type="hidden" |
| 188 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 192 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 193 | +} |
|
| 194 | +?>'.replace('idx', idx)" |
|
| 189 | 195 | value="<?= $enc->attr( $priceTypes->getCode()->first() ) ?>" /> |
| 190 | 196 | <?php endif; ?> |
| 191 | 197 | |
@@ -233,9 +239,12 @@ discard block |
||
| 233 | 239 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 234 | 240 | </div> |
| 235 | 241 | </div> |
| 236 | - <?php else : ?> |
|
| 242 | + <?php else { |
|
| 243 | + : ?> |
|
| 237 | 244 | <input class="listitem-type" type="hidden" |
| 238 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 245 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); |
|
| 246 | +} |
|
| 247 | +?>'.replace('idx', idx)" |
|
| 239 | 248 | value="<?= $enc->attr( $listTypes->getCode()->first() ) ?>" /> |
| 240 | 249 | <?php endif; ?> |
| 241 | 250 | |
@@ -123,9 +123,12 @@ discard block |
||
| 123 | 123 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 124 | 124 | </div> |
| 125 | 125 | </div> |
| 126 | - <?php else : ?> |
|
| 126 | + <?php else { |
|
| 127 | + : ?> |
|
| 127 | 128 | <input class="item-type" type="hidden" |
| 128 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 129 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); |
|
| 130 | +} |
|
| 131 | +?>'.replace('_idx_', idx)" |
|
| 129 | 132 | value="<?= $enc->attr( $mediaTypes->getCode()->first() ) ?>" /> |
| 130 | 133 | <?php endif; ?> |
| 131 | 134 | |
@@ -188,9 +191,12 @@ discard block |
||
| 188 | 191 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 189 | 192 | </div> |
| 190 | 193 | </div> |
| 191 | - <?php else : ?> |
|
| 194 | + <?php else { |
|
| 195 | + : ?> |
|
| 192 | 196 | <input class="listitem-type" type="hidden" |
| 193 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'supplier.lists.type'] ) ); ?>'.replace('_idx_', idx)" |
|
| 197 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'supplier.lists.type'] ) ); |
|
| 198 | +} |
|
| 199 | +?>'.replace('_idx_', idx)" |
|
| 194 | 200 | value="<?= $enc->attr( $listTypes->getCode()->first() ) ?>" /> |
| 195 | 201 | <?php endif; ?> |
| 196 | 202 | <div class="form-group row optional"> |