Closed tomonarifeehan closed 7 years ago
Add the ability of the worker/manager to submit a purity report. Those with "USER" privilege cannot submit a purity report.
Done. Just added:
if (user.getAccountType() == AccountType.USER) { switchButton.setVisibility(View.INVISIBLE); }
into the onCreate() method in NewWaterSourceReport.java
Add the ability of the worker/manager to submit a purity report. Those with "USER" privilege cannot submit a purity report.