Allow invoices to have IDs that aren't numbers (and fix template dir again)