{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments/93393681","pull_request_review_id":13918547,"id":93393681,"diff_hunk":"@@ -18,7 +18,7 @@ def paypal_url(return_path)\n     order.bookings.accepted.each_with_index do |booking, index|\n       values.merge!({\n         \"amount_#{index+1}\":\n-          booking.select_price(booking.space, booking.booking_type_id),\n+          booking.select_price(booking.space, booking.booking_type_id)*booking.duration,\n         \"item_name_#{index+1}\": booking.space_name,","path":"app/models/paypal.rb","position":6,"original_position":6,"commit_id":"ea86c348c691885d76ede7cf8ce0539ff591854d","original_commit_id":"ea86c348c691885d76ede7cf8ce0539ff591854d","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"trước sau operator cách ra 1 space","created_at":"2016-12-21T08:26:07Z","updated_at":"2016-12-21T08:27:16Z","html_url":"https://github.com/framgia/cwsb_01/pull/83#discussion_r93393681","pull_request_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments/93393681"},"html":{"href":"https://github.com/framgia/cwsb_01/pull/83#discussion_r93393681"},"pull_request":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/cwsb_01/pulls/83","id":98684180,"html_url":"https://github.com/framgia/cwsb_01/pull/83","diff_url":"https://github.com/framgia/cwsb_01/pull/83.diff","patch_url":"https://github.com/framgia/cwsb_01/pull/83.patch","issue_url":"https://api.github.com/repos/framgia/cwsb_01/issues/83","number":83,"state":"open","locked":false,"title":"Refactor choose payment","user":{"login":"doanchinhat","id":22677060,"avatar_url":"https://avatars.githubusercontent.com/u/22677060?v=3","gravatar_id":"","url":"https://api.github.com/users/doanchinhat","html_url":"https://github.com/doanchinhat","followers_url":"https://api.github.com/users/doanchinhat/followers","following_url":"https://api.github.com/users/doanchinhat/following{/other_user}","gists_url":"https://api.github.com/users/doanchinhat/gists{/gist_id}","starred_url":"https://api.github.com/users/doanchinhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doanchinhat/subscriptions","organizations_url":"https://api.github.com/users/doanchinhat/orgs","repos_url":"https://api.github.com/users/doanchinhat/repos","events_url":"https://api.github.com/users/doanchinhat/events{/privacy}","received_events_url":"https://api.github.com/users/doanchinhat/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-20T04:16:58Z","updated_at":"2016-12-21T08:27:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1aa45d4c9baae5085e5378c1d1e845ecbcd9882a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/83/commits","review_comments_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/83/comments","review_comment_url":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/cwsb_01/issues/83/comments","statuses_url":"https://api.github.com/repos/framgia/cwsb_01/statuses/ea86c348c691885d76ede7cf8ce0539ff591854d","head":{"label":"doanchinhat:refactor_choose_payment","ref":"refactor_choose_payment","sha":"ea86c348c691885d76ede7cf8ce0539ff591854d","user":{"login":"doanchinhat","id":22677060,"avatar_url":"https://avatars.githubusercontent.com/u/22677060?v=3","gravatar_id":"","url":"https://api.github.com/users/doanchinhat","html_url":"https://github.com/doanchinhat","followers_url":"https://api.github.com/users/doanchinhat/followers","following_url":"https://api.github.com/users/doanchinhat/following{/other_user}","gists_url":"https://api.github.com/users/doanchinhat/gists{/gist_id}","starred_url":"https://api.github.com/users/doanchinhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doanchinhat/subscriptions","organizations_url":"https://api.github.com/users/doanchinhat/orgs","repos_url":"https://api.github.com/users/doanchinhat/repos","events_url":"https://api.github.com/users/doanchinhat/events{/privacy}","received_events_url":"https://api.github.com/users/doanchinhat/received_events","type":"User","site_admin":false},"repo":{"id":74421731,"name":"cwsb_01","full_name":"doanchinhat/cwsb_01","owner":{"login":"doanchinhat","id":22677060,"avatar_url":"https://avatars.githubusercontent.com/u/22677060?v=3","gravatar_id":"","url":"https://api.github.com/users/doanchinhat","html_url":"https://github.com/doanchinhat","followers_url":"https://api.github.com/users/doanchinhat/followers","following_url":"https://api.github.com/users/doanchinhat/following{/other_user}","gists_url":"https://api.github.com/users/doanchinhat/gists{/gist_id}","starred_url":"https://api.github.com/users/doanchinhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doanchinhat/subscriptions","organizations_url":"https://api.github.com/users/doanchinhat/orgs","repos_url":"https://api.github.com/users/doanchinhat/repos","events_url":"https://api.github.com/users/doanchinhat/events{/privacy}","received_events_url":"https://api.github.com/users/doanchinhat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doanchinhat/cwsb_01","description":"Co-working space booking system - Danang Education's project","fork":true,"url":"https://api.github.com/repos/doanchinhat/cwsb_01","forks_url":"https://api.github.com/repos/doanchinhat/cwsb_01/forks","keys_url":"https://api.github.com/repos/doanchinhat/cwsb_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doanchinhat/cwsb_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doanchinhat/cwsb_01/teams","hooks_url":"https://api.github.com/repos/doanchinhat/cwsb_01/hooks","issue_events_url":"https://api.github.com/repos/doanchinhat/cwsb_01/issues/events{/number}","events_url":"https://api.github.com/repos/doanchinhat/cwsb_01/events","assignees_url":"https://api.github.com/repos/doanchinhat/cwsb_01/assignees{/user}","branches_url":"https://api.github.com/repos/doanchinhat/cwsb_01/branches{/branch}","tags_url":"https://api.github.com/repos/doanchinhat/cwsb_01/tags","blobs_url":"https://api.github.com/repos/doanchinhat/cwsb_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doanchinhat/cwsb_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doanchinhat/cwsb_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/doanchinhat/cwsb_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doanchinhat/cwsb_01/statuses/{sha}","languages_url":"https://api.github.com/repos/doanchinhat/cwsb_01/languages","stargazers_url":"https://api.github.com/repos/doanchinhat/cwsb_01/stargazers","contributors_url":"https://api.github.com/repos/doanchinhat/cwsb_01/contributors","subscribers_url":"https://api.github.com/repos/doanchinhat/cwsb_01/subscribers","subscription_url":"https://api.github.com/repos/doanchinhat/cwsb_01/subscription","commits_url":"https://api.github.com/repos/doanchinhat/cwsb_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/doanchinhat/cwsb_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/doanchinhat/cwsb_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/doanchinhat/cwsb_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/doanchinhat/cwsb_01/contents/{+path}","compare_url":"https://api.github.com/repos/doanchinhat/cwsb_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doanchinhat/cwsb_01/merges","archive_url":"https://api.github.com/repos/doanchinhat/cwsb_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doanchinhat/cwsb_01/downloads","issues_url":"https://api.github.com/repos/doanchinhat/cwsb_01/issues{/number}","pulls_url":"https://api.github.com/repos/doanchinhat/cwsb_01/pulls{/number}","milestones_url":"https://api.github.com/repos/doanchinhat/cwsb_01/milestones{/number}","notifications_url":"https://api.github.com/repos/doanchinhat/cwsb_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doanchinhat/cwsb_01/labels{/name}","releases_url":"https://api.github.com/repos/doanchinhat/cwsb_01/releases{/id}","deployments_url":"https://api.github.com/repos/doanchinhat/cwsb_01/deployments","created_at":"2016-11-22T01:27:36Z","updated_at":"2016-10-04T03:49:56Z","pushed_at":"2016-12-21T08:06:39Z","git_url":"git://github.com/doanchinhat/cwsb_01.git","ssh_url":"git@github.com:doanchinhat/cwsb_01.git","clone_url":"https://github.com/doanchinhat/cwsb_01.git","svn_url":"https://github.com/doanchinhat/cwsb_01","homepage":null,"size":5129,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"d6f83d67ad24ae40b8900d736f3122cdbca2037e","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":69932509,"name":"cwsb_01","full_name":"framgia/cwsb_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/cwsb_01","description":"Co-working space booking system - Danang Education's project","fork":false,"url":"https://api.github.com/repos/framgia/cwsb_01","forks_url":"https://api.github.com/repos/framgia/cwsb_01/forks","keys_url":"https://api.github.com/repos/framgia/cwsb_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/cwsb_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/cwsb_01/teams","hooks_url":"https://api.github.com/repos/framgia/cwsb_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/cwsb_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/cwsb_01/events","assignees_url":"https://api.github.com/repos/framgia/cwsb_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/cwsb_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/cwsb_01/tags","blobs_url":"https://api.github.com/repos/framgia/cwsb_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/cwsb_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/cwsb_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/cwsb_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/cwsb_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/cwsb_01/languages","stargazers_url":"https://api.github.com/repos/framgia/cwsb_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/cwsb_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/cwsb_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/cwsb_01/subscription","commits_url":"https://api.github.com/repos/framgia/cwsb_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/cwsb_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/cwsb_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/cwsb_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/cwsb_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/cwsb_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/cwsb_01/merges","archive_url":"https://api.github.com/repos/framgia/cwsb_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/cwsb_01/downloads","issues_url":"https://api.github.com/repos/framgia/cwsb_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/cwsb_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/cwsb_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/cwsb_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/cwsb_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/cwsb_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/cwsb_01/deployments","created_at":"2016-10-04T03:49:56Z","updated_at":"2016-11-23T06:06:40Z","pushed_at":"2016-12-21T08:06:40Z","git_url":"git://github.com/framgia/cwsb_01.git","ssh_url":"git@github.com:framgia/cwsb_01.git","clone_url":"https://github.com/framgia/cwsb_01.git","svn_url":"https://github.com/framgia/cwsb_01","homepage":null,"size":5113,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/83"},"html":{"href":"https://github.com/framgia/cwsb_01/pull/83"},"issue":{"href":"https://api.github.com/repos/framgia/cwsb_01/issues/83"},"comments":{"href":"https://api.github.com/repos/framgia/cwsb_01/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/cwsb_01/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/cwsb_01/statuses/ea86c348c691885d76ede7cf8ce0539ff591854d"}}}}
{"actor":{"display_login":"nvtanh"}}