Jfg 771 pdf summary via databaseservice

merge after #514