added bill dateTime lock and open data into template