Skip to content

Commit

Permalink
Merge pull request #6485 from hmislk/Issue#6484
Browse files Browse the repository at this point in the history
Issue#6484 Closes #6484
  • Loading branch information
DeshaniPubudu authored Jul 21, 2024
2 parents 11aa719 + 3d606fb commit bbf5b95
Show file tree
Hide file tree
Showing 6 changed files with 21 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 @@
12
12
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ Developed using Java Enterprise Edition, the system offers both a web applicatio

## Current Version


Current Version: 3.0.0.20240721.12 (This line will be automatically updated to reflect the latest version)


## History

In 2004, Dr. M H B Ariyaratne, a medical doctor, pioneered the development of an Electronic Medical Record (EMR) System tailored for his general practice. Utilising Microsoft Visual Basic 6 and MS-Access, this system caught the attention of fellow doctors, leading to widespread adoption. As its user base grew, so did its features, evolving through collaborative discussions and feedback.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>3.0.0</version>
<packaging>war</packaging>
<name>sethma</name>

<properties>
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
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.20240721.12
3.0.0.20240721.12
1 change: 0 additions & 1 deletion src/main/webapp/WEB-INF/glassfish-web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<context-root>/sethma</context-root>


<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
Expand Down
29 changes: 18 additions & 11 deletions src/main/webapp/opd/opd_bill_package.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<p:tabView id="tblBillItem" >
<p:tab id="pacName" title="Package Name" >
<div class="d-flex justify-content-between">
<h:outputLabel value="#{billPackageController.currentBillItem.item.name}"/>
<h:outputLabel style="font-weight: 500; font-size: 18px;" value="#{billPackageController.currentBillItem.item.name}"/>
<p:commandButton
id="btnRemove"
value="X"
Expand All @@ -136,29 +136,30 @@
var="bi" class="w-100"
>

<p:column>
<p:column style="width: 30px;">
<f:facet name="header">No</f:facet>
#{rowIndex+1}
</p:column>
<p:column>
<f:facet name="header">Item</f:facet>
#{bi.billItem.item.name}
</p:column>
<p:column>
<p:column style="width: 200px;">
<f:facet name="header">Fee</f:facet>
<h:outputLabel value="#{bi.billItem.netValue}">
<f:convertNumber pattern="#,##0.00" />
</h:outputLabel>
</p:column>
<p:column>
<p:column style="width: 200px;">
<f:facet name="header">Department</f:facet>
#{bi.billItem.item.department.name}
</p:column>
<p:column>
<p:column style="width: 50px;">
<p:commandButton
id="btnRemove"
value="X"
title="Remove"
disabled="#{!bi.billItem.item.canRemoveItemfromPackage}"
class="ui-button-danger"
rendered="#{billPackageController.currentBillItem.item ne null}"
action="#{billPackageController.removeBillItem(bi.billItem.item)}"
Expand All @@ -170,7 +171,7 @@
</p:tab>
<p:tab id="tabBillIx" title="Tests" >
<p:dataTable rowIndexVar="rowIndex" value="#{billPackageController.lstBillComponents}" var="bix" >
<p:column>
<p:column style="width: 30px;">
<f:facet name="header">No</f:facet>
#{rowIndex+1}
</p:column>
Expand All @@ -183,18 +184,24 @@
</p:tab>
<p:tab id="tabBillFee" title="Fees" >
<p:dataTable rowIndexVar="rowIndex" value="#{billPackageController.lstBillFees}" var="bif" >
<p:column>
<p:column style="width: 30px;">
<f:facet name="header">No</f:facet>
#{rowIndex+1}
</p:column>
<p:column>

<p:column >
<f:facet name="header">Item </f:facet>
<h:outputLabel value="#{bif.billItem.item.name}"/>
</p:column>

<p:column style="width: 200px;">
<f:facet name="header">Fee</f:facet>
<h:inputText autocomplete="off" id="txtFeeVal" value="#{bif.feeValue}" disabled="#{!bif.billItem.item.userChangable}" >
<p:inputText autocomplete="off" id="txtFeeVal" value="#{bif.feeValue}" disabled="#{!bif.billItem.item.userChangable}" >
<f:convertNumber pattern="#,##0.00" />
<f:ajax event="keyup" execute="txtFeeVal" render=" :#{p:resolveFirstComponentWithId('tblRequests',view).clientId} :#{p:resolveFirstComponentWithId('pBillDetails',view).clientId}" listener="#{billPackageController.feeChanged}" />
</h:inputText>
</p:inputText>
</p:column>
<p:column>
<p:column style="width: 200px;">
<f:facet name="header">Payee</f:facet>
<h:outputLabel value="#{bif.department.name}" rendered="#{bif.department!=null}" ></h:outputLabel>
<h:outputLabel value="#{bif.staff.person.name}" rendered="#{bif.staff!=null and bif.fee.speciality==null}" ></h:outputLabel>
Expand Down

0 comments on commit bbf5b95

Please sign in to comment.