{"action":"created","comment":{"url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/comments/63317899","id":63317899,"diff_hunk":"@@ -0,0 +1,338 @@\n+'use strict';\n+\n+angular.module('bsis')\n+  .controller('ViewStockLevelsCtrl', function($scope, $location, $filter) {\n+\n+    var master = {\n+      inventoryStatus: 'IN_STOCK',\n+      allSites: true\n+    };","path":"app/scripts/controllers/inventory/viewStockLevels.js","position":15,"original_position":9,"commit_id":"096f458300e02439032f385713729d63ee4c8277","original_commit_id":"2b486b68abf8a615f4685ff4b2539e30e76e6e38","user":{"login":"timler","id":1272356,"avatar_url":"https://avatars.githubusercontent.com/u/1272356?v=3","gravatar_id":"","url":"https://api.github.com/users/timler","html_url":"https://github.com/timler","followers_url":"https://api.github.com/users/timler/followers","following_url":"https://api.github.com/users/timler/following{/other_user}","gists_url":"https://api.github.com/users/timler/gists{/gist_id}","starred_url":"https://api.github.com/users/timler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timler/subscriptions","organizations_url":"https://api.github.com/users/timler/orgs","repos_url":"https://api.github.com/users/timler/repos","events_url":"https://api.github.com/users/timler/events{/privacy}","received_events_url":"https://api.github.com/users/timler/received_events","type":"User","site_admin":false},"body":"Done: https://github.com/jembi/bsis-frontend/commit/958970bffa168bf85f370fdfb023d5c07a698744","created_at":"2016-05-16T07:27:45Z","updated_at":"2016-05-16T07:27:45Z","html_url":"https://github.com/jembi/bsis-frontend/pull/413#discussion_r63317899","pull_request_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413","_links":{"self":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/comments/63317899"},"html":{"href":"https://github.com/jembi/bsis-frontend/pull/413#discussion_r63317899"},"pull_request":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413","id":69644187,"html_url":"https://github.com/jembi/bsis-frontend/pull/413","diff_url":"https://github.com/jembi/bsis-frontend/pull/413.diff","patch_url":"https://github.com/jembi/bsis-frontend/pull/413.patch","issue_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/413","number":413,"state":"open","locked":false,"title":"BSIS-868: As an inventory user, I need to view stock levels for a site, so that I can effectively manage inventory","user":{"login":"timler","id":1272356,"avatar_url":"https://avatars.githubusercontent.com/u/1272356?v=3","gravatar_id":"","url":"https://api.github.com/users/timler","html_url":"https://github.com/timler","followers_url":"https://api.github.com/users/timler/followers","following_url":"https://api.github.com/users/timler/following{/other_user}","gists_url":"https://api.github.com/users/timler/gists{/gist_id}","starred_url":"https://api.github.com/users/timler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timler/subscriptions","organizations_url":"https://api.github.com/users/timler/orgs","repos_url":"https://api.github.com/users/timler/repos","events_url":"https://api.github.com/users/timler/events{/privacy}","received_events_url":"https://api.github.com/users/timler/received_events","type":"User","site_admin":false},"body":"See: https://jembiprojects.jira.com/browse/BSIS-868\r\n\r\nbranched from master","created_at":"2016-05-11T09:53:43Z","updated_at":"2016-05-16T07:27:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb6d7d6f2ad0d377b357d643186a398a0bf649b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413/commits","review_comments_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413/comments","review_comment_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/413/comments","statuses_url":"https://api.github.com/repos/jembi/bsis-frontend/statuses/096f458300e02439032f385713729d63ee4c8277","head":{"label":"jembi:868-view-stock-levels","ref":"868-view-stock-levels","sha":"096f458300e02439032f385713729d63ee4c8277","user":{"login":"jembi","id":1931511,"avatar_url":"https://avatars.githubusercontent.com/u/1931511?v=3","gravatar_id":"","url":"https://api.github.com/users/jembi","html_url":"https://github.com/jembi","followers_url":"https://api.github.com/users/jembi/followers","following_url":"https://api.github.com/users/jembi/following{/other_user}","gists_url":"https://api.github.com/users/jembi/gists{/gist_id}","starred_url":"https://api.github.com/users/jembi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jembi/subscriptions","organizations_url":"https://api.github.com/users/jembi/orgs","repos_url":"https://api.github.com/users/jembi/repos","events_url":"https://api.github.com/users/jembi/events{/privacy}","received_events_url":"https://api.github.com/users/jembi/received_events","type":"Organization","site_admin":false},"repo":{"id":19781627,"name":"bsis-frontend","full_name":"jembi/bsis-frontend","owner":{"login":"jembi","id":1931511,"avatar_url":"https://avatars.githubusercontent.com/u/1931511?v=3","gravatar_id":"","url":"https://api.github.com/users/jembi","html_url":"https://github.com/jembi","followers_url":"https://api.github.com/users/jembi/followers","following_url":"https://api.github.com/users/jembi/following{/other_user}","gists_url":"https://api.github.com/users/jembi/gists{/gist_id}","starred_url":"https://api.github.com/users/jembi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jembi/subscriptions","organizations_url":"https://api.github.com/users/jembi/orgs","repos_url":"https://api.github.com/users/jembi/repos","events_url":"https://api.github.com/users/jembi/events{/privacy}","received_events_url":"https://api.github.com/users/jembi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jembi/bsis-frontend","description":"The Blood Safety Information System (BSIS) frontend","fork":false,"url":"https://api.github.com/repos/jembi/bsis-frontend","forks_url":"https://api.github.com/repos/jembi/bsis-frontend/forks","keys_url":"https://api.github.com/repos/jembi/bsis-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jembi/bsis-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jembi/bsis-frontend/teams","hooks_url":"https://api.github.com/repos/jembi/bsis-frontend/hooks","issue_events_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/jembi/bsis-frontend/events","assignees_url":"https://api.github.com/repos/jembi/bsis-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/jembi/bsis-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/jembi/bsis-frontend/tags","blobs_url":"https://api.github.com/repos/jembi/bsis-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jembi/bsis-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jembi/bsis-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/jembi/bsis-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jembi/bsis-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/jembi/bsis-frontend/languages","stargazers_url":"https://api.github.com/repos/jembi/bsis-frontend/stargazers","contributors_url":"https://api.github.com/repos/jembi/bsis-frontend/contributors","subscribers_url":"https://api.github.com/repos/jembi/bsis-frontend/subscribers","subscription_url":"https://api.github.com/repos/jembi/bsis-frontend/subscription","commits_url":"https://api.github.com/repos/jembi/bsis-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/jembi/bsis-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/jembi/bsis-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/jembi/bsis-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/jembi/bsis-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jembi/bsis-frontend/merges","archive_url":"https://api.github.com/repos/jembi/bsis-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jembi/bsis-frontend/downloads","issues_url":"https://api.github.com/repos/jembi/bsis-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/jembi/bsis-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/jembi/bsis-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jembi/bsis-frontend/labels{/name}","releases_url":"https://api.github.com/repos/jembi/bsis-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/jembi/bsis-frontend/deployments","created_at":"2014-05-14T14:03:19Z","updated_at":"2016-04-19T06:38:18Z","pushed_at":"2016-05-16T07:26:28Z","git_url":"git://github.com/jembi/bsis-frontend.git","ssh_url":"git@github.com:jembi/bsis-frontend.git","clone_url":"https://github.com/jembi/bsis-frontend.git","svn_url":"https://github.com/jembi/bsis-frontend","homepage":null,"size":3933,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":0,"default_branch":"master"}},"base":{"label":"jembi:master","ref":"master","sha":"6a9b889ea16d9dd35cd1ec6e0d964e8eadac2dd1","user":{"login":"jembi","id":1931511,"avatar_url":"https://avatars.githubusercontent.com/u/1931511?v=3","gravatar_id":"","url":"https://api.github.com/users/jembi","html_url":"https://github.com/jembi","followers_url":"https://api.github.com/users/jembi/followers","following_url":"https://api.github.com/users/jembi/following{/other_user}","gists_url":"https://api.github.com/users/jembi/gists{/gist_id}","starred_url":"https://api.github.com/users/jembi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jembi/subscriptions","organizations_url":"https://api.github.com/users/jembi/orgs","repos_url":"https://api.github.com/users/jembi/repos","events_url":"https://api.github.com/users/jembi/events{/privacy}","received_events_url":"https://api.github.com/users/jembi/received_events","type":"Organization","site_admin":false},"repo":{"id":19781627,"name":"bsis-frontend","full_name":"jembi/bsis-frontend","owner":{"login":"jembi","id":1931511,"avatar_url":"https://avatars.githubusercontent.com/u/1931511?v=3","gravatar_id":"","url":"https://api.github.com/users/jembi","html_url":"https://github.com/jembi","followers_url":"https://api.github.com/users/jembi/followers","following_url":"https://api.github.com/users/jembi/following{/other_user}","gists_url":"https://api.github.com/users/jembi/gists{/gist_id}","starred_url":"https://api.github.com/users/jembi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jembi/subscriptions","organizations_url":"https://api.github.com/users/jembi/orgs","repos_url":"https://api.github.com/users/jembi/repos","events_url":"https://api.github.com/users/jembi/events{/privacy}","received_events_url":"https://api.github.com/users/jembi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jembi/bsis-frontend","description":"The Blood Safety Information System (BSIS) frontend","fork":false,"url":"https://api.github.com/repos/jembi/bsis-frontend","forks_url":"https://api.github.com/repos/jembi/bsis-frontend/forks","keys_url":"https://api.github.com/repos/jembi/bsis-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jembi/bsis-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jembi/bsis-frontend/teams","hooks_url":"https://api.github.com/repos/jembi/bsis-frontend/hooks","issue_events_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/jembi/bsis-frontend/events","assignees_url":"https://api.github.com/repos/jembi/bsis-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/jembi/bsis-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/jembi/bsis-frontend/tags","blobs_url":"https://api.github.com/repos/jembi/bsis-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jembi/bsis-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jembi/bsis-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/jembi/bsis-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jembi/bsis-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/jembi/bsis-frontend/languages","stargazers_url":"https://api.github.com/repos/jembi/bsis-frontend/stargazers","contributors_url":"https://api.github.com/repos/jembi/bsis-frontend/contributors","subscribers_url":"https://api.github.com/repos/jembi/bsis-frontend/subscribers","subscription_url":"https://api.github.com/repos/jembi/bsis-frontend/subscription","commits_url":"https://api.github.com/repos/jembi/bsis-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/jembi/bsis-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/jembi/bsis-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/jembi/bsis-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/jembi/bsis-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/jembi/bsis-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jembi/bsis-frontend/merges","archive_url":"https://api.github.com/repos/jembi/bsis-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jembi/bsis-frontend/downloads","issues_url":"https://api.github.com/repos/jembi/bsis-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/jembi/bsis-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/jembi/bsis-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/jembi/bsis-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jembi/bsis-frontend/labels{/name}","releases_url":"https://api.github.com/repos/jembi/bsis-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/jembi/bsis-frontend/deployments","created_at":"2014-05-14T14:03:19Z","updated_at":"2016-04-19T06:38:18Z","pushed_at":"2016-05-16T07:26:28Z","git_url":"git://github.com/jembi/bsis-frontend.git","ssh_url":"git@github.com:jembi/bsis-frontend.git","clone_url":"https://github.com/jembi/bsis-frontend.git","svn_url":"https://github.com/jembi/bsis-frontend","homepage":null,"size":3933,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413"},"html":{"href":"https://github.com/jembi/bsis-frontend/pull/413"},"issue":{"href":"https://api.github.com/repos/jembi/bsis-frontend/issues/413"},"comments":{"href":"https://api.github.com/repos/jembi/bsis-frontend/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jembi/bsis-frontend/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/jembi/bsis-frontend/statuses/096f458300e02439032f385713729d63ee4c8277"}}}}