From eca5ea1cbc7c3d43e8b00025e0e72204aa121d6c Mon Sep 17 00:00:00 2001 From: Dr M H B Ariyaratne Date: Wed, 10 Apr 2024 13:58:01 +0530 Subject: [PATCH] Closes #3864 --- src/main/java/com/divudi/bean/common/EnumController.java | 5 +++++ .../webapp/pharmacy/pharmacy_purhcase_order_request.xhtml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/divudi/bean/common/EnumController.java b/src/main/java/com/divudi/bean/common/EnumController.java index 236a08a0da..2ad8642b39 100644 --- a/src/main/java/com/divudi/bean/common/EnumController.java +++ b/src/main/java/com/divudi/bean/common/EnumController.java @@ -25,6 +25,7 @@ import com.divudi.data.SessionNumberType; import com.divudi.data.Sex; import com.divudi.data.MessageType; +import com.divudi.data.PaymentContext; import com.divudi.data.RestAuthenticationType; import com.divudi.data.SymanticType; import com.divudi.data.Title; @@ -534,6 +535,10 @@ public PaymentMethod[] getPaymentMethodsForPo() { return p; } + public List getPaymentMethodsForPurchases() { + return PaymentMethod.getMethodsByContext(PaymentContext.PURCHASES); + } + public CreditDuration[] getCreditDuration() { CreditDuration[] c = {CreditDuration.D30, CreditDuration.D60, CreditDuration.D90}; diff --git a/src/main/webapp/pharmacy/pharmacy_purhcase_order_request.xhtml b/src/main/webapp/pharmacy/pharmacy_purhcase_order_request.xhtml index 9eee307610..8adff15290 100644 --- a/src/main/webapp/pharmacy/pharmacy_purhcase_order_request.xhtml +++ b/src/main/webapp/pharmacy/pharmacy_purhcase_order_request.xhtml @@ -170,7 +170,7 @@ for="cmbPs"> - +