From 123db10229956efee37bc8d606dfe6d81502b883 Mon Sep 17 00:00:00 2001 From: DamithDeshan Date: Tue, 6 Aug 2024 16:30:59 +0530 Subject: [PATCH] closes#6494 Signed-off-by: DamithDeshan --- src/main/resources/META-INF/persistence.xml | 4 +- src/main/webapp/resources/ezcomp/menu.xhtml | 2 +- ...store_purhcase_order_list_to_approve.xhtml | 51 ++++++++++++++++--- 3 files changed, 47 insertions(+), 10 deletions(-) diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml index 503e524d47..de11557cd6 100644 --- a/src/main/resources/META-INF/persistence.xml +++ b/src/main/resources/META-INF/persistence.xml @@ -1,7 +1,7 @@ - jdbc/sethma + jdbc/arogya false @@ -9,7 +9,7 @@ - jdbc/sethmaaudit + jdbc/arogyaAudit false diff --git a/src/main/webapp/resources/ezcomp/menu.xhtml b/src/main/webapp/resources/ezcomp/menu.xhtml index a0f7278372..da10a109b6 100644 --- a/src/main/webapp/resources/ezcomp/menu.xhtml +++ b/src/main/webapp/resources/ezcomp/menu.xhtml @@ -835,7 +835,7 @@ value="Unit Issue Margin" /> - + diff --git a/src/main/webapp/store/store_purhcase_order_list_to_approve.xhtml b/src/main/webapp/store/store_purhcase_order_list_to_approve.xhtml index 78d6444585..5c138e328e 100644 --- a/src/main/webapp/store/store_purhcase_order_list_to_approve.xhtml +++ b/src/main/webapp/store/store_purhcase_order_list_to_approve.xhtml @@ -25,11 +25,44 @@
- + - + + + + + + + + + @@ -44,9 +77,7 @@ - - - +
@@ -126,6 +157,7 @@ icon="fas fa-edit" class="ui-button-warning" action="#{storePurchaseOrderRequestController.navigateToUpdatePurchaseOrder()}" + disabled="#{b.checkedBy ne null or b.referenceBill.creater ne null and b.referenceBill.cancelled eq false or b.cancelled eq true}" > @@ -135,11 +167,16 @@ icon="fas fa-check-circle" class="ui-button-success mx-2" action="#{storePurchaseOrderController.navigateToPurchaseOrderApproval()}" - disabled="#{b.referenceBill.creater ne null or b.referenceBill.cancelled eq false or b.cancelled eq true or !webUserController.hasPrivilege('StorePurchaseOrderApprove')}"> + disabled="#{b.checkedBy eq null or b.referenceBill.creater ne null or b.referenceBill.cancelled eq false or b.cancelled eq true or !webUserController.hasPrivilege('StorePurchaseOrderApprove')}"> - +