{"action":"created","issue":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/707","repository_url":"https://api.github.com/repos/jekkos/opensourcepos","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/707/comments","events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/707/events","html_url":"https://github.com/jekkos/opensourcepos/issues/707","id":162782652,"number":707,"title":"Sale will not appear in Report or Takings when Amount Tendered is negative?","user":{"login":"usergroup81","id":20194509,"avatar_url":"https://avatars.githubusercontent.com/u/20194509?v=3","gravatar_id":"","url":"https://api.github.com/users/usergroup81","html_url":"https://github.com/usergroup81","followers_url":"https://api.github.com/users/usergroup81/followers","following_url":"https://api.github.com/users/usergroup81/following{/other_user}","gists_url":"https://api.github.com/users/usergroup81/gists{/gist_id}","starred_url":"https://api.github.com/users/usergroup81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usergroup81/subscriptions","organizations_url":"https://api.github.com/users/usergroup81/orgs","repos_url":"https://api.github.com/users/usergroup81/repos","events_url":"https://api.github.com/users/usergroup81/events{/privacy}","received_events_url":"https://api.github.com/users/usergroup81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekkos/opensourcepos/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-06-28T20:43:51Z","updated_at":"2016-06-28T23:02:15Z","closed_at":null,"body":"I came across a scenario where Sale is not accounted for in Reports or Takings:\r\n\r\n1. Customer returns 1 item for $30\r\n2. Customer also purchase an item at $10\r\n3. **Register Mode** is set to **Sale** instead of Return\r\n4. Complete the sale with **Amount Tendered negative $20**.\r\n\r\nNow check **Takings** and run a **detailed sales report**, the POS ID will not show up in either. \r\n\r\nHowever, if I switch **Register to Return** instead of Sale, it will appear and be accounted for. Is this by design where such a transaction should always be in Return mode or it will be omitted?"},"comment":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/comments/229209979","html_url":"https://github.com/jekkos/opensourcepos/issues/707#issuecomment-229209979","issue_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/707","id":229209979,"user":{"login":"odiea","id":10962177,"avatar_url":"https://avatars.githubusercontent.com/u/10962177?v=3","gravatar_id":"","url":"https://api.github.com/users/odiea","html_url":"https://github.com/odiea","followers_url":"https://api.github.com/users/odiea/followers","following_url":"https://api.github.com/users/odiea/following{/other_user}","gists_url":"https://api.github.com/users/odiea/gists{/gist_id}","starred_url":"https://api.github.com/users/odiea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odiea/subscriptions","organizations_url":"https://api.github.com/users/odiea/orgs","repos_url":"https://api.github.com/users/odiea/repos","events_url":"https://api.github.com/users/odiea/events{/privacy}","received_events_url":"https://api.github.com/users/odiea/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T23:02:15Z","updated_at":"2016-06-28T23:02:15Z","body":"Currently it appears that we need to make a separate return sale then a regular sale to make sales show in takings"}}
{"actor":{"display_login":"odiea"}}