{"action":"closed","number":149,"pull_request":{"url":"https://api.github.com/repos/alphagov/calculators/pulls/149","id":76754332,"html_url":"https://github.com/alphagov/calculators/pull/149","diff_url":"https://github.com/alphagov/calculators/pull/149.diff","patch_url":"https://github.com/alphagov/calculators/pull/149.patch","issue_url":"https://api.github.com/repos/alphagov/calculators/issues/149","number":149,"state":"closed","locked":false,"title":"Feature part year and effective date calculation","user":{"login":"leenagupte","id":5793815,"avatar_url":"https://avatars.githubusercontent.com/u/5793815?v=3","gravatar_id":"","url":"https://api.github.com/users/leenagupte","html_url":"https://github.com/leenagupte","followers_url":"https://api.github.com/users/leenagupte/followers","following_url":"https://api.github.com/users/leenagupte/following{/other_user}","gists_url":"https://api.github.com/users/leenagupte/gists{/gist_id}","starred_url":"https://api.github.com/users/leenagupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenagupte/subscriptions","organizations_url":"https://api.github.com/users/leenagupte/orgs","repos_url":"https://api.github.com/users/leenagupte/repos","events_url":"https://api.github.com/users/leenagupte/events{/privacy}","received_events_url":"https://api.github.com/users/leenagupte/received_events","type":"User","site_admin":false},"body":"Trello cards:\r\nhttps://trello.com/c/dbyKP467/168-child-benefit-tax-calculator-change-stop-date-in-question-2-to-3-years-in-the-past\r\nhttps://trello.com/c/hThMXpGx/170-child-benefit-tax-calculator-re-order-questions-2-and-3-swap-them-around\r\nhttps://trello.com/c/NqFHIT6z/169-child-benefit-tax-calculator-change-which-mondays-are-included-in-the-calculation\r\nhttps://trello.com/c/eXfGf5lL/171-child-benefit-tax-calculator-add-question-part-year-and-complete-logic-for-answering-no\r\nhttps://trello.com/c/KbE3axrr/172-child-benefit-tax-calculator-part-year-all-children-add-logic-for-answering-yes\r\nhttps://trello.com/c/HXEm9Bkk/173-child-benefit-tax-calculator-part-year-some-children-add-logic-for-answering-yes\r\n\r\n## Factcheck\r\n[Child benefit tax calculator](https://calculators-pr-149.herokuapp.com/child-benefit-tax-calculator/main)\r\n\r\n## Expected Changes\r\n\r\n[URL on GOV.UK](https://www.gov.uk/child-benefit-tax-calculator/main)\r\n    \r\n* Stop date should display years from 2013\r\n* Change the rules for which Mondays are included in the calculation\r\n* Move the \"choose tax year\" question to Question 2\r\n* Add a question to ask if any children are only being claimed for part of the tax year\r\n* Add a question to ask for how many children are only being claimed for part of the tax year\r\n\r\n### Stop date should display years from 2013\r\n\r\n![screen shot 2016-05-31 at 18 30 37](https://cloud.githubusercontent.com/assets/5793815/15684180/d9f23cf8-275d-11e6-8ff5-22cfbd69dfdf.png)\r\n\r\n#### Before\r\n\r\n![screen shot 2016-05-31 at 18 31 33](https://cloud.githubusercontent.com/assets/5793815/15684217/04dfa126-275e-11e6-823c-8c4346e60133.png)\r\n\r\n#### After\r\n\r\n![screen shot 2016-06-01 at 11 52 36](https://cloud.githubusercontent.com/assets/5793815/15707214/6376dfd8-27ef-11e6-9c65-406760f56a28.png)\r\n\r\n### Change the rules for which Mondays are included in the calculation\r\n\r\n#### Before\r\n\r\n##### Copy Change\r\n![screen shot 2016-06-16 at 12 16 33](https://cloud.githubusercontent.com/assets/5793815/16114987/31caf45a-33bc-11e6-90b9-b44913ae2ad4.png)\r\n\r\n##### Results\r\nOne child\r\nTax year is 2016 - 2017\r\nStart date is 13/06/2016\r\n\r\n![screen shot 2016-06-16 at 12 13 49](https://cloud.githubusercontent.com/assets/5793815/16114918/d3246d8c-33bb-11e6-9ded-07392744388d.png)\r\n\r\n#### After\r\n\r\n##### Copy Changes\r\n![screen shot 2016-06-16 at 12 15 41](https://cloud.githubusercontent.com/assets/5793815/16114966/1592f3c8-33bc-11e6-81cd-7953a698bea6.png)\r\n\r\nOne child\r\nTax year is 2016 - 2017\r\nStart date is 13/06/2016\r\n\r\n##### Results\r\n![screen shot 2016-06-16 at 12 14 51](https://cloud.githubusercontent.com/assets/5793815/16114936/f36cf294-33bb-11e6-87db-7dbe1ec4efe0.png)\r\n\r\n### Move the \"choose tax year\" question to Question 2\r\n\r\n#### Before\r\n\r\n![screen shot 2016-07-08 at 14 18 28](https://cloud.githubusercontent.com/assets/5793815/16688647/e0e36448-4516-11e6-9aa4-d5ca40c3a9cb.png)\r\n\r\n#### After\r\n\r\n![screen shot 2016-07-08 at 14 19 15](https://cloud.githubusercontent.com/assets/5793815/16688663/fa0349ca-4516-11e6-882d-feab3b48045e.png)\r\n\r\n### Add a question to ask if any children are only being claimed for part of the tax year\r\n\r\n#### Before\r\n\r\n![screen shot 2016-07-08 at 14 21 31](https://cloud.githubusercontent.com/assets/5793815/16688733/4cf5b726-4517-11e6-84ce-90b4fb71ce0b.png)\r\n\r\n#### After\r\n\r\n![screen shot 2016-07-08 at 14 24 17](https://cloud.githubusercontent.com/assets/5793815/16688794/ac7d2152-4517-11e6-874d-8510ef97d7da.png)\r\n\r\n### Add a question to ask for how many children are only being claimed for part of the tax year\r\n\r\n#### Before\r\n\r\n![screen shot 2016-07-08 at 14 21 31](https://cloud.githubusercontent.com/assets/5793815/16688733/4cf5b726-4517-11e6-84ce-90b4fb71ce0b.png)\r\n\r\n#### After\r\n\r\n![screen shot 2016-07-08 at 14 31 57](https://cloud.githubusercontent.com/assets/5793815/16689015/bee19110-4518-11e6-8d6e-b58ddc0a6d14.png)","created_at":"2016-07-08T13:39:53Z","updated_at":"2016-08-16T16:02:30Z","closed_at":"2016-08-16T16:02:30Z","merged_at":"2016-08-16T16:02:30Z","merge_commit_sha":"f286bd53257d8638301276e25e0ae064c32a49b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/calculators/pulls/149/commits","review_comments_url":"https://api.github.com/repos/alphagov/calculators/pulls/149/comments","review_comment_url":"https://api.github.com/repos/alphagov/calculators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/calculators/issues/149/comments","statuses_url":"https://api.github.com/repos/alphagov/calculators/statuses/d1f3cec7a8d0aead02295f2c6c444ccf8ab74b12","head":{"label":"alphagov:feature-part-year-and-effective-date-calculation","ref":"feature-part-year-and-effective-date-calculation","sha":"d1f3cec7a8d0aead02295f2c6c444ccf8ab74b12","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":10380801,"name":"calculators","full_name":"alphagov/calculators","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/calculators","description":"Application to contain custom-built calculators on GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/calculators","forks_url":"https://api.github.com/repos/alphagov/calculators/forks","keys_url":"https://api.github.com/repos/alphagov/calculators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/calculators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/calculators/teams","hooks_url":"https://api.github.com/repos/alphagov/calculators/hooks","issue_events_url":"https://api.github.com/repos/alphagov/calculators/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/calculators/events","assignees_url":"https://api.github.com/repos/alphagov/calculators/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/calculators/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/calculators/tags","blobs_url":"https://api.github.com/repos/alphagov/calculators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/calculators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/calculators/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/calculators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/calculators/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/calculators/languages","stargazers_url":"https://api.github.com/repos/alphagov/calculators/stargazers","contributors_url":"https://api.github.com/repos/alphagov/calculators/contributors","subscribers_url":"https://api.github.com/repos/alphagov/calculators/subscribers","subscription_url":"https://api.github.com/repos/alphagov/calculators/subscription","commits_url":"https://api.github.com/repos/alphagov/calculators/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/calculators/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/calculators/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/calculators/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/calculators/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/calculators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/calculators/merges","archive_url":"https://api.github.com/repos/alphagov/calculators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/calculators/downloads","issues_url":"https://api.github.com/repos/alphagov/calculators/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/calculators/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/calculators/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/calculators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/calculators/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/calculators/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/calculators/deployments","created_at":"2013-05-30T10:46:49Z","updated_at":"2016-01-18T14:04:37Z","pushed_at":"2016-08-16T16:02:30Z","git_url":"git://github.com/alphagov/calculators.git","ssh_url":"git@github.com:alphagov/calculators.git","clone_url":"https://github.com/alphagov/calculators.git","svn_url":"https://github.com/alphagov/calculators","homepage":"https://www.gov.uk/child-benefit-tax-calculator","size":592,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"alphagov:feature-all-child-benefit-changes","ref":"feature-all-child-benefit-changes","sha":"c2c0e07777f6514fe92eefc158f8997abd689504","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":10380801,"name":"calculators","full_name":"alphagov/calculators","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/calculators","description":"Application to contain custom-built calculators on GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/calculators","forks_url":"https://api.github.com/repos/alphagov/calculators/forks","keys_url":"https://api.github.com/repos/alphagov/calculators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/calculators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/calculators/teams","hooks_url":"https://api.github.com/repos/alphagov/calculators/hooks","issue_events_url":"https://api.github.com/repos/alphagov/calculators/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/calculators/events","assignees_url":"https://api.github.com/repos/alphagov/calculators/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/calculators/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/calculators/tags","blobs_url":"https://api.github.com/repos/alphagov/calculators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/calculators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/calculators/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/calculators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/calculators/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/calculators/languages","stargazers_url":"https://api.github.com/repos/alphagov/calculators/stargazers","contributors_url":"https://api.github.com/repos/alphagov/calculators/contributors","subscribers_url":"https://api.github.com/repos/alphagov/calculators/subscribers","subscription_url":"https://api.github.com/repos/alphagov/calculators/subscription","commits_url":"https://api.github.com/repos/alphagov/calculators/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/calculators/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/calculators/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/calculators/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/calculators/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/calculators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/calculators/merges","archive_url":"https://api.github.com/repos/alphagov/calculators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/calculators/downloads","issues_url":"https://api.github.com/repos/alphagov/calculators/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/calculators/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/calculators/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/calculators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/calculators/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/calculators/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/calculators/deployments","created_at":"2013-05-30T10:46:49Z","updated_at":"2016-01-18T14:04:37Z","pushed_at":"2016-08-16T16:02:30Z","git_url":"git://github.com/alphagov/calculators.git","ssh_url":"git@github.com:alphagov/calculators.git","clone_url":"https://github.com/alphagov/calculators.git","svn_url":"https://github.com/alphagov/calculators","homepage":"https://www.gov.uk/child-benefit-tax-calculator","size":592,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/calculators/pulls/149"},"html":{"href":"https://github.com/alphagov/calculators/pull/149"},"issue":{"href":"https://api.github.com/repos/alphagov/calculators/issues/149"},"comments":{"href":"https://api.github.com/repos/alphagov/calculators/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/calculators/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/calculators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/calculators/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/calculators/statuses/d1f3cec7a8d0aead02295f2c6c444ccf8ab74b12"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"leenagupte","id":5793815,"avatar_url":"https://avatars.githubusercontent.com/u/5793815?v=3","gravatar_id":"","url":"https://api.github.com/users/leenagupte","html_url":"https://github.com/leenagupte","followers_url":"https://api.github.com/users/leenagupte/followers","following_url":"https://api.github.com/users/leenagupte/following{/other_user}","gists_url":"https://api.github.com/users/leenagupte/gists{/gist_id}","starred_url":"https://api.github.com/users/leenagupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenagupte/subscriptions","organizations_url":"https://api.github.com/users/leenagupte/orgs","repos_url":"https://api.github.com/users/leenagupte/repos","events_url":"https://api.github.com/users/leenagupte/events{/privacy}","received_events_url":"https://api.github.com/users/leenagupte/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":18,"additions":654,"deletions":244,"changed_files":11}}
{"actor":{"display_login":"leenagupte"}}