delivery costs are now shown
This commit is contained in:
@@ -40,12 +40,17 @@ var CartPage = React.createClass({
|
||||
|
||||
var cartTotal = (
|
||||
<div>
|
||||
|
||||
<div className="row cart-total">
|
||||
<div className="col-lg-6">Ukupno</div>
|
||||
<div className="col-lg-6">
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} deliveryCosts={this.state.deliveryCosts}/>
|
||||
<div className="col-lg-6">Roba:<br />Dostava:<br />Ukupno:</div>
|
||||
<div className="col-lg-6 text-right">
|
||||
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} /><br />
|
||||
<CartTotal deliveryCosts={this.state.deliveryCosts}/><br />
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} deliveryCosts={this.state.deliveryCosts}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="row">
|
||||
<div className="col-lg-12 pull-left">
|
||||
<button className="mybutton" onClick={this._onOrderClick}>Završi narudžbu</button>
|
||||
|
||||
Reference in New Issue
Block a user