Update ghi/application/models/invoices.php