Fix indent.
This commit is contained in:
parent
c558994c6d
commit
c14d88f421
@ -155,5 +155,4 @@ var loginModule = angular.module('accountant.login', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
module.exports = loginModule;
|
module.exports = loginModule;
|
||||||
|
@ -180,7 +180,9 @@ var balanceChartModule = angular.module('balanceChartModule', [
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}).factory('Balances', function($resource) {
|
})
|
||||||
|
|
||||||
|
.factory('Balances', function($resource) {
|
||||||
return $resource(
|
return $resource(
|
||||||
'/api/account/:id/daily_balances', {
|
'/api/account/:id/daily_balances', {
|
||||||
id: '@id'
|
id: '@id'
|
||||||
|
@ -111,13 +111,17 @@ var categoryChartModule = angular.module('categoryChartModule', [
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
}).factory('Categories', function($resource) {
|
})
|
||||||
|
|
||||||
|
.factory('Categories', function($resource) {
|
||||||
return $resource(
|
return $resource(
|
||||||
'/api/account/:id/category', {
|
'/api/account/:id/category', {
|
||||||
id: '@id'
|
id: '@id'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}).factory('Incomes', function($resource) {
|
})
|
||||||
|
|
||||||
|
.factory('Incomes', function($resource) {
|
||||||
return $resource(
|
return $resource(
|
||||||
'/api/account/:id/income', {
|
'/api/account/:id/income', {
|
||||||
id: '@id'
|
id: '@id'
|
||||||
|
@ -61,7 +61,7 @@ var operationModule = angular.module('accountant.operations', [
|
|||||||
* Controller for the operations.
|
* Controller for the operations.
|
||||||
*/
|
*/
|
||||||
.controller('OperationController', function($routeParams, $uibModal,
|
.controller('OperationController', function($routeParams, $uibModal,
|
||||||
Notification, Operation, $log, $q) {
|
Notification, Operation, Account, $log, $q) {
|
||||||
|
|
||||||
var vm = this;
|
var vm = this;
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ var operationModule = angular.module('accountant.operations', [
|
|||||||
vm.operations = vm.load(minDate, maxDate);
|
vm.operations = vm.load(minDate, maxDate);
|
||||||
};
|
};
|
||||||
|
|
||||||
//vm.operations = vm.load();
|
vm.account = Account.get({id: $routeParams.accountId});
|
||||||
})
|
})
|
||||||
|
|
||||||
.component('operationModifyModalComponent', {
|
.component('operationModifyModalComponent', {
|
||||||
|
@ -190,7 +190,6 @@ var schedulerModule = angular.module('accountant.scheduler', [
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
.component('scheduleDeleteModalComponent', {
|
.component('scheduleDeleteModalComponent', {
|
||||||
templateUrl: scheduleDeleteTmpl,
|
templateUrl: scheduleDeleteTmpl,
|
||||||
bindings: {
|
bindings: {
|
||||||
|
Loading…
Reference in New Issue
Block a user