{"action":"created","issue":{"url":"https://api.github.com/repos/popepatas/Situr/issues/230","labels_url":"https://api.github.com/repos/popepatas/Situr/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/popepatas/Situr/issues/230/comments","events_url":"https://api.github.com/repos/popepatas/Situr/issues/230/events","html_url":"https://github.com/popepatas/Situr/issues/230","id":124762363,"number":230,"title":"Proceso Check-in / Check-out Nuevo requerimiento","user":{"login":"Estepfany","id":15731914,"avatar_url":"https://avatars.githubusercontent.com/u/15731914?v=3","gravatar_id":"","url":"https://api.github.com/users/Estepfany","html_url":"https://github.com/Estepfany","followers_url":"https://api.github.com/users/Estepfany/followers","following_url":"https://api.github.com/users/Estepfany/following{/other_user}","gists_url":"https://api.github.com/users/Estepfany/gists{/gist_id}","starred_url":"https://api.github.com/users/Estepfany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Estepfany/subscriptions","organizations_url":"https://api.github.com/users/Estepfany/orgs","repos_url":"https://api.github.com/users/Estepfany/repos","events_url":"https://api.github.com/users/Estepfany/events{/privacy}","received_events_url":"https://api.github.com/users/Estepfany/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"AndresTello","id":15741949,"avatar_url":"https://avatars.githubusercontent.com/u/15741949?v=3","gravatar_id":"","url":"https://api.github.com/users/AndresTello","html_url":"https://github.com/AndresTello","followers_url":"https://api.github.com/users/AndresTello/followers","following_url":"https://api.github.com/users/AndresTello/following{/other_user}","gists_url":"https://api.github.com/users/AndresTello/gists{/gist_id}","starred_url":"https://api.github.com/users/AndresTello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndresTello/subscriptions","organizations_url":"https://api.github.com/users/AndresTello/orgs","repos_url":"https://api.github.com/users/AndresTello/repos","events_url":"https://api.github.com/users/AndresTello/events{/privacy}","received_events_url":"https://api.github.com/users/AndresTello/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-04T13:53:29Z","updated_at":"2016-01-05T15:40:15Z","closed_at":null,"body":"Se deben adicionar validaciones a estos procesos;\r\nValidaciones:\r\nCheck-in\r\n* Se debe verificar que este proceso se lleve a cabo siempre y cuando la fecha en la cual se realice el proceso no sea menor a la fecha de llegada (fecha de reserva)\r\n* Verificar el tipo de habitación reservado, si es compartida se debe validar que este proceso no se realice mas de los cupos indicado en la reserva\r\n\r\nCheck-out\r\n* Verificar el tipo de habitación reservado, si es compartida se debe validar que este proceso no se realice mas de check -in realizados para esa habitación\r\n\r\n![1](https://cloud.githubusercontent.com/assets/15731914/12090857/72153020-b2c0-11e5-8236-b67242cf1084.png)\r\n"},"comment":{"url":"https://api.github.com/repos/popepatas/Situr/issues/comments/169037863","html_url":"https://github.com/popepatas/Situr/issues/230#issuecomment-169037863","issue_url":"https://api.github.com/repos/popepatas/Situr/issues/230","id":169037863,"user":{"login":"AndresTello","id":15741949,"avatar_url":"https://avatars.githubusercontent.com/u/15741949?v=3","gravatar_id":"","url":"https://api.github.com/users/AndresTello","html_url":"https://github.com/AndresTello","followers_url":"https://api.github.com/users/AndresTello/followers","following_url":"https://api.github.com/users/AndresTello/following{/other_user}","gists_url":"https://api.github.com/users/AndresTello/gists{/gist_id}","starred_url":"https://api.github.com/users/AndresTello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndresTello/subscriptions","organizations_url":"https://api.github.com/users/AndresTello/orgs","repos_url":"https://api.github.com/users/AndresTello/repos","events_url":"https://api.github.com/users/AndresTello/events{/privacy}","received_events_url":"https://api.github.com/users/AndresTello/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T15:40:15Z","updated_at":"2016-01-05T15:40:15Z","body":"Resuelto.\r\n\r\npara la validación solicitada en la sección del check-out se hizo de la siguiente forma:\r\n\r\nel sistema valida que se haga el check-out solo a las personas que hicieron check-in"}}