Added a default invoice date of today when recording payments to purchases.
Added check to prevent an invoice date before the creation date.
Added check to prevent an invoice date before the creation date on vendor purchases.