Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. $scope.punchIn = function() {
  2. $log.debug('Punched in user in at: ' + new Date() + ' For Company: ' + $scope.company);
  3. $log.debug('hours: ', $scope.hours);
  4. var clockIN = {
  5. begin: new Date(),
  6. company: $scope.company
  7. };
  8. $sailsSocket({
  9. method: 'POST',
  10. url: API_URL + 'hours/clockin',
  11. data: clockIN
  12. }).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement