perfect voucher

This commit is contained in:
2019-01-06 18:45:24 +07:00
parent 21c56ad40f
commit aa2163eac5
3 changed files with 11 additions and 13 deletions

View File

@@ -93,7 +93,7 @@ export default class CheckoutVouchers extends React.Component {
<h3>Point :</h3>
</div>
<div className="col s12 m6 6">
<h3 style={{color:'#FF6F00'}}>{this.vouchersStore.skuPrice} Points</h3>
<h3 style={{color:'#FF6F00'}}>{(+this.vouchersStore.skuPrice).toFixed(0)} Points</h3>
</div>
</Row>
</div>
@@ -113,7 +113,7 @@ export default class CheckoutVouchers extends React.Component {
<div className="row">
<div style={{display:'flex',justifyContent:'space-between'}}>
<h3>Total Pembayaran Point</h3>
<h3 style={{color:'#FF6F00'}}>{this.vouchersStore.skuPrice} Points</h3>
<h3 style={{color:'#FF6F00'}}>{(+this.vouchersStore.skuPrice).toFixed(0)} Points</h3>
</div>
</div>
<div className="row">