defaulting note date to curdate