service.js
1.29 KB
angular.module('focaOrdenCarga')
.factory('focaOrdenCargaService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) {
var route = API_ENDPOINT.URL;
return {
getBotonera: function() {
var result = [
{
label: 'Vehiculo',
image: 'vehiculo_secundario.png'
},
{
label: 'Fecha de Reparto',
image: 'fechaDeEntrega.png'
},
{
label: 'Hojas de Ruta',
image: 'hojaDeRuta.png'
},
{
label: 'Remito Abierto',
image: 'remito_abierto.png'
},
{
label: 'Chofer',
image: 'chofer_secundario.png'
},
{
label: 'Ver Cisternas',
image: 'verCisterna.png'
}
];
return result;
},
};
}]);