db, invoice: invoice no longer stores cost

- invoice no longer stores the cost as a variable (bug fix)
- supplier refactored to the new constructor
Merge remote-tracking branch 'origin/master'