set invoiceDate to current date when order status is changed to paid