Web.Admin/AdminApp/Controllers/controller.reservation.js
Function reservationController
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var reservationController = function ($scope, $http, $q, $location, modalFactory, dataService, moment) {
var url = $location.absUrl();
var lastSlash = url.lastIndexOf('/');
var province = url.slice(lastSlash + 1);
var year = url.slice(lastSlash - 4, lastSlash);
Function reservationController
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var reservationController = function ($scope, $http, $q, $location, modalFactory, dataService, moment) {