money in upper right works now - zavrsi narudzbu is white
This commit is contained in:
@@ -6,9 +6,6 @@ var Router = require('react-router');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var CartTotal = React.createClass({
|
||||
|
||||
render: function() {
|
||||
@@ -26,6 +23,8 @@ var CartTotal = React.createClass({
|
||||
|
||||
var deliveryCosts = this.props.deliveryCosts.get('delivery_price');
|
||||
|
||||
if (!this.props.justMerchandise) {
|
||||
|
||||
return (
|
||||
<div className="col-md-3 cart-total">
|
||||
<div>
|
||||
@@ -41,6 +40,11 @@ var CartTotal = React.createClass({
|
||||
</div>
|
||||
);
|
||||
|
||||
}
|
||||
else {
|
||||
return ( <span>{Globals.FormatCurrency(total)}</span>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user