Fixed customer JS to allow editing sales and invoices.
Merge pull request #13 from funnylookinhat/edit-invoice-fix

Fix for Issue #12