% let isPagination = false; let prevIndex = 0; let nextIndex = 0; let prevURL = ''; let nextURL = ''; if(sessionStorage.getItem("orgPaginationList") != null) { isPagination = true; let currentURL = window.location.href.split("#")[1].slice(12); let paginationArray = sessionStorage.getItem("orgPaginationList").split(","); prevIndex = 0; nextIndex = 0; let totalRecords = paginationArray.length; prevURL = ''; nextURL = ''; _.each(paginationArray, function(item, index) { if(currentURL === item) { prevIndex = --index; nextIndex = index + 2; return true; } }) if(totalRecords == nextIndex) { nextIndex = -1; } if(-1 !== prevIndex) { prevURL = "#submissions/" + paginationArray[prevIndex]; } if(-1 !== nextIndex) { nextURL = "#submissions/" + paginationArray[nextIndex]; } } %>
<%= $.i18n.prop("submission.details.typeofProject")%> <% var basePrjNum = ""; var stdYr; if(typeof parVo != 'undefined' && typeof parVo.rootProject != 'undefined' && typeof parVo.rootProject.baseProjectNumber != 'undefined'){ basePrjNum = parVo.rootProject.baseProjectNumber; } if(typeof parVo != 'undefined' && typeof parVo.rootProject != 'undefined' && typeof parVo.rootProject.stdYear != 'undefined'){ stdYr = parVo.rootProject.stdYear; } var pType = typeof parVo != 'undefined' && typeof parVo.parType != 'undefined' ? parVo.parType : 'NEW_PAR'; if(typeof parVo != 'undefined' && typeof parVo.adoptionPar != "undefined" && parVo.adoptionPar){ pType = $.i18n.prop("myproject.par.type.adoption"); } %> <%= ParServices.getTypeOfProjectDescription(pType, basePrjNum, stdYr) %>
<%if(meetingVO.meetingType != $.i18n.prop("meeting.type.revcom.code")){%><%= $.i18n.prop("submission.details.requesttype")%> <%= ParServices.getProjectReqTypeStrToDisplay(parRequestVo.requestType, commonApp.lookup.getByCategoryCode("PAR_TYPE", parVo.parType), parVo.adoptionPar) %>
<%}%>
<%= $.i18n.prop("submission.submitter")%>:
<% if (typeof baseAuditVO != 'undefined' && typeof baseAuditVO.createdBy != 'undefined' && typeof baseAuditVO.createdBy.fullName != "undefined"){%>
<%= baseAuditVO.createdBy.fullName%>
<%}%>
<%= $.i18n.prop("submission.details.submitted")%> <%= typeof submittedDate != 'undefined' ? appUtil.convertSystemDateTimeToDateString(submittedDate) : ''%>
<%= $.i18n.prop("submission.details.sponsorauth")%> <% if(typeof parRequestVo.reqSponsorApprovalStatus != 'undefined' && parRequestVo.reqSponsorApprovalStatus == $.i18n.prop("myproject.sasb.status.accepted")){%><%= appUtil.convertSystemDateTimeToDateString(parRequestVo.reqSponsorApprovalDt)%><%} else {%> <%=$.i18n.prop("par.sponsor.approvallbl.pending")%> <%}%>
<%}%>
<%= $.i18n.prop("meeting.meeting.date")%> <%= appUtil.convertSystemDateToString(meetingDate)%>
<%if(meetingVO.meetingType == $.i18n.prop("meeting.type.revcom.code")){%><%=$.i18n.prop("submission.details.typeofdocument") %> <%= commonApp.lookup.getByCategoryCodeObject("DOCUMENT_TYPE", parVo.documentType).description%>
<%=$.i18n.prop("submission.details.lifecycle")%> <%= typeof parVo.lifeCycle != "undefined" ? parVo.lifeCycle : "Not Entered"%>
<%}%><%= $.i18n.prop("submission.details.sponsorcommittee")%> <%= parVo.parSocietyGroup.groupName %>/<%= parVo.parSponsorGroup.groupName %> (<%= parVo.parSocietyGroup.groupShortName %>/<%= parVo.parSponsorGroup.groupShortName %>)
Standards Committee Chair:
<% var chair = _.findWhere(parVo.parSponsorGroup.userRoleList, {"userRoleCode":"CHAIR"});%>
<%if(typeof chair != "undefined"){%>
<%= chair.fullName%>
<%}else{%>
<%=$.i18n.prop('myproject.text.none')%>
<%}%>
<%= $.i18n.prop("submission.details.sponsorvice")%>
<% var viceChair = _.findWhere(parVo.parSponsorGroup.userRoleList, {"userRoleCode":"VICE_CHAIR"});%>
<%if(typeof viceChair != "undefined"){%>
<%= viceChair.fullName%>
<%}else{%>
<%=$.i18n.prop('myproject.text.none')%>
<%}%>
<%= $.i18n.prop("submission.details.wgname")%> <%= parVo.parWorkingGroup.groupName%> <%if(commonApp.user.isGivenRole("BOARD_ADMINISTRATOR")){%> <%}%>
<%= $.i18n.prop("submission.details.wgtype")%> <%if (parVo.parWorkingGroup.sponsoredInd == "Y"){%><%= $.i18n.prop("myproject.group.enitity")%><%} else {%><%= $.i18n.prop("myproject.group.individual")%><%}%>
<%= $.i18n.prop("submission.details.wgchair")%>
<% var chair = _.findWhere(parVo.parWorkingGroup.userRoleList, {"userRoleCode":"CHAIR"});%>
<%if(typeof chair != "undefined"){%>
<%= chair.fullName%>
<%}else{%>
<%=$.i18n.prop('myproject.text.none')%>
<%}%>
<%= $.i18n.prop("submission.details.wgvice")%>
<% var viceChair = _.findWhere(parVo.parWorkingGroup.userRoleList, {"userRoleCode":"VICE_CHAIR"});%>
<%if(typeof viceChair != "undefined"){%>
<%= viceChair.fullName%>
<%}else{%>
<%=$.i18n.prop('myproject.text.none')%>
<%}%>
<%= $.i18n.prop("submission.details.pmanager")%>
<% var programManager = _.findWhere(parVo.parWorkingGroup.userRoleList, {"userRoleCode":"PROGRAM_MANAGER_PRIMARY"});%>
<%if(typeof programManager != "undefined"){ %>
<%= programManager.fullName %>
<%}else{%>
<%=$.i18n.prop('myproject.text.none')%>
<%}%>
<%=$.i18n.prop("submission.details.ballotinvitation_opendate")%> <%= typeof ballotVo.invitationStartDate != "undefined"?appUtil.convertSystemDateToString(ballotVo.invitationStartDate):"" %>
<%=$.i18n.prop("submission.details.initialballot_startdate")%> <%= typeof ballotVo.ballotStartDate != "undefined" ? appUtil.convertSystemDateToString(ballotVo.ballotStartDate):""%>
<%}%>