"
+ "";
if (!((*profile).Exists("FirstName") && (*profile).Exists("LastName"))) html+="Please edit your profile"; else {
html+="Name: | "+(*profile)["FirstName"].toString()+" "+(*profile)["LastName"].toString()+" | ";
}
@@ -133,7 +132,8 @@ void Report::GenerateReport(QDate start, QDate end)
if ((*profile).Exists("EmailAddress") && !(*profile)["EmailAddress"].toString().isEmpty()) {
html+="Email: | "+(*profile)["EmailAddress"].toString()+" | ";
}
- html+=" | | "
+ "";
if ((*profile).Exists("Gender")) {
QString gender=(*profile)["Gender"].toBool() ? "Male" : "Female";
html+="Gender: | "+gender+" | ";
@@ -156,11 +156,13 @@ void Report::GenerateReport(QDate start, QDate end)
html+="";
}
- html+=" |