Skip to content

Commit

Permalink
fix R symbol missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dr3mro committed Dec 8, 2022
1 parent c9e09ec commit ce9e658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qtemr/src/visitsbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,8 @@ void visitsBox::roshettaDrugsfiller(QList<mSettings::drug> &drugs,DrugsItemModel
}else{
dataHelper::cleanDrugName(drug.TradeName);
}
drug.TradeName.insert(0,"");
drug.TradeName.insert(0," "); // add space
drug.TradeName.insert(0,PRESCRIPTIONSYMBOL); //"℞"
drug.Dose = drugsModel->item(i,2)->text();
drug.StartDate = QDate::fromJulianDay(drugsModel->item(i,3)->text().toInt()).toString("dd/MM/yyyy");
drugs<< drug;
Expand Down
2 changes: 1 addition & 1 deletion qtemr/src/visitsbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private slots:
void roshettaVitalsFiller(mSettings::Vitals &vitals);
void setVitalsPlaceHolderText();
mPatientBasicDetails patientBasicDetails;

const wchar_t PRESCRIPTIONSYMBOL = L'\u211E';

protected:
void closeEvent(QCloseEvent *event) override;
Expand Down

0 comments on commit ce9e658

Please sign in to comment.