File tree Expand file tree Collapse file tree 9 files changed +1906
-1003
lines changed
ImportExport/view/adminhtml/templates/import/form
Quote/Model/ResourceModel/Quote/Item
adminhtml/Magento/backend/Magento_Backend/layout
blank/Magento_Sales/web/css/source
Magento_Customer/web/css/source
Magento_Sales/web/css/source
setup/performance-toolkit Expand file tree Collapse file tree 9 files changed +1906
-1003
lines changed Original file line number Diff line number Diff line change 200
200
<resource ref =" anonymous" />
201
201
</resources >
202
202
</route >
203
- <route url =" /V1/customers/resetPassword" method =" POST" >
204
- <service class =" Magento\Customer\Api\AccountManagementInterface" method =" resetPassword" />
205
- <resources >
206
- <resource ref =" anonymous" />
207
- </resources >
208
- </route >
209
203
<route url =" /V1/customers/:customerId/confirm" method =" GET" >
210
204
<service class =" Magento\Customer\Api\AccountManagementInterface" method =" getConfirmationStatus" />
211
205
<resources >
Original file line number Diff line number Diff line change @@ -178,9 +178,13 @@ require([
178
178
.loader('show');
179
179
var form = jQuery('#edit_form')
180
180
.one('invalid-form.validate', function(e){jQuery('body').loader('hide')});
181
- newActionUrl = (newActionUrl ? newActionUrl : form.attr('action')) +
182
- (form.attr('action').lastIndexOf('?') != -1 ? '&' : '?')+
183
- 'form_key=' + encodeURIComponent(form.find('[name="form_key"]').val());
181
+
182
+ newActionUrl = (newActionUrl ? newActionUrl : form.attr('action'));
183
+ if (newActionUrl.lastIndexOf('form_key') === -1) {
184
+ newActionUrl = newActionUrl +
185
+ (newActionUrl.lastIndexOf('?') !== -1 ? '&' : '?') +
186
+ 'form_key=' + encodeURIComponent(form.find('[name="form_key"]').val());
187
+ }
184
188
185
189
form.trigger('save', [{
186
190
action: newActionUrl,
Original file line number Diff line number Diff line change @@ -323,6 +323,10 @@ private function addTierPriceData(ProductCollection $productCollection)
323
323
*/
324
324
private function removeItemsWithAbsentProducts ()
325
325
{
326
+ if (count ($ this ->_productIds ) === 0 ) {
327
+ return ;
328
+ }
329
+
326
330
$ productCollection = $ this ->_productCollectionFactory ->create ()->addIdFilter ($ this ->_productIds );
327
331
$ existingProductsIds = $ productCollection ->getAllIds ();
328
332
$ absentProductsIds = array_diff ($ this ->_productIds , $ existingProductsIds );
Original file line number Diff line number Diff line change 69
69
</type >
70
70
<type name =" Magento\Framework\App\Area" >
71
71
<arguments >
72
- <argument name =" translator" xsi : type =" object" >Magento\Framework\Translate </argument >
72
+ <argument name =" translator" xsi : type =" object" >Magento\Framework\TranslateInterface </argument >
73
73
<argument name =" design" xsi : type =" object" >Magento\Theme\Model\Design\Proxy</argument >
74
74
</arguments >
75
75
</type >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
9
9
<head >
10
+ <meta name =" robots" content =" NOINDEX,NOFOLLOW" />
10
11
<css src =" jquery/jstree/themes/default/style.css" />
11
12
<css src =" css/styles-old.css" />
12
13
<css src =" css/styles.css" />
Original file line number Diff line number Diff line change 203
203
text-align : center ;
204
204
}
205
205
206
- .item-price {
206
+ .item-price ,
207
+ .item-subtotal {
207
208
text-align : right ;
208
209
}
209
210
Original file line number Diff line number Diff line change 224
224
.column.main & {
225
225
}
226
226
}
227
-
227
+ display : block ;
228
228
margin-bottom : @indent__s ;
229
229
}
230
230
Original file line number Diff line number Diff line change 207
207
text-align : center ;
208
208
}
209
209
210
- .item-price {
210
+ .item-price ,
211
+ .item-subtotal {
211
212
text-align : right ;
212
213
}
213
214
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments