Add model number to printed daily report.

This commit is contained in:
sawinglogz 2019-08-18 17:30:52 -04:00
parent 31fc47a5c5
commit 65f3f53686

View File

@ -193,7 +193,12 @@ void Report::PrintReport(gGraphView *gv, QString name, QDate date)
cpapinfo += STR_TR_Machine + ": ";
cpapinfo += cpap->brand() + " " + cpap->model() + "\n";
cpapinfo += cpap->brand() + " " + cpap->model();
QString mn = cpap->modelnumber();
if (!mn.isEmpty()) {
cpapinfo += " (" + mn + ")";
}
cpapinfo += "\n";
cpapinfo += STR_TR_Mode + ": " + day->getCPAPMode() + "\n";
cpapinfo += day->getPressureSettings() + "\n";