<!DOCTYPE html>
<%@page contentType="text/html; charset=UTF-8" language="java" %>
<%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*,java.util.*"%>
<%@page import="com.csc.library.utilities.CscCalendar,com.csc.library.entry.HelpEntry,com.csc.library.system.*"%>
<%@page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*,com.csc.library.formula.FormulaString"  %>
<%@page import="com.csc.library.timeattendance.DayShift,com.csc.library.timeattendance.Shift,com.csc.library.timeattendance.WorkingShift"  %>
<%@page import="java.text.DecimalFormat,com.csc.library.database.MyHashMap"  %>
<%@ include file="../CHECKPROFILE.jsp" %>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="EMV" class="com.csc.library.system.Task" scope="page" />
<jsp:setProperty name="EMV" property="appname" value="empview" />
<%
	EMV.setChannel(request, response);
	String empList = "";
	EmvHelpEntry screen = (EmvHelpEntry) EMV.process("EmvHelpEntry", "MG_TIMEHELP");
	screen.inq.setFilter("status in (select statuscode from mempl_status where statustype = 'A')");
	screen.inq.refresh();	
	//screen.nextRec();
	while (screen.inq.next()) {
		empList += "'"+screen.inq.getString("employeeid")+"',";
	}
	if (!empList.equals("")) {
		empList =empList.substring(0, empList.length()-1);
	}

	CscCalendar cs=new CscCalendar();
	FormulaString fs = new FormulaString();
	DecimalFormat df = new DecimalFormat("0.00");
	DecimalFormat df2 = new DecimalFormat("00.00");

	//String empID = EMV.getUProfile().getEmvEmpId();
	DbInquiry inqSwipeTime = new InitialInquiry(screen.getUProfile()).getDbInquiry();
	inqSwipeTime.initMyTable("Ttimetemp", "", "employeeid,swipedate,swipetime");
	inqSwipeTime.setColumn("*");


%>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR">
	<head>

		<title>Working Time Details</title>

		<meta http-equiv="Content-Type" content="text/html; charset=TIS620" />
		
	</head>
	<body>
		<div class="bg-com"></div>
		<jsp:include page="EMV_HEADMENU.jsp" flush="true" />

		<section>
			<div class="container csc-content">
				<iframe width="100%" height="1000px" id="ifDaily" src="../TA/TAU134_DAILY.jsp" frameborder="0" scrolling="no" />
			</div>
			<a href="#top" id="top-button">
				<i class="fa fa-angle-up"></i>
				<div class="top-word">Back to top</div>
			</a>
		</section>
		<jsp:include page="FOOTER.jsp" flush="true" />
	</body>
</html>