{"action":"created","issue":{"url":"https://api.github.com/repos/eResearchSA/bman/issues/2","repository_url":"https://api.github.com/repos/eResearchSA/bman","labels_url":"https://api.github.com/repos/eResearchSA/bman/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/eResearchSA/bman/issues/2/comments","events_url":"https://api.github.com/repos/eResearchSA/bman/issues/2/events","html_url":"https://github.com/eResearchSA/bman/issues/2","id":161609711,"number":2,"title":"Add Billing organisation and Person ID in user account","user":{"login":"SeoyongLim","id":18203936,"avatar_url":"https://avatars.githubusercontent.com/u/18203936?v=3","gravatar_id":"","url":"https://api.github.com/users/SeoyongLim","html_url":"https://github.com/SeoyongLim","followers_url":"https://api.github.com/users/SeoyongLim/followers","following_url":"https://api.github.com/users/SeoyongLim/following{/other_user}","gists_url":"https://api.github.com/users/SeoyongLim/gists{/gist_id}","starred_url":"https://api.github.com/users/SeoyongLim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeoyongLim/subscriptions","organizations_url":"https://api.github.com/users/SeoyongLim/orgs","repos_url":"https://api.github.com/users/SeoyongLim/repos","events_url":"https://api.github.com/users/SeoyongLim/events{/privacy}","received_events_url":"https://api.github.com/users/SeoyongLim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-22T07:15:48Z","updated_at":"2016-10-18T02:00:46Z","closed_at":"2016-10-18T02:00:46Z","body":"In order to simplify displaying billing organisation in HPC summary and Allocation summary page, \r\nif billing organisation id and person id would be placed in user account, it would be great\r\n\r\nhttps://github.com/eResearchSA/bman/blob/master/bman/models/organisation.py#L127\r\n\r\n extended[account.username] = dict(\r\n               fullname=account.role.person.full_name,\r\n               organisation=account.role.organisation.name,\r\n               billing=account.billing_org.id,\r\n               personid=account.role.person.id,\r\n               email=account.role.email)\r\n"},"comment":{"url":"https://api.github.com/repos/eResearchSA/bman/issues/comments/254385818","html_url":"https://github.com/eResearchSA/bman/issues/2#issuecomment-254385818","issue_url":"https://api.github.com/repos/eResearchSA/bman/issues/2","id":254385818,"user":{"login":"Li-ReDBox","id":3203171,"avatar_url":"https://avatars.githubusercontent.com/u/3203171?v=3","gravatar_id":"","url":"https://api.github.com/users/Li-ReDBox","html_url":"https://github.com/Li-ReDBox","followers_url":"https://api.github.com/users/Li-ReDBox/followers","following_url":"https://api.github.com/users/Li-ReDBox/following{/other_user}","gists_url":"https://api.github.com/users/Li-ReDBox/gists{/gist_id}","starred_url":"https://api.github.com/users/Li-ReDBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Li-ReDBox/subscriptions","organizations_url":"https://api.github.com/users/Li-ReDBox/orgs","repos_url":"https://api.github.com/users/Li-ReDBox/repos","events_url":"https://api.github.com/users/Li-ReDBox/events{/privacy}","received_events_url":"https://api.github.com/users/Li-ReDBox/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T02:00:46Z","updated_at":"2016-10-18T02:00:46Z","body":"The function returns all accounts which have billing relationship with the organisation in question. Does not need this modification to get an account's billing organisation id. See this [line](https://github.com/eResearchSA/bman/blob/master/bman/models/organisation.py#L117)."}}
{"actor":{"display_login":"Li-ReDBox"}}