Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.punchIn = function() {
- $log.debug('Punched in user in at: ' + new Date() + ' For Company: ' + $scope.company);
- $log.debug('hours: ', $scope.hours);
- var clockIN = {
- begin: new Date(),
- company: $scope.company
- };
- $sailsSocket({
- method: 'POST',
- url: API_URL + 'hours/clockin',
- data: clockIN
- }).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement