#1517 ticket.index

This commit is contained in:
Carlos Jimenez Ruiz 2019-06-20 14:35:47 +02:00
parent 2901ad2022
commit 594268183b
2 changed files with 3 additions and 2 deletions

View File

@ -216,7 +216,8 @@ module.exports = Self => {
(INDEX (ticketFk))
ENGINE = MEMORY
SELECT id ticketFk, clientFk, warehouseFk, shipped
FROM tmp.filter`);
FROM tmp.filter
WHERE alertLevel = 0 OR alertLevel IS NULL`);
stmts.push('CALL ticketGetProblems()');
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.ticket');

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}}">