Skip to content

Commit

Permalink
MAGETWO-69533:[BUGFIX][6244] Fix Issue with code label display in car…
Browse files Browse the repository at this point in the history
…t checkout. #9721

 - Code style fixed
  • Loading branch information
ishakhsuvarov committed May 31, 2017
1 parent c47fe87 commit f6ca94c
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions app/code/Magento/Checkout/view/frontend/web/js/model/quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@ define([
], function (ko, _) {
'use strict';

/**
* Get totals data from the extension attributes.
* @param {*} data
* @returns {*}
*/
var proceedTotalsData = function (data) {
if (_.isObject(data) && _.isObject(data['extension_attributes'])) {
_.each(data['extension_attributes'], function (element, index) {
data[index] = element;
});
}
if (_.isObject(data) && _.isObject(data['extension_attributes'])) {
_.each(data['extension_attributes'], function (element, index) {
data[index] = element;
});
}

return data;
};

var billingAddress = ko.observable(null),
return data;
},
billingAddress = ko.observable(null),
shippingAddress = ko.observable(null),
shippingMethod = ko.observable(null),
paymentMethod = ko.observable(null),
Expand Down

0 comments on commit f6ca94c

Please sign in to comment.