Commit e5fde01a5327cd7e7c1c81a11f7d3904bfbbd536
Exists in
master
Merge branch 'master' into 'master'
Master See merge request !8
Showing
2 changed files
Show diff stats
src/js/controller.js
src/views/foca-modal-factura.html
... | ... | @@ -25,13 +25,15 @@ |
25 | 25 | <tr class="selectable" |
26 | 26 | ng-repeat="(key,factura) in currentPageFacturas" |
27 | 27 | ng-click="factura.checked = !factura.checked"> |
28 | - <td>{{factura.numeroFactura}} {{factura.FEP | date : 'dd/MM/yyyy' : 'GMT'}}</td> | |
28 | + <td>{{factura.numeroFactura}} {{factura.FECHA_COMPROBANTE | date : 'dd/MM/yyyy' : 'GMT'}}</td> | |
29 | 29 | <td>{{(factura.TCO == 'FT') ? factura.NCU + ' - ' : ''}}{{factura.FEV | date : 'dd/MM/yyyy' : 'GMT'}}</td> |
30 | 30 | <td class="text-right"> |
31 | - <span ng-if="factura.IPA >= 0">+</span>{{(factura.IPA / parametrosFactura.cotizacion) | number:2}} | |
31 | + {{ (factura.IPA_SHOW / parametrosFactura.cotizacion) | number:2 }} | |
32 | + <span ng-class="{{'invisible': factura.IPA >= 0}}">-</span> | |
32 | 33 | </td> |
33 | 34 | <td class="text-right"> |
34 | - <span ng-if="factura.saldo >= 0">+</span>{{factura.saldo | number:2}} | |
35 | + {{ factura.saldo_show | number:2 }} | |
36 | + <span ng-class="{{'invisible': factura.saldo >= 0}}">-</span> | |
35 | 37 | </td> |
36 | 38 | <td class="text-right"> |
37 | 39 | <input |