{"action":"created","issue":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/150","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/150/comments","events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/150/events","html_url":"https://github.com/jekkos/opensourcepos/issues/150","id":106636642,"number":150,"title":"Multi location support","user":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekkos/opensourcepos/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"milestone":null,"comments":32,"created_at":"2015-09-15T20:14:28Z","updated_at":"2015-11-02T22:40:35Z","closed_at":null,"body":"Currrently I'm working on a client request for multistore support for this project. The first iteration willl include adding a new table to the system in which pos locations can be defined\r\n\r\n* pos location is considered as a browser accessing a central server, capable of doing sales, receivings, reporting or item management for specific stock locations\r\n* employees will have a dropdown to choose a pos location to login to\r\n* pos location will be saved in the employee's session\r\n* grants will be specific to a pos location. In this case there'll be a dropdown in case there is more than one pos location to configure grants for a specific employee\r\n* employees can only login to one pos location when they have at least one grant for that location\r\n* stock locations have to be granted for every pos location as well. This will allow implementors to choose which pos location to sell/receive from \r\n* store config might have to be customized depending on the pos location. \r\n* by default there will be just one pos location (default setup in this case)\r\n\r\nFor this last part I wonder whether there's anyone having any suggestions as to which options (beside pos location name) might need to be customized in that case.\r\n"},"comment":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/comments/153180765","html_url":"https://github.com/jekkos/opensourcepos/issues/150#issuecomment-153180765","issue_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/150","id":153180765,"user":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T22:40:35Z","updated_at":"2015-11-02T22:40:35Z","body":"Yes currently I have the stores setup on my private server. However still some things to finish here\r\n\r\n* stores can't be added yet through the new module\r\n* address, telephone company name, now will be store properties (and be remove from the global config tab)\r\n* stock locations and stores should have a many to many relationship (as sometimes companies use a warehouse from which separate stores can make orders)"}}