fix error migrate at new server
fix error cannot fetch from_date of invoice