-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPaymentRequest.jsp
124 lines (95 loc) · 5.76 KB
/
PaymentRequest.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<%--
The Kuali Financial System, a comprehensive financial management system for higher education.
Copyright 2005-2023 Kuali, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--%>
<%@ include file="/jsp/sys/kfsTldHeader.jsp" %>
<kul:documentPage showDocumentInfo="true"
documentTypeName="PaymentRequestDocument"
htmlFormAction="purapPaymentRequest" renderMultipart="true"
showTabButtons="true">
<%-- Cornell Customization --%>
<c:set var="canEdit" value="${KualiForm.documentActions[KRADConstants.KUALI_ACTION_CAN_EDIT]}" scope="request"/>
<c:set var="canSave" value="${KualiForm.documentActions[KRADConstants.KUALI_ACTION_CAN_SAVE]}" scope="request"/>
<c:set var="fullEntryMode" value="${KualiForm.documentActions[KRADConstants.KUALI_ACTION_CAN_EDIT] && (empty KualiForm.editingMode['restrictFullEntry'])}"
scope="request"/>
<c:set var="displayInitTab" value="${KualiForm.editingMode['displayInitTab']}" scope="request"/>
<c:set var="taxInfoViewable" value="${KualiForm.editingMode['taxInfoViewable']}" scope="request"/>
<c:set var="taxAreaEditable" value="${KualiForm.editingMode['taxAreaEditable']}" scope="request"/>
<%-- Cornell Customization: KFSPTS-1891 --%>
<c:set var="wireEntryMode" value="${(canEdit || canSave) && KualiForm.editingMode['wireEntry']}" scope="request"/>
<c:set var="frnEntryMode" value="${(canEdit || canSave) && KualiForm.editingMode['frnEntry']}" scope="request"/>
<c:set var="isPaymentRequestDocument" value="${true}" scope="request" />
<%-- Display hold message if payment is on hold --%>
<c:if test="${KualiForm.paymentRequestDocument.holdIndicator}">
<h4>This Payment Request has been Held by <c:out value="${KualiForm.paymentRequestDocument.lastActionPerformedByPersonName}"/></h4>
</c:if>
<c:if test="${KualiForm.paymentRequestDocument.paymentRequestedCancelIndicator}">
<h4>This Payment Request has been Requested for Cancel by <c:out value="${KualiForm.paymentRequestDocument.lastActionPerformedByPersonName}"/></h4>
</c:if>
<c:if test="${not KualiForm.editingMode['displayInitTab']}">
<sys:documentOverview editingMode="${KualiForm.editingMode}"
includePostingYear="true"
fiscalYearReadOnly="true"
postingYearAttributes="${DataDictionary.PaymentRequestDocument.attributes}">
<purap:purapDocumentDetail
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"
detailSectionLabel="Payment Request Detail"
editableAccountDistributionMethod="${KualiForm.readOnlyAccountDistributionMethod}"
paymentRequest="true"/>
</sys:documentOverview>
</c:if>
<c:if test="${KualiForm.editingMode['displayInitTab']}">
<purap:paymentRequestInit
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"
displayPaymentRequestInitFields="true"/>
<c:set var="globalButtonTabIndex" value="15"/>
</c:if>
<c:if test="${not KualiForm.editingMode['displayInitTab']}">
<purap:vendor
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"
displayPurchaseOrderFields="false" displayPaymentRequestFields="true"/>
<purap:paymentRequestInvoiceInfo
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"
displayPaymentRequestInvoiceInfoFields="true"/>
<c:if test="${taxInfoViewable || taxAreaEditable}">
<purap:paymentRequestTaxInfo
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"/>
</c:if>
<purap:paymentRequestProcessItems
documentAttributes="${DataDictionary.PaymentRequestDocument.attributes}"
itemAttributes="${DataDictionary.PaymentRequestItem.attributes}"
accountingLineAttributes="${DataDictionary.PaymentRequestAccount.attributes}"/>
<purap:summaryaccounts
itemAttributes="${DataDictionary.PaymentRequestItem.attributes}"
documentAttributes="${DataDictionary.SourceAccountingLine.attributes}"/>
<fp:wireTransfer/>
<%-- Cornell Customization --%>
<fp:foreignDraft/>
<purap:relatedDocuments/>
<purap:paymentHistory/>
<gl:generalLedgerPendingEntries/>
<%-- Cornell Customization --%>
<kul:notes attachmentTypesValuesFinder="${DataDictionary.PaymentRequestDocument.attachmentTypesValuesFinder}"
defaultOpen="${KualiForm.document.openAttachmentTab}"/>
<kul:adHocRecipients/>
<kul:routeLog/>
<kul:superUserActions/>
</c:if>
<c:set var="extraButtons" value="${KualiForm.extraButtons}"/>
<sys:documentControls
transactionalDocument="true"
extraButtons="${extraButtons}"
suppressRoutingControls="${KualiForm.editingMode['displayInitTab']}"
tabindex="${globalButtonTabIndex}"/>
<kul:modernLookupSupport />
</kul:documentPage>