Skip to content

Commit

Permalink
update the param of getMedicalsWard
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudFofou committed Nov 19, 2024
1 parent f4b07db commit 46e0fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/isf/medicalstockward/gui/WardPharmacy.java
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,8 @@ class DrugsModel extends DefaultTableModel {

public DrugsModel() {
try {
tableModel = movWardBrowserManager.getMedicalsWardTotalQuantity(wardSelected.getCode().charAt(0));
wardDrugs = movWardBrowserManager.getMedicalsWard(wardSelected.getCode().charAt(0), true);
tableModel = movWardBrowserManager.getMedicalsWardTotalQuantity(wardSelected.getCode());
wardDrugs = movWardBrowserManager.getMedicalsWard(wardSelected.getCode(), true);
} catch (OHServiceException e) {
OHServiceExceptionUtil.showMessages(e);
tableModel = new ArrayList<>();
Expand Down

0 comments on commit 46e0fe0

Please sign in to comment.