@@ -51,14 +51,12 @@ discard block |
||
| 51 | 51 | $view->tabindex = ++$idx + 1; |
| 52 | 52 | $view->itemBody .= $client->copy(); |
| 53 | 53 | } |
| 54 | - } |
|
| 55 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 54 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 56 | 55 | { |
| 57 | 56 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 58 | 57 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 59 | 58 | $this->logException( $e ); |
| 60 | - } |
|
| 61 | - catch( \Exception $e ) |
|
| 59 | + } catch( \Exception $e ) |
|
| 62 | 60 | { |
| 63 | 61 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 64 | 62 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -96,14 +94,12 @@ discard block |
||
| 96 | 94 | $view->tabindex = ++$idx + 1; |
| 97 | 95 | $view->itemBody .= $client->create(); |
| 98 | 96 | } |
| 99 | - } |
|
| 100 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 97 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 101 | 98 | { |
| 102 | 99 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 103 | 100 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 104 | 101 | $this->logException( $e ); |
| 105 | - } |
|
| 106 | - catch( \Exception $e ) |
|
| 102 | + } catch( \Exception $e ) |
|
| 107 | 103 | { |
| 108 | 104 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 109 | 105 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -144,14 +140,12 @@ discard block |
||
| 144 | 140 | |
| 145 | 141 | $this->nextAction( $view, 'search', 'locale/language', null, 'delete' ); |
| 146 | 142 | return; |
| 147 | - } |
|
| 148 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 143 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 149 | 144 | { |
| 150 | 145 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 151 | 146 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 152 | 147 | $this->logException( $e ); |
| 153 | - } |
|
| 154 | - catch( \Exception $e ) |
|
| 148 | + } catch( \Exception $e ) |
|
| 155 | 149 | { |
| 156 | 150 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 157 | 151 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -192,14 +186,12 @@ discard block |
||
| 192 | 186 | $view->tabindex = ++$idx + 1; |
| 193 | 187 | $view->itemBody .= $client->get(); |
| 194 | 188 | } |
| 195 | - } |
|
| 196 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 189 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 197 | 190 | { |
| 198 | 191 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 199 | 192 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 200 | 193 | $this->logException( $e ); |
| 201 | - } |
|
| 202 | - catch( \Exception $e ) |
|
| 194 | + } catch( \Exception $e ) |
|
| 203 | 195 | { |
| 204 | 196 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 205 | 197 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -238,18 +230,15 @@ discard block |
||
| 238 | 230 | |
| 239 | 231 | $this->nextAction( $view, $view->param( 'next' ), 'locale/language', $view->item->getId(), 'save' ); |
| 240 | 232 | return; |
| 241 | - } |
|
| 242 | - catch( \Aimeos\Admin\JQAdm\Exception $e ) |
|
| 233 | + } catch( \Aimeos\Admin\JQAdm\Exception $e ) |
|
| 243 | 234 | { |
| 244 | 235 | // fall through to create |
| 245 | - } |
|
| 246 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 236 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 247 | 237 | { |
| 248 | 238 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 249 | 239 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 250 | 240 | $this->logException( $e ); |
| 251 | - } |
|
| 252 | - catch( \Exception $e ) |
|
| 241 | + } catch( \Exception $e ) |
|
| 253 | 242 | { |
| 254 | 243 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 255 | 244 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -291,14 +280,12 @@ discard block |
||
| 291 | 280 | foreach( $this->getSubClients() as $client ) { |
| 292 | 281 | $view->itemBody .= $client->search(); |
| 293 | 282 | } |
| 294 | - } |
|
| 295 | - catch( \Aimeos\MShop\Exception $e ) |
|
| 283 | + } catch( \Aimeos\MShop\Exception $e ) |
|
| 296 | 284 | { |
| 297 | 285 | $error = array( 'locale-language-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 298 | 286 | $view->errors = $view->get( 'errors', [] ) + $error; |
| 299 | 287 | $this->logException( $e ); |
| 300 | - } |
|
| 301 | - catch( \Exception $e ) |
|
| 288 | + } catch( \Exception $e ) |
|
| 302 | 289 | { |
| 303 | 290 | $error = array( 'locale-language-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() ); |
| 304 | 291 | $view->errors = $view->get( 'errors', [] ) + $error; |
@@ -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', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['supplier.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -121,9 +121,12 @@ discard block |
||
| 121 | 121 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 122 | 122 | </div> |
| 123 | 123 | </div> |
| 124 | - <?php else : ?> |
|
| 124 | + <?php else { |
|
| 125 | + : ?> |
|
| 125 | 126 | <input class="item-type" type="hidden" |
| 126 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 127 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); |
|
| 128 | +} |
|
| 129 | +?>'.replace( 'idx', idx )" |
|
| 127 | 130 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
| 128 | 131 | <?php endif; ?> |
| 129 | 132 | |
@@ -201,9 +204,12 @@ discard block |
||
| 201 | 204 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 202 | 205 | </div> |
| 203 | 206 | </div> |
| 204 | - <?php else : ?> |
|
| 207 | + <?php else { |
|
| 208 | + : ?> |
|
| 205 | 209 | <input class="listitem-type" type="hidden" |
| 206 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 210 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'supplier.lists.type' ) ) ); |
|
| 211 | +} |
|
| 212 | +?>'.replace( 'idx', idx )" |
|
| 207 | 213 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 208 | 214 | v-model="items[idx]['supplier.lists.type']" /> |
| 209 | 215 | <?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', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['catalog.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -121,9 +121,12 @@ discard block |
||
| 121 | 121 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 122 | 122 | </div> |
| 123 | 123 | </div> |
| 124 | - <?php else : ?> |
|
| 124 | + <?php else { |
|
| 125 | + : ?> |
|
| 125 | 126 | <input class="item-type" type="hidden" |
| 126 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 127 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); |
|
| 128 | +} |
|
| 129 | +?>'.replace( 'idx', idx )" |
|
| 127 | 130 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
| 128 | 131 | <?php endif; ?> |
| 129 | 132 | |
@@ -201,9 +204,12 @@ discard block |
||
| 201 | 204 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 202 | 205 | </div> |
| 203 | 206 | </div> |
| 204 | - <?php else : ?> |
|
| 207 | + <?php else { |
|
| 208 | + : ?> |
|
| 205 | 209 | <input class="listitem-type" type="hidden" |
| 206 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 210 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'catalog.lists.type' ) ) ); |
|
| 211 | +} |
|
| 212 | +?>'.replace( 'idx', idx )" |
|
| 207 | 213 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 208 | 214 | v-model="items[idx]['catalog.lists.type']" /> |
| 209 | 215 | <?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', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 216 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); |
|
| 217 | +} |
|
| 218 | +?>'.replace('idx', idx)" |
|
| 210 | 219 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 211 | 220 | v-model="items[idx]['attribute.lists.type']" /> |
| 212 | 221 | <?php endif; ?> |
@@ -121,9 +121,12 @@ discard block |
||
| 121 | 121 | <?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?> |
| 122 | 122 | </div> |
| 123 | 123 | </div> |
| 124 | - <?php else : ?> |
|
| 124 | + <?php else { |
|
| 125 | + : ?> |
|
| 125 | 126 | <input class="item-type" type="hidden" |
| 126 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 127 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'media.type' ) ) ); |
|
| 128 | +} |
|
| 129 | +?>'.replace( 'idx', idx )" |
|
| 127 | 130 | value="<?= $enc->attr( key( $mediaTypes ) ); ?>" /> |
| 128 | 131 | <?php endif; ?> |
| 129 | 132 | |
@@ -201,9 +204,12 @@ discard block |
||
| 201 | 204 | <?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?> |
| 202 | 205 | </div> |
| 203 | 206 | </div> |
| 204 | - <?php else : ?> |
|
| 207 | + <?php else { |
|
| 208 | + : ?> |
|
| 205 | 209 | <input class="listitem-type" type="hidden" |
| 206 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace( 'idx', idx )" |
|
| 210 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'image', 'idx', 'attribute.lists.type' ) ) ); |
|
| 211 | +} |
|
| 212 | +?>'.replace( 'idx', idx )" |
|
| 207 | 213 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 208 | 214 | v-model="items[idx]['attribute.lists.type']" /> |
| 209 | 215 | <?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', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)" |
|
| 254 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); |
|
| 255 | +} |
|
| 256 | +?>'.replace('idx', idx)" |
|
| 248 | 257 | value="<?= $enc->attr( key( $listTypes ) ); ?>" |
| 249 | 258 | v-model="items[idx]['attribute.lists.type']" /> |
| 250 | 259 | <?php endif; ?> |
@@ -73,9 +73,12 @@ |
||
| 73 | 73 | <?php endforeach; ?> |
| 74 | 74 | </select> |
| 75 | 75 | </td> |
| 76 | - <?php else : ?> |
|
| 76 | + <?php else { |
|
| 77 | + : ?> |
|
| 77 | 78 | <input class="item-type" type="hidden" |
| 78 | - name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) ); ?>" |
|
| 79 | + name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) ); |
|
| 80 | +} |
|
| 81 | +?>" |
|
| 79 | 82 | value="<?= $enc->attr( key( $stockTypes ) ); ?>" /> |
| 80 | 83 | <?php endif; ?> |
| 81 | 84 | <td class="stock-stocklevel optional"> |