mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Added tags to clients page
This commit is contained in:
@ -122,6 +122,10 @@ biomed.ClientEditCtrl = function($scope, $routeParams, Clients) {
|
||||
updatePms();
|
||||
});
|
||||
|
||||
$scope.tags = Clients.tags($routeParams, function() {
|
||||
|
||||
});
|
||||
|
||||
$scope.identification = createController();
|
||||
$scope.address = createController();
|
||||
$scope.primaryContact = createContactController(0);
|
||||
|
@ -9,7 +9,8 @@ angular.module('biomed.services', [])
|
||||
create: { method: 'POST', params: {} },
|
||||
update: { method: 'POST', params: { id: 0} },
|
||||
destroy: { method: 'DELETE', params: { id: 0 } },
|
||||
workorders: { method: 'GET', params: { id: 0, cmd: 'workorders' }, isArray: true }
|
||||
workorders: { method: 'GET', params: { id: 0, cmd: 'workorders' }, isArray: true },
|
||||
tags: { method: 'GET', params: { id: 0, cmd: 'tags' }, isArray: true }
|
||||
});
|
||||
})
|
||||
.factory("Workorders", function($resource) {
|
||||
|
Reference in New Issue
Block a user