Commit 28be27837d43040bd34b01f83d4e3ce2a0aceb9f
1 parent
ba29d625c5
Exists in
master
mejor muestra de datos
Showing
2 changed files
with
9 additions
and
3 deletions
Show diff stats
src/js/controller.js
src/views/foca-modal-factura.html
... | ... | @@ -25,13 +25,17 @@ |
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-if="factura.IPA < 0"> - </span> | |
33 | + <span ng-if="factura.IPA > 0" style="color: rgba(0,0,0,0);"> + </span> | |
32 | 34 | </td> |
33 | 35 | <td class="text-right"> |
34 | - <span ng-if="factura.saldo >= 0">+</span>{{factura.saldo | number:2}} | |
36 | + {{ factura.saldo_show | number:2 }} | |
37 | + <span ng-if="factura.saldo < 0"> - </span> | |
38 | + <span ng-if="factura.saldo > 0" style="color: rgba(0,0,0,0);"> + </span> | |
35 | 39 | </td> |
36 | 40 | <td class="text-right"> |
37 | 41 | <input |