-
Notifications
You must be signed in to change notification settings - Fork 87
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 #6851 from hmislk/Issue#6850
Issue#6850 Closes #6850
- Loading branch information
Showing
6 changed files
with
121 additions
and
7 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
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
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
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 @@ | ||
C:\Users\Work\Desktop\CareCode\src\main\webapp\analytics\staff_credit_bill_list.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
112 changes: 112 additions & 0 deletions
112
src/main/webapp/reportInstitution/report_referral_doctor_details.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,112 @@ | ||
<?xml version='1.0' encoding='UTF-8' ?> | ||
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<ui:composition xmlns:ui="http://xmlns.jcp.org/jsf/facelets" | ||
template="/reportInstitution/report_referrals_index.xhtml" | ||
xmlns:h="http://xmlns.jcp.org/jsf/html" | ||
xmlns:f="http://xmlns.jcp.org/jsf/core" | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:p="http://primefaces.org/ui" | ||
xmlns:ez="http://xmlns.jcp.org/jsf/composite/ezcomp" | ||
> | ||
|
||
|
||
<ui:define name="subcontent"> | ||
<h:outputStylesheet library="css" name="printing.css"></h:outputStylesheet> | ||
<h:panelGroup rendered="true" > | ||
<h:form> | ||
<p:panel> | ||
|
||
<f:facet name="header" > | ||
<h:outputLabel value="Institution Referrals" /> | ||
</f:facet> | ||
|
||
<h:panelGrid columns="2" class="my-2" > | ||
<h:outputLabel value="From Date"/> | ||
<p:calendar class="w-100 mx-4" inputStyleClass="w-100" id="frmDate" value="#{commonReport.fromDate}" pattern="#{sessionController.applicationPreference.longDateTimeFormat}" > | ||
</p:calendar> | ||
|
||
<h:outputLabel value="To Date"/> | ||
<p:calendar class="w-100 mx-4" inputStyleClass="w-100 my-1" id="toDate" value="#{commonReport.toDate}" pattern="#{sessionController.applicationPreference.longDateTimeFormat}" > | ||
</p:calendar> | ||
|
||
<h:outputLabel value="Referring Institution"/> | ||
<p:autoComplete class="w-100 mx-4" inputStyleClass="w-100" forceSelection="true" | ||
id="cmdIns" | ||
value="#{billController.referredByInstitution}" | ||
completeMethod="#{institutionController.completeIns}" | ||
var="refi" | ||
itemLabel="#{refi.name}" | ||
itemValue="#{refi}" | ||
> | ||
</p:autoComplete> | ||
</h:panelGrid> | ||
<h:panelGrid columns="6" class="my-2" > | ||
<p:commandButton id="btnRefresh" ajax="false" value="Process" | ||
class="ui-button-warning" icon="fas fa-cogs" | ||
actionListener="#{commonReport.fillInstitutionReferralBills()}" /> | ||
<p:defaultCommand target="btnRefresh"/> | ||
<p:commandButton ajax="false" value="Print" class="ui-button-info mx-2" icon="fas fa-print" > | ||
<p:printer target="reportPrint"/> | ||
</p:commandButton> | ||
<p:commandButton ajax="false" value="Excel" class="ui-button-success" icon="fas fa-file-excel" > | ||
<p:dataExporter type="xlsx" | ||
target="" | ||
fileName="Day_END_By_Bill_Type" /> | ||
</p:commandButton> | ||
</h:panelGrid> | ||
|
||
<p:panel id="reportPrint" styleClass="noBorder summeryBorder"> | ||
<p:dataTable id="billed" value="#{commonReport.referralBills}" var="b" | ||
paginator="false" | ||
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" | ||
rowsPerPageTemplate="5,10,15,20" > | ||
<f:facet name="header"> | ||
<h:outputLabel value="OPD Bills "/> | ||
</f:facet> | ||
|
||
<p:column headerText="Id" > | ||
<f:facet name="header"> | ||
<h:outputLabel value="ID" style="float: left"/> | ||
</f:facet> | ||
<h:outputLabel value="#{b.insId}"/> | ||
</p:column> | ||
|
||
|
||
|
||
<p:column headerText="Institurion" > | ||
<f:facet name="header"> | ||
<h:outputLabel value="Institution" style="float: left"/> | ||
</f:facet> | ||
<h:outputLabel value="#{b.referredByInstitution.name}"/> | ||
</p:column> | ||
|
||
<p:column headerText="Referral ID" > | ||
<f:facet name="header"> | ||
<h:outputLabel value="Referral Number" style="float: left"/> | ||
</f:facet> | ||
<h:outputLabel value="#{b.referenceNumber}"/> | ||
</p:column> | ||
|
||
<p:column > | ||
<f:facet name="header"> | ||
<h:outputLabel value="Billed At" style="float: left"/> | ||
</f:facet> | ||
<h:outputLabel value="#{b.createdAt}"/> | ||
</p:column> | ||
|
||
<p:column > | ||
<f:facet name="header"> | ||
<h:outputLabel value="Total" style="float: left"/> | ||
</f:facet> | ||
<h:outputLabel value="#{b.total}"/> | ||
</p:column> | ||
|
||
</p:dataTable> | ||
|
||
</p:panel> | ||
</p:panel> | ||
</h:form> | ||
</h:panelGroup> | ||
</ui:define> | ||
|
||
</ui:composition> |