Fixing invoice status