Facture final

Modification du code receipts.js et autres corrections
This `.catch()` statement doesn't do anything.  It is not critical to fix immediately, but in the future, use `.finally()` (on the client) and `.done()` (on the server) to terminate promise chains.