Fixed some things in Invoice.php