Add legend on peruser view.
Clean code
Fix: table name differs.
Merge remote-tracking branch 'Upstream/develop' into develop-supplier_credit