@@ -154,9 +154,12 @@ discard block |
||
| 154 | 154 | </select> |
| 155 | 155 | </div> |
| 156 | 156 | </div> |
| 157 | - <?php else : ?> |
|
| 157 | + <?php else { |
|
| 158 | + : ?> |
|
| 158 | 159 | <input class="item-currencyid" type="hidden" |
| 159 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 160 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 161 | +} |
|
| 162 | +?>'.replace('idx', idx)" |
|
| 160 | 163 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 161 | 164 | <?php endif; ?> |
| 162 | 165 | |
@@ -184,9 +187,12 @@ discard block |
||
| 184 | 187 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 185 | 188 | </div> |
| 186 | 189 | </div> |
| 187 | - <?php else : ?> |
|
| 190 | + <?php else { |
|
| 191 | + : ?> |
|
| 188 | 192 | <input class="item-type" type="hidden" |
| 189 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 193 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 194 | +} |
|
| 195 | +?>'.replace('idx', idx)" |
|
| 190 | 196 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 191 | 197 | <?php endif; ?> |
| 192 | 198 | |
@@ -242,9 +248,12 @@ discard block |
||
| 242 | 248 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 243 | 249 | </div> |
| 244 | 250 | </div> |
| 245 | - <?php else : ?> |
|
| 251 | + <?php else { |
|
| 252 | + : ?> |
|
| 246 | 253 | <input class="listitem-type" type="hidden" |
| 247 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 254 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); |
|
| 255 | +} |
|
| 256 | +?>'.replace('idx', idx)" |
|
| 248 | 257 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 249 | 258 | v-model="items[idx]['product.lists.type']" /> |
| 250 | 259 | <?php endif; ?> |
@@ -115,9 +115,12 @@ discard block |
||
| 115 | 115 | <?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?> |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | - <?php else : ?> |
|
| 118 | + <?php else { |
|
| 119 | + : ?> |
|
| 119 | 120 | <input class="text-langid" type="hidden" |
| 120 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
| 121 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); |
|
| 122 | +} |
|
| 123 | +?>'.replace('idx', idx)" |
|
| 121 | 124 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
| 122 | 125 | <?php endif; ?> |
| 123 | 126 | |
@@ -146,9 +149,12 @@ discard block |
||
| 146 | 149 | <?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?> |
| 147 | 150 | </div> |
| 148 | 151 | </div> |
| 149 | - <?php else : ?> |
|
| 152 | + <?php else { |
|
| 153 | + : ?> |
|
| 150 | 154 | <input class="item-type" type="hidden" |
| 151 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 155 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); |
|
| 156 | +} |
|
| 157 | +?>'.replace('idx', idx)" |
|
| 152 | 158 | value="<?= $enc->attr( key( $textTypes ) ); ?>" /> |
| 153 | 159 | <?php endif; ?> |
| 154 | 160 | |
@@ -204,9 +210,12 @@ discard block |
||
| 204 | 210 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 205 | 211 | </div> |
| 206 | 212 | </div> |
| 207 | - <?php else : ?> |
|
| 213 | + <?php else { |
|
| 214 | + : ?> |
|
| 208 | 215 | <input class="listitem-type" type="hidden" |
| 209 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['service.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -154,9 +154,12 @@ discard block |
||
| 154 | 154 | </select> |
| 155 | 155 | </div> |
| 156 | 156 | </div> |
| 157 | - <?php else : ?> |
|
| 157 | + <?php else { |
|
| 158 | + : ?> |
|
| 158 | 159 | <input class="item-currencyid" type="hidden" |
| 159 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)" |
|
| 160 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); |
|
| 161 | +} |
|
| 162 | +?>'.replace('idx', idx)" |
|
| 160 | 163 | value="<?= $enc->attr( key( $currencies ) ); ?>" /> |
| 161 | 164 | <?php endif; ?> |
| 162 | 165 | |
@@ -184,9 +187,12 @@ discard block |
||
| 184 | 187 | <?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?> |
| 185 | 188 | </div> |
| 186 | 189 | </div> |
| 187 | - <?php else : ?> |
|
| 190 | + <?php else { |
|
| 191 | + : ?> |
|
| 188 | 192 | <input class="item-type" type="hidden" |
| 189 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 193 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); |
|
| 194 | +} |
|
| 195 | +?>'.replace('idx', idx)" |
|
| 190 | 196 | value="<?= $enc->attr( key( $priceTypes ) ); ?>" /> |
| 191 | 197 | <?php endif; ?> |
| 192 | 198 | |
@@ -242,9 +248,12 @@ discard block |
||
| 242 | 248 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 243 | 249 | </div> |
| 244 | 250 | </div> |
| 245 | - <?php else : ?> |
|
| 251 | + <?php else { |
|
| 252 | + : ?> |
|
| 246 | 253 | <input class="listitem-type" type="hidden" |
| 247 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 254 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); |
|
| 255 | +} |
|
| 256 | +?>'.replace('idx', idx)" |
|
| 248 | 257 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 249 | 258 | v-model="items[idx]['service.lists.type']" /> |
| 250 | 259 | <?php endif; ?> |
@@ -270,8 +270,7 @@ |
||
| 270 | 270 | $listItem = $listManager->createItem()->setType( 'custom' )->setRefId( $attrId ); |
| 271 | 271 | $item->addListItem( 'attribute', $listItem, $listItem->getRefItem() ); |
| 272 | 272 | } |
| 273 | - } |
|
| 274 | - else |
|
| 273 | + } else |
|
| 275 | 274 | { |
| 276 | 275 | if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrId, false ) ) !== null ) { |
| 277 | 276 | $item->deleteListItem( 'attribute', $litem ); |
@@ -291,8 +291,7 @@ |
||
| 291 | 291 | { |
| 292 | 292 | $propItem = $propItems[$entry['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.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['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.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['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.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['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.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['media.property.id']]; |
| 293 | 293 | unset( $propItems[$entry['media.property.id']] ); |
| 294 | - } |
|
| 295 | - else |
|
| 294 | + } else |
|
| 296 | 295 | { |
| 297 | 296 | $propItem = $propManager->createItem(); |
| 298 | 297 | } |