2018-06-28 13:21:04 +00:00
|
|
|
<vn-horizontal pad-medium class="header">
|
|
|
|
<h5>MANÁ: {{$ctrl.mana | currency:' €':0}}</h5>
|
|
|
|
</vn-horizontal>
|
|
|
|
<div pad-medium>
|
|
|
|
<vn-textfield
|
|
|
|
label="Discount"
|
|
|
|
model="$ctrl.newDiscount"
|
2018-07-13 13:21:37 +00:00
|
|
|
type="text"
|
2018-08-02 13:34:48 +00:00
|
|
|
on-change="$ctrl.updateDiscount()">
|
2018-06-28 13:21:04 +00:00
|
|
|
<t-right-icons>
|
|
|
|
<span class="filter">%</span>
|
|
|
|
</t-right-icons>
|
|
|
|
</vn-textfield>
|
|
|
|
<div class="simulator">
|
|
|
|
<p class="simulatorTitle" translate>New price</p>
|
|
|
|
<p>{{($ctrl.edit[0].quantity * $ctrl.edit[0].price)
|
|
|
|
- (($ctrl.newDiscount * ($ctrl.edit[0].quantity * $ctrl.edit[0].price))/100)
|
|
|
|
| currency:' €':2}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|