Skip to content

Commit

Permalink
update src/main/java/org/isf/medicalstockward/gui/WardPharmacyRectify…
Browse files Browse the repository at this point in the history
….java
  • Loading branch information
ArnaudFofou committed Nov 20, 2024
1 parent 44338db commit 21d2818
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public WardPharmacyRectify(JFrame owner, Ward ward) {
super(owner, true);
selectedWard = ward;
try {
wardDrugs = movWardBrowserManager.getMedicalsWard(selectedWard.getCode().charAt(0), false);
wardDrugs = movWardBrowserManager.getMedicalsWard(selectedWard.getCode(), false);
} catch (OHServiceException e) {
OHServiceExceptionUtil.showMessages(e);
}
Expand All @@ -184,7 +184,7 @@ public WardPharmacyRectify(JFrame owner, Ward ward, Medical medical) {
super(owner, true);
selectedWard = ward;
try {
wardDrugs = movWardBrowserManager.getMedicalsWard(selectedWard.getCode().charAt(0), false);
wardDrugs = movWardBrowserManager.getMedicalsWard(selectedWard.getCode(), false);
} catch (OHServiceException e) {
OHServiceExceptionUtil.showMessages(e);
}
Expand Down

0 comments on commit 21d2818

Please sign in to comment.