-
Notifications
You must be signed in to change notification settings - Fork 91
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 #6605 from hmislk/Issue#6552
Issue#6552 Closes #6552
- Loading branch information
Showing
7 changed files
with
111 additions
and
55 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
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,59 @@ | ||
<?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:cc="http://xmlns.jcp.org/jsf/composite" | ||
xmlns:h="http://xmlns.jcp.org/jsf/html" | ||
xmlns:p="http://primefaces.org/ui" | ||
xmlns:f="http://xmlns.jcp.org/jsf/core"> | ||
|
||
<!-- INTERFACE --> | ||
<cc:interface> | ||
<cc:attribute name="paymentMethodData" type="com.divudi.data.dataStructure.PaymentMethodData" /> | ||
<cc:attribute name="valueRequired" type="boolean" /> | ||
</cc:interface> | ||
|
||
<!-- IMPLEMENTATION --> | ||
<cc:implementation> | ||
<div class="d-flex gap-2" > | ||
<p:autoComplete | ||
id="creditCompany" | ||
class="w-100 -mx-2" | ||
inputStyleClass="form-control" | ||
forceSelection="true" | ||
value="#{opdBillController.creditCompany}" | ||
completeMethod="#{creditCompanyController.completeCredit}" | ||
var="ix" | ||
minQueryLength="4" | ||
placeholder="Company (Type at least 4 letters to search)" | ||
itemLabel="#{ix.name}" | ||
itemValue="#{ix}" | ||
size="10" > | ||
|
||
<f:ajax | ||
event="itemSelect" | ||
listener="#{opdBillController.calTotals()}" | ||
execute="@this" | ||
render=":#{p:resolveFirstComponentWithId('pBillDetails',view).clientId} :#{p:resolveFirstComponentWithId('tblRequests',view).clientId} :#{p:resolveFirstComponentWithId('tblBillItem',view).clientId}" /> | ||
</p:autoComplete> | ||
|
||
<p:inputText | ||
id="polNo" | ||
style="width: 250px;" | ||
value="#{cc.attrs.paymentMethodData.credit.referralNo}" | ||
placeholder="Policy NO" > | ||
</p:inputText> | ||
|
||
<p:commandLink | ||
id="btnAddNewCreditCom" | ||
value="(+)" | ||
class="mx-3 mt-1" | ||
title="Add New Credit Company" | ||
ajax="false" | ||
action="#{navigationController.navigateToCreditCompany()}" | ||
actionListener="#{creditCompanyController.prepareAdd()}" /> | ||
|
||
<p:watermark value="Policy NO" for="polNo" /> | ||
</div> | ||
|
||
</cc:implementation> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,5 @@ | |
<p:watermark value="Card Ref. No." for="refno" /> | ||
</div> | ||
|
||
|
||
</cc:implementation> | ||
</html> |