{"action":"opened","number":872,"pull_request":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/872","id":48999900,"html_url":"https://github.com/IMA-WorldHealth/bhima/pull/872","diff_url":"https://github.com/IMA-WorldHealth/bhima/pull/872.diff","patch_url":"https://github.com/IMA-WorldHealth/bhima/pull/872.patch","issue_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/872","number":872,"state":"open","locked":false,"title":"FIX(finance dashboard): wrong debtor group totals","user":{"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},"body":"This commit fixes the finance dashboard's SQL to calculate debtor group totals.  There might possibly be a performance improvement here as well.","created_at":"2015-10-28T12:38:25Z","updated_at":"2015-10-28T12:38:25Z","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/872/commits","review_comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/872/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/872/comments","statuses_url":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/305a37ed4eb5476fa06ad2f95720522038c7609d","head":{"label":"jniles:patches-finance-dashboard","ref":"patches-finance-dashboard","sha":"305a37ed4eb5476fa06ad2f95720522038c7609d","user":{"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},"repo":{"id":21632374,"name":"bhima","full_name":"jniles/bhima","owner":{"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},"private":false,"html_url":"https://github.com/jniles/bhima","description":"Continuation of the Bika HIS project with an Angular core.","fork":true,"url":"https://api.github.com/repos/jniles/bhima","forks_url":"https://api.github.com/repos/jniles/bhima/forks","keys_url":"https://api.github.com/repos/jniles/bhima/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jniles/bhima/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jniles/bhima/teams","hooks_url":"https://api.github.com/repos/jniles/bhima/hooks","issue_events_url":"https://api.github.com/repos/jniles/bhima/issues/events{/number}","events_url":"https://api.github.com/repos/jniles/bhima/events","assignees_url":"https://api.github.com/repos/jniles/bhima/assignees{/user}","branches_url":"https://api.github.com/repos/jniles/bhima/branches{/branch}","tags_url":"https://api.github.com/repos/jniles/bhima/tags","blobs_url":"https://api.github.com/repos/jniles/bhima/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jniles/bhima/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jniles/bhima/git/refs{/sha}","trees_url":"https://api.github.com/repos/jniles/bhima/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jniles/bhima/statuses/{sha}","languages_url":"https://api.github.com/repos/jniles/bhima/languages","stargazers_url":"https://api.github.com/repos/jniles/bhima/stargazers","contributors_url":"https://api.github.com/repos/jniles/bhima/contributors","subscribers_url":"https://api.github.com/repos/jniles/bhima/subscribers","subscription_url":"https://api.github.com/repos/jniles/bhima/subscription","commits_url":"https://api.github.com/repos/jniles/bhima/commits{/sha}","git_commits_url":"https://api.github.com/repos/jniles/bhima/git/commits{/sha}","comments_url":"https://api.github.com/repos/jniles/bhima/comments{/number}","issue_comment_url":"https://api.github.com/repos/jniles/bhima/issues/comments{/number}","contents_url":"https://api.github.com/repos/jniles/bhima/contents/{+path}","compare_url":"https://api.github.com/repos/jniles/bhima/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jniles/bhima/merges","archive_url":"https://api.github.com/repos/jniles/bhima/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jniles/bhima/downloads","issues_url":"https://api.github.com/repos/jniles/bhima/issues{/number}","pulls_url":"https://api.github.com/repos/jniles/bhima/pulls{/number}","milestones_url":"https://api.github.com/repos/jniles/bhima/milestones{/number}","notifications_url":"https://api.github.com/repos/jniles/bhima/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jniles/bhima/labels{/name}","releases_url":"https://api.github.com/repos/jniles/bhima/releases{/id}","created_at":"2014-07-08T23:14:42Z","updated_at":"2014-07-09T01:36:06Z","pushed_at":"2015-10-28T12:37:05Z","git_url":"git://github.com/jniles/bhima.git","ssh_url":"git@github.com:jniles/bhima.git","clone_url":"https://github.com/jniles/bhima.git","svn_url":"https://github.com/jniles/bhima","homepage":null,"size":102388,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"master"}},"base":{"label":"IMA-WorldHealth:development","ref":"development","sha":"fa3f57ebd9c362a67e90ca0ed0ddf60e49c894ab","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 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-08-26T12:16:26Z","pushed_at":"2015-10-28T12:38:26Z","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":106042,"stargazers_count":6,"watchers_count":6,"language":"Groff","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":88,"forks":10,"open_issues":88,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/872"},"html":{"href":"https://github.com/IMA-WorldHealth/bhima/pull/872"},"issue":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/872"},"comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/issues/872/comments"},"review_comments":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/pulls/872/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/872/commits"},"statuses":{"href":"https://api.github.com/repos/IMA-WorldHealth/bhima/statuses/305a37ed4eb5476fa06ad2f95720522038c7609d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":24,"changed_files":3}}