Fix totals calculation in receivings module
Merge branch 'feature/invoice_numbering' into merge/adewale