If the user deletes a custom template for any reason, without first making a change in the settings, displaying/printing invoices becomes impossible, and no clear explanation is given for why key functionality is broken.
This fix adds an explanatory log entry and loads the default template instead so that SimpleInvoices is still usable.
Treating as seperate PR to previous encoding PR, in case previous PR not desirable.
See https://github.com/redcuillin/simpleinvoices/issues/8
If the user deletes a custom template for any reason, without first making a change in the settings, displaying/printing invoices becomes impossible, and no clear explanation is given for why key functionality is broken.
This fix adds an explanatory log entry and loads the default template instead so that SimpleInvoices is still usable. Treating as seperate PR to previous encoding PR, in case previous PR not desirable.