Fixes for Sales Orders and Purchase Orders reports.

Reworked Beans_Report_Salesorders and Beans_Report_Purchaseorders for system76/beansbooks#184