Skip to content

Commit

Permalink
Merge pull request #6757 from hmislk/Issue#6360
Browse files Browse the repository at this point in the history
Fixed #6360 Closes #6360
  • Loading branch information
DeshaniPubudu authored Aug 7, 2024
2 parents 2e9ddb4 + 00ed048 commit 63950ad
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 20 deletions.
38 changes: 20 additions & 18 deletions src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.2" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
<persistence-unit name="hmisPU" transaction-type="JTA">
<jta-data-source>jdbc/sethma</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
<property name="eclipselink.logging.parameters" value="false"/>
<property name="javax.persistence.schema-generation.database.action" value="create-or-extend-tables"/>
</properties>
</persistence-unit>
<persistence-unit name="hmisAuditPU" transaction-type="JTA">
<jta-data-source>jdbc/sethmaaudit</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
<property name="eclipselink.logging.parameters" value="false"/>
<property name="javax.persistence.schema-generation.database.action" value="create-or-extend-tables"/>
</properties>
</persistence-unit>
<persistence-unit name="hmisPU" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/arogya</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
<property name="eclipselink.logging.parameters" value="false"/>
<property name="javax.persistence.schema-generation.database.action" value="create-or-extend-tables"/>
</properties>
</persistence-unit>
<persistence-unit name="hmisAuditPU" transaction-type="JTA">
<jta-data-source>jdbc/arogyaAudit</jta-data-source>
<class>com.divudi.entity.AuditEvent</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
<property name="eclipselink.logging.parameters" value="false"/>
<property name="javax.persistence.schema-generation.database.action" value="create-or-extend-tables"/>
</properties>
</persistence-unit>
</persistence>

19 changes: 17 additions & 2 deletions src/main/webapp/opd/batch_bill_cancel.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,23 @@
<f:facet name="header">
<h:outputText value="Batch Bill Cancellation" class="mt-5"/>
<h:panelGrid columns="3" style="float: right" class="w-50">
<p:inputText placeholder="Enter Comments to Cancel Bill" value="#{billController.comment}" style="float: right" class="p-2 w-100"/>

<!-- <p:inputText placeholder="Enter Comments to Cancel Bill" value="#{billController.comment}" style="float: right" class="p-2 w-100"/>-->
<p:selectOneMenu
id="commentsMenu"
value="#{billController.comment}"
editable="true"
filter="true"
placeholder="Select or enter a comment"
filterMatchMode="contains"
style="float: right; width: 100%"
class="p-2">
<f:selectItem itemLabel="Select or enter a comment" itemValue="" noSelectionOption="true"/>
<f:selectItems
value="#{configOptionApplicationController.getListOfCustomOptions('OPD Bill Cancellation Comments')}"
var="option"
itemLabel="#{option}"
itemValue="#{option}"/>
</p:selectOneMenu>
<p:commandButton
ajax="false"
value="Cancel Bill"
Expand Down

0 comments on commit 63950ad

Please sign in to comment.