@@ -140,9 +140,12 @@ |
||
140 | 140 | </select> |
141 | 141 | </div> |
142 | 142 | </div> |
143 | - <?php else : ?> |
|
143 | + <?php else { |
|
144 | + : ?> |
|
144 | 145 | <input class="item-type" type="hidden" |
145 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>" |
|
146 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); |
|
147 | +} |
|
148 | +?>" |
|
146 | 149 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
147 | 150 | <?php endif; ?> |
148 | 151 | <div class="form-group row mandatory"> |
@@ -356,9 +356,12 @@ |
||
356 | 356 | </select> |
357 | 357 | </div> |
358 | 358 | </div> |
359 | - <?php else : ?> |
|
359 | + <?php else { |
|
360 | + : ?> |
|
360 | 361 | <input class="item-type" type="hidden" |
361 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>" |
|
362 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); |
|
363 | +} |
|
364 | +?>" |
|
362 | 365 | value="<?= $enc->attr( $types->firstKey() ) ?>" /> |
363 | 366 | <?php endif; ?> |
364 | 367 | <div class="form-group row mandatory"> |
@@ -140,9 +140,12 @@ |
||
140 | 140 | </select> |
141 | 141 | </div> |
142 | 142 | </div> |
143 | - <?php else : ?> |
|
143 | + <?php else { |
|
144 | + : ?> |
|
144 | 145 | <input class="item-type" type="hidden" |
145 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>" |
|
146 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); |
|
147 | +} |
|
148 | +?>" |
|
146 | 149 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
147 | 150 | <?php endif; ?> |
148 | 151 | <div class="form-group row mandatory"> |