{"action":"created","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5329","repository_url":"https://api.github.com/repos/Dolibarr/dolibarr","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5329/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5329/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5329/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/5329","id":159125710,"number":5329,"title":"Bug: mistake in \"Customer preview\" (/compta/recap-compta.php) calculations ?","user":{"login":"sbschumacher","id":14094327,"avatar_url":"https://avatars.githubusercontent.com/u/14094327?v=3","gravatar_id":"","url":"https://api.github.com/users/sbschumacher","html_url":"https://github.com/sbschumacher","followers_url":"https://api.github.com/users/sbschumacher/followers","following_url":"https://api.github.com/users/sbschumacher/following{/other_user}","gists_url":"https://api.github.com/users/sbschumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/sbschumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbschumacher/subscriptions","organizations_url":"https://api.github.com/users/sbschumacher/orgs","repos_url":"https://api.github.com/users/sbschumacher/repos","events_url":"https://api.github.com/users/sbschumacher/events{/privacy}","received_events_url":"https://api.github.com/users/sbschumacher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-08T10:02:40Z","updated_at":"2016-06-11T07:44:48Z","closed_at":null,"body":"# Bug\r\nThere seems to be a mistake in the calculation of the balance because credit notes and deposit invoices are also included.\r\n\r\nExample:\r\n![recap-compta](https://cloud.githubusercontent.com/assets/14094327/15890566/882eb28e-2d70-11e6-838f-defc20942702.jpg)\r\n\r\nBtw: The amount stated in the line \"Current outstanding bill\" status at /comm/card.php?socid=xxx is correct like it should be in the image above.\r\n\r\n## Environment\r\n- **Version**: 9.3 - 9.3.2\r\n- **OS**: Linux\r\n- **Web server**: Apache\r\n- **PHP**: 5.6.22\r\n- **Database**: MySQL 5.1.73-log\r\n- **URL(s)**: /compta/recap-compta.php"},"comment":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments/225342780","html_url":"https://github.com/Dolibarr/dolibarr/issues/5329#issuecomment-225342780","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5329","id":225342780,"user":{"login":"atm-maxime","id":2097773,"avatar_url":"https://avatars.githubusercontent.com/u/2097773?v=3","gravatar_id":"","url":"https://api.github.com/users/atm-maxime","html_url":"https://github.com/atm-maxime","followers_url":"https://api.github.com/users/atm-maxime/followers","following_url":"https://api.github.com/users/atm-maxime/following{/other_user}","gists_url":"https://api.github.com/users/atm-maxime/gists{/gist_id}","starred_url":"https://api.github.com/users/atm-maxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atm-maxime/subscriptions","organizations_url":"https://api.github.com/users/atm-maxime/orgs","repos_url":"https://api.github.com/users/atm-maxime/repos","events_url":"https://api.github.com/users/atm-maxime/events{/privacy}","received_events_url":"https://api.github.com/users/atm-maxime/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T07:44:48Z","updated_at":"2016-06-11T07:44:48Z","body":"Hello @sbschumacher ,\r\n\r\nIn which Dolibarr version are you ? This page has been reviewed in the 3.9 version.\r\nIt's possible deposit are not properly handled regarding to the option you are in, but I prefer you check your version first.\r\n\r\nThanks"}}
{"actor":{"display_login":"atm-maxime"}}