File tree Expand file tree Collapse file tree 6 files changed +14
-15
lines changed
code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite/fieldset
design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module
functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order
integration/testsuite/Magento
Customer/Controller/Adminhtml/Cart/Product/Composite
Sales/Controller/Adminhtml/Order
lib/internal/Magento/Framework/Data/Form/Element Expand file tree Collapse file tree 6 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 13
13
<fieldset id="product_composite_configure_fields_qty"
14
14
class="fieldset product-composite-qty-block admin__fieldset <?php echo $ block ->getIsLastFieldset () ? 'last-fieldset ' : '' ?> ">
15
15
<div class="field admin__field">
16
- <label class="label admin__field-label">
17
- <span><?php echo __ ('Quantity ' ) ?> </span>
18
- </label>
16
+ <label class="label admin__field-label"><span><?php echo __ ('Quantity ' ) ?> </span></label>
19
17
<div class="control admin__field-control">
20
- <input id="product_composite_configure_input_qty"
21
- class="input-text admin__control-text qty"
22
- type="text"
23
- name="qty"
24
- value="<?php echo $ block ->getQtyValue () * 1 ?> " />
18
+ <input id="product_composite_configure_input_qty" class="input-text admin__control-text qty" type="text" name="qty" value="<?php echo $ block ->getQtyValue () * 1 ?> ">
25
19
</div>
26
20
</div>
27
21
</fieldset>
Original file line number Diff line number Diff line change 130
130
.action-configure {
131
131
float : right ;
132
132
}
133
+ .col-id ,
134
+ .col-price ,
135
+ .col-in_products {
136
+ width : 10rem ;
137
+ }
133
138
}
134
139
}
135
140
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class Create extends Block
85
85
*
86
86
* @var string
87
87
*/
88
- protected $ updateItems = '#order-items_grid p button ' ;
88
+ protected $ updateItems = '#order-items_grid button[onclick="order.itemsUpdate()"] ' ;
89
89
90
90
/**
91
91
* 'Add Selected Product(s) to Order' button.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testConfigureAction()
58
58
$ this ->getRequest ()->setParam ('id ' , $ itemId );
59
59
$ this ->dispatch ('backend/customer/cart_product_composite_cart/configure ' );
60
60
$ this ->assertContains (
61
- '<input id="product_composite_configure_input_qty" class="input-text admin__control-text" '
61
+ '<input id="product_composite_configure_input_qty" class="input-text admin__control-text qty " '
62
62
. ' type="text" name="qty" value="1"> ' ,
63
63
$ this ->getResponse ()->getBody ()
64
64
);
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public function testConfigureProductToAddAction()
152
152
$ body = $ this ->getResponse ()->getBody ();
153
153
154
154
$ this ->assertNotEmpty ($ body );
155
- $ this ->assertContains ('>Quantity</label> ' , $ body );
155
+ $ this ->assertContains ('><span> Quantity</span> </label> ' , $ body );
156
156
$ this ->assertContains ('>Test Configurable</label> ' , $ body );
157
157
$ this ->assertContains ('"code":"test_configurable","label":"Test Configurable" ' , $ body );
158
158
$ this ->assertContains ('"productId":"1" ' , $ body );
Original file line number Diff line number Diff line change @@ -415,10 +415,10 @@ public function getLabelHtml($idSuffix = '')
415
415
if ($ this ->getLabel () !== null ) {
416
416
$ html = '<label class="label admin__field-label" for=" ' .
417
417
$ this ->getHtmlId () . $ idSuffix . '" ' . $ this ->_getUiId (
418
- 'label '
419
- ) . '><span> ' . $ this ->_escape (
420
- $ this ->getLabel ()
421
- ) . '</span></label> ' . "\n" ;
418
+ 'label '
419
+ ) . '><span> ' . $ this ->_escape (
420
+ $ this ->getLabel ()
421
+ ) . '</span></label> ' . "\n" ;
422
422
} else {
423
423
$ html = '' ;
424
424
}
You can’t perform that action at this time.
0 commit comments