Merge pull request 'fix(sale): disabled clear icons' (#801) from 3388-ticket_sale into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #801 Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
commit
b9265b79d9
|
@ -15,6 +15,7 @@
|
|||
<div class="icons pre">
|
||||
<vn-icon
|
||||
icon="clear"
|
||||
ng-show="::$ctrl.clearDisabled != true"
|
||||
translate-attr="{title: 'Clear'}"
|
||||
ng-click="$ctrl.onClear($event)">
|
||||
</vn-icon>
|
||||
|
|
|
@ -85,6 +85,7 @@ ngModule.vnComponent('vnInputNumber', {
|
|||
min: '<?',
|
||||
max: '<?',
|
||||
step: '<?',
|
||||
displayControls: '<?'
|
||||
displayControls: '<?',
|
||||
clearDisabled: '<?'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -153,7 +153,8 @@
|
|||
<vn-input-number class="dense"
|
||||
vn-focus
|
||||
ng-model="sale.quantity"
|
||||
on-change="$ctrl.changeQuantity(sale)">
|
||||
on-change="$ctrl.changeQuantity(sale)"
|
||||
clear-disabled="true">
|
||||
</vn-input-number>
|
||||
</field>
|
||||
</vn-td-editable>
|
||||
|
@ -177,7 +178,8 @@
|
|||
<vn-textfield class="dense" vn-focus
|
||||
vn-id="concept"
|
||||
ng-model="sale.concept"
|
||||
on-change="$ctrl.updateConcept(sale)">
|
||||
on-change="$ctrl.updateConcept(sale)"
|
||||
clear-disabled="true">
|
||||
</vn-textfield>
|
||||
</field>
|
||||
</vn-td-editable>
|
||||
|
@ -251,6 +253,7 @@
|
|||
ng-model="$ctrl.edit.price"
|
||||
step="0.01"
|
||||
on-change="$ctrl.updatePrice()"
|
||||
clear-disabled="true"
|
||||
suffix="€">
|
||||
</vn-input-number>
|
||||
<div class="simulator">
|
||||
|
@ -283,6 +286,7 @@
|
|||
label="Discount"
|
||||
ng-model="$ctrl.edit.discount"
|
||||
on-change="$ctrl.changeDiscount()"
|
||||
clear-disabled="true"
|
||||
suffix="%">
|
||||
</vn-input-number>
|
||||
<div class="simulator">
|
||||
|
@ -311,6 +315,7 @@
|
|||
label="Discount"
|
||||
ng-model="$ctrl.edit.discount"
|
||||
on-change="$ctrl.changeMultipleDiscount()"
|
||||
clear-disabled="true"
|
||||
suffix="%">
|
||||
</vn-input-number>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue