{"action":"opened","number":422,"pull_request":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422","id":30161896,"html_url":"https://github.com/IMA-WorldHealth/bhima/pull/422","diff_url":"https://github.com/IMA-WorldHealth/bhima/pull/422.diff","patch_url":"https://github.com/IMA-WorldHealth/bhima/pull/422.patch","issue_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/422","number":422,"state":"open","locked":false,"title":"Fixing stock status values","user":{"login":"mbayopanda","id":5445251,"avatar_url":"https://avatars.githubusercontent.com/u/5445251?v=3","gravatar_id":"","url":"https://api.github.com/users/mbayopanda","html_url":"https://github.com/mbayopanda","followers_url":"https://api.github.com/users/mbayopanda/followers","following_url":"https://api.github.com/users/mbayopanda/following{/other_user}","gists_url":"https://api.github.com/users/mbayopanda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbayopanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbayopanda/subscriptions","organizations_url":"https://api.github.com/users/mbayopanda/orgs","repos_url":"https://api.github.com/users/mbayopanda/repos","events_url":"https://api.github.com/users/mbayopanda/events{/privacy}","received_events_url":"https://api.github.com/users/mbayopanda/received_events","type":"User","site_admin":false},"body":"In this PR, we have : \r\n- Clean the code in 'stock_status.js' and in 'stockControler.js'\r\n- Fixed the problem of values which change (stock_months and Quantity_to_order) in stock_status","created_at":"2015-02-27T12:17:06Z","updated_at":"2015-02-27T12:17:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422/commits","review_comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422/comments","review_comment_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/422/comments","statuses_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/c79b31db4a0266860b62af00b25883519d997e94","head":{"label":"mbayopanda:feature/stock_control_service","ref":"feature/stock_control_service","sha":"c79b31db4a0266860b62af00b25883519d997e94","user":{"login":"mbayopanda","id":5445251,"avatar_url":"https://avatars.githubusercontent.com/u/5445251?v=3","gravatar_id":"","url":"https://api.github.com/users/mbayopanda","html_url":"https://github.com/mbayopanda","followers_url":"https://api.github.com/users/mbayopanda/followers","following_url":"https://api.github.com/users/mbayopanda/following{/other_user}","gists_url":"https://api.github.com/users/mbayopanda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbayopanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbayopanda/subscriptions","organizations_url":"https://api.github.com/users/mbayopanda/orgs","repos_url":"https://api.github.com/users/mbayopanda/repos","events_url":"https://api.github.com/users/mbayopanda/events{/privacy}","received_events_url":"https://api.github.com/users/mbayopanda/received_events","type":"User","site_admin":false},"repo":{"id":22832403,"name":"bhima","full_name":"mbayopanda/bhima","owner":{"login":"mbayopanda","id":5445251,"avatar_url":"https://avatars.githubusercontent.com/u/5445251?v=3","gravatar_id":"","url":"https://api.github.com/users/mbayopanda","html_url":"https://github.com/mbayopanda","followers_url":"https://api.github.com/users/mbayopanda/followers","following_url":"https://api.github.com/users/mbayopanda/following{/other_user}","gists_url":"https://api.github.com/users/mbayopanda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbayopanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbayopanda/subscriptions","organizations_url":"https://api.github.com/users/mbayopanda/orgs","repos_url":"https://api.github.com/users/mbayopanda/repos","events_url":"https://api.github.com/users/mbayopanda/events{/privacy}","received_events_url":"https://api.github.com/users/mbayopanda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbayopanda/bhima","description":"Continuation of the Bika HIS project with an Angular core.","fork":true,"url":"https://api.github.com/repos/mbayopanda/bhima","forks_url":"https://api.github.com/repos/mbayopanda/bhima/forks","keys_url":"https://api.github.com/repos/mbayopanda/bhima/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbayopanda/bhima/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbayopanda/bhima/teams","hooks_url":"https://api.github.com/repos/mbayopanda/bhima/hooks","issue_events_url":"https://api.github.com/repos/mbayopanda/bhima/issues/events{/number}","events_url":"https://api.github.com/repos/mbayopanda/bhima/events","assignees_url":"https://api.github.com/repos/mbayopanda/bhima/assignees{/user}","branches_url":"https://api.github.com/repos/mbayopanda/bhima/branches{/branch}","tags_url":"https://api.github.com/repos/mbayopanda/bhima/tags","blobs_url":"https://api.github.com/repos/mbayopanda/bhima/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbayopanda/bhima/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbayopanda/bhima/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbayopanda/bhima/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbayopanda/bhima/statuses/{sha}","languages_url":"https://api.github.com/repos/mbayopanda/bhima/languages","stargazers_url":"https://api.github.com/repos/mbayopanda/bhima/stargazers","contributors_url":"https://api.github.com/repos/mbayopanda/bhima/contributors","subscribers_url":"https://api.github.com/repos/mbayopanda/bhima/subscribers","subscription_url":"https://api.github.com/repos/mbayopanda/bhima/subscription","commits_url":"https://api.github.com/repos/mbayopanda/bhima/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbayopanda/bhima/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbayopanda/bhima/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbayopanda/bhima/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbayopanda/bhima/contents/{+path}","compare_url":"https://api.github.com/repos/mbayopanda/bhima/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbayopanda/bhima/merges","archive_url":"https://api.github.com/repos/mbayopanda/bhima/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbayopanda/bhima/downloads","issues_url":"https://api.github.com/repos/mbayopanda/bhima/issues{/number}","pulls_url":"https://api.github.com/repos/mbayopanda/bhima/pulls{/number}","milestones_url":"https://api.github.com/repos/mbayopanda/bhima/milestones{/number}","notifications_url":"https://api.github.com/repos/mbayopanda/bhima/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbayopanda/bhima/labels{/name}","releases_url":"https://api.github.com/repos/mbayopanda/bhima/releases{/id}","created_at":"2014-08-11T08:40:29Z","updated_at":"2014-08-11T11:25:02Z","pushed_at":"2015-02-27T12:10:21Z","git_url":"git://github.com/mbayopanda/bhima.git","ssh_url":"git@github.com:mbayopanda/bhima.git","clone_url":"https://github.com/mbayopanda/bhima.git","svn_url":"https://github.com/mbayopanda/bhima","homepage":null,"size":37009,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"IMA-WorldHealth:development","ref":"development","sha":"7649af8cbd9cdba6f5432af1ad8b3b46740aa366","user":{"login":"IMA-WorldHealth","id":5330583,"avatar_url":"https://avatars.githubusercontent.com/u/5330583?v=3","gravatar_id":"","url":"https://api.github.com/users/IMA-WorldHealth","html_url":"https://github.com/IMA-WorldHealth","followers_url":"https://api.github.com/users/IMA-WorldHealth/followers","following_url":"https://api.github.com/users/IMA-WorldHealth/following{/other_user}","gists_url":"https://api.github.com/users/IMA-WorldHealth/gists{/gist_id}","starred_url":"https://api.github.com/users/IMA-WorldHealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMA-WorldHealth/subscriptions","organizations_url":"https://api.github.com/users/IMA-WorldHealth/orgs","repos_url":"https://api.github.com/users/IMA-WorldHealth/repos","events_url":"https://api.github.com/users/IMA-WorldHealth/events{/privacy}","received_events_url":"https://api.github.com/users/IMA-WorldHealth/received_events","type":"Organization","site_admin":false},"repo":{"id":15043926,"name":"bhima","full_name":"IMA-WorldHealth/bhima","owner":{"login":"IMA-WorldHealth","id":5330583,"avatar_url":"https://avatars.githubusercontent.com/u/5330583?v=3","gravatar_id":"","url":"https://api.github.com/users/IMA-WorldHealth","html_url":"https://github.com/IMA-WorldHealth","followers_url":"https://api.github.com/users/IMA-WorldHealth/followers","following_url":"https://api.github.com/users/IMA-WorldHealth/following{/other_user}","gists_url":"https://api.github.com/users/IMA-WorldHealth/gists{/gist_id}","starred_url":"https://api.github.com/users/IMA-WorldHealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMA-WorldHealth/subscriptions","organizations_url":"https://api.github.com/users/IMA-WorldHealth/orgs","repos_url":"https://api.github.com/users/IMA-WorldHealth/repos","events_url":"https://api.github.com/users/IMA-WorldHealth/events{/privacy}","received_events_url":"https://api.github.com/users/IMA-WorldHealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IMA-WorldHealth/bhima","description":"A full-featured hospital information system for developing countries.","fork":false,"url":"https://api.github.com/repos/IMA-WorldHealth/bhima","forks_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/forks","keys_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/teams","hooks_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/hooks","issue_events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/events{/number}","events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/events","assignees_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/assignees{/user}","branches_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/branches{/branch}","tags_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/tags","blobs_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/git/refs{/sha}","trees_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/{sha}","languages_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/languages","stargazers_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/stargazers","contributors_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/contributors","subscribers_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/subscribers","subscription_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/subscription","commits_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/commits{/sha}","git_commits_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/git/commits{/sha}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/comments{/number}","issue_comment_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/comments{/number}","contents_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/contents/{+path}","compare_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/merges","archive_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/downloads","issues_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues{/number}","pulls_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls{/number}","milestones_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/milestones{/number}","notifications_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/labels{/name}","releases_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/releases{/id}","created_at":"2013-12-09T10:07:16Z","updated_at":"2015-01-13T16:22:15Z","pushed_at":"2015-02-25T12:01:42Z","git_url":"git://github.com/IMA-WorldHealth/bhima.git","ssh_url":"git@github.com:IMA-WorldHealth/bhima.git","clone_url":"https://github.com/IMA-WorldHealth/bhima.git","svn_url":"https://github.com/IMA-WorldHealth/bhima","homepage":"","size":40079,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":41,"forks":8,"open_issues":41,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422"},"html":{"href":"https://github.com/IMA-WorldHealth/bhima/pull/422"},"issue":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/422"},"comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/422/comments"},"review_comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422/comments"},"review_comment":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/422/commits"},"statuses":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/c79b31db4a0266860b62af00b25883519d997e94"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":95,"changed_files":3}}