<%@page contentType="text/html; charset=UTF-8"%> <%@page import="java.util.*,java.io.*,java.text.*"%> <%@page import="com.csc.library.util.download.*"%> <%@page import="com.csc.library.util.ManageDocument"%> <%@page import="com.csc.library.approve.*,com.csc.library.databean.*"%> <%@page import="com.csc.library.entry.*,com.csc.library.utilities.*"%> <%@page import="com.csc.library.session.*"%> <%request.setCharacterEncoding("UTF-8");%> <jsp:useBean id="TEMPLATE_WORKFLOW" class="com.csc.library.system.Task" scope="page"/> <jsp:setProperty name="TEMPLATE_WORKFLOW" property="classauthen" value="WorkflowUIAuthen" /> <% TEMPLATE_WORKFLOW.setChannel(request,response); TEMPLATE_WORKFLOW.checkProfile(); if( TEMPLATE_WORKFLOW.getUProfile() != null ){ TEMPLATE_WORKFLOW.getUProfile().set("appname","WELFARE"); HelpEntry screenHelp = (HelpEntry) TEMPLATE_WORKFLOW.process("HelpEntry","TEMPLATE_WORKFLOWHELP"); screenHelp.process(); CheckNull chkNull = new CheckNull(); String dss1 = "none"; String dss2 = "none"; String dss3 = "none"; String dss4 = "none"; String dss5 = "none"; String stp= chkNull.chkNullString(request.getParameter("step_id")); if(stp.equals("2") || stp.equals("3")){ dss1 =""; dss2 =""; dss3 =""; dss4 =""; dss5 =""; } if( screenHelp.nextRec() ){ String screen_value = chkNull.chkNullString(screenHelp.getDataLabel("SCREEN_VALUE")); HashMap hm = new HashMap(); ManageDocument md = new ManageDocument(); hm.put("WF_ID",request.getParameter("wf_id")); hm.put("WF_VER",request.getParameter("wf_ver")); hm.put("WF_SEQ_NO",request.getParameter("wf_seq_no")); hm.put("STEP_ID",request.getParameter("step_id")); hm.put("STEP_SEQ_NO",request.getParameter("step_seq_no")); hm.put("ACTOR_ID",screenHelp.getUProfile().getActor()); hm.put("POSITION_CODE",screenHelp.getUProfile().get("job")); md.setUProfile(screenHelp.getUProfile()); md.setParam(hm); md.setVW_Incident(); md.setWFDataValue(screen_value); %> <input type="hidden" name="__wf__at1" value="<%= md.getWFDataValue("__wf__at1") %>"> <input type="hidden" name="__wf__at2" value="<%= md.getWFDataValue("__wf__at2") %>"> <input type="hidden" name="__wf__at3" value="<%= md.getWFDataValue("__wf__at3") %>"> <input type="hidden" name="__wf__at4" value="<%= md.getWFDataValue("__wf__at4") %>"> <input type="hidden" name="__wf__at5" value="<%= md.getWFDataValue("__wf__at5") %>"> <input type="hidden" name="__wf__attach1" value="<%= md.getWFDataValue("__wf__attach1") %>"> <input type="hidden" name="__wf__attach2" value="<%= md.getWFDataValue("__wf__attach2") %>"> <input type="hidden" name="__wf__attach3" value="<%= md.getWFDataValue("__wf__attach3") %>"> <input type="hidden" name="__wf__attach4" value="<%= md.getWFDataValue("__wf__attach4") %>"> <input type="hidden" name="__wf__attach5" value="<%= md.getWFDataValue("__wf__attach5") %>"> <input type="hidden" name="__wf__attachdesc1" value="<%= md.getWFDataValue("__wf__attachdesc1") %>"> <input type="hidden" name="__wf__attachdesc2" value="<%= md.getWFDataValue("__wf__attachdesc2") %>"> <input type="hidden" name="__wf__attachdesc3" value="<%= md.getWFDataValue("__wf__attachdesc3") %>"> <input type="hidden" name="__wf__attachdesc4" value="<%= md.getWFDataValue("__wf__attachdesc4") %>"> <input type="hidden" name="__wf__attachdesc5" value="<%= md.getWFDataValue("__wf__attachdesc5") %>"> <input type="hidden" name="__wf__addval" value="<%= md.getWFDataValue("__wf__addval") %>"> <script language="javascript">callback = "<%= md.getWFDataValue("__wf__requisition_type") %>"; </script> <% int addv = Integer.parseInt(md.getWFDataValue("__wf__addval")); dss1 = ""; dss2 = ""; dss3 = ""; dss4 = ""; dss5 = ""; if(addv<1) dss1 = "none"; else if(addv==1 && md.getWFDataValue("__wf__at1").length()>0) dss1 = ""; if(addv<2) dss2 = "none"; else if(addv==2 && md.getWFDataValue("__wf__at2").length()>0) dss2 = ""; if(addv<3) dss3 = "none"; else if(addv==3 && md.getWFDataValue("__wf__at3").length()>0) dss3 = ""; if(addv<4) dss4 = "none"; else if(addv==4 && md.getWFDataValue("__wf__at4").length()>0) dss4 = ""; if(addv<5) dss5 = "none"; else if(addv==5 && md.getWFDataValue("__wf__at5").length()>0) dss5 = ""; %> <table class="inframe" cellspacing=1 cellpadding=0 border=0> <tbody> <tr> <td colspan="11" class="title1"> <div align="center"> <script language="javascript">swapLang("Welfare List");</script> </div></td> </tr> <tr> <td colspan="2" class="desc"><div align="right"> <strong> <script language="javascript">swapLang("Employee");</script>:</strong></div></td> <td class="desc" nowrap><input type="hidden" name="__wf__employeeid" size="15" value="<%= md.getWFDataValue("__wf__employeeid") %>" disabled> <input type="text" name="__wf__empfullname" size="30" value="<%= md.getWFDataValue("__wf__empfullname") %>" <%=(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true"))?"readonly":"disabled"%>> <%if(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true")){%> <a href="javascript:goHelp('MEMPLOYEEHELP','__wf__employeeid','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1041','','../IMAGES/MYNOTE/SEARCH.gif',1)"><img src="../IMAGES/MYNOTE/SEARCH.gif" alt="Employee" name="Image1041" width="20" border="0" align="absmiddle" id="Image1041" ></a></td> <%}%> <td width="32%" align="right" class="desc"><script language="javascript">swapLang("Requisition Type");</script> </td> <td width="7%" class="desc"><span id="__requisition"></span></td> <td width="7%" align="right" class="desc"><script language="javascript">swapLang("Send Date");</script> </td> <td colspan="4" class="desc"><input type="text" size="10" name="__wf__send_date" value="<%= md.getWFDataValue("__wf__send_date") %>" <%=(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true"))?"readonly":"disabled"%>></td> </tr> <tr> <td width="7%" height="21" colspan="2" class="title1"><div align="center"> <script language="javascript">swapLang("Welfare");</script> </div></td> <td width="31%" class="title1"><div align="center"> <script language="javascript">swapLang("Disease ");</script> </div></td> <td colspan="2" class="title1"><div align="center"> <script language="javascript">swapLang("Name Surname In Family");</script> </div> <div align="center"></div></td> <td width="7%" class="title1"><div align="center"> <script language="javascript">swapLang("Amount ");</script> </div></td> <td class="title1"><div align="center"> <script language="javascript">swapLang("Receipt Number");</script> </div></td> <td width="7%" class="title1"><div align="center"> <script language="javascript">swapLang("Receipt Date");</script> </div></td> <td width="2%" class="title1" ><div align="center"> <script language="javascript">swapLang("Attach Doc");</script> </div></td> </tr> <script language="javascript"> wdata1 = "<%= md.getWFDataValue("__wf__welfare1") %>"; wdata2 = "<%= md.getWFDataValue("__wf__welfare2") %>"; wdata3 = "<%= md.getWFDataValue("__wf__welfare3") %>"; wdata4 = "<%= md.getWFDataValue("__wf__welfare4") %>"; wdata5 = "<%= md.getWFDataValue("__wf__welfare5") %>"; sdata1 = "<%= md.getWFDataValue("__wf__disease1") %>"; sdata2 = "<%= md.getWFDataValue("__wf__disease2") %>"; sdata3 = "<%= md.getWFDataValue("__wf__disease3") %>"; sdata4 = "<%= md.getWFDataValue("__wf__disease4") %>"; sdata5 = "<%= md.getWFDataValue("__wf__disease5") %>"; fdata1 = "<%= md.getWFDataValue("__wf__family1") %>"; fdata2 = "<%= md.getWFDataValue("__wf__family2") %>"; fdata3 = "<%= md.getWFDataValue("__wf__family3") %>"; fdata4 = "<%= md.getWFDataValue("__wf__family4") %>"; fdata5 = "<%= md.getWFDataValue("__wf__family5") %>"; r11 = "<%= md.getWFDataValue("__wf__detail11") %>" r12 = "<%= md.getWFDataValue("__wf__detail12") %>" r13 = "<%= md.getWFDataValue("__wf__detail13") %>" r14 = "<%= md.getWFDataValue("__wf__detail14") %>" r15 = "<%= md.getWFDataValue("__wf__detail15") %>" r21 = "<%= md.getWFDataValue("__wf__detail21") %>" r22 = "<%= md.getWFDataValue("__wf__detail22") %>" r23 = "<%= md.getWFDataValue("__wf__detail23") %>" r24 = "<%= md.getWFDataValue("__wf__detail24") %>" r25 = "<%= md.getWFDataValue("__wf__detail25") %>" r31 = "<%= md.getWFDataValue("__wf__detail31") %>" r32 = "<%= md.getWFDataValue("__wf__detail32") %>" r33 = "<%= md.getWFDataValue("__wf__detail33") %>" r34 = "<%= md.getWFDataValue("__wf__detail34") %>" r35 = "<%= md.getWFDataValue("__wf__detail35") %>" r41 = "<%= md.getWFDataValue("__wf__detail41") %>" r42 = "<%= md.getWFDataValue("__wf__detail42") %>" r43 = "<%= md.getWFDataValue("__wf__detail43") %>" r44 = "<%= md.getWFDataValue("__wf__detail44") %>" r45 = "<%= md.getWFDataValue("__wf__detail45") %>" r51 = "<%= md.getWFDataValue("__wf__detail51") %>" r52 = "<%= md.getWFDataValue("__wf__detail52") %>" r53 = "<%= md.getWFDataValue("__wf__detail53") %>" r54 = "<%= md.getWFDataValue("__wf__detail54") %>" r55 = "<%= md.getWFDataValue("__wf__detail55") %>" </script> <script language="javascript"> //setRequisitionType2(); </script> <tr> <td colspan="2" nowrap="nowrap" class="desc"><span id="__welfare1"></span> <input type="hidden" size="30" name="__wf__welfare1" readonly value="<%= md.getWFDataValue("__wf__welfare1") %>"> <input type="hidden" size="30" name="__wf__docgid1" readonly value="<%= md.getWFDataValue("__wf__docgid1") %>"> <input type="hidden" size="30" name="__wf__whouse1" readonly value="<%= md.getWFDataValue("__wf__whouse1") %>"> <input type="text" size="30" name="__wf__welfaredesc1" readonly value="<%= md.getWFDataValue("__wf__welfaredesc1") %>"> <%if(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true")){%> <a href="javascript:goHelp('MWELFAREHELP','__wf__welfare1','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image101','','../IMAGES/MYNOTE/SEARCH.gif',1)"><img src="../IMAGES/MYNOTE/SEARCH.gif" alt="Welfare" name="Image101" width="20" border="0" align="absmiddle" id="Image101" ></a> <%}%> </td> <td class="desc" nowrap="nowrap"><span id="__disease1"></span> <input type="hidden" size="30" name="__wf__disease1" readonly value="<%= md.getWFDataValue("__wf__disease1") %>"> <input type="text" size="30" name="__wf__diseasedesc1" readonly value="<%= md.getWFDataValue("__wf__diseasedesc1") %>"> <%if(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true")){%> <a href="javascript:goHelp('MDISEASEHELP','__wf__disease1','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image101','','../IMAGES/MYNOTE/SEARCH.gif',1)"><img src="../IMAGES/MYNOTE/SEARCH.gif" alt="Disease" name="Image101" width="20" border="0" align="absmiddle" id="Image101" ></a><%}%></td> </td> <td colspan="2" class="desc"><span id="__family1"></span></td> <td class="desc"><input name="__wf__amount1" type="text" class="numeric" style="text-align:right" onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);" value="0.00" size="8"><SCRIPT LANGUAGE="JavaScript">setValue('__wf__amount1','<%=md.getWFDataValue("__wf__amount1")%>');</SCRIPT></td> <td class="desc"><input type="text" size="15" name="__wf__receipt_number1" <%=(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true"))?"":"disabled"%>><SCRIPT LANGUAGE="JavaScript">setValue('__wf__receipt_number1','<%=md.getWFDataValue("__wf__receipt_number1")%>');</SCRIPT></td> <td class="desc" nowrap><input type="text" size="10" name="__wf__receipt_date1" readonly value="<%= new CscCalendar().getDDMMYYYY() %>" onBlur="checkPeriodDate(90,this,0);"><SCRIPT LANGUAGE="JavaScript">setValue('__wf__receipt_date1','<%=md.getWFDataValue("__wf__receipt_date1")%>');</SCRIPT><!--a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image111','','../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/CALENDAR20.gif" alt="Calendar" name="Image111" width="20" border="0" align="absmiddle" id="Image111" onClick="viewCal('__wf__receipt_date1')"></a--> </td> <td class="desc"><div align="center"><a href="javascript:goPages('1','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image112','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Calendar" name="Image112" width="20" border="0" align="absmiddle" id="Image112" ></a></div></td> </tr> <tr> <td colspan="4" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script> <input type="hidden" size="50" name="__wf__sitewelid1" value="<%=md.getWFDataValue("__wf__sitewelid1")%>"> <input type="hidden" size="50" name="__wf__sitewelgid1" value="<%=md.getWFDataValue("__wf__sitewelgid1")%>"> <input type="text" size="50" name="__wf__sitewel_name1" value="<%=md.getWFDataValue("__wf__sitewel_name1")%>"<%=(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true"))?"readonly":"disabled"%>> <%if(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true")){%> <a href="javascript:goHelp('MSITEWELHELP','__sitewelid1','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image101','','../IMAGES/MYNOTE/SEARCH.gif',1)"><img src="../IMAGES/MYNOTE/SEARCH.gif" alt="Hospital" name="Image101" width="20" border="0" align="absmiddle" id="Image101" ></a> <%}%> <input type="text" name="__wf__sitegname1" value="<%=md.getWFDataValue("__wf__sitegname1")%>" readonly="readonly"/></td> <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td> <td colspan="5" class="desc"><input type="text" name="__wf__other_sitewel1" size="30" value="<%=md.getWFDataValue("__wf__other_sitewel1")%>" <%=(chkNull.chkNullString(request.getParameter("isAdminEdit")).equals("true"))?"":"disabled"%>></td> </tr> <tr id="dt11" style="display:<%= dss1 %> "> <td width="7%" class="desc" nowrap> <script language="javascript">swapLang("Requisition");</script> </td> <td width="16%" class="desc" nowrap><span id="__detail11"></span> </td> <td class="desc"><div align="right"><span id="__reqdesc11"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc11" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost11" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost11")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open11" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open11")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt12" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail12"></span></td> <td class="desc"><div align="right"><span id="__reqdesc12"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc12" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost12" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost12")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open12" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open12")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt13" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail13"></span></td> <td class="desc"><div align="right"><span id="__reqdesc13"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc13" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost13" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost13")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open13" value="<%=md.getWFDataValue("__wf__open13")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt14" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail14"></span></td> <td class="desc"><div align="right"><span id="__reqdesc14"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc14" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost14" class="numeric" style="text-align:right" <%=md.getWFDataValue("__wf__cost14")%> value="0.00" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open14" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open14")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt15" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail15"></span></td> <td class="desc"><div align="right"><span id="__reqdesc15"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc15" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost15" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost15")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open15" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open15")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="wel21" style="display:none "> <td colspan="2" class="desc"><span id="__welfare2"></span> <input type="hidden" size="30" name="__wf__welfare2" disabled value="<%= md.getWFDataValue("__wf__welfare2") %>"> <input type="hidden" size="30" name="__wf__docgid2" disabled value="<%= md.getWFDataValue("__wf__docgid2") %>"> <input type="hidden" size="30" name="__wf__whouse2" disabled value="<%= md.getWFDataValue("__wf__whouse2") %>"> <input type="text" size="30" name="__wf__welfaredesc2" disabled value="<%=md.getWFDataValue("__wf__welfaredesc2") %>"> </td> <td class="desc"><span id="__disease2"></span> <input type="hidden" size="30" name="__wf__disease2" disabled value="<%= md.getWFDataValue("__wf__disease2") %>"> <input type="text" size="30" name="__wf__diseasedesc2" disabled value="<%= md.getWFDataValue("__wf__diseasedesc2") %>"> </td> <td colspan="2" class="desc"><span id="__family2"></span></td> <td class="desc"><input name="__wf__amount2" type="text" class="numeric" style="text-align:right" value="<%= md.getWFDataValue("__wf__amount2") %>" size="8"></td> <td class="desc" nowrap><input type="text" size="15" name="__wf__receipt_number2" value="<%= md.getWFDataValue("__wf__receipt_number2") %>"></td> <td class="desc" ><input type="text" size="10" name="__wf__receipt_date2" disabled value="<%= md.getWFDataValue("__wf__receipt_date2") %>" > </td> <td class="desc"><div align="center"><a href="javascript:goPages('2','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1223','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1223" width="20" border="0" align="absmiddle" id="Image1223" ></a></div></td> </tr> <tr id="wel22" style="display:none "> <td colspan="4" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script> <input type="hidden" size="50" name="__wf__sitewelid2" value="<%= md.getWFDataValue("__wf__sitewelid2") %>"> <input type="hidden" size="50" name="__wf__sitewelgid2" value="<%= md.getWFDataValue("__wf__sitewelgid2") %>"> <input type="text" size="50" name="__wf__sitewel_name2" disabled value="<%= md.getWFDataValue("__wf__sitewel_name2") %>"> <input type="text" name="__wf__sitegname2" value="<%=md.getWFDataValue("__wf__sitegname2")%>" readonly="readonly"/></td> <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td> <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel2" size="30" value="<%= md.getWFDataValue("__wf__other_sitewel2") %>"></td> </tr> <tr id="dt21" style="display:<%= dss2 %> "> <td width="7%" nowrap class="desc"> <script language="javascript">swapLang("Requisition");</script> </td> <td width="16%" class="desc"><span id="__detail21"></span></td> <td class="desc"><div align="right"><span id="__reqdesc21"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc21" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost21" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost21")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open21" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open21")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt22" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail22"></span></td> <td class="desc"><div align="right"><span id="__reqdesc22"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc22" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost22" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost22")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open22" class="numeric" style="text-align:right" o value="<%=md.getWFDataValue("__wf__open22")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt23" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail23"></span></td> <td class="desc"><div align="right"><span id="__reqdesc23"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc23" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost23" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost23")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open23" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost23")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt24" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail24"></span></td> <td class="desc"><div align="right"><span id="__reqdesc24"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc24" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost24" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost24")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open24" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open24")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt25" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail25"></span></td> <td class="desc"><div align="right"><span id="__reqdesc25"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc25" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost25" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost25")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open25" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost25")%>" size="8" ></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="wel31" style="display:none "> <td colspan="2" class="desc"><span id="__welfare3"></span> <input type="hidden" size="30" name="__wf__welfare3" disabled value="<%= md.getWFDataValue("__wf__welfare3") %>"> <input type="hidden" size="30" name="__wf__docgid3" disabled value="<%= md.getWFDataValue("__wf__docgid3") %>"> <input type="hidden" size="30" name="__wf__whouse3" disabled value="<%= md.getWFDataValue("__wf__whouse3") %>"> <input type="text" size="30" name="__wf__welfaredesc3" disabled value="<%= md.getWFDataValue("__wf__welfaredesc3") %>"> </td> <td class="desc"><span id="__disease3"></span> <input type="hidden" size="30" name="__wf__disease3" disabled value="<%= md.getWFDataValue("__wf__disease3") %>"> <input type="text" size="30" name="__wf__diseasedesc3" disabled value="<%= md.getWFDataValue("__wf__diseasedesc3") %>"> </td> <td colspan="2" class="desc"><span id="__family3"></span></td> <td class="desc"><input name="__wf__amount3" type="text" class="numeric" style="text-align:right" value="<%= md.getWFDataValue("__wf__amount3") %>" size="8"></td> <td class="desc" nowrap><input type="text" size="15" name="__wf__receipt_number3" value="<%= md.getWFDataValue("__wf__receipt_number3") %>"></td> <td class="desc" ><input type="text" size="10" name="__wf__receipt_date3" disabled value="<%= md.getWFDataValue("__wf__receipt_date3") %>" ></td> <td class="desc"><div align="center"><a href="javascript:goPages('3','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1223','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1223" width="20" border="0" align="absmiddle" id="Image1223" ></a></div></td> </tr> <tr id="wel32" style="display:none "> <td colspan="4" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script> <input type="hidden" size="50" name="__wf__sitewelid3" value="<%= md.getWFDataValue("__wf__sitewelid3") %>"> <input type="hidden" size="50" name="__wf__sitewelgid3" value="<%= md.getWFDataValue("__wf__sitewelgid3") %>"> <input type="text" size="50" name="__wf__sitewel_name3" disabled value="<%= md.getWFDataValue("__wf__sitewel_name3") %>"> <input type="text" name="__wf__sitegname3" value="<%=md.getWFDataValue("__wf__sitegname3")%>" readonly="readonly"/></td> <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td> <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel3" size="30" value="<%= md.getWFDataValue("__wf__other_sitewel3") %>"></td> </tr> <tr id="dt31" style="display:<%= dss3 %> "> <td width="7%" nowrap class="desc"> <script language="javascript">swapLang("Requisition");</script> </td> <td width="16%" class="desc"><span id="__detail31"></span></td> <td class="desc"><div align="right"><span id="__reqdesc31"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc31" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost31" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost31")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open31" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open31")%>" size="8" ></td> <td class="desc" nowrap><div align="center"></div></td> </tr> <tr id="dt32" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail32"></span></td> <td class="desc"><div align="right"><span id="__reqdesc32"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc32" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost32" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost32")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open32" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open32")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt33" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail33"></span></td> <td class="desc"><div align="right"><span id="__reqdesc33"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc33" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost33" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost33")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open33" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open34")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt34" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail34"></span></td> <td class="desc"><div align="right"><span id="__reqdesc34"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc34" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost34" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost34")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open34" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open34")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt35" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail35"></span></td> <td class="desc"><div align="right"><span id="__reqdesc35"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc35" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost35" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost35")%>" size="8" ></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open35" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open35")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="wel41" style="display:none "> <td colspan="2" class="desc"><span id="__welfare4"></span> <input type="hidden" size="30" name="__wf__welfare4" disabled value="<%= md.getWFDataValue("__wf__welfare4") %>"> <input type="hidden" size="30" name="__wf__docgid4" disabled value="<%= md.getWFDataValue("__wf__docgid4") %>"> <input type="hidden" size="30" name="__wf__whouse4" disabled value="<%= md.getWFDataValue("__wf__whouse4") %>"> <input type="text" size="30" name="__wf__welfaredesc4" disabled value="<%= md.getWFDataValue("__wf__welfaredesc4") %>"> </td> <td class="desc"><span id="__disease4"></span> <input type="hidden" size="30" name="__wf__disease4" disabled value="<%= md.getWFDataValue("__wf__disease4") %>"> <input type="text" size="30" name="__wf__diseasedesc4" disabled value="<%= md.getWFDataValue("__wf__diseasedesc4") %>"> </td> <td colspan="2" class="desc"><span id="__family4"></span></td> <td class="desc"><input name="__wf__amount4" type="text" class="numeric" style="text-align:right" value="<%= md.getWFDataValue("__wf__amount4") %>" size="8"></td> <td class="desc" nowrap><input type="text" size="15" name="__wf__receipt_number4" value="<%= md.getWFDataValue("__wf__receipt_number4") %>"></td> <td class="desc" ><input type="text" size="10" name="__wf__receipt_date4" disabled value="<%= md.getWFDataValue("__wf__receipt_date4") %>" ></td> <td class="desc"><div align="center"><a href="javascript:goPages('4','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1223','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1223" width="20" border="0" align="absmiddle" id="Image1223" ></a></div></td> </tr> <tr id="wel42" style="display:none "> <td colspan="4" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script> <input type="hidden" size="50" name="__wf__sitewelid4" value="<%= md.getWFDataValue("__wf__sitewelid4") %>"> <input type="hidden" size="50" name="__wf__sitewelgid4" value="<%= md.getWFDataValue("__wf__sitewelgid4") %>"> <input type="text" size="50" name="__wf__sitewel_name4" disabled value="<%= md.getWFDataValue("__wf__sitewel_name4") %>"> <input type="text" name="__wf__sitegname4" value="<%=md.getWFDataValue("__wf__sitegname4")%>" readonly="readonly"/></td> <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td> <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel4" size="30" value="<%= md.getWFDataValue("__wf__other_sitewel4") %>"></td> </tr> <tr id="dt41" style="display:<%= dss4 %> "> <td width="7%" nowrap class="desc"> <script language="javascript">swapLang("Requisition");</script> </td> <td width="16%" class="desc"><span id="__detail41"></span></td> <td class="desc"><div align="right"><span id="__reqdesc41"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc41" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost41" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost41")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open41" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open41")%>" size="8"></td> <td class="desc" nowrap><div align="center"></div></td> </tr> <tr id="dt42" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail42"></span></td> <td class="desc"><div align="right"><span id="__reqdesc42"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc42" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost42" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost42")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open42" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open42")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt43" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail43"></span></td> <td class="desc"><div align="right"><span id="__reqdesc43"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc43" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost43" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost43")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open43" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open43")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt44" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail44"></span></td> <td class="desc"><div align="right"><span id="__reqdesc44"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc44" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost44" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost44")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open44" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open44")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt45" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail45"></span></td> <td class="desc"><div align="right"><span id="__reqdesc45"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc45" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost45" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost45")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open45" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open45")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="wel51" style="display:none "> <td colspan="2" class="desc"><span id="__welfare5"></span> <input type="hidden" size="30" name="__wf__welfare5" disabled value="<%= md.getWFDataValue("__wf__welfare5") %>"> <input type="hidden" size="30" name="__wf__docgid5" disabled value="<%= md.getWFDataValue("__wf__docgid5") %>"> <input type="hidden" size="30" name="__wf__whouse5" disabled value="<%= md.getWFDataValue("__wf__whouse5") %>"> <input type="text" size="30" name="__wf__welfaredesc5" disabled value="<%= md.getWFDataValue("__wf__welfaredesc5") %>"> </td> <td class="desc"><span id="__disease5"></span> <input type="hidden" size="30" name="__wf__disease5" disabled value="<%= md.getWFDataValue("__wf__disease5") %>"> <input type="text" size="30" name="__wf__diseasedesc5" disabled value="<%= md.getWFDataValue("__wf__diseasedesc5") %>"> </td> <td colspan="2" class="desc"><span id="__family5"></span></td> <td class="desc"><input name="__wf__amount5" type="text" class="numeric" style="text-align:right" value="<%= md.getWFDataValue("__wf__amount5") %>" size="8"></td> <td class="desc" nowrap><input type="text" size="15" name="__wf__receipt_number5" value="<%= md.getWFDataValue("__wf__receipt_number5") %>"></td> <td class="desc" ><input type="text" size="10" name="__wf__receipt_date5" disabled value="<%= md.getWFDataValue("__wf__receipt_date5") %>" ></td> <td class="desc"><div align="center"><a href="javascript:goPages('5','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1223','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1223" width="20" border="0" align="absmiddle" id="Image1223" ></a></div></td> </tr> <tr id="wel52" style="display:none "> <td colspan="4" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script> <input type="hidden" size="50" name="__wf__sitewelid5" value="<%= md.getWFDataValue("__wf__sitewelid5") %>"> <input type="hidden" size="50" name="__wf__sitewelgid5" value="<%= md.getWFDataValue("__wf__sitewelgid5") %>"> <input type="text" size="50" name="__wf__sitewel_name5" disabled value="<%= md.getWFDataValue("__wf__sitewel_name5") %>"> <input type="text" name="__wf__sitegname5" value="<%=md.getWFDataValue("__wf__sitegname5")%>" readonly="readonly"/></td> <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td> <td colspan="5" class="desc"><input type="text" name="__wf__other_sitewel5" size="30" value="<%= md.getWFDataValue("__wf__other_sitewel5") %>"></td> </tr> <tr id="dt51" style="display:<%= dss5 %> "> <td width="7%" nowrap class="desc"> <script language="javascript">swapLang("Requisition");</script> </td> <td width="16%" class="desc"><span id="__detail51"></span></td> <td class="desc"><div align="right"><span id="__reqdesc51"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc51" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost51" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost51")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open51" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open51")%>" size="8"></td> <td class="desc" nowrap><div align="center"></div></td> </tr> <tr id="dt52" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail52"></span></td> <td class="desc"><div align="right"><span id="__reqdesc52"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc52" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost52" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost52")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open52" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open52")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt53" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail53"></span></td> <td class="desc"><div align="right"><span id="__reqdesc53"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc53" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost53" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost53")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open53" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open53")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt54" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail54"></span></td> <td class="desc"><div align="right"><span id="__reqdesc54"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc54" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost54" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost54")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open54" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__open54")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr id="dt55" style="display:none "> <td width="7%" nowrap class="desc"> </td> <td width="16%" class="desc"><span id="__detail55"></span></td> <td class="desc"><div align="right"><span id="__reqdesc55"></span></div></td> <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc55" disabled size="7"> </td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Cost");</script> </div></td> <td class="desc"><input type="text" name="__wf__cost55" class="numeric" style="text-align:right" value="<%=md.getWFDataValue("__wf__cost55")%>" size="8"></td> <td class="desc"><div align="right"> <script language="javascript">swapLang("Request");</script> </div></td> <td class="desc" nowrap><input type="text" name="__wf__open55" class="numeric" style="text-align:right" onFocus="callDelComma(this);" value="<%=md.getWFDataValue("__wf__open55")%>" size="8"></td> <td class="desc" nowrap><div align="center"> </div></td> </tr> <tr><td colspan="2" align="center" class="title1"><div align="center"><script language="javascript">swapLang("Grand Total");</script></div></td> <td align="center" class="title1"><span class="desc"> <input type="text" size="8" dir="rtl" name="__wf__grand_total3" value="0" readonly> </span></td> <td align="center" class="title1"> </td> <td align="center" class="title1"> </td> <td class="title1"><div align="left"> <input type="text" size="8" name="__wf__grand_total" dir="rtl" value="0.00" readonly> </div> </td> <td align="right" class="title1"> </td> <td align="right" class="title1"><span class="desc"> <input type="text" size="8" dir="rtl" name="__wf__grand_total2" value="0.00" readonly> </span></td> <td align="right" class="title1"> </td> </tr> <tr> <td colspan="8"> <table cellspacing="0" cellpadding="0"> <tr> <td colspan="8"></td> </tr> <tr> <td colspan="8" class="desc2"><jsp:include page="./MSG01.jsp" flush="true" /></td> </tr> </table></td> </tr> </tbody> </table> <SCRIPT LANGUAGE="JavaScript"> DWREngine.beginBatch(); SystemCode.getContentDWR(new Array("REQUISITION_TYPE",'<%=screenHelp.getUProfile().get("lang").toString()%>'),selectedcallbackSys2); setValueOnPage(); DWREngine.endBatch({ async:false }); function setValueOnPage(){ DWREngine.setPostHook(function() { setObjectValue(); }); } // setTimeout("setObjectValue()",500); function setObjectValue(){ setValue('__wf__detail11','<%=md.getWFDataValue("__wf__detail11")%>'); setValue('__wf__detail12','<%=md.getWFDataValue("__wf__detail12")%>'); setValue('__wf__detail13','<%=md.getWFDataValue("__wf__detail13")%>'); setValue('__wf__detail14','<%=md.getWFDataValue("__wf__detail14")%>'); setValue('__wf__detail15','<%=md.getWFDataValue("__wf__detail15")%>'); setValue('__wf__detail21','<%=md.getWFDataValue("__wf__detail21")%>'); setValue('__wf__detail22','<%=md.getWFDataValue("__wf__detail22")%>'); setValue('__wf__detail23','<%=md.getWFDataValue("__wf__detail23")%>'); setValue('__wf__detail24','<%=md.getWFDataValue("__wf__detail24")%>'); setValue('__wf__detail25','<%=md.getWFDataValue("__wf__detail25")%>'); setValue('__wf__detail31','<%=md.getWFDataValue("__wf__detail31")%>'); setValue('__wf__detail32','<%=md.getWFDataValue("__wf__detail32")%>'); setValue('__wf__detail33','<%=md.getWFDataValue("__wf__detail33")%>'); setValue('__wf__detail34','<%=md.getWFDataValue("__wf__detail34")%>'); setValue('__wf__detail35','<%=md.getWFDataValue("__wf__detail35")%>'); setValue('__wf__detail41','<%=md.getWFDataValue("__wf__detail41")%>'); setValue('__wf__detail42','<%=md.getWFDataValue("__wf__detail42")%>'); setValue('__wf__detail43','<%=md.getWFDataValue("__wf__detail43")%>'); setValue('__wf__detail44','<%=md.getWFDataValue("__wf__detail44")%>'); setValue('__wf__detail45','<%=md.getWFDataValue("__wf__detail45")%>'); setValue('__wf__detail51','<%=md.getWFDataValue("__wf__detail51")%>'); setValue('__wf__detail52','<%=md.getWFDataValue("__wf__detail52")%>'); setValue('__wf__detail53','<%=md.getWFDataValue("__wf__detail53")%>'); setValue('__wf__detail54','<%=md.getWFDataValue("__wf__detail54")%>'); setValue('__wf__detail55','<%=md.getWFDataValue("__wf__detail55")%>'); setValue('__wf__detail11desc','<%=md.getWFDataValue("__wf__detail11desc")%>'); setValue('__wf__detail12desc','<%=md.getWFDataValue("__wf__detail12desc")%>'); setValue('__wf__detail13desc','<%=md.getWFDataValue("__wf__detail13desc")%>'); setValue('__wf__detail14desc','<%=md.getWFDataValue("__wf__detail14desc")%>'); setValue('__wf__detail15desc','<%=md.getWFDataValue("__wf__detail15desc")%>'); setValue('__wf__detail21desc','<%=md.getWFDataValue("__wf__detail21desc")%>'); setValue('__wf__detail22desc','<%=md.getWFDataValue("__wf__detail22desc")%>'); setValue('__wf__detail23desc','<%=md.getWFDataValue("__wf__detail23desc")%>'); setValue('__wf__detail24desc','<%=md.getWFDataValue("__wf__detail24desc")%>'); setValue('__wf__detail25desc','<%=md.getWFDataValue("__wf__detail25desc")%>'); setValue('__wf__detail31desc','<%=md.getWFDataValue("__wf__detail31desc")%>'); setValue('__wf__detail32desc','<%=md.getWFDataValue("__wf__detail32desc")%>'); setValue('__wf__detail33desc','<%=md.getWFDataValue("__wf__detail33desc")%>'); setValue('__wf__detail34desc','<%=md.getWFDataValue("__wf__detail34desc")%>'); setValue('__wf__detail35desc','<%=md.getWFDataValue("__wf__detail35desc")%>'); setValue('__wf__detail41desc','<%=md.getWFDataValue("__wf__detail41desc")%>'); setValue('__wf__detail42desc','<%=md.getWFDataValue("__wf__detail42desc")%>'); setValue('__wf__detail43desc','<%=md.getWFDataValue("__wf__detail43desc")%>'); setValue('__wf__detail44desc','<%=md.getWFDataValue("__wf__detail44desc")%>'); setValue('__wf__detail45desc','<%=md.getWFDataValue("__wf__detail45desc")%>'); setValue('__wf__detail51desc','<%=md.getWFDataValue("__wf__detail51desc")%>'); setValue('__wf__detail52desc','<%=md.getWFDataValue("__wf__detail52desc")%>'); setValue('__wf__detail53desc','<%=md.getWFDataValue("__wf__detail53desc")%>'); setValue('__wf__detail54desc','<%=md.getWFDataValue("__wf__detail54desc")%>'); setValue('__wf__detail55desc','<%=md.getWFDataValue("__wf__detail55desc")%>'); setValue('__wf__reqtype11','<%=md.getWFDataValue("__wf__reqtype11")%>'); setValue('__wf__unit11','<%=md.getWFDataValue("__wf__unit11")%>'); setValue('__wf__group11','<%=md.getWFDataValue("__wf__group11")%>'); setValue('__wf__amt11','<%=md.getWFDataValue("__wf__amt11")%>'); setValue('__wf__reqtype12','<%=md.getWFDataValue("__wf__reqtype12")%>'); setValue('__wf__unit12','<%=md.getWFDataValue("__wf__unit12")%>'); setValue('__wf__group12','<%=md.getWFDataValue("__wf__group12")%>'); setValue('__wf__amt12','<%=md.getWFDataValue("__wf__amt12")%>'); setValue('__wf__reqtype13','<%=md.getWFDataValue("__wf__reqtype13")%>'); setValue('__wf__unit13','<%=md.getWFDataValue("__wf__unit13")%>'); setValue('__wf__group13','<%=md.getWFDataValue("__wf__group13")%>'); setValue('__wf__amt13','<%=md.getWFDataValue("__wf__amt13")%>'); setValue('__wf__reqtype14','<%=md.getWFDataValue("__wf__reqtype14")%>'); setValue('__wf__unit14','<%=md.getWFDataValue("__wf__unit14")%>'); setValue('__wf__group14','<%=md.getWFDataValue("__wf__group14")%>'); setValue('__wf__amt14','<%=md.getWFDataValue("__wf__amt14")%>'); setValue('__wf__reqtype15','<%=md.getWFDataValue("__wf__reqtype15")%>'); setValue('__wf__unit15','<%=md.getWFDataValue("__wf__unit15")%>'); setValue('__wf__group15','<%=md.getWFDataValue("__wf__group15")%>'); setValue('__wf__amt15','<%=md.getWFDataValue("__wf__amt15")%>'); setValue('__wf__reqtype21','<%=md.getWFDataValue("__wf__reqtype21")%>'); setValue('__wf__unit21','<%=md.getWFDataValue("__wf__unit21")%>'); setValue('__wf__group21','<%=md.getWFDataValue("__wf__group21")%>'); setValue('__wf__amt21','<%=md.getWFDataValue("__wf__amt21")%>'); setValue('__wf__reqtype22','<%=md.getWFDataValue("__wf__reqtype22")%>'); setValue('__wf__unit22','<%=md.getWFDataValue("__wf__unit22")%>'); setValue('__wf__group22','<%=md.getWFDataValue("__wf__group22")%>'); setValue('__wf__amt22','<%=md.getWFDataValue("__wf__amt22")%>'); setValue('__wf__reqtype23','<%=md.getWFDataValue("__wf__reqtype23")%>'); setValue('__wf__unit23','<%=md.getWFDataValue("__wf__unit23")%>'); setValue('__wf__group23','<%=md.getWFDataValue("__wf__group23")%>'); setValue('__wf__amt23','<%=md.getWFDataValue("__wf__amt23")%>'); setValue('__wf__reqtype24','<%=md.getWFDataValue("__wf__reqtype24")%>'); setValue('__wf__unit24','<%=md.getWFDataValue("__wf__unit24")%>'); setValue('__wf__group24','<%=md.getWFDataValue("__wf__group24")%>'); setValue('__wf__amt24','<%=md.getWFDataValue("__wf__amt24")%>'); setValue('__wf__reqtype25','<%=md.getWFDataValue("__wf__reqtype25")%>'); setValue('__wf__unit25','<%=md.getWFDataValue("__wf__unit25")%>'); setValue('__wf__group25','<%=md.getWFDataValue("__wf__group25")%>'); setValue('__wf__amt25','<%=md.getWFDataValue("__wf__amt25")%>'); setValue('__wf__reqtype31','<%=md.getWFDataValue("__wf__reqtype31")%>'); setValue('__wf__unit31','<%=md.getWFDataValue("__wf__unit31")%>'); setValue('__wf__group31','<%=md.getWFDataValue("__wf__group31")%>'); setValue('__wf__amt31','<%=md.getWFDataValue("__wf__amt31")%>'); setValue('__wf__reqtype32','<%=md.getWFDataValue("__wf__reqtype32")%>'); setValue('__wf__unit32','<%=md.getWFDataValue("__wf__unit32")%>'); setValue('__wf__group32','<%=md.getWFDataValue("__wf__group3")%>'); setValue('__wf__amt32','<%=md.getWFDataValue("__wf__amt32")%>'); setValue('__wf__reqtype33','<%=md.getWFDataValue("__wf__reqtype33")%>'); setValue('__wf__unit33','<%=md.getWFDataValue("__wf__unit33")%>'); setValue('__wf__group33','<%=md.getWFDataValue("__wf__group33")%>'); setValue('__wf__amt33','<%=md.getWFDataValue("__wf__amt33")%>'); setValue('__wf__reqtype34','<%=md.getWFDataValue("__wf__reqtype34")%>'); setValue('__wf__unit34','<%=md.getWFDataValue("__wf__unit34")%>'); setValue('__wf__group34','<%=md.getWFDataValue("__wf__group34")%>'); setValue('__wf__amt34','<%=md.getWFDataValue("__wf__amt34")%>'); setValue('__wf__reqtype35','<%=md.getWFDataValue("__wf__reqtype35")%>'); setValue('__wf__unit35','<%=md.getWFDataValue("__wf__unit35")%>'); setValue('__wf__group35','<%=md.getWFDataValue("__wf__group35")%>'); setValue('__wf__amt35','<%=md.getWFDataValue("__wf__amt35")%>'); setValue('__wf__reqtype41','<%=md.getWFDataValue("__wf__reqtype41")%>'); setValue('__wf__unit41','<%=md.getWFDataValue("__wf__unit41")%>'); setValue('__wf__group41','<%=md.getWFDataValue("__wf__group41")%>'); setValue('__wf__amt41','<%=md.getWFDataValue("__wf__amt41")%>'); setValue('__wf__reqtype42','<%=md.getWFDataValue("__wf__reqtype42")%>'); setValue('__wf__unit42','<%=md.getWFDataValue("__wf__unit42")%>'); setValue('__wf__group42','<%=md.getWFDataValue("__wf__group42")%>'); setValue('__wf__amt42','<%=md.getWFDataValue("__wf__amt42")%>'); setValue('__wf__reqtype43','<%=md.getWFDataValue("__wf__reqtype43")%>'); setValue('__wf__unit43','<%=md.getWFDataValue("__wf__unit43")%>'); setValue('__wf__group43','<%=md.getWFDataValue("__wf__group43")%>'); setValue('__wf__amt43','<%=md.getWFDataValue("__wf__amt43")%>'); setValue('__wf__reqtype44','<%=md.getWFDataValue("__wf__reqtype44")%>'); setValue('__wf__unit44','<%=md.getWFDataValue("__wf__unit44")%>'); setValue('__wf__group44','<%=md.getWFDataValue("__wf__group44")%>'); setValue('__wf__amt44','<%=md.getWFDataValue("__wf__amt44")%>'); setValue('__wf__reqtype45','<%=md.getWFDataValue("__wf__reqtype45")%>'); setValue('__wf__unit45','<%=md.getWFDataValue("__wf__unit45")%>'); setValue('__wf__group45','<%=md.getWFDataValue("__wf__group45")%>'); setValue('__wf__amt45','<%=md.getWFDataValue("__wf__amt45")%>'); setValue('__wf__reqtype51','<%=md.getWFDataValue("__wf__reqtype51")%>'); setValue('__wf__unit51','<%=md.getWFDataValue("__wf__unit51")%>'); setValue('__wf__group51','<%=md.getWFDataValue("__wf__group51")%>'); setValue('__wf__amt51','<%=md.getWFDataValue("__wf__amt51")%>'); setValue('__wf__reqtype52','<%=md.getWFDataValue("__wf__reqtype52")%>'); setValue('__wf__unit52','<%=md.getWFDataValue("__wf__unit52")%>'); setValue('__wf__group52','<%=md.getWFDataValue("__wf__group52")%>'); setValue('__wf__amt52','<%=md.getWFDataValue("__wf__amt52")%>'); setValue('__wf__reqtype53','<%=md.getWFDataValue("__wf__reqtype53")%>'); setValue('__wf__unit53','<%=md.getWFDataValue("__wf__unit53")%>'); setValue('__wf__group53','<%=md.getWFDataValue("__wf__group53")%>'); setValue('__wf__amt53','<%=md.getWFDataValue("__wf__amt53")%>'); setValue('__wf__reqtype54','<%=md.getWFDataValue("__wf__reqtype54")%>'); setValue('__wf__unit54','<%=md.getWFDataValue("__wf__unit54")%>'); setValue('__wf__group54','<%=md.getWFDataValue("__wf__group54")%>'); setValue('__wf__amt54','<%=md.getWFDataValue("__wf__amt54")%>'); setValue('__wf__reqtype55','<%=md.getWFDataValue("__wf__reqtype55")%>'); setValue('__wf__unit55','<%=md.getWFDataValue("__wf__unit55")%>'); setValue('__wf__group55','<%=md.getWFDataValue("__wf__group55")%>'); setValue('__wf__amt55','<%=md.getWFDataValue("__wf__amt55")%>'); setValue('__wf__unitdesc11','<%=md.getWFDataValue("__wf__unitdesc11")%>'); setValue('__wf__unitdesc21','<%=md.getWFDataValue("__wf__unitdesc21")%>'); setValue('__wf__unitdesc31','<%=md.getWFDataValue("__wf__unitdesc31")%>'); setValue('__wf__unitdesc41','<%=md.getWFDataValue("__wf__unitdesc41")%>'); setValue('__wf__unitdesc51','<%=md.getWFDataValue("__wf__unitdesc51")%>'); setValue('__wf__unitdesc12','<%=md.getWFDataValue("__wf__unitdesc12")%>'); setValue('__wf__unitdesc22','<%=md.getWFDataValue("__wf__unitdesc22")%>'); setValue('__wf__unitdesc32','<%=md.getWFDataValue("__wf__unitdesc32")%>'); setValue('__wf__unitdesc42','<%=md.getWFDataValue("__wf__unitdesc42")%>'); setValue('__wf__unitdesc52','<%=md.getWFDataValue("__wf__unitdesc52")%>'); setValue('__wf__unitdesc13','<%=md.getWFDataValue("__wf__unitdesc13")%>'); setValue('__wf__unitdesc23','<%=md.getWFDataValue("__wf__unitdesc23")%>'); setValue('__wf__unitdesc33','<%=md.getWFDataValue("__wf__unitdesc33")%>'); setValue('__wf__unitdesc43','<%=md.getWFDataValue("__wf__unitdesc43")%>'); setValue('__wf__unitdesc53','<%=md.getWFDataValue("__wf__unitdesc53")%>'); setValue('__wf__unitdesc14','<%=md.getWFDataValue("__wf__unitdesc14")%>'); setValue('__wf__unitdesc24','<%=md.getWFDataValue("__wf__unitdesc24")%>'); setValue('__wf__unitdesc34','<%=md.getWFDataValue("__wf__unitdesc34")%>'); setValue('__wf__unitdesc44','<%=md.getWFDataValue("__wf__unitdesc44")%>'); setValue('__wf__unitdesc54','<%=md.getWFDataValue("__wf__unitdesc54")%>'); setValue('__wf__unitdesc15','<%=md.getWFDataValue("__wf__unitdesc15")%>'); setValue('__wf__unitdesc25','<%=md.getWFDataValue("__wf__unitdesc25")%>'); setValue('__wf__unitdesc35','<%=md.getWFDataValue("__wf__unitdesc35")%>'); setValue('__wf__unitdesc45','<%=md.getWFDataValue("__wf__unitdesc45")%>'); setValue('__wf__unitdesc55','<%=md.getWFDataValue("__wf__unitdesc55")%>'); setValue('__wf__reqtype11','<%=md.getWFDataValue("__wf__reqtype11")%>'); setValue('__wf__reqtype21','<%=md.getWFDataValue("__wf__reqtype21")%>'); setValue('__wf__reqtype31','<%=md.getWFDataValue("__wf__reqtype31")%>'); setValue('__wf__reqtype41','<%=md.getWFDataValue("__wf__reqtype41")%>'); setValue('__wf__reqtype51','<%=md.getWFDataValue("__wf__reqtype51")%>'); setValue('__wf__reqtype12','<%=md.getWFDataValue("__wf__reqtype12")%>'); setValue('__wf__reqtype22','<%=md.getWFDataValue("__wf__reqtype22")%>'); setValue('__wf__reqtype32','<%=md.getWFDataValue("__wf__reqtype32")%>'); setValue('__wf__reqtype42','<%=md.getWFDataValue("__wf__reqtype42")%>'); setValue('__wf__reqtype52','<%=md.getWFDataValue("__wf__reqtype52")%>'); setValue('__wf__reqtype13','<%=md.getWFDataValue("__wf__reqtype13")%>'); setValue('__wf__reqtype23','<%=md.getWFDataValue("__wf__reqtype23")%>'); setValue('__wf__reqtype33','<%=md.getWFDataValue("__wf__reqtype33")%>'); setValue('__wf__reqtype43','<%=md.getWFDataValue("__wf__reqtype43")%>'); setValue('__wf__reqtype53','<%=md.getWFDataValue("__wf__reqtype53")%>'); setValue('__wf__reqtype14','<%=md.getWFDataValue("__wf__reqtype14")%>'); setValue('__wf__reqtype24','<%=md.getWFDataValue("__wf__reqtype24")%>'); setValue('__wf__reqtype34','<%=md.getWFDataValue("__wf__reqtype34")%>'); setValue('__wf__reqtype44','<%=md.getWFDataValue("__wf__reqtype44")%>'); setValue('__wf__reqtype54','<%=md.getWFDataValue("__wf__reqtype54")%>'); setValue('__wf__reqtype15','<%=md.getWFDataValue("__wf__reqtype15")%>'); setValue('__wf__reqtype25','<%=md.getWFDataValue("__wf__reqtype25")%>'); setValue('__wf__reqtype35','<%=md.getWFDataValue("__wf__reqtype35")%>'); setValue('__wf__reqtype45','<%=md.getWFDataValue("__wf__reqtype45")%>'); setValue('__wf__reqtype55','<%=md.getWFDataValue("__wf__reqtype55")%>'); showcol(<%= md.getWFDataValue("__wf__addval") %>); var adval = parseInt('<%= md.getWFDataValue("__wf__addval") %>'); // alert(adval); if(adval !=""){ if(adval>=1) showtcol('1','<%= md.getWFDataValue("__wf__at1") %>'); if(adval>=2) showtcol('2','<%= md.getWFDataValue("__wf__at2") %>'); if(adval>=3) showtcol('3','<%= md.getWFDataValue("__wf__at3") %>'); if(adval>=4) showtcol('4','<%= md.getWFDataValue("__wf__at4") %>'); if(adval>=5) showtcol('5','<%= md.getWFDataValue("__wf__at5") %>'); } } setTimeout("setGrandtotal();",500); </SCRIPT> <% } } %>