{"action":"created","issue":{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1728","labels_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1728/labels{/name}","comments_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1728/comments","events_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1728/events","html_url":"https://github.com/wp-e-commerce/WP-e-Commerce/issues/1728","id":54070776,"number":1728,"title":"Sales Log Totals Incorrect","user":{"login":"jdinsmore","id":2574455,"avatar_url":"https://avatars.githubusercontent.com/u/2574455?v=3","gravatar_id":"","url":"https://api.github.com/users/jdinsmore","html_url":"https://github.com/jdinsmore","followers_url":"https://api.github.com/users/jdinsmore/followers","following_url":"https://api.github.com/users/jdinsmore/following{/other_user}","gists_url":"https://api.github.com/users/jdinsmore/gists{/gist_id}","starred_url":"https://api.github.com/users/jdinsmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdinsmore/subscriptions","organizations_url":"https://api.github.com/users/jdinsmore/orgs","repos_url":"https://api.github.com/users/jdinsmore/repos","events_url":"https://api.github.com/users/jdinsmore/events{/privacy}","received_events_url":"https://api.github.com/users/jdinsmore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-12T16:03:27Z","updated_at":"2015-01-12T17:03:32Z","closed_at":null,"body":"In WP-Admin the \"Sales Log\" page (i.e. Store Sales in LHN) displays a Total count of Items and dollar amounts, both in the top right and bottom right corners (e.g. 4 items - Total (excluding Incomplete and Declined) $100.00)\r\n\r\nIn our example we have the following 4 sales:\r\nID/Amount/Status\r\n48/$584.98/Job Dispatched\r\n47/$186.94/Job Dispatched\r\n46/$38.48/Job Dispatched\r\n45$47.79/Closed Order\r\n\r\nThe Computed totals in the top right/bottom right are showing as follows:\r\n4 items - Total (excluding Incomplete and Declined): $810.40\r\n\r\nWhile we do have 4 items, the total of those items should be: $518.19\r\n\r\nThere is a difference of $47.79 between the actual total and the total shown on screen. Coincidentally, the one sale with a Status of \"Closed Order\" has an amount of $47.79. \r\n\r\n![saleslogo](https://cloud.githubusercontent.com/assets/2574455/5705881/67f71692-9a4a-11e4-9346-aaebacf428ca.jpg)\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/comments/69604396","html_url":"https://github.com/wp-e-commerce/WP-e-Commerce/issues/1728#issuecomment-69604396","issue_url":"https://api.github.com/repos/wp-e-commerce/WP-e-Commerce/issues/1728","id":69604396,"user":{"login":"jdinsmore","id":2574455,"avatar_url":"https://avatars.githubusercontent.com/u/2574455?v=3","gravatar_id":"","url":"https://api.github.com/users/jdinsmore","html_url":"https://github.com/jdinsmore","followers_url":"https://api.github.com/users/jdinsmore/followers","following_url":"https://api.github.com/users/jdinsmore/following{/other_user}","gists_url":"https://api.github.com/users/jdinsmore/gists{/gist_id}","starred_url":"https://api.github.com/users/jdinsmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdinsmore/subscriptions","organizations_url":"https://api.github.com/users/jdinsmore/orgs","repos_url":"https://api.github.com/users/jdinsmore/repos","events_url":"https://api.github.com/users/jdinsmore/events{/privacy}","received_events_url":"https://api.github.com/users/jdinsmore/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T17:03:32Z","updated_at":"2015-01-12T17:03:32Z","body":"I agree that the calculation for Total amount doesn't appear to be including the amount of the closed order, hence the Amount is incorrect. "}}