Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 017f302

Browse files
committed
fix: pending should not selected
1 parent 4381768 commit 017f302

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/com/topcoder/web/tc/view/pacts/client/PaymentHistory.jsp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,10 @@
485485
<c:when test="${payment.currentStatus.id eq OWED or payment.currentStatus.id eq ACCRUING}">
486486
<%-- Owed, Accruing --%>
487487
<c:choose>
488+
<c:when test="${payment.currentStatus.id eq ACCRUING}">
489+
<%-- Payment is pending yet: un-checked, disabled --%>
490+
<input type="checkbox" disabled="disabled" name="${PAYMENT_ID}" value="${payment.id}"/>
491+
</c:when>
488492
<c:when test="${payment.dueDate eq null or (payment.dueDate > now)}">
489493
<%-- Payment release date is not reached yet: un-checked, disabled --%>
490494
<input type="checkbox" disabled="disabled" name="${PAYMENT_ID}" value="${payment.id}"/>
@@ -634,6 +638,10 @@
634638
<c:when test="${paymentItem.currentStatus.id eq OWED or paymentItem.currentStatus.id eq ACCRUING}">
635639
<%-- Owed, Accruing --%>
636640
<c:choose>
641+
<c:when test="${paymentItem.currentStatus.id eq ACCRUING}">
642+
<%-- Payment is pending yet: un-checked, disabled --%>
643+
<span role="checkbox" class="checkbox disabled" data-name="${PAYMENT_ID}" data-value="${paymentItem.id}"></span>
644+
</c:when>
637645
<c:when test="${paymentItem.dueDate eq null or (paymentItem.dueDate > now)}">
638646
<%-- Payment release date is not reached yet: un-checked, disabled --%>
639647
<span role="checkbox" class="checkbox disabled" data-name="${PAYMENT_ID}" data-value="${paymentItem.id}"></span>

0 commit comments

Comments
 (0)