<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@ page import="com.csc.library.entry.*" %> <%@ page import="com.csc.library.utilities.*" %> <%@ page import="java.text.DecimalFormat" %> <%@page contentType="text/html; charset=UTF-8"%> <jsp:useBean id="ASR002" scope="page" class="com.csc.library.system.Task"/> <% ASR002.setChannel(request ,response); ReportEntry screen=null; screen=(ReportEntry)ASR002.process("ReportEntry",request.getParameter("__screen")); UProfile uf=screen.getUProfile(); CscCalendar calendar = new CscCalendar(); DecimalFormat df = new DecimalFormat("00"); String filter_date= calendar.getEngYYYY()+"-"+df.format(calendar.getMonth()); %> <html> <head> <title>ReportOption</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="CSS/TISCO.css" rel="stylesheet" type="text/css"> <script language='javascript' src='JS/SCREEN.js'></script> <script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function back(){ with(document.cscform){ window.opener.document.cscform.__addconditionfilter.value=__addcondition.value; } window.close(); } //--> </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" > <form name="cscform" method="post" action="ASR002.jsp"> <!----------BEGIN CSC INITIAL ZONE ------------------------> <%=screen.InitialVariable()%> <!----------END CSC INITIAL ZONE --------------------------> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <div align="center"> <table cellpadding="0" cellspacing="0"> <tr > <td class="header"> ASR002_STD, <!-- <script language="javascript">swapLang('Report Option');</script> --> Report Condition </td> </tr> <tr > <td colspan="2"> <div align="center"> <table cellpadding="0" cellspacing="0" > <tr> <td colspan="2" class="blankspace"></td> </tr> <td class="columnlabel">status:</td> <td> <select id="__addcondition" name="__addcondition"> <option value="status ='V'">ทดลองงาน</option> <option value="status ='A' or employeeid in (select employeeid from memployee where status='Y' and resigndate like '%<%=filter_date%>%')">ทำงาน(รวมคนลาออกปัจจุบัน)</option> <option value="status ='A' or employeeid not in (select employeeid from memployee where status='Y' and resigndate like '%<%=filter_date%>%')">ทำงาน(ไม่รวมคนลาออกเดือนปัจจุบัน)</option> <option value="status ='Y'">ลาออก</option> <option value="status in ('A','V') or employeeid in (select employeeid from memployee where status='Y' and resigndate like '%<%=filter_date%>%')" selected>ทำงาน(รวมคนลาออกปัจจุบัน)+ทดลองงาน</option> <option value="status in ('A','V') or employeeid not in (select employeeid from memployee where status='Y' and resigndate like '%<%=filter_date%>%')">ทำงาน(ไม่รวมคนลาออกเดือนปัจจุบัน)+ทดลองงาน</option> <option value="status in ('A','Y','V')">ทั้งหมด</option> </select> </td> <td colspan="2" class="blankspace"></td> </tr> <TR> <TD colspan="2"><div align="center"><img src="IMAGES/BUTTON/OK.gif" onClick="back()"> <img src="IMAGES/BUTTON/CANCEL.gif" onClick="window.close()"></div></TD> </TR> <tr > <td colspan="2" class="blankspace"></td> </tr> </table> </div></td> </tr> <tr bordercolor="0069B3"> <td class="bottom"></td> </tr> </table> </div> <INPUT TYPE="hidden" NAME="__screen" VALUE="<%=request.getParameter("__screen")%>"> </form> </body> </html>