-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6788 from hmislk/Issue#6786
Issue#6786 Closes #6786
- Loading branch information
Showing
4 changed files
with
208 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 86 additions & 0 deletions
86
src/main/webapp/store/store_reprint_bill_Item_unit_issue.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version='1.0' encoding='UTF-8' ?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" | ||
xmlns:p="http://primefaces.org/ui" | ||
xmlns:h="http://xmlns.jcp.org/jsf/html" | ||
xmlns:f="http://xmlns.jcp.org/jsf/core" | ||
xmlns:st="http://xmlns.jcp.org/jsf/composite/store"> | ||
|
||
<h:body> | ||
|
||
<ui:composition template="/resources/template/template.xhtml"> | ||
|
||
<ui:define name="content"> | ||
<h:form> | ||
<p:panel > | ||
<f:facet name="header" > | ||
<div class="d-flex justify-content-between"> | ||
<h:outputLabel value="Reprint Store Issue Bill" ></h:outputLabel> | ||
<div class="d-flex gap-2"> | ||
<p:commandButton | ||
ajax="false" | ||
value="To Cancel" | ||
icon="fa-solid fa-ban" class="ui-button-danger" | ||
action="store_cancel_bill_unit_issue?faces-redirect=true" | ||
disabled="#{storeBillSearch.bill.cancelled}"> | ||
</p:commandButton> | ||
<p:commandButton | ||
ajax="false" | ||
value="To Return Item" | ||
icon="fa fa-money-bill-wave" | ||
class="ui-button-warning" | ||
action="store_bill_return_issue?faces-redirect=true" | ||
disabled="#{storeBillSearch.bill.cancelled eq true}" > | ||
<f:setPropertyActionListener | ||
value="#{storeBillSearch.bill}" | ||
target="#{storeIssueReturnController.bill}" /> | ||
</p:commandButton> | ||
<p:commandButton | ||
ajax="false" | ||
icon="fa-solid fa-arrow-left" | ||
value="Back to Search List" | ||
action="store_search_issue_bill_item?faces-redirect=true" > | ||
</p:commandButton> | ||
</div> | ||
</div> | ||
|
||
</f:facet> | ||
|
||
<div class="d-flex gap-2 justify-content-end"> | ||
<p:outputLabel value="Paper Type" class="m-2"></p:outputLabel> | ||
<p:selectOneMenu | ||
value="#{bookingControllerViewScopeMonth.departmentPreference.pharmacyBillPaperType}" | ||
class="m-1" | ||
style="width: 13em;"> | ||
<f:selectItem itemLabel="Please Select Paper Type" /> | ||
<f:selectItems value="#{enumController.paperTypes}" /> | ||
</p:selectOneMenu> | ||
<p:commandButton | ||
ajax="false" | ||
icon="fa fa-sync-alt" | ||
class="ui-button m-1" | ||
title="Redraw Bill"> | ||
</p:commandButton> | ||
<p:commandButton | ||
value="Reprint" | ||
class="m-1 ui-button-info" | ||
icon="fa fa-print" | ||
ajax="false" > | ||
<p:printer target="gpBillPreview" ></p:printer> | ||
</p:commandButton> | ||
</div> | ||
|
||
<div > | ||
<h:panelGroup id="gpBillPreview" > | ||
<h:panelGroup rendered="#{bookingControllerViewScopeMonth.departmentPreference.pharmacyBillPaperType eq 'PosPaper'}" > | ||
<st:issue bill="#{storeBillSearch.bill}" duplicate="true" /> | ||
</h:panelGroup> | ||
</h:panelGroup> | ||
</div> | ||
</p:panel> | ||
</h:form> | ||
</ui:define> | ||
</ui:composition> | ||
</h:body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.