{"action":"closed","number":237,"pull_request":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/237","id":26646796,"html_url":"https://github.com/IMA-WorldHealth/bhima/pull/237","diff_url":"https://github.com/IMA-WorldHealth/bhima/pull/237.diff","patch_url":"https://github.com/IMA-WorldHealth/bhima/pull/237.patch","issue_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/237","number":237,"state":"closed","locked":false,"title":"Feature/sale distribution consumable","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 PL we add the column `is_distributable` in the table `sale` in bhima.sql\r\n- We list only distributions which are distributable (`si_distributable=1`) in `Stock_managment/Stock distribution` \r\n- We fixed the button `view sale details` in `Stock_managment/Stock distribution` ","created_at":"2014-12-29T14:51:21Z","updated_at":"2015-01-09T10:49:53Z","closed_at":"2015-01-09T10:49:53Z","merged_at":"2015-01-09T10:49:53Z","merge_commit_sha":"2e8e1ea56f5f034c37e9a23d2f93579265800cf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/237/commits","review_comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/237/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/237/comments","statuses_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/71a97c8862a5e68b3ce4a1082938744b8f95357c","head":{"label":"mbayopanda:feature/sale_distribution_consumable","ref":"feature/sale_distribution_consumable","sha":"71a97c8862a5e68b3ce4a1082938744b8f95357c","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-01-08T13:52:26Z","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":34273,"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":"de16580add8c9ac8d7fc169253efbf311ceb87d8","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":"2014-11-18T12:21:56Z","pushed_at":"2015-01-09T10:49:53Z","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":37103,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":24,"forks":7,"open_issues":24,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/237"},"html":{"href":"https://github.com/IMA-WorldHealth/bhima/pull/237"},"issue":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/237"},"comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/237/comments"},"review_comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/237/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/237/commits"},"statuses":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/71a97c8862a5e68b3ce4a1082938744b8f95357c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jniles","id":896472,"avatar_url":"https://avatars.githubusercontent.com/u/896472?v=3","gravatar_id":"","url":"https://api.github.com/users/jniles","html_url":"https://github.com/jniles","followers_url":"https://api.github.com/users/jniles/followers","following_url":"https://api.github.com/users/jniles/following{/other_user}","gists_url":"https://api.github.com/users/jniles/gists{/gist_id}","starred_url":"https://api.github.com/users/jniles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jniles/subscriptions","organizations_url":"https://api.github.com/users/jniles/orgs","repos_url":"https://api.github.com/users/jniles/repos","events_url":"https://api.github.com/users/jniles/events{/privacy}","received_events_url":"https://api.github.com/users/jniles/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"commits":4,"additions":190,"deletions":36,"changed_files":9}}