Commit 4025669050da80f5abeca56eadea98d723bcdcf7
Exists in
master
and in
1 other branch
Merge branch 'master' into 'develop'
Master(efernandez) See merge request !29
Showing
2 changed files
Show diff stats
src/js/controllerCombustibles.js
... | ... | @@ -39,6 +39,10 @@ angular.module('focaCrearFactura') |
39 | 39 | |
40 | 40 | $scope.mangueras = productosByMangera; |
41 | 41 | |
42 | + $scope.mangera.despachos.sort(function (a, b) { | |
43 | + return a.FEC - b.FEC; | |
44 | + }); | |
45 | + | |
42 | 46 | $scope.aceptar = function (despacho) { |
43 | 47 | $uibModalInstance.close(despacho); |
44 | 48 | }; |