#1517 ticket.index hot fix

This commit is contained in:
Carlos Jimenez Ruiz 2019-06-20 11:31:03 +02:00
parent e45d95ac10
commit 9162ef9c1e
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
</vn-icon>
</a>
<vn-icon
ng-show="sale.visible < 0 || sale.available < 0"
ng-show="sale.visible <= 0 || sale.available <= 0"
color-main
icon="warning"
vn-tooltip="Visible: {{::sale.visible || 0}} <br> {{::$ctrl.$translate.instant('Available')}}: {{::sale.available || 0}}">
@ -110,7 +110,7 @@
<vn-td-editable editable="!$ctrl.isEditable">
<text>{{sale.quantity}}</text>
<field>
<vn-textfield
<vn-textfield vn-focus
model="sale.quantity"
on-change="$ctrl.updateQuantity(sale.id, sale.quantity)"
type="text">