Skip to content

Commit

Permalink
adding templete Gestation3.lrxml
Browse files Browse the repository at this point in the history
  • Loading branch information
debalex77 committed Apr 29, 2024
1 parent 839c5d1 commit 596bc99
Show file tree
Hide file tree
Showing 2 changed files with 11,405 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docreportecho.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,8 @@ void DocReportEcho::onPrint(const int _typeReport)
m_report->dataManager()->addModel("table_gestation2", modelGestation2, false);

// sablonul
if (! m_report->loadFromFile(globals::pathTemplatesDocs + "/Gestation2.lrxml")){
if (! m_report->loadFromFile((ui->gestation2_trimestru2->isChecked()) ?
globals::pathTemplatesDocs + "/Gestation2.lrxml" : globals::pathTemplatesDocs + "/Gestation3.lrxml")){
QMessageBox msgBox;
msgBox.setWindowTitle(tr("Printarea documentului"));
msgBox.setIcon(QMessageBox::Warning);
Expand Down
Loading

0 comments on commit 596bc99

Please sign in to comment.