1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/assets/javascripts/services/accounting_period.js

13 lines
299 B
JavaScript
Raw Normal View History

2019-01-07 12:29:52 +01:00
'use strict';
Application.Services.factory('AccountingPeriod', ['$resource', function ($resource) {
return $resource('/api/accounting_periods/:id',
2019-01-07 12:29:52 +01:00
{ id: '@id' }, {
lastClosingEnd: {
method: 'GET',
url: '/api/accounting_periods/last_closing_end'
2019-01-07 12:29:52 +01:00
}
}
);
}]);