{"action":"closed","number":5306,"pull_request":{"url":"https://api.github.com/repos/frappe/erpnext/pulls/5306","id":68693777,"html_url":"https://github.com/frappe/erpnext/pull/5306","diff_url":"https://github.com/frappe/erpnext/pull/5306.diff","patch_url":"https://github.com/frappe/erpnext/pull/5306.patch","issue_url":"https://api.github.com/repos/frappe/erpnext/issues/5306","number":5306,"state":"closed","locked":false,"title":"[Fix] Disallow leave allocation for inactive employees","user":{"login":"shreyasp","id":3377167,"avatar_url":"https://avatars.githubusercontent.com/u/3377167?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyasp","html_url":"https://github.com/shreyasp","followers_url":"https://api.github.com/users/shreyasp/followers","following_url":"https://api.github.com/users/shreyasp/following{/other_user}","gists_url":"https://api.github.com/users/shreyasp/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyasp/subscriptions","organizations_url":"https://api.github.com/users/shreyasp/orgs","repos_url":"https://api.github.com/users/shreyasp/repos","events_url":"https://api.github.com/users/shreyasp/events{/privacy}","received_events_url":"https://api.github.com/users/shreyasp/received_events","type":"User","site_admin":false},"body":"- Inactive employees will not allocated leaves while using leave allocation tool.","created_at":"2016-05-03T11:48:56Z","updated_at":"2016-05-06T06:04:21Z","closed_at":"2016-05-06T06:04:21Z","merged_at":null,"merge_commit_sha":"a4ba2794bae7693c80ecc6c55b3f5174b6d601f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/frappe/erpnext/pulls/5306/commits","review_comments_url":"https://api.github.com/repos/frappe/erpnext/pulls/5306/comments","review_comment_url":"https://api.github.com/repos/frappe/erpnext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/5306/comments","statuses_url":"https://api.github.com/repos/frappe/erpnext/statuses/e95b18e322edb30f15731abc9a71899b15f27786","head":{"label":"shreyasp:leave-allocation-tool","ref":"leave-allocation-tool","sha":"e95b18e322edb30f15731abc9a71899b15f27786","user":{"login":"shreyasp","id":3377167,"avatar_url":"https://avatars.githubusercontent.com/u/3377167?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyasp","html_url":"https://github.com/shreyasp","followers_url":"https://api.github.com/users/shreyasp/followers","following_url":"https://api.github.com/users/shreyasp/following{/other_user}","gists_url":"https://api.github.com/users/shreyasp/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyasp/subscriptions","organizations_url":"https://api.github.com/users/shreyasp/orgs","repos_url":"https://api.github.com/users/shreyasp/repos","events_url":"https://api.github.com/users/shreyasp/events{/privacy}","received_events_url":"https://api.github.com/users/shreyasp/received_events","type":"User","site_admin":false},"repo":{"id":50171568,"name":"erpnext","full_name":"shreyasp/erpnext","owner":{"login":"shreyasp","id":3377167,"avatar_url":"https://avatars.githubusercontent.com/u/3377167?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyasp","html_url":"https://github.com/shreyasp","followers_url":"https://api.github.com/users/shreyasp/followers","following_url":"https://api.github.com/users/shreyasp/following{/other_user}","gists_url":"https://api.github.com/users/shreyasp/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyasp/subscriptions","organizations_url":"https://api.github.com/users/shreyasp/orgs","repos_url":"https://api.github.com/users/shreyasp/repos","events_url":"https://api.github.com/users/shreyasp/events{/privacy}","received_events_url":"https://api.github.com/users/shreyasp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shreyasp/erpnext","description":"Open Source ERP built for the Web. Uses Python, MariaDB.","fork":true,"url":"https://api.github.com/repos/shreyasp/erpnext","forks_url":"https://api.github.com/repos/shreyasp/erpnext/forks","keys_url":"https://api.github.com/repos/shreyasp/erpnext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shreyasp/erpnext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shreyasp/erpnext/teams","hooks_url":"https://api.github.com/repos/shreyasp/erpnext/hooks","issue_events_url":"https://api.github.com/repos/shreyasp/erpnext/issues/events{/number}","events_url":"https://api.github.com/repos/shreyasp/erpnext/events","assignees_url":"https://api.github.com/repos/shreyasp/erpnext/assignees{/user}","branches_url":"https://api.github.com/repos/shreyasp/erpnext/branches{/branch}","tags_url":"https://api.github.com/repos/shreyasp/erpnext/tags","blobs_url":"https://api.github.com/repos/shreyasp/erpnext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shreyasp/erpnext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shreyasp/erpnext/git/refs{/sha}","trees_url":"https://api.github.com/repos/shreyasp/erpnext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shreyasp/erpnext/statuses/{sha}","languages_url":"https://api.github.com/repos/shreyasp/erpnext/languages","stargazers_url":"https://api.github.com/repos/shreyasp/erpnext/stargazers","contributors_url":"https://api.github.com/repos/shreyasp/erpnext/contributors","subscribers_url":"https://api.github.com/repos/shreyasp/erpnext/subscribers","subscription_url":"https://api.github.com/repos/shreyasp/erpnext/subscription","commits_url":"https://api.github.com/repos/shreyasp/erpnext/commits{/sha}","git_commits_url":"https://api.github.com/repos/shreyasp/erpnext/git/commits{/sha}","comments_url":"https://api.github.com/repos/shreyasp/erpnext/comments{/number}","issue_comment_url":"https://api.github.com/repos/shreyasp/erpnext/issues/comments{/number}","contents_url":"https://api.github.com/repos/shreyasp/erpnext/contents/{+path}","compare_url":"https://api.github.com/repos/shreyasp/erpnext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shreyasp/erpnext/merges","archive_url":"https://api.github.com/repos/shreyasp/erpnext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shreyasp/erpnext/downloads","issues_url":"https://api.github.com/repos/shreyasp/erpnext/issues{/number}","pulls_url":"https://api.github.com/repos/shreyasp/erpnext/pulls{/number}","milestones_url":"https://api.github.com/repos/shreyasp/erpnext/milestones{/number}","notifications_url":"https://api.github.com/repos/shreyasp/erpnext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shreyasp/erpnext/labels{/name}","releases_url":"https://api.github.com/repos/shreyasp/erpnext/releases{/id}","deployments_url":"https://api.github.com/repos/shreyasp/erpnext/deployments","created_at":"2016-01-22T09:31:18Z","updated_at":"2016-05-01T16:34:48Z","pushed_at":"2016-05-05T10:26:57Z","git_url":"git://github.com/shreyasp/erpnext.git","ssh_url":"git@github.com:shreyasp/erpnext.git","clone_url":"https://github.com/shreyasp/erpnext.git","svn_url":"https://github.com/shreyasp/erpnext","homepage":"http://erpnext.com","size":236671,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"frappe:hotfix","ref":"hotfix","sha":"9b6198436b71b01483b3d7c07dbc79b28468db6f","user":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"repo":{"id":1864233,"name":"erpnext","full_name":"frappe/erpnext","owner":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frappe/erpnext","description":"Open Source ERP built for the Web. Uses Python, MariaDB.","fork":false,"url":"https://api.github.com/repos/frappe/erpnext","forks_url":"https://api.github.com/repos/frappe/erpnext/forks","keys_url":"https://api.github.com/repos/frappe/erpnext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frappe/erpnext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frappe/erpnext/teams","hooks_url":"https://api.github.com/repos/frappe/erpnext/hooks","issue_events_url":"https://api.github.com/repos/frappe/erpnext/issues/events{/number}","events_url":"https://api.github.com/repos/frappe/erpnext/events","assignees_url":"https://api.github.com/repos/frappe/erpnext/assignees{/user}","branches_url":"https://api.github.com/repos/frappe/erpnext/branches{/branch}","tags_url":"https://api.github.com/repos/frappe/erpnext/tags","blobs_url":"https://api.github.com/repos/frappe/erpnext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frappe/erpnext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frappe/erpnext/git/refs{/sha}","trees_url":"https://api.github.com/repos/frappe/erpnext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frappe/erpnext/statuses/{sha}","languages_url":"https://api.github.com/repos/frappe/erpnext/languages","stargazers_url":"https://api.github.com/repos/frappe/erpnext/stargazers","contributors_url":"https://api.github.com/repos/frappe/erpnext/contributors","subscribers_url":"https://api.github.com/repos/frappe/erpnext/subscribers","subscription_url":"https://api.github.com/repos/frappe/erpnext/subscription","commits_url":"https://api.github.com/repos/frappe/erpnext/commits{/sha}","git_commits_url":"https://api.github.com/repos/frappe/erpnext/git/commits{/sha}","comments_url":"https://api.github.com/repos/frappe/erpnext/comments{/number}","issue_comment_url":"https://api.github.com/repos/frappe/erpnext/issues/comments{/number}","contents_url":"https://api.github.com/repos/frappe/erpnext/contents/{+path}","compare_url":"https://api.github.com/repos/frappe/erpnext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frappe/erpnext/merges","archive_url":"https://api.github.com/repos/frappe/erpnext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frappe/erpnext/downloads","issues_url":"https://api.github.com/repos/frappe/erpnext/issues{/number}","pulls_url":"https://api.github.com/repos/frappe/erpnext/pulls{/number}","milestones_url":"https://api.github.com/repos/frappe/erpnext/milestones{/number}","notifications_url":"https://api.github.com/repos/frappe/erpnext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frappe/erpnext/labels{/name}","releases_url":"https://api.github.com/repos/frappe/erpnext/releases{/id}","deployments_url":"https://api.github.com/repos/frappe/erpnext/deployments","created_at":"2011-06-08T08:20:56Z","updated_at":"2016-05-05T19:25:32Z","pushed_at":"2016-05-05T11:14:41Z","git_url":"git://github.com/frappe/erpnext.git","ssh_url":"git@github.com:frappe/erpnext.git","clone_url":"https://github.com/frappe/erpnext.git","svn_url":"https://github.com/frappe/erpnext","homepage":"http://erpnext.com","size":252648,"stargazers_count":1213,"watchers_count":1213,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":713,"mirror_url":null,"open_issues_count":981,"forks":713,"open_issues":981,"watchers":1213,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/5306"},"html":{"href":"https://github.com/frappe/erpnext/pull/5306"},"issue":{"href":"https://api.github.com/repos/frappe/erpnext/issues/5306"},"comments":{"href":"https://api.github.com/repos/frappe/erpnext/issues/5306/comments"},"review_comments":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/5306/comments"},"review_comment":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/5306/commits"},"statuses":{"href":"https://api.github.com/repos/frappe/erpnext/statuses/e95b18e322edb30f15731abc9a71899b15f27786"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":2,"commits":2,"additions":57,"deletions":20,"changed_files":3}}