fearless359 / simpleinvoices

Fearless359 SimpleInvoices beyond great beginnings
https://simpleinvoices.group
GNU General Public License v3.0
28 stars 7 forks source link

Missing template error fix #94

Closed redcuillin closed 2 years ago

redcuillin commented 2 years ago

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.

redcuillin commented 2 years ago

Apologies ... messed up the pull request again.