Skip to content

Commit 6b8697b

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32302: Create New Order
- QA updates (sku)
1 parent 74f0acb commit 6b8697b

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/create/sidebar/items.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
class="admin__control-checkbox"
102102
name="sidebar[<?php echo $block->getSidebarStorageAction() ?>][<?php echo $block->getIdentifierId($_item) ?>]"
103103
value="<?php echo $block->canDisplayItemQty() ? $_item->getQty()*1 : 1 ?>"
104-
title="<?php echo $block->escapeHtml(__('Add to Order')); ?>""/>
104+
title="<?php echo $block->escapeHtml(__('Add To Order')); ?>""/>
105105
<label class="admin__field-label"></label>
106106
<?php endif; ?>
107107
</div>

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create-table.less

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@order-create-table__border-color: @table-td__border-color;
1111
@order-create-sku__background: @admin__page-nav__background-color;
1212
@order-create-sku__padding: @indent__base;
13+
@order-create-sku-table__border-color: @color-white;
1314

1415
//
1516

@@ -91,15 +92,16 @@
9192
// Add by SKU
9293
// ---------------------------------------------
9394

94-
.add-by-sku {
95-
background: @order-create-sku__background;
96-
clear: both;
97-
padding: @order-create-sku__padding;
98-
95+
.add-by-sku-wrapper {
96+
.add-by-sku {
97+
background: @order-create-sku__background;
98+
clear: both;
99+
margin: 0 0 @indent__base;
100+
padding: @order-create-sku__padding;
101+
}
99102
.table-info {
100103
color: @order-create-sidebar__color;
101104
}
102-
103105
.admin__field-note {
104106
margin: 1.4rem 0;
105107
}
@@ -109,6 +111,7 @@
109111
}
110112
th,
111113
td {
114+
border-bottom-color: @order-create-sku-table__border-color;
112115
&:first-child {
113116
padding-left: 0;
114117
}
@@ -137,10 +140,16 @@
137140
}
138141
}
139142
.action-reset {
140-
padding-top: 0;
141143
margin-top: -.4rem;
144+
opacity: .5;
145+
padding-top: 0;
146+
&:after {
147+
content: @order-create-icon-reset__content;
148+
}
149+
&:hover {
150+
opacity: 1;
151+
}
142152
}
143-
144153
.col-qty {
145154
.admin__control-text {
146155
&:extend(.abs-control-qty all);

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
@order-create-icon-add__content: @icon-arrow-right__content;
1515
@order-create-icon-configure__content: @icon-systems__content;
1616
@order-create-icon-remove__content: @icon-delete__content;
17+
@order-create-icon-reset__content: @icon-remove-small__content;
1718
@order-create-icon-refresh__content: @icon-refresh__content;
1819
@order-create-icon-plus__content: @icon-plus__content;
1920
@order-create-icon-plus__hover__color: @color-very-dark-gray-black2;

0 commit comments

Comments
 (0)