Skip to content

Commit

Permalink
Merge pull request #4714 from hmislk/Issue#4667
Browse files Browse the repository at this point in the history
Fixed #4667 Closes #4667
  • Loading branch information
Irani96 authored Apr 22, 2024
2 parents 0e95370 + dd41bbe commit eff7991
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/channel/channel_payment_session.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

<h:form>
<h:panelGroup id="gpBillPreview" rendered="#{channelStaffPaymentBillController.printPreview}">
<p:commandButton ajax="false" styleClass="noPrintButton" value="New Bill" action="#{channelStaffPaymentBillController.makenull()}" />
<p:commandButton ajax="false" class="ui-button-success mx-1 my-2" icon="fas fa-plus" style="float: right" value="New Bill" action="#{channelStaffPaymentBillController.makenull()}" />
<bi:staffBill_1 controller="#{channelStaffPaymentBillController}" bill="#{channelStaffPaymentBillController.current}" dup="false"/>
</h:panelGroup>
</h:form>
Expand Down
16 changes: 8 additions & 8 deletions src/main/webapp/resources/bill/staffBill_1.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<table class="mx-4" style="width: 98%;" >
<tr >
<td colspan="3" style="text-align: center;">
<h:outputLabel value="PAYMENT VOUCHER" style="font-size: 2em" /><br/>
<b><h:outputLabel value="PAYMENT VOUCHER" style="font-size: 1.6em" /><br/></b>
<h:outputLabel value="**Cancelled**" style="font-size: 1.5em" rendered="#{cc.attrs.bill.cancelledBill.insId ne null}" />
<h:outputLabel value=" **Duplicate**"
rendered="#{cc.attrs.bill.cancelledBill.insId eq null and cc.attrs.dup eq true }" style="font-size: 1.5em" />
Expand Down Expand Up @@ -107,7 +107,7 @@
<h:outputLabel value=":"/>
</td>
<td>
<h:outputLabel value="#{cc.attrs.bill.staff.person.nameWithTitle}" style="text-transform: capitalize; " />
<h:outputLabel value="#{cc.attrs.bill.singleBillSession.staff.person.nameWithTitle}" style="text-transform: capitalize; " />

</td>
</tr>
Expand Down Expand Up @@ -142,12 +142,12 @@
</h:column>
<f:facet name="footer" >
<h:panelGrid columns="7" class="w-100" >
<h:outputLabel value="&emsp;&emsp;"/>
<h:outputLabel value="&emsp;&emsp;"/>
<h:outputLabel value="&emsp;&emsp;"/>
<h:outputLabel value="&emsp;"/>
<h:outputLabel value="TOTAL"/>
<h:outputLabel value=":"/>
<h:outputLabel value="&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;"/>
<h:outputLabel value="&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;"/>
<h:outputLabel value="&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;"/>
<h:outputLabel value="&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;"/>
<h:outputLabel value="TOTAL" style="text-align: right"/>
<h:outputLabel value=":"/>

<h:outputLabel value="&emsp;#{-cc.attrs.bill.netTotal}" style="text-align: right!important; font-weight: bold;">
<f:convertNumber pattern="#,##0.00" /></h:outputLabel>
Expand Down

0 comments on commit eff7991

Please sign in to comment.