app/scripts/services/app-config-service.js
Function getProductTypes
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.getProductTypes = function() {
return getAppConfigFromMemoryOrStorage()
.then(function(appConfig) {
var facilityStockListProductTypes = [];
var uuidListOfProductTypesAlreadyRecorded = [];
Function getSelectedFacility
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.getSelectedFacility = function(key, e){
if(e.target.checked) {
var view = 'facilities/by_lga';
var options = {
include_docs : false,