{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5678","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5678/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5678/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5678/events","html_url":"https://github.com/civicrm/civicrm-core/pull/5678","id":70437344,"number":5678,"title":"Actually validate prices; check for admin visibility;set defaults for pr...","user":{"login":"zorgalina","id":5482479,"avatar_url":"https://avatars.githubusercontent.com/u/5482479?v=3","gravatar_id":"","url":"https://api.github.com/users/zorgalina","html_url":"https://github.com/zorgalina","followers_url":"https://api.github.com/users/zorgalina/followers","following_url":"https://api.github.com/users/zorgalina/following{/other_user}","gists_url":"https://api.github.com/users/zorgalina/gists{/gist_id}","starred_url":"https://api.github.com/users/zorgalina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zorgalina/subscriptions","organizations_url":"https://api.github.com/users/zorgalina/orgs","repos_url":"https://api.github.com/users/zorgalina/repos","events_url":"https://api.github.com/users/zorgalina/events{/privacy}","received_events_url":"https://api.github.com/users/zorgalina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-04-23T15:12:51Z","updated_at":"2015-08-03T19:00:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5678","html_url":"https://github.com/civicrm/civicrm-core/pull/5678","diff_url":"https://github.com/civicrm/civicrm-core/pull/5678.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/5678.patch"},"body":"...ice, participant\r\n\r\n1.) Adding 'discount' textbox doesn't do discounting - I submitted changes to CiviDiscount which adds the form name for ParticipantsAndPrices which will check if event is discountable and display the Discount code textbox\r\n2.) Validation on array _values['fees'] didn't do validation, that array seems to be null\r\n3.)  In build_price_options, add check for price fields that are meant to be 'admin only'\r\n4.) In setDefaultValues, if participant is new, set their name, email if entered; set price defaults if they exist"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/127370737","html_url":"https://github.com/civicrm/civicrm-core/pull/5678#issuecomment-127370737","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5678","id":127370737,"user":{"login":"zorgalina","id":5482479,"avatar_url":"https://avatars.githubusercontent.com/u/5482479?v=3","gravatar_id":"","url":"https://api.github.com/users/zorgalina","html_url":"https://github.com/zorgalina","followers_url":"https://api.github.com/users/zorgalina/followers","following_url":"https://api.github.com/users/zorgalina/following{/other_user}","gists_url":"https://api.github.com/users/zorgalina/gists{/gist_id}","starred_url":"https://api.github.com/users/zorgalina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zorgalina/subscriptions","organizations_url":"https://api.github.com/users/zorgalina/orgs","repos_url":"https://api.github.com/users/zorgalina/repos","events_url":"https://api.github.com/users/zorgalina/events{/privacy}","received_events_url":"https://api.github.com/users/zorgalina/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T19:00:21Z","updated_at":"2015-08-03T19:00:21Z","body":"Apologies for not doing this more quickly - I need to do this locally (I\nthought I was able to switch to my branch and edit in Github online and\ncouldn't recall how)\n\nOn Mon, Aug 3, 2015 at 10:09 AM, Dave Greenberg <notifications@github.com>\nwrote:\n\n> Leslie - you can make fixes on your branch, commit and push to Github and\n> that will update this PR automatically. Then we can \"ask Jenkins\" to rerun\n> the PR tests.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/civicrm/civicrm-core/pull/5678#issuecomment-127333605>\n> .\n>\n\n\n\n-- \nزورگلنه ءء لسلی\n"}}