@@ -360,9 +360,12 @@ |
||
360 | 360 | </select> |
361 | 361 | </div> |
362 | 362 | </div> |
363 | - <?php else : ?> |
|
363 | + <?php else { |
|
364 | + : ?> |
|
364 | 365 | <input class="item-type" type="hidden" |
365 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>" |
|
366 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); |
|
367 | +} |
|
368 | +?>" |
|
366 | 369 | value="<?= $enc->attr( $types->firstKey() ) ?>" /> |
367 | 370 | <?php endif; ?> |
368 | 371 | <div class="form-group row mandatory"> |
@@ -133,9 +133,12 @@ |
||
133 | 133 | </select> |
134 | 134 | </div> |
135 | 135 | </div> |
136 | - <?php else : ?> |
|
136 | + <?php else { |
|
137 | + : ?> |
|
137 | 138 | <input class="item-type" type="hidden" |
138 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>" |
|
139 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); |
|
140 | +} |
|
141 | +?>" |
|
139 | 142 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
140 | 143 | <?php endif; ?> |
141 | 144 | <div class="form-group row mandatory"> |
@@ -133,9 +133,12 @@ |
||
133 | 133 | </select> |
134 | 134 | </div> |
135 | 135 | </div> |
136 | - <?php else : ?> |
|
136 | + <?php else { |
|
137 | + : ?> |
|
137 | 138 | <input class="item-type" type="hidden" |
138 | - name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>" |
|
139 | + name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); |
|
140 | +} |
|
141 | +?>" |
|
139 | 142 | value="<?= $enc->attr( $types->getCode()->first() ) ?>" /> |
140 | 143 | <?php endif; ?> |
141 | 144 | <div class="form-group row mandatory"> |