Skip to content

Commit

Permalink
grn bill improvement
Browse files Browse the repository at this point in the history
Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>
  • Loading branch information
ChinthakaPrasad committed Feb 21, 2025
1 parent 6110b21 commit d7b6e19
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/divudi/ws/common/ApplicationConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private void addRestResourceClasses(Set<Class<?>> resources) {
resources.add(com.divudi.ws.finance.clinical.Fhir.class);
resources.add(com.divudi.ws.inward.ApiInward.class);
resources.add(com.divudi.ws.lims.Lims.class);
resources.add(com.divudi.ws.lims.LimsMiddlewareController.class);
resources.add(com.divudi.ws.lims.MiddlewareController.class);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<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">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>${JDBC_DATASOURCE}</jta-data-source>
<jta-data-source>jdbc/hmis</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
</properties>
</persistence-unit>
<persistence-unit name="hmisAuditPU" transaction-type="JTA">
<jta-data-source>${JDBC_AUDIT_DATASOURCE}</jta-data-source>
<jta-data-source>jdbc/hmisaudit</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level.sql" value="SEVERE"/>
Expand Down
8 changes: 7 additions & 1 deletion src/main/webapp/resources/pharmacy/grn.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,13 @@
<tbody style="font-size: 11px;">
<ui:repeat value="#{cc.attrs.bill.billItems}" var="bip">
<tr>
<td style="text-align: left;">#{bip.item.name}</td>
<td style="text-align: left;">
<h:outputText value="#{bip.item.name}">
</h:outputText>

<h:outputText rendered="#{not empty bip.item.code}" value=" - #{bip.item.code}">
</h:outputText>
</td>
<!-- <td style="text-align: right;">
<h:outputText value="#{bip.item.code}">
</h:outputText>
Expand Down

0 comments on commit d7b6e19

Please sign in to comment.