<%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%> <%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*" %> <%@ include file="../CHECKPROFILE.jsp" %> <% request.setCharacterEncoding("UTF-8"); %> <jsp:useBean id="APP_EMV706_HC" class="com.csc.library.system.Task" scope="page" /> <% APP_EMV706_HC.setChannel(request,response); HelpEntry screen = (HelpEntry) APP_EMV706_HC.process("HelpEntry","APP_EMV706_HC"); screen.process(); screen.referLangOn(); %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR"> <head> <title>Employee View</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css"> <link rel="stylesheet" type="text/css" href="../CSS/Bootstrap/css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="../CSS/EMPVIEW_LAYOUT.min.css" /> <script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="../JS/EVENTS.js"></script> <script type="text/javascript" src="../JS/UTILITIES.js"></script> <script type="text/javascript" src="../JS/SCREEN.js"></script> <script type="text/javascript" src="../JS/angular-1.3.15/angular.js"></script> <script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script> <script> setLang("<%=screen.getUProfile().get("lang")%>"); var swap = new swaplang(); var titlename = swap.swap2String("SW001051"); setPageTitle(titlename); </script> </head> <body> <div class="bg-com"></div> <section> <div class="container csc-content"> <form name="cscform" class="form-horizontal" method="post" action="APP_EMV706_HC.jsp"> <%=screen.InitialVariable()%> <input type="hidden"name="__screen" value="APP_EMV706_HC"> <input type="hidden" name="__fixCon" value=""> <input type="hidden" name="__help" value=""> <input type="hidden" name="__keyList" value=""> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__chkReq" value=""> <input type="hidden" name="__calendar"> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>"> <input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>"> <input type="hidden" name="__backpage" value = "<%=request.getParameter("__backpage")%>"> <div class="csc-block-white"> <div class="center"> <h2 swlang code='SW001051'>Training Detail</h2> </div> <div class="container csc-content"> <% if(screen.nextRec()){ DbInquiry dba = (DbInquiry)screen.getInquiry().getChild("TREQUEST"); if(dba.recCount()>0){ %> <table class="table table-head table-hover table-bordered table-title-left table-content-center"> <thead> <tr> <th class="table-title" colspan=5 swlang code='SW001052'>Course according training plan</th> </tr> <tr> <th swlang code='SW012269'>Course ID</th> <th swlang code='SW000638'>Course Name</th> <th swlang code='SW000019'>Status</th> <th swlang code='SW001047'>Training Result</th> <th swlang code='SW001048'>Plan Date</th> </tr> </thead> <tbody> <% do{ %> <tr> <td><%=dba.getString("courseid")%></td> <td><%=dba.getString("mcourse","crsdesc")%></td> <td><%=dba.getCurrentDbRecord().getSystemCode("status")%></td> <td><%=dba.getCurrentDbRecord().getSystemCode("result")%></td> <td><%=dba.getString("daterequest")%></td> </tr> <% }while(dba.next()); %> </tbody> </table> <% } dba = (DbInquiry)screen.getInquiry().getChild("TTRAINTRNEE"); if(dba.recCount()>0){ %> <table class="table table-head table-hover table-bordered table-title-left table-content-center"> <thead> <tr> <th class="table-title" colspan=4 swlang code='SW001053'>Course in coming</th> </tr> <tr> <th swlang code='SW012269'>Course ID</th> <th swlang code='SW001050'>Training ID</th> <th swlang code='SW000638'>Course Name</th> <th swlang code='SW001049'>Train Date</th> </tr> </thead> <tbody> <% do{ if(!dba.getString("ttraining","crsid").equals("")){ %> <tr> <td><%=dba.getString("ttraining","crsid")%></td> <td><%=dba.getString("trainingid")%></td> <td><%=dba.getString("mcourse","crsdesc")%></td> <td><%=((DbRecord)dba.getCurrentDbRecord().getChild("ttraining")).getCscCalendar("classdatefrm").getDDMMYYYY()+" - "+((DbRecord)dba.getCurrentDbRecord().getChild("ttraining")).getCscCalendar("classdateto").getDDMMYYYY()%></td> </tr> <% } }while(dba.next()); %> </tbody> </table> <% } dba = (DbInquiry)screen.getInquiry().getChild("HTRAINTRNEE"); if(dba.recCount()>0){ %> <table class="table table-head table-hover table-bordered table-title-left table-content-center"> <thead> <tr> <th class="table-title" colspan=4 swlang code='SW012320'>Training History</th> </tr> <tr> <th swlang code='SW012269'>Course ID</th> <th swlang code='SW001050'>Training ID</th> <th swlang code='SW000638'>Course Name</th> <th swlang code='SW001049'>Train Date</th> </tr> </thead> <tbody> <% do{ if(!dba.getString("htraining","crsid").equals("")){ %> <tr> <td><%=dba.getString("htraining","crsid")%></td> <td><%=dba.getString("trainingid")%></td> <td><%=dba.getString("mcourse","crsdesc")%></td> <td><%=((DbRecord)dba.getChild("htraining")).getCscCalendar("classdatefrm").getDDMMYYYY()+" - "+((DbRecord)dba.getChild("htraining")).getCscCalendar("classdateto").getDDMMYYYY()%></td> </tr> <% } }while(dba.next()); %> </tbody> </table> <% } %> <% } %> <div class="center"> <a class="btn btn-primary" href="javascript:window.close();" swlang code='SW012104'>Close </a> </div> </div> </div> </form> </div> </section> </body> </html>