$custom_fields is not available in invoice templates and email template

Anyone coming across this; I made a pull request to make custom fields available in the web/public templates: https://github.com/InvoicePlane/InvoicePlane/pull/549/files