Commit 3bf21cb211dac9db439c8526a9d9ba9b416064ba

Authored by Jose Pinto
1 parent 3b404e5734
Exists in master and in 1 other branch develop

espacio

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/views/foca-modal-factura.html
1 <div class="modal-header py-1"> 1 <div class="modal-header py-1">
2 <div class="row w-100"> 2 <div class="row w-100">
3 <div class="col-lg-6"> 3 <div class="col-lg-6">
4 <h5 class="modal-title">Búsqueda de Comprobantes</h5> 4 <h5 class="modal-title">Búsqueda de Comprobantes</h5>
5 </div> 5 </div>
6 </div> 6 </div>
7 </div> 7 </div>
8 <div class="modal-body" id="modal-body"> 8 <div class="modal-body" id="modal-body">
9 <table ng-show="primerBusqueda" class="table table-striped table-sm"> 9 <table ng-show="primerBusqueda" class="table table-striped table-sm">
10 <thead> 10 <thead>
11 <tr> 11 <tr>
12 <th>Comprobante</th> 12 <th>Comprobante</th>
13 <th>Vencimiento</th> 13 <th>Vencimiento</th>
14 <th class="text-right">Importe</th> 14 <th class="text-right">Importe</th>
15 <th class="text-right">Saldo</th> 15 <th class="text-right">Saldo</th>
16 <th class="text-right"></th> 16 <th class="text-right"></th>
17 <th class="text-right"></th> 17 <th class="text-right"></th>
18 <th class="text-right"></th> 18 <th class="text-right"></th>
19 </tr> 19 </tr>
20 </thead> 20 </thead>
21 <tbody> 21 <tbody>
22 <tr ng-show="currentPageFacturas.length == 0 && primerBusqueda"> 22 <tr ng-show="currentPageFacturas.length == 0 && primerBusqueda">
23 <td colspan="5"> 23 <td colspan="5">
24 No se encontraron resultados. 24 No se encontraron resultados.
25 </td> 25 </td>
26 </tr> 26 </tr>
27 <tr class="selectable" 27 <tr class="selectable"
28 ng-repeat="(key,factura) in currentPageFacturas"> 28 ng-repeat="(key, factura) in currentPageFacturas">
29 <td>{{factura.numeroFactura}} {{factura.FECHA_COMPROBANTE | date : 'dd/MM/yyyy' : 'GMT'}}</td> 29 <td>{{factura.numeroFactura}} {{factura.FECHA_COMPROBANTE | date : 'dd/MM/yyyy' : 'GMT'}}</td>
30 <td>{{(factura.TCO == 'FT') ? factura.NCU + ' - ' : ''}}{{factura.FEV | date : 'dd/MM/yyyy' : 'GMT'}}</td> 30 <td>{{(factura.TCO == 'FT') ? factura.NCU + ' - ' : ''}}{{factura.FEV | date : 'dd/MM/yyyy' : 'GMT'}}</td>
31 <td class="text-right"> 31 <td class="text-right">
32 {{ (factura.IPA_SHOW / parametrosFactura.cotizacion) | number:2 }} 32 {{ (factura.IPA_SHOW / parametrosFactura.cotizacion) | number:2 }}
33 <span ng-class="{'invisible': factura.IPA >= 0}">-</span> 33 <span ng-class="{'invisible': factura.IPA >= 0}">-</span>
34 </td> 34 </td>
35 <td class="text-right"> 35 <td class="text-right">
36 {{ factura.saldo_show | number:2 }} 36 {{ factura.saldo_show | number:2 }}
37 <span ng-class="{'invisible': factura.saldo >= 0}">-</span> 37 <span ng-class="{'invisible': factura.saldo >= 0}">-</span>
38 </td> 38 </td>
39 <td class="text-right"> 39 <td class="text-right">
40 <input 40 <input
41 ng-class="{ 41 ng-class="{
42 'btn-secondary': selectedFactura != key, 42 'btn-secondary': selectedFactura != key,
43 'btn-primary': selectedFactura == key}" 43 'btn-primary': selectedFactura == key}"
44 ng-keydown="itemFactura($event.keyCode)" 44 ng-keydown="itemFactura($event.keyCode)"
45 foca-focus="selectedFactura == {{key}}" 45 foca-focus="selectedFactura == {{key}}"
46 type="checkbox" 46 type="checkbox"
47 ng-model="factura.checked" 47 ng-model="factura.checked"
48 /> 48 />
49 </td> 49 </td>
50 <td> 50 <td>
51 <button 51 <button
52 class="btn p-1" 52 class="btn p-1"
53 ng-click="verFactura(factura)" 53 ng-click="verFactura(factura)"
54 > 54 >
55 <i class="fa fa-eye" aria-hidden="true"></i> 55 <i class="fa fa-eye" aria-hidden="true"></i>
56 </button> 56 </button>
57 </td> 57 </td>
58 <td> 58 <td>
59 <button 59 <button
60 class="btn p-1" 60 class="btn p-1"
61 > 61 >
62 <i class="fa fa-envelope-o" aria-hidden="true"></i> 62 <i class="fa fa-envelope-o" aria-hidden="true"></i>
63 </button> 63 </button>
64 </td> 64 </td>
65 </tr> 65 </tr>
66 </tbody> 66 </tbody>
67 </table> 67 </table>
68 </div> 68 </div>
69 <div class="modal-footer py-1"> 69 <div class="modal-footer py-1">
70 <nav ng-show="currentPageFacturas.length > 0 && primerBusqueda" class="mr-auto"> 70 <nav ng-show="currentPageFacturas.length > 0 && primerBusqueda" class="mr-auto">
71 <ul class="pagination pagination-sm justify-content mb-0"> 71 <ul class="pagination pagination-sm justify-content mb-0">
72 <li class="page-item" ng-class="{'disabled': currentPage == 1}"> 72 <li class="page-item" ng-class="{'disabled': currentPage == 1}">
73 <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage - 1)"> 73 <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage - 1)">
74 <span aria-hidden="true">&laquo;</span> 74 <span aria-hidden="true">&laquo;</span>
75 <span class="sr-only">Anterior</span> 75 <span class="sr-only">Anterior</span>
76 </a> 76 </a>
77 </li> 77 </li>
78 <li 78 <li
79 class="page-item" 79 class="page-item"
80 ng-repeat="pagina in paginas" 80 ng-repeat="pagina in paginas"
81 ng-class="{'active': pagina == currentPage}" 81 ng-class="{'active': pagina == currentPage}"
82 > 82 >
83 <a 83 <a
84 class="page-link" 84 class="page-link"
85 href="javascript:void();" 85 href="javascript:void();"
86 ng-click="selectPage(pagina)" 86 ng-click="selectPage(pagina)"
87 ng-bind="pagina" 87 ng-bind="pagina"
88 ></a> 88 ></a>
89 </li> 89 </li>
90 <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> 90 <li class="page-item" ng-class="{'disabled': currentPage == lastPage}">
91 <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage + 1)"> 91 <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage + 1)">
92 <span aria-hidden="true">&raquo;</span> 92 <span aria-hidden="true">&raquo;</span>
93 <span class="sr-only">Siguiente</span> 93 <span class="sr-only">Siguiente</span>
94 </a> 94 </a>
95 </li> 95 </li>
96 </ul> 96 </ul>
97 </nav> 97 </nav>
98 <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> 98 <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button>
99 <button 99 <button
100 class="btn btn-sm btn-primary" 100 class="btn btn-sm btn-primary"
101 type="button" 101 type="button"
102 ng-click="aceptar()" 102 ng-click="aceptar()"
103 ng-disabled="tieneAlMenosUno()" 103 ng-disabled="tieneAlMenosUno()"
104 >Aceptar</button> 104 >Aceptar</button>
105 </div> 105 </div>
106 106