allow generate report for closed orders

Closes #32