fixed available/visible icon on ticket sales #1363
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-04-24 09:54:25 +02:00
parent 00c11a95c6
commit 6747a80943
2 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@
</vn-icon>
</a>
<vn-icon
ng-show="sale.visible || sale.available"
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}}">

View File

@ -63,8 +63,8 @@
<vn-thead>
<vn-tr>
<vn-th shrink></vn-th>
<vn-th number>Item</vn-th>
<vn-th number>Quantity</vn-th>
<vn-th number shrink>Item</vn-th>
<vn-th number shrink>Quantity</vn-th>
<vn-th>Description</vn-th>
<vn-th number>Price</vn-th>
<vn-th number>Discount</vn-th>
@ -89,14 +89,14 @@
</vn-icon>
<vn-icon ng-show="sale.reserved" icon="icon-reserva"></vn-icon>
</vn-td>
<vn-td number>
<vn-td number shrink>
<span
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{sale.itemFk | zeroFill:6}}
</span>
</vn-td>
<vn-td number>{{::sale.quantity}}</vn-td>
<vn-td number shrink>{{::sale.quantity}}</vn-td>
<vn-td expand>
<vn-fetched-tags
max-length="6"