{"action":"closed","number":176,"pull_request":{"url":"https://api.github.com/repos/andela/eventx/pulls/176","id":75468419,"html_url":"https://github.com/andela/eventx/pull/176","diff_url":"https://github.com/andela/eventx/pull/176.diff","patch_url":"https://github.com/andela/eventx/pull/176.patch","issue_url":"https://api.github.com/repos/andela/eventx/issues/176","number":176,"state":"closed","locked":false,"title":"#119645325 Refund Bookings","user":{"login":"andela-fsenjobi","id":17007838,"avatar_url":"https://avatars.githubusercontent.com/u/17007838?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-fsenjobi","html_url":"https://github.com/andela-fsenjobi","followers_url":"https://api.github.com/users/andela-fsenjobi/followers","following_url":"https://api.github.com/users/andela-fsenjobi/following{/other_user}","gists_url":"https://api.github.com/users/andela-fsenjobi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-fsenjobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-fsenjobi/subscriptions","organizations_url":"https://api.github.com/users/andela-fsenjobi/orgs","repos_url":"https://api.github.com/users/andela-fsenjobi/repos","events_url":"https://api.github.com/users/andela-fsenjobi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-fsenjobi/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n\r\nWhen an event has been canceled, users can request payment if they paid for the event\r\nEvent Manager will get an email with the details of the request\r\nHe can decide to grant the request right from the mail\r\nHe can also grant the request from the ticket-reports page\r\nWhen a request hasn't been granted, the user sees \"PROCESSING REQUEST\"\r\nWhen a request has been granted, the user sees \"REFUND PAID\"\r\nUsers cannot print or download tickets when the refund has been made\r\n\r\n#### Description of Task to be Completed\r\n> Allow users to refund request\r\n> Allow managers to grant refund requests\r\n\r\n#### Screenshot\r\n##### When refund is possible the refund button is displayed\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16505911/3ca8cfc6-3f17-11e6-9a4b-f74333938896.png)\r\n\r\n##### When refund request has about to be made, user is prompted for a reason\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16505965/7057a98c-3f17-11e6-9e56-f20512ef0b96.png)\r\n\r\n##### When refund has been made, the page displays processing request\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16505993/999ab456-3f17-11e6-825e-a1bdb70de177.png)\r\n\r\n##### Event manager gets a mail with the request details\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16506021/bfde800c-3f17-11e6-9cd6-20e15c145b5d.png)\r\n\r\n##### When request has been granted, the ticket page shows 'Refund Paid' and the download link is removed\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16506071/0542c7d4-3f18-11e6-81bf-4a63f559df5c.png)\r\n\r\n###### The user also gets a mail notifying him of the granted request\r\n![image](https://cloud.githubusercontent.com/assets/17007838/16506120/3f588706-3f18-11e6-8831-48df1473805a.png)\r\n\r\n#### Related Pivotal Tracker Stories\r\n[#101390216, #119645325, #120591063]","created_at":"2016-06-28T12:29:24Z","updated_at":"2016-07-11T12:13:56Z","closed_at":"2016-07-11T12:13:56Z","merged_at":"2016-07-11T12:13:56Z","merge_commit_sha":"4d058c6b2e813a19933c610d74fdd4d6532c9489","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/eventx/pulls/176/commits","review_comments_url":"https://api.github.com/repos/andela/eventx/pulls/176/comments","review_comment_url":"https://api.github.com/repos/andela/eventx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/eventx/issues/176/comments","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/092dba2674441356d2e2a701b9328646a7c9daa7","head":{"label":"andela:ft-refund-from-report-page-119645325","ref":"ft-refund-from-report-page-119645325","sha":"092dba2674441356d2e2a701b9328646a7c9daa7","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39064541,"name":"eventx","full_name":"andela/eventx","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/eventx","description":"","fork":false,"url":"https://api.github.com/repos/andela/eventx","forks_url":"https://api.github.com/repos/andela/eventx/forks","keys_url":"https://api.github.com/repos/andela/eventx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/eventx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/eventx/teams","hooks_url":"https://api.github.com/repos/andela/eventx/hooks","issue_events_url":"https://api.github.com/repos/andela/eventx/issues/events{/number}","events_url":"https://api.github.com/repos/andela/eventx/events","assignees_url":"https://api.github.com/repos/andela/eventx/assignees{/user}","branches_url":"https://api.github.com/repos/andela/eventx/branches{/branch}","tags_url":"https://api.github.com/repos/andela/eventx/tags","blobs_url":"https://api.github.com/repos/andela/eventx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/eventx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/eventx/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/eventx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/eventx/languages","stargazers_url":"https://api.github.com/repos/andela/eventx/stargazers","contributors_url":"https://api.github.com/repos/andela/eventx/contributors","subscribers_url":"https://api.github.com/repos/andela/eventx/subscribers","subscription_url":"https://api.github.com/repos/andela/eventx/subscription","commits_url":"https://api.github.com/repos/andela/eventx/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/eventx/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/eventx/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/eventx/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/eventx/contents/{+path}","compare_url":"https://api.github.com/repos/andela/eventx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/eventx/merges","archive_url":"https://api.github.com/repos/andela/eventx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/eventx/downloads","issues_url":"https://api.github.com/repos/andela/eventx/issues{/number}","pulls_url":"https://api.github.com/repos/andela/eventx/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/eventx/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/eventx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/eventx/labels{/name}","releases_url":"https://api.github.com/repos/andela/eventx/releases{/id}","deployments_url":"https://api.github.com/repos/andela/eventx/deployments","created_at":"2015-07-14T08:57:10Z","updated_at":"2016-07-11T12:13:10Z","pushed_at":"2016-07-11T12:13:56Z","git_url":"git://github.com/andela/eventx.git","ssh_url":"git@github.com:andela/eventx.git","clone_url":"https://github.com/andela/eventx.git","svn_url":"https://github.com/andela/eventx","homepage":"http://www.eventtx.com","size":31538,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"andela:master","ref":"master","sha":"67bd84c18f7c5bf15a2420a92da2ccf48aac7420","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39064541,"name":"eventx","full_name":"andela/eventx","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/eventx","description":"","fork":false,"url":"https://api.github.com/repos/andela/eventx","forks_url":"https://api.github.com/repos/andela/eventx/forks","keys_url":"https://api.github.com/repos/andela/eventx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/eventx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/eventx/teams","hooks_url":"https://api.github.com/repos/andela/eventx/hooks","issue_events_url":"https://api.github.com/repos/andela/eventx/issues/events{/number}","events_url":"https://api.github.com/repos/andela/eventx/events","assignees_url":"https://api.github.com/repos/andela/eventx/assignees{/user}","branches_url":"https://api.github.com/repos/andela/eventx/branches{/branch}","tags_url":"https://api.github.com/repos/andela/eventx/tags","blobs_url":"https://api.github.com/repos/andela/eventx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/eventx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/eventx/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/eventx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/eventx/languages","stargazers_url":"https://api.github.com/repos/andela/eventx/stargazers","contributors_url":"https://api.github.com/repos/andela/eventx/contributors","subscribers_url":"https://api.github.com/repos/andela/eventx/subscribers","subscription_url":"https://api.github.com/repos/andela/eventx/subscription","commits_url":"https://api.github.com/repos/andela/eventx/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/eventx/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/eventx/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/eventx/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/eventx/contents/{+path}","compare_url":"https://api.github.com/repos/andela/eventx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/eventx/merges","archive_url":"https://api.github.com/repos/andela/eventx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/eventx/downloads","issues_url":"https://api.github.com/repos/andela/eventx/issues{/number}","pulls_url":"https://api.github.com/repos/andela/eventx/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/eventx/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/eventx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/eventx/labels{/name}","releases_url":"https://api.github.com/repos/andela/eventx/releases{/id}","deployments_url":"https://api.github.com/repos/andela/eventx/deployments","created_at":"2015-07-14T08:57:10Z","updated_at":"2016-07-11T12:13:10Z","pushed_at":"2016-07-11T12:13:56Z","git_url":"git://github.com/andela/eventx.git","ssh_url":"git@github.com:andela/eventx.git","clone_url":"https://github.com/andela/eventx.git","svn_url":"https://github.com/andela/eventx","homepage":"http://www.eventtx.com","size":31538,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/eventx/pulls/176"},"html":{"href":"https://github.com/andela/eventx/pull/176"},"issue":{"href":"https://api.github.com/repos/andela/eventx/issues/176"},"comments":{"href":"https://api.github.com/repos/andela/eventx/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/eventx/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/eventx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/eventx/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/andela/eventx/statuses/092dba2674441356d2e2a701b9328646a7c9daa7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andela-bmakinwa","id":11521847,"avatar_url":"https://avatars.githubusercontent.com/u/11521847?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bmakinwa","html_url":"https://github.com/andela-bmakinwa","followers_url":"https://api.github.com/users/andela-bmakinwa/followers","following_url":"https://api.github.com/users/andela-bmakinwa/following{/other_user}","gists_url":"https://api.github.com/users/andela-bmakinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bmakinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bmakinwa/subscriptions","organizations_url":"https://api.github.com/users/andela-bmakinwa/orgs","repos_url":"https://api.github.com/users/andela-bmakinwa/repos","events_url":"https://api.github.com/users/andela-bmakinwa/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bmakinwa/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":17,"additions":36673,"deletions":191,"changed_files":63}}
{"actor":{"display_login":"andela-bmakinwa"}}