Commit 7a6663c3 by Nilu

S12523603 # Client - Incoming Issues (raised by Client) #Unable to select Yes…

S12523603 # Client - Incoming Issues (raised by Client) #Unable to select Yes for Will this Hiring Team manage own billing?
parent 17853fdb
......@@ -33,31 +33,31 @@
<%
RoleType userRole = companyUser.getRoleForHiringTeam(hiringTeam);
if(userRole != RoleType.STANDARD)
if(userRole != RoleType.STANDARD && hiringTeam.getManageOwnBilling())
{
%>
<oneit:recalcClass htmlTag="li" classScript="hiringTeam.getManageOwnBilling() ? tabNumber == '2' ? 'show active' : 'show' : 'hide'" hiringTeam="<%= hiringTeam %>" tabNumber="<%= tabNumber %>">
<li class="<%= tabNumber == "2" ? "active" : ""%>">
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", secondPage)
.toMap() %>">
Manage Plan
</oneit:button>
</oneit:recalcClass>
<oneit:recalcClass htmlTag="li" classScript="hiringTeam.getManageOwnBilling() ? tabNumber == '3' ? 'show active' : 'show' : 'hide'" hiringTeam="<%= hiringTeam %>" tabNumber="<%= tabNumber %>">
</oneit:button>
</li>
<li class="<%= tabNumber == "3" ? "active" : ""%>">
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", thirdPage)
.toMap() %>">
Billing
</oneit:button>
</oneit:recalcClass>
<oneit:recalcClass htmlTag="li" classScript="hiringTeam.getManageOwnBilling() ? tabNumber == '4' ? 'show active' : 'show' : 'hide'" hiringTeam="<%= hiringTeam %>" tabNumber="<%= tabNumber %>">
</oneit:button>
</li>
<li class="<%= tabNumber == "4" ? "active" : ""%>">
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", forthPage)
.toMap() %>">
Invoices
</oneit:button>
</oneit:recalcClass>
</oneit:button>
</li>
<%
}
%>
......
......@@ -17,6 +17,7 @@
Debug.assertion(hiringTeam != null , "Invalid hiring team in admin portal my company");
%>
<script type="text/javascript">
var PopupAlert = null;
$(document).ready(function()
......@@ -155,9 +156,9 @@
{
%>
<div class="form-brack-line-sub"></div>
<oneit:recalcClass htmlTag="div" classScript="hiringTeam.getManageOwnBilling() ? 'hide': 'show'" hiringTeam="<%= hiringTeam %>">
<oneit:recalcClass htmlTag="div" classScript="!hiringTeam.getManageOwnBilling() && hiringTeam.getBilledByTeam() != null ? 'show': 'hide'" hiringTeam="<%= hiringTeam %>">
<div class="warning-box">
Billing has been disabled for this team as it is included in <%= hiringTeam.getBilledByTeam()%>.
Billing has been disabled for this team as it is included in <oneit:recalc script="hiringTeam.getBilledByTeam()" hiringTeam="<%= hiringTeam %>" mode="EscapeHTML" />.
</div>
</oneit:recalcClass>
<div class="form-group row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment