Fixed showing date in invoice. (closes #284)