File tree Expand file tree Collapse file tree 7 files changed +17
-29
lines changed
Cms/view/adminhtml/ui_component
Customer/view/adminhtml/ui_component
Multishipping/view/frontend/templates/checkout
Ui/view/base/web/js/grid/columns Expand file tree Collapse file tree 7 files changed +17
-29
lines changed Original file line number Diff line number Diff line change 123
123
<rule name =" required-entry" xsi : type =" boolean" >true</rule >
124
124
</validation >
125
125
<dataType >int</dataType >
126
+ <tooltip >
127
+ <link >https://docs.magento.com/m2/ce/user_guide/configuration/scope.html</link >
128
+ <description >What is this?</description >
129
+ </tooltip >
126
130
<label translate =" true" >Store View</label >
127
131
<dataScope >store_id</dataScope >
128
132
</settings >
Original file line number Diff line number Diff line change 207
207
<rule name =" required-entry" xsi : type =" boolean" >true</rule >
208
208
</validation >
209
209
<dataType >int</dataType >
210
+ <tooltip >
211
+ <link >https://docs.magento.com/m2/ce/user_guide/configuration/scope.html</link >
212
+ <description >What is this?</description >
213
+ </tooltip >
210
214
<label translate =" true" >Store View</label >
211
215
<dataScope >store_id</dataScope >
212
216
</settings >
Original file line number Diff line number Diff line change 157
157
<column name =" billing_telephone" sortOrder =" 60" >
158
158
<settings >
159
159
<filter >text</filter >
160
- <editor >
161
- <editorType >text</editorType >
162
- </editor >
163
160
<label translate =" true" >Phone</label >
164
161
</settings >
165
162
</column >
166
163
<column name =" billing_postcode" sortOrder =" 70" >
167
164
<settings >
168
165
<filter >text</filter >
169
- <editor >
170
- <editorType >text</editorType >
171
- </editor >
172
166
<label translate =" true" >ZIP</label >
173
167
</settings >
174
168
</column >
269
263
<column name =" billing_city" sortOrder =" 210" >
270
264
<settings >
271
265
<filter >text</filter >
272
- <editor >
273
- <editorType >text</editorType >
274
- </editor >
275
266
<label translate =" true" >City</label >
276
267
<visible >false</visible >
277
268
</settings >
278
269
</column >
279
270
<column name =" billing_fax" sortOrder =" 220" >
280
271
<settings >
281
272
<filter >text</filter >
282
- <editor >
283
- <editorType >text</editorType >
284
- </editor >
285
273
<label translate =" true" >Fax</label >
286
274
<visible >false</visible >
287
275
</settings >
288
276
</column >
289
277
<column name =" billing_vat_id" sortOrder =" 230" >
290
278
<settings >
291
279
<filter >text</filter >
292
- <editor >
293
- <editorType >text</editorType >
294
- </editor >
295
280
<label translate =" true" >VAT Number</label >
296
281
<visible >false</visible >
297
282
</settings >
298
283
</column >
299
284
<column name =" billing_company" sortOrder =" 240" >
300
285
<settings >
301
286
<filter >text</filter >
302
- <editor >
303
- <editorType >text</editorType >
304
- </editor >
305
287
<label translate =" true" >Company</label >
306
288
<visible >false</visible >
307
289
</settings >
308
290
</column >
309
291
<column name =" billing_firstname" sortOrder =" 250" >
310
292
<settings >
311
293
<filter >text</filter >
312
- <editor >
313
- <editorType >text</editorType >
314
- </editor >
315
294
<label translate =" true" >Billing Firstname</label >
316
295
<visible >false</visible >
317
296
</settings >
318
297
</column >
319
298
<column name =" billing_lastname" sortOrder =" 260" >
320
299
<settings >
321
300
<filter >text</filter >
322
- <editor >
323
- <editorType >text</editorType >
324
- </editor >
325
301
<label translate =" true" >Billing Lastname</label >
326
302
<visible >false</visible >
327
303
</settings >
Original file line number Diff line number Diff line change 62
62
name="ship[<?= $ block ->escapeHtml ($ _index ) ?> ][<?= $ block ->escapeHtml ($ _item ->getQuoteItemId ()) ?> ][qty]"
63
63
value="<?= $ block ->escapeHtml ($ _item ->getQty ()) ?> "
64
64
size="2"
65
- class="input-text qty required-entry"
66
- data-validate="{number: true, required:true}"/>
65
+ min="0"
66
+ class="input-text qty"
67
+ data-validate="{number: true, required:true, 'validate-greater-than-zero':true}"/>
67
68
</div>
68
69
</div>
69
70
</td>
Original file line number Diff line number Diff line change 8
8
use Magento \Quote \Api ;
9
9
use Magento \Quote \Api \CartRepositoryInterface ;
10
10
use Magento \Quote \Api \CartTotalRepositoryInterface ;
11
- use Magento \Catalog \Helper \Product \ConfigurationPool ;
12
11
use Magento \Framework \Api \DataObjectHelper ;
13
12
use Magento \Framework \Api \ExtensibleDataInterface ;
14
13
use Magento \Quote \Model \Cart \Totals \ItemConverter ;
@@ -40,7 +39,7 @@ class CartTotalRepository implements CartTotalRepositoryInterface
40
39
private $ dataObjectHelper ;
41
40
42
41
/**
43
- * @var ConfigurationPool
42
+ * @var ItemConverter
44
43
*/
45
44
private $ itemConverter ;
46
45
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ define([
26
26
initConfig : function ( ) {
27
27
this . _super ( ) ;
28
28
29
- this . dateFormat = utils . normalizeDate ( this . dateFormat ) ;
29
+ this . dateFormat = utils . normalizeDate ( this . dateFormat ? this . dateFormat : this . options . dateFormat ) ;
30
30
31
31
return this ;
32
32
} ,
Original file line number Diff line number Diff line change 1888
1888
if ( element . siblings ( '.tooltip' ) . length ) {
1889
1889
errorPlacement = element . siblings ( '.tooltip' ) ;
1890
1890
}
1891
+ //logic for select with tooltip in after element
1892
+ if ( element . next ( ) . find ( '.tooltip' ) . length ) {
1893
+ errorPlacement = element . next ( ) ;
1894
+ }
1891
1895
errorPlacement . after ( error ) ;
1892
1896
}
1893
1897
} ,
You can’t perform that action at this time.
0 commit comments