Skip to content

Commit

Permalink
Kleiner Fehler mit fehlender Description nach ausdruck gespeicherter
Browse files Browse the repository at this point in the history
Reports gelöst.
TODO überarbeitet.
  • Loading branch information
loaded02 committed Sep 23, 2014
1 parent f454d90 commit 240fba8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
====Wichtig===========
->BUG: Neuer Patient erscheint nicht direkt in Management Maske
->BUG: Forms identifizieren sich über Rand. Diese liegt bei FillReportForm zu nah beieinander.
-ContextFactors: Adjust Values in Form
====Weniger Wichtig===
-CB Pat/Ther: k.A. falls T/P gelöscht wurde
-Save mit Select File (wo? Select Directory)
-(Save Report as New) differenzieren
->Besser: Abfragen ob gespeichert werden soll.
-Seitenzahl bei PDF nicht gewünscht
-Praxis als Name in PDF und als Attribut für Therapeut
-PDF Core Set Überschrift auswählbar
-eventl FontSize für Table kleiner wählen
====Irgendwann========
-->Vorlagen für CoreSets einlesen
-->ICF Definitionen online einlesen
2 changes: 1 addition & 1 deletion domparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void DomParser::parseReport(const QDomElement element)
void DomParser::parseFunction(const QDomElement &element, Function *parent)
{
parent->setId(element.attribute("id"));
// parent->setDescription(element.attribute("description"));
parent->setDescription(element.attribute("description"));
parent->setValue(element.attribute("value").toInt());
parent->setText(element.text());
}
2 changes: 1 addition & 1 deletion icfcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void ICFController::createFile(QList<Report *> reports, QString filename)
QDomElement funcDOM = doc.createElement(label);
funcDOM.setAttribute("art",actFunction->getArt());
funcDOM.setAttribute("id",actFunction->getId());
// funcDOM.setAttribute("description",actFunction->getDescription());
funcDOM.setAttribute("description",actFunction->getDescription());
funcDOM.setAttribute("value",actFunction->getValue());
QDomText text = doc.createTextNode(actFunction->getText());
funcDOM.appendChild(text);
Expand Down

0 comments on commit 240fba8

Please sign in to comment.