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 @@ ...@@ -33,31 +33,31 @@
<% <%
RoleType userRole = companyUser.getRoleForHiringTeam(hiringTeam); 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" <oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", secondPage) requestAttribs="<%= CollectionUtils.mapEntry("nextPage", secondPage)
.toMap() %>"> .toMap() %>">
Manage Plan Manage Plan
</oneit:button> </oneit:button>
</oneit:recalcClass> </li>
<oneit:recalcClass htmlTag="li" classScript="hiringTeam.getManageOwnBilling() ? tabNumber == '3' ? 'show active' : 'show' : 'hide'" hiringTeam="<%= hiringTeam %>" tabNumber="<%= tabNumber %>"> <li class="<%= tabNumber == "3" ? "active" : ""%>">
<oneit:button value=" " name="gotoPage" skin="link" <oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", thirdPage) requestAttribs="<%= CollectionUtils.mapEntry("nextPage", thirdPage)
.toMap() %>"> .toMap() %>">
Billing Billing
</oneit:button> </oneit:button>
</oneit:recalcClass> </li>
<oneit:recalcClass htmlTag="li" classScript="hiringTeam.getManageOwnBilling() ? tabNumber == '4' ? 'show active' : 'show' : 'hide'" hiringTeam="<%= hiringTeam %>" tabNumber="<%= tabNumber %>"> <li class="<%= tabNumber == "4" ? "active" : ""%>">
<oneit:button value=" " name="gotoPage" skin="link" <oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", forthPage) requestAttribs="<%= CollectionUtils.mapEntry("nextPage", forthPage)
.toMap() %>"> .toMap() %>">
Invoices Invoices
</oneit:button> </oneit:button>
</oneit:recalcClass> </li>
<% <%
} }
%> %>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
Debug.assertion(hiringTeam != null , "Invalid hiring team in admin portal my company"); Debug.assertion(hiringTeam != null , "Invalid hiring team in admin portal my company");
%> %>
<script type="text/javascript"> <script type="text/javascript">
var PopupAlert = null; var PopupAlert = null;
$(document).ready(function() $(document).ready(function()
...@@ -155,9 +156,9 @@ ...@@ -155,9 +156,9 @@
{ {
%> %>
<div class="form-brack-line-sub"></div> <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"> <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> </div>
</oneit:recalcClass> </oneit:recalcClass>
<div class="form-group row"> <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