using completed_at rather than created_at for more accurate sales total report

Fixes #4205