@@ -122,7 +122,8 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | </ul> |
| 124 | 124 | |
| 125 | - <?php else : ?> |
|
| 125 | + <?php else { |
|
| 126 | + : ?> |
|
| 126 | 127 | |
| 127 | 128 | <input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ) ?>"> |
| 128 | 129 | <select id="select-<?= $enc->attr( $code ) ?>" class="form-control select-list" |
@@ -172,7 +173,9 @@ discard block |
||
| 172 | 173 | value="<?= $enc->attr( $price->getValue() ) ?>" |
| 173 | 174 | <?php endif ?> |
| 174 | 175 | > |
| 175 | - <?php break; case 'date': ?> |
|
| 176 | + <?php break; |
|
| 177 | +} |
|
| 178 | +case 'date': ?> |
|
| 176 | 179 | <input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="date" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>"> |
| 177 | 180 | <?php break; default: ?> |
| 178 | 181 | <input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="text" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>"> |
@@ -59,7 +59,10 @@ |
||
| 59 | 59 | <?php $current = $params; if( is_array( $current['f_optid'] ) ) { unset( $current['f_optid'][$key] ); } ?> |
| 60 | 60 | <?php elseif( isset( $oneIds[$attrType] ) && ( $key = array_search( $id, (array) $oneIds[$attrType] ) ) !== false ) : ?> |
| 61 | 61 | <?php $current = $params; if( is_array( $current['f_oneid'][$attrType] ) ) { unset( $current['f_oneid'][$attrType][$key] ); } ?> |
| 62 | - <?php else : continue; ?> |
|
| 62 | + <?php else { |
|
| 63 | + : continue; |
|
| 64 | +} |
|
| 65 | +?> |
|
| 63 | 66 | <?php endif; ?> |
| 64 | 67 | <li class="attr-item"> |
| 65 | 68 | <a class="attr-name" href="<?= $enc->attr( $this->url( $listTarget, $listController, $listAction, $attribute->get( 'params', [] ), [], $listConfig ) ); ?>"> |