Fixed asset aging report query to make it work on sqlite3
Changed name of email layout templates