{"action":"created","issue":{"url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/157","labels_url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/157/comments","events_url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/157/events","html_url":"https://github.com/mkoch227/Mods-for-HESK/issues/157","id":59623110,"number":157,"title":"Alow user to close ticket only in some status (please read description)","user":{"login":"PeopleInside","id":5006150,"avatar_url":"https://avatars.githubusercontent.com/u/5006150?v=3","gravatar_id":"","url":"https://api.github.com/users/PeopleInside","html_url":"https://github.com/PeopleInside","followers_url":"https://api.github.com/users/PeopleInside/followers","following_url":"https://api.github.com/users/PeopleInside/following{/other_user}","gists_url":"https://api.github.com/users/PeopleInside/gists{/gist_id}","starred_url":"https://api.github.com/users/PeopleInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeopleInside/subscriptions","organizations_url":"https://api.github.com/users/PeopleInside/orgs","repos_url":"https://api.github.com/users/PeopleInside/repos","events_url":"https://api.github.com/users/PeopleInside/events{/privacy}","received_events_url":"https://api.github.com/users/PeopleInside/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T10:34:06Z","updated_at":"2015-03-03T14:00:46Z","closed_at":null,"body":"Hi,\r\nin original Hesk i had edited ticket.php where from line 565 you have a list of ticket status with near  $close_link; so you can remove this in the status where you don't want customer can close ticket.\r\n\r\nThis is userfull when you want customer able to close when ticket is new or with reply by staff but not when is on Hold on in Progress.\r\n\r\nSeems with MOD you can't do this edit.. i can't find the sdame line so you can only alow customer or not in all status. \r\n\r\nCan you implement the possibility to decide near each stastus if there are or not close button? Can you find a solution please?\r\nMaybe have the code in ticket.php who alow this if you won't implemented in grafic admin panel.\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/comments/76949750","html_url":"https://github.com/mkoch227/Mods-for-HESK/issues/157#issuecomment-76949750","issue_url":"https://api.github.com/repos/mkoch227/Mods-for-HESK/issues/157","id":76949750,"user":{"login":"PeopleInside","id":5006150,"avatar_url":"https://avatars.githubusercontent.com/u/5006150?v=3","gravatar_id":"","url":"https://api.github.com/users/PeopleInside","html_url":"https://github.com/PeopleInside","followers_url":"https://api.github.com/users/PeopleInside/followers","following_url":"https://api.github.com/users/PeopleInside/following{/other_user}","gists_url":"https://api.github.com/users/PeopleInside/gists{/gist_id}","starred_url":"https://api.github.com/users/PeopleInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeopleInside/subscriptions","organizations_url":"https://api.github.com/users/PeopleInside/orgs","repos_url":"https://api.github.com/users/PeopleInside/repos","events_url":"https://api.github.com/users/PeopleInside/events{/privacy}","received_events_url":"https://api.github.com/users/PeopleInside/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T14:00:46Z","updated_at":"2015-03-03T14:00:46Z","body":"Done, thanks\r\nhttps://mods-for-hesk.uservoice.com/forums/254758-general/suggestions/7164042-alow-user-to-close-ticket-only-in-some-status-ple"}}