Skip to content

Commit f19118e

Browse files
committed
MAGETWO-32302: Create New Order
1 parent 85e02ae commit f19118e

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

app/code/Magento/Backend/view/adminhtml/templates/widget/form.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
/** @var $block \Magento\Backend\Block\Widget\Form */
1010
?>
1111
<?php /* @todo replace .form-inline with better class name */?>
12-
<?php /* ToDo UI: check if we need this wrapper. Remobve or replace classes after admin__scope-old remove. Update /app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create.less */ ?>
12+
<?php
13+
// ToDo UI: check if we need this wrapper. Remobve or replace classes after admin__scope-old remove.
14+
// ToDo UI: Update /app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/_order-create.less
15+
?>
1316
<div class="entry-edit form-inline">
1417
<?php echo $block->getFormHtml();?>
1518
</div>

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Customer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function _construct()
3030
*/
3131
public function getHeaderText()
3232
{
33-
return __('Please select a customer.');
33+
return __('Please select a customer');
3434
}
3535

3636
/**

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,11 +1882,11 @@ protected function _validate()
18821882
{
18831883
$customerId = $this->getSession()->getCustomerId();
18841884
if (is_null($customerId)) {
1885-
throw new \Magento\Framework\Exception\LocalizedException(__('Please select a customer.'));
1885+
throw new \Magento\Framework\Exception\LocalizedException(__('Please select a customer'));
18861886
}
18871887

18881888
if (!$this->getSession()->getStore()->getId()) {
1889-
throw new \Magento\Framework\Exception\LocalizedException(__('Please select a store.'));
1889+
throw new \Magento\Framework\Exception\LocalizedException(__('Please select a store'));
18901890
}
18911891
$items = $this->getQuote()->getAllItems();
18921892

app/design/adminhtml/Magento/backend/web/css/source/forms/_fields.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
}
223223
}
224224

225-
// Field containing value (like price or something else)
225+
// Field containing a value
226226
.admin__field-value {
227227
padding-top: @field-option__padding-top;
228228
}

app/design/adminhtml/Magento/backend/web/css/source/forms/_temp.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
.admin__field-control > [class*='admin__control-'].mage-error {
196196
border-color: @field-error-control__border-color;
197197
}
198-
.admin__field-control label.mage-error {
198+
label.mage-error {
199199
&:extend(.admin__field-error);
200200
}
201201

0 commit comments

Comments
 (0)