bug "no results" solved
This commit is contained in:
parent
7b99d2b951
commit
bd2ad7fa54
|
@ -107,7 +107,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td number>{{(sale.quantity * sale.price) - ((sale.discount * (sale.quantity * sale.price))/100) | currency:' €':2}}</td>
|
<td number>{{(sale.quantity * sale.price) - ((sale.discount * (sale.quantity * sale.price))/100) | currency:' €':2}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="index.model.count === 0" class="list list-element">
|
<tr ng-if="$ctrl.sales.length === 0 || !$ctrl.sales" class="list list-element">
|
||||||
<td colspan="8" style="text-align: center" translate>No results</td>
|
<td colspan="8" style="text-align: center" translate>No results</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
|
|
|
@ -83,6 +83,9 @@
|
||||||
<td number>{{::sale.discount}} %</td>
|
<td number>{{::sale.discount}} %</td>
|
||||||
<td number>{{::sale.quantity * sale.price | currency:'€':2}}</td>
|
<td number>{{::sale.quantity * sale.price | currency:'€':2}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr ng-if="!$ctrl.summary.sales" class="list list-element">
|
||||||
|
<td colspan="8" style="text-align: center" translate>No results</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
|
Loading…
Reference in New Issue