service.js 897 Bytes
angular.module('focaInformes')
    .factory('focaInformesService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) {
        return {
            getBotonera: function() {
                var result = [
                    {
                        label: 'Hojas de ruta',
                        image: 'cliente.png'
                    },
                    {
                        label: 'Choferes',
                        image: 'chofer.png'
                    },
                    {
                        label: 'Litros por km recorridos por unidad de reparto',
                        image: 'productos.png'
                    },
                    {
                        label: 'Informe general por unidad de reparto',
                        image: 'flete.png'
                    }
                ];
                return result;
            }
        };
    }]);