Fix for case when variable hasn't been initialised
Minor changes to theme
Add facility to select supplier invoices that need to be paid