diff --git a/.ide-settings/idea/OpenHospital-code-style-configuration.xml b/.ide-settings/idea/OpenHospital-code-style-configuration.xml
index 87a358cd6c..ba814defd5 100644
--- a/.ide-settings/idea/OpenHospital-code-style-configuration.xml
+++ b/.ide-settings/idea/OpenHospital-code-style-configuration.xml
@@ -73,7 +73,7 @@
-
+
diff --git a/src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java b/src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java
index 75026b5e99..9c05c9109c 100644
--- a/src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java
+++ b/src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java
@@ -71,6 +71,16 @@ public class InventoryWardBrowser extends ModalJFrame implements InventoryListen
private static final long serialVersionUID = 1L;
private static final int PAGE_SIZE = 50;
+ private final String[] pColums = {
+ MessageBundle.getMessage("angal.inventory.referenceshow.col").toUpperCase(),
+ MessageBundle.getMessage("angal.common.ward.col").toUpperCase(),
+ MessageBundle.getMessage("angal.common.date.col").toUpperCase(),
+ MessageBundle.getMessage("angal.inventory.status.col").toUpperCase(),
+ MessageBundle.getMessage("angal.common.user.col").toUpperCase()
+ };
+ private final int[] pColumwidth = { 150, 150, 100, 100, 150 };
+ private final MedicalInventoryManager medicalInventoryManager = Context.getApplicationContext().getBean(MedicalInventoryManager.class);
+ private final WardBrowserManager wardBrowserManager = Context.getApplicationContext().getBean(WardBrowserManager.class);
JButton next;
JButton previous;
JComboBox pagesCombo = new JComboBox<>();
@@ -91,20 +101,10 @@ public class InventoryWardBrowser extends ModalJFrame implements InventoryListen
private JButton viewButton;
private JScrollPane scrollPaneInventory;
private JTable jTableInventory;
- private final String[] pColums = {
- MessageBundle.getMessage("angal.inventory.referenceshow.col").toUpperCase(),
- MessageBundle.getMessage("angal.common.ward.col").toUpperCase(),
- MessageBundle.getMessage("angal.common.date.col").toUpperCase(),
- MessageBundle.getMessage("angal.inventory.status.col").toUpperCase(),
- MessageBundle.getMessage("angal.common.user.col").toUpperCase()
- };
- private final int[] pColumwidth = { 150, 150, 100, 100, 150 };
private JComboBox statusComboBox;
private JLabel statusLabel;
private int startIndex;
private int totalRows;
- private final MedicalInventoryManager medicalInventoryManager = Context.getApplicationContext().getBean(MedicalInventoryManager.class);
- private final WardBrowserManager wardBrowserManager = Context.getApplicationContext().getBean(WardBrowserManager.class);
private List inventoryList;
public InventoryWardBrowser() {