Started adding ability to lock down invoices when they have been sent to
client using new config option 'allow_delete_after_send'.

Presently disabling the "delete" option on the invoices list if status
is anything but draft. Will add check for setting soon.

Found error in dev that prevents invoice from calculating.