Skip to content

Commit

Permalink
Merge pull request #6418 from hmislk/Issue#6351
Browse files Browse the repository at this point in the history
Issue#6351 Closes #6351
  • Loading branch information
Irani96 authored Jul 19, 2024
2 parents a7bf69d + 04881c9 commit 9c7b953
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/counter.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4
4
1 change: 1 addition & 0 deletions nb-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Any value defined here will override the pom.xml file value but is only applicab
-->
<org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>pfv5ee8</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>

</properties>
</project-shared-configuration>
8 changes: 6 additions & 2 deletions src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="hmisPU" transaction-type="JTA">
<jta-data-source>jdbc/ruhunuDemo</jta-data-source>

<jta-data-source>jdbc/arogya</jta-data-source>

<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<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/ruhunuDemoAudit</jta-data-source>

<jta-data-source>jdbc/arogyaAudit</jta-data-source>

<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0.20240719.4
3.0.0.20240719.4
4 changes: 3 additions & 1 deletion src/main/webapp/WEB-INF/glassfish-web.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<context-root>/ruhunuDemo</context-root>

<context-root>/demo</context-root>

<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
</td>

<td>
<h:outputLabel value="#{cc.attrs.bill.deptId}" class="billDetailsFiveFive">
</h:outputLabel>
<h:outputLabel value="#{cc.attrs.bill.cancelledBill.deptId}" class="billDetailsFiveFive" rendered="#{cc.attrs.bill.cancelled}"></h:outputLabel>
<h:outputLabel value="#{cc.attrs.bill.deptId}" class="billDetailsFiveFive" rendered="#{!cc.attrs.bill.cancelled}"></h:outputLabel>
</td>

</tr>
Expand Down Expand Up @@ -380,10 +380,11 @@

</div>

<div style="text-decoration: overline; margin-top: 10px;">
<div style=" margin-top: 10px;" class="d-flex justify-content-between">
<h:outputLabel value="Cashier : #{cc.attrs.bill.creater.webUserPerson.name}"/>
<h:outputLabel value="Original Bill : #{cc.attrs.bill.deptId}" rendered="#{cc.attrs.bill.cancelled and configOptionApplicationController.getBooleanValueByKey('Package Billing - Display the Original Bill Number in Canceled Bill',false)}"/>
</div>

<h:panelGroup rendered="#{cc.attrs.bill.paymentMethod eq 'Card'}" style="margin-top: 10px;font-size: 8pt">
<h:outputLabel value="Payments : #{cc.attrs.bill.paymentMethod.label}"/>
<ui:repeat value="#{cc.attrs.payments}" var="p">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
</td>

<td>
<h:outputLabel value="#{cc.attrs.bill.deptId}" class="billDetailsFiveFive">
</h:outputLabel>
<h:outputLabel value="#{cc.attrs.bill.cancelledBill.deptId}" class="billDetailsFiveFive" rendered="#{cc.attrs.bill.cancelled}"></h:outputLabel>
<h:outputLabel value="#{cc.attrs.bill.deptId}" class="billDetailsFiveFive" rendered="#{!cc.attrs.bill.cancelled}"></h:outputLabel>
</td>

</tr>
Expand Down Expand Up @@ -426,9 +426,10 @@

</div>

<div style="font-size: 8pt">
<h:outputLabel value="Payment : #{cc.attrs.bill.paymentMethod}" >
</h:outputLabel>
<div style="font-size: 9pt" class="d-flex justify-content-between">
<h:outputLabel value="Payment : #{cc.attrs.bill.paymentMethod}" ></h:outputLabel>
<h:outputLabel value="Original Bill : #{cc.attrs.bill.deptId}" rendered="#{cc.attrs.bill.cancelled and configOptionApplicationController.getBooleanValueByKey('Package Billing - Display the Original Bill Number in Canceled Bill',false)}"/>

</div>

<ui:repeat value="#{cc.attrs.payments}" var="ps">
Expand Down
19 changes: 16 additions & 3 deletions src/main/webapp/resources/ezcomp/prints/posOpdBill.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,21 @@
<h:outputLabel value="Inv.No" style="text-align: center!important;
font-size: 12px!important;
font-family:Arial, Helvetica, sans-serif!important;"></h:outputLabel>

</td>
<td>:</td>
<td style="width: 30%;" >
<h:outputLabel value="#{cc.attrs.bill.deptId}" style="text-align: center!important;
font-size: 12px!important;
font-family:Arial, Helvetica, sans-serif!important;">
<h:outputLabel
value="#{cc.attrs.bill.cancelledBill.deptId}"
style="text-align: center!important;font-size: 12px!important;font-family:Arial, Helvetica, sans-serif!important;"
class="billDetailsFiveFive"
rendered="#{cc.attrs.bill.cancelled}">
</h:outputLabel>
<h:outputLabel
value="#{cc.attrs.bill.deptId}"
style="text-align: center!important;font-size: 12px!important;font-family:Arial, Helvetica, sans-serif!important;"
class="billDetailsFiveFive"
rendered="#{!cc.attrs.bill.cancelled}">
</h:outputLabel>
</td>
</tr>
Expand Down Expand Up @@ -425,6 +434,10 @@
</table>

</div>

<div class="billDetails d-flex justify-content-end">
<h:outputLabel value="Original Bill : #{cc.attrs.bill.deptId}" class="mx-3" rendered="#{cc.attrs.bill.cancelled and configOptionApplicationController.getBooleanValueByKey('Package Billing - Display the Original Bill Number in Canceled Bill',false)}"/>
</div>

<div class="billDetails">
<h:outputLabel value="Signature :"> </h:outputLabel>
Expand Down

0 comments on commit 9c7b953

Please sign in to comment.