Fixed vendor payment update for purchase invoices.
Merge pull request #175 from funnylookinhat/develop

Fixed vendor payment update for purchase invoices.