@@ -56,16 +56,14 @@ |
||
56 | 56 | $controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' ); |
57 | 57 | $action = $this->config( 'admin/jqadm/url/get/action', 'get' ); |
58 | 58 | $config = $this->config( 'admin/jqadm/url/get/config', [] ); |
59 | - } |
|
60 | - else |
|
59 | + } else |
|
61 | 60 | { |
62 | 61 | $target = $this->config( 'admin/jqadm/url/create/target' ); |
63 | 62 | $controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' ); |
64 | 63 | $action = $this->config( 'admin/jqadm/url/create/action', 'create' ); |
65 | 64 | $config = $this->config( 'admin/jqadm/url/create/config', [] ); |
66 | 65 | } |
67 | -} |
|
68 | -else |
|
66 | +} else |
|
69 | 67 | { |
70 | 68 | $target = $this->config( 'admin/jqadm/url/search/target' ); |
71 | 69 | $controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' ); |
@@ -305,8 +305,7 @@ |
||
305 | 305 | { |
306 | 306 | $propItem = $propItems[$entry['product.property.id']]; |
307 | 307 | unset( $propItems[$entry['product.property.id']] ); |
308 | - } |
|
309 | - else |
|
308 | + } else |
|
310 | 309 | { |
311 | 310 | $propItem = $manager->createItem(); |
312 | 311 | } |
@@ -81,9 +81,12 @@ |
||
81 | 81 | </select> |
82 | 82 | </div> |
83 | 83 | </div> |
84 | - <?php else : ?> |
|
84 | + <?php else { |
|
85 | + : ?> |
|
85 | 86 | <input class="item-languageid" type="hidden" |
86 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
87 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); |
|
88 | +} |
|
89 | +?>'.replace('idx', idx)" |
|
87 | 90 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
88 | 91 | <?php endif; ?> |
89 | 92 | <div class="form-group row optional"> |
@@ -81,9 +81,12 @@ |
||
81 | 81 | </select> |
82 | 82 | </div> |
83 | 83 | </div> |
84 | - <?php else : ?> |
|
84 | + <?php else { |
|
85 | + : ?> |
|
85 | 86 | <input class="item-languageid" type="hidden" |
86 | - v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)" |
|
87 | + v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); |
|
88 | +} |
|
89 | +?>'.replace('idx', idx)" |
|
87 | 90 | value="<?= $enc->attr( key( $languages ) ); ?>" /> |
88 | 91 | <?php endif; ?> |
89 | 92 | <div class="form-group row optional"> |
@@ -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; ?> |
@@ -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; ?> |
@@ -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; ?> |
@@ -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"> |