Commit 27ccc80230265f35781e0f104aafd0cbac22db6d
Exists in
ultimos_despachos
and in
1 other branch
Merge branch 'master' into 'develop'
Master(mpuebla) See merge request !35
Showing
1 changed file
 
Show diff stats
src/views/modal-ultimos-despachos.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 my-1"><b>Últimos Despachos</b></h5> | 4 | <h5 class="modal-title my-1"><b>Últimos Despachos</b></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 | <div ng-repeat="(key, producto) in productos"> | 9 | <div ng-repeat="(key, producto) in productos"> | 
| 10 | <div class="row pb-2 border-bottom"> | 10 | <div class="row pb-2 border-bottom"> | 
| 11 | <div class="col"> | 11 | <div class="col"> | 
| 12 | <p class="m-1 h6"> | 12 | <p class="m-1 h6"> | 
| 13 | <b> | 13 | <b> | 
| 14 | <i class="fa fa-circle" aria-hidden="true"></i>  {{producto.DetArt}} | 14 | <i class="fa fa-circle" aria-hidden="true"></i>  {{producto.DetArt}} | 
| 15 | </b> | 15 | </b> | 
| 16 | </p> | 16 | </p> | 
| 17 | </div> | 17 | </div> | 
| 18 | </div> | 18 | </div> | 
| 19 | <div class="row my-2"> | 19 | <div class="row my-2"> | 
| 20 | <div class="col"> | 20 | <div class="col"> | 
| 21 | <label> | 21 | <label> | 
| 22 | <img class="w-50" ng-src="./img/surtidor.png" alt=""> | 22 | <img class="w-50" ng-src="./img/surtidor.png" alt=""> | 
| 23 | {{producto.despachos[0].CSU}} | 23 | {{producto.despachos[0].CSU}} | 
| 24 | </label> | 24 | </label> | 
| 25 | <button | 25 | <button | 
| 26 | type="button" | 26 | type="button" | 
| 27 | class="btn p-1 text-secondary float-right border" | 27 | class="btn p-1 text-secondary float-right border" | 
| 28 | ng-click="manguera.show = !manguera.show"> | 28 | ng-click="manguera.show = !manguera.show"> | 
| 29 | <i ng-show="manguera.show" class="fa fa-minus px-1"></i> | 29 | <i ng-show="!manguera.show" class="fa fa-minus px-1"></i> | 
| 30 | <i ng-show="!manguera.show" class="fa fa-plus px-1"></i> | 30 | <i ng-show="manguera.show" class="fa fa-plus px-1"></i> | 
| 31 | </button> | 31 | </button> | 
| 32 | <table class="table table-sm table-striped" ng-show="manguera.show"> | 32 | <table class="table table-sm table-striped" ng-show="!manguera.show"> | 
| 33 | <tbody> | 33 | <tbody> | 
| 34 | <tr> | 34 | <tr> | 
| 35 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].FEC | date:'dd/MM/yyyy hh:MM:ss'"></td> | 35 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].FEC | date:'dd/MM/yyyy hh:MM:ss'"></td> | 
| 36 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].LTS"></td> | 36 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].LTS"></td> | 
| 37 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].IMP | currency: '$'"></td> | 37 | <td class="py-2 py-sm-1" ng-bind="producto.despachos[0].IMP | currency: '$'"></td> | 
| 38 | <td class="py-2 py-sm-1"> | 38 | <td class="py-2 py-sm-1"> | 
| 39 | <button | 39 | <button | 
| 40 | type="button" | 40 | type="button" | 
| 41 | class="btn btn-default btn-xs p-1 float-right" | 41 | class="btn btn-default btn-xs p-1 float-right" | 
| 42 | title="Seleccionar" | 42 | title="Seleccionar" | 
| 43 | ng-click="aceptar(producto)" | 43 | ng-click="aceptar(producto)" | 
| 44 | ><i class="fa fa-circle-thin" aria-hidden="true"></i> | 44 | ><i class="fa fa-circle-thin" aria-hidden="true"></i> | 
| 45 | </button> | 45 | </button> | 
| 46 | </td> | 46 | </td> | 
| 47 | </tr> | 47 | </tr> | 
| 48 | </tbody> | 48 | </tbody> | 
| 49 | </table> | 49 | </table> | 
| 50 | </div> | 50 | </div> | 
| 51 | </div> | 51 | </div> | 
| 52 | </div> | 52 | </div> | 
| 53 | 53 | ||
| 54 | </div> | 54 | </div> | 
| 55 | <div class="modal-footer py-2"> | 55 | <div class="modal-footer py-2"> | 
| 56 | <nav ng-show="currentPageProveedores.length > 0 && primerBusqueda" class="mr-auto"> | 56 | <nav ng-show="currentPageProveedores.length > 0 && primerBusqueda" class="mr-auto"> | 
| 57 | <ul class="pagination pagination-sm mb-0"> | 57 | <ul class="pagination pagination-sm mb-0"> | 
| 58 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | 58 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | 
| 59 | <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage - 1)"> | 59 | <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage - 1)"> | 
| 60 | <span aria-hidden="true">«</span> | 60 | <span aria-hidden="true">«</span> | 
| 61 | <span class="sr-only">Anterior</span> | 61 | <span class="sr-only">Anterior</span> | 
| 62 | </a> | 62 | </a> | 
| 63 | </li> | 63 | </li> | 
| 64 | <li | 64 | <li | 
| 65 | class="page-item" | 65 | class="page-item" | 
| 66 | ng-repeat="pagina in paginas" | 66 | ng-repeat="pagina in paginas" | 
| 67 | ng-class="{'active': pagina == currentPage}" | 67 | ng-class="{'active': pagina == currentPage}" | 
| 68 | > | 68 | > | 
| 69 | <a | 69 | <a | 
| 70 | class="page-link" | 70 | class="page-link" | 
| 71 | href="javascript:void();" | 71 | href="javascript:void();" | 
| 72 | ng-click="selectPage(pagina)" | 72 | ng-click="selectPage(pagina)" | 
| 73 | ng-bind="pagina" | 73 | ng-bind="pagina" | 
| 74 | ></a> | 74 | ></a> | 
| 75 | </li> | 75 | </li> | 
| 76 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | 76 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | 
| 77 | <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage + 1)"> | 77 | <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage + 1)"> | 
| 78 | <span aria-hidden="true">»</span> | 78 | <span aria-hidden="true">»</span> | 
| 79 | <span class="sr-only">Siguiente</span> | 79 | <span class="sr-only">Siguiente</span> | 
| 80 | </a> | 80 | </a> | 
| 81 | </li> | 81 | </li> | 
| 82 | </ul> | 82 | </ul> | 
| 83 | </nav> | 83 | </nav> | 
| 84 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> | 84 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> | 
| 85 | </div> | 85 | </div> | 
| 86 | 86 |