mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
13 lines
299 B
JavaScript
13 lines
299 B
JavaScript
'use strict';
|
|
|
|
Application.Services.factory('AccountingPeriod', ['$resource', function ($resource) {
|
|
return $resource('/api/accounting_periods/:id',
|
|
{ id: '@id' }, {
|
|
lastClosingEnd: {
|
|
method: 'GET',
|
|
url: '/api/accounting_periods/last_closing_end'
|
|
}
|
|
}
|
|
);
|
|
}]);
|