Revert "fixed the invoice view"

This reverts commit ca8e368e53f5b8645ff81eaf38e9ea2e9b58760b.