12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- SMPAE00101_KU일일마감관리.xrw
-
- 2013.07.30 / 최초작성 / 서원식
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>일일마감관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <endinfo>
- <endinfolist>
- <cashamt/>
- <cardamt/>
- <onlineamt/>
- <uncoamt/>
- <ocashamt/>
- <ocardamt/>
- <oonlineamt/>
- <icashamt/>
- <icardamt/>
- <ionlineamt/>
- <bogjdcashamt/>
- <bogjdcardamt/>
- <bogjdonlineamt/>
- <bogjdreplamt/>
- <bogjrcashamt/>
- <bogjrcardamt/>
- <bogjronlineamt/>
- <bogjrreplamt/>
- <bldcuamt/>
- <bloddiscamt/>
- <carduamt/>
- <carddcamt/>
- <heallifeamtclamamt/>
- <heallifeuamt/>
- <pregdmndamt/>
- <preguamt/>
- <clamuamt/>
- <clamnamt/>
- <cvapuamt/>
- <cmpyuamt/>
- <cmpycashamt/>
- <cmpycardamt/>
- <cmpyonlineamt/>
- <insuuamt/>
- <insuonlineamt/>
- <uncouamt/>
- <uncocashamt/>
- <uncocardamt/>
- <uncoonlineamt/>
- <uncodebtamt/>
- <uncoaprvamt/>
- <ptuncashamt/>
- <ptuncardamt/>
- <ptunonlineamt/>
- <kpamamt/>
- <kpamdamt/>
- <taxamt/>
- <discamt/>
- <reduamt/>
- <aprv3/>
- <aprv4/>
- </endinfolist>
- <rcptmagmlist/>
- <cntlist>
- <cntinfo/>
- </cntlist>
- <errlist>
- <errinfo/>
- <rcptrid/>
- <worktype/>
- </errlist>
- </endinfo>
- </main>
- <send>
- <search>
- <enddd/>
- <endid/>
- <pamid/>
- <worktype/>
- <rcpttype/>
- <gubun/>
- <acpttype/>
- <remark/>
- <hiflag/>
- <rcptposcd/>
- </search>
- <memo>
- <enddd/>
- <jobflag/>
- <magmtype>H</magmtype>
- <memo/>
- </memo>
- </send>
- <init>
- <rcptrinfo/>
- <worktypelist/>
- </init>
- <hidden>
- <stafflist>
- <staffinfo/>
- </stafflist>
- <suminfo/>
- <errinfo>
- <rcptrid/>
- <worktype/>
- </errinfo>
- <cntinfo>
- <rcptcnt/>
- <errcnt/>
- <magmcnt/>
- <aprvcnt/>
- <magmrcptcnt/>
- </cntinfo>
- <memoinfo>
- <memo/>
- </memoinfo>
- <rcptposlist>
- <rcptposinfo>
- <cd/>
- <nm/>
- </rcptposinfo>
- </rcptposlist>
- </hidden>
- <temp>
- <endinfo>
- <endinfolist/>
- </endinfo>
- </temp>
- <rex/>
- </root>
- </instance>
- <submission id="TRPAO00000" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPAE00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/rex/prtinfo"/>
- <submission id="TRPAE00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/suminfo"/>
- <submission id="TRPAE00109" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/stafflist/staffinfo"/>
- <submission id="TRPAE00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/memo" resultref="/root/hidden/memoinfo"/>
- <submission id="TXPAE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- <submission id="TXPAE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/memo" resultref="/root/hidden/memoinfo"/>
- <submission id="TRPAE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/endinfo"/>
- <submission id="TXPAE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- btn_xlserr.attribute("top") = "245";
-
- var enddd = getCurrentDate().toDate().getAddDate(-1).getDateFormat();
-
- model.setValue("/root/send/search/enddd", enddd);
- ipt_enddd.refresh();
-
- fGetStaffKind();
-
- cap_aprv3nm.value = APRV3_NM;
- cap_aprv4nm.value = APRV4_NM;
-
- // 부서장 결재 및 결재 취소 버튼 Visible 설정
- if (STAFFKIND != "") {
-
- btn_compare.visible = true;
- btn_prtmagm.visible = true;
- btn_prtlist.visible = true;
-
- btn_aprv2.visible = true;
- btn_aprv2_cncl.visible = true;
-
- if (STAFFKIND == "3") {
-
- btn_aprv3.disabled = false;
- btn_aprv3_cncl.disabled = false;
-
- } else if (STAFFKIND == "4" || STAFFKIND == "A") {
-
- btn_aprv3.disabled = false;
- btn_aprv3_cncl.disabled = false;
- btn_aprv4.disabled = false;
- btn_aprv4_cncl.disabled = false;
-
- }
- }
-
- addComboItem("cmb_rcptrid", "전체", "all", "above");
- addComboItem("cmb_worktype", "전체", "all", "above");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- var STAFFKIND = "";
- var APRV3_NM = "";
- var APRV4_NM = "";
-
- function fSetEndAcpt(enddd, endid, gubun, aprvstat, aprvstr) {
- var acpttype = "";
-
- if (aprvstat == "" || aprvstat == "미결") {
- acpttype = "aprv";
-
- if (messageBox(aprvstr + "를 하시겠습니까?", "Q000", "") != 6 ) {
- return false;
- }
- } else {
- acpttype = "cncl";
-
- if (messageBox(aprvstr + "를 취소 하시겠습니까?", "Q000", "") != 6 ) {
- return false;
- }
- }
-
- model.setValue("/root/send/search/enddd" , enddd);
- model.setValue("/root/send/search/endid" , endid);
- model.setValue("/root/send/search/gubun" , gubun);
- model.setValue("/root/send/search/acpttype" , acpttype);
-
- if (submit("TXPAE00102")) {
- btn_search.dispatch("DOMActivate");
- }
- }
-
- function fSetEndTotAcpt(gubun, acpttype){
- var enddd = grd_rcptlist.valueMatrix(1, grd_rcptlist.colRef("rcptexecdd"));
- if(acpttype == "aprv"){
- if(messageBox("결재 하시겠습니까?", "Q000", "") != 6 ){
- return false;
- }
- }else if(acpttype == "cncl"){
- if(messageBox("결재를 취소 하시겠습니까?", "Q000", "") != 6 ){
- return false;
- }
- }
-
- model.setValue("/root/send/search/enddd", enddd);
- model.setValue("/root/send/search/gubun", gubun);
- model.setValue("/root/send/search/acpttype", acpttype);
-
- if(submit("TXPAE00201")){
- btn_search.dispatch("DOMActivate");
- }
- }
-
-
- /*
- * 총계를 생성
- */
- function fSetDetAmtSum(){
- grd_rcptlist.subtotalPosition = "below";
-
- grd_rcptlist.subtotal("clear", 0, 0, "", "", 0, "");
- for(var i=0; i < grd_rcptlist.cols; i++){
- if(i >=grd_rcptlist.colRef("cashamt") && i<=grd_rcptlist.colRef("onlineamt")){
- grd_rcptlist.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold; text-align:right", 0, "총계" );
- }
- }
- }
-
- /*
- * 수납내역 상세조회
- */
- function fGetRcptdetinfo(grdtype){
- var worktype = "";
- var rcpttype = "";
-
- if(grdtype == "grd_rcptlist"){
- worktype = "all";
- rcpttype = grd_rcptlist.colAttribute(grd_rcptlist.col, "ref");
- }else{
- if(grd_endlist.colAttribute(grd_endlist.col, "ref") == "execnt"){
- worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
- rcpttype = "all";
- }else{
- worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
- rcpttype = grd_endlist.colAttribute(grd_endlist.col, "ref");
- }
- }
- model.setValue("/root/send/search/worktype", worktype);
- model.setValue("/root/send/search/rcpttype", rcpttype);
-
- if(submit("TRPAE00102")){
- fSetDetAmtSum(); //총계를 생성
- model.toggle("case2");
- button2.selected = true;
- }
- }
-
- /*
- * 오류내역 조회
- */
- function fGetErrinfo(){
- var worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
- model.setValue("/root/send/search/worktype", worktype);
- submit("TRPAE00103");
- }
-
- function fGetStaffKind() {
-
- submit("TRPAE00109", false);
-
- var cnt = instance1.selectNodes("/root/hidden/stafflist/staffinfo").length;
- for (var i = 1; i <= cnt; i++) {
-
- var stid = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffid");
- var stkind = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffkind");
-
- if (stid == getUserId()) {
- STAFFKIND = stkind;
- } else if (stid == "nm") {
- if (stkind == "3") {
- APRV3_NM = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffnm");
- } else if (stkind == "4") {
- APRV4_NM = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffnm");
- }
- }
- }
-
- if (getUserId() == "PAM") {
- STAFFKIND = "A";
- }
- }
-
- function fSetErrControl(show) {
-
- var val = show ? 595 : 0;
-
- grd_rcptlist.attribute("width") = String(1195 - val);
- line_magm.attribute("x2") = String(1195 - val);
- btn_excsave.attribute("left") = String(1153 - val);
-
- cap_err.visible = show;
- line_err.visible = show;
- btn_errclose.visible = show;
- grd_errlist.visible = show;
- btn_xlserr.visible = show;
- cmb_rcptrid.visible = show;
- cmb_worktype.visible = show;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-size:12pt; text-align:left; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:15px; ">일일 마감관리</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:360px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="15" style="left:285px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 메모 조회
- model.setValue("/root/send/memo/enddd", model.getValue("/root/send/search/enddd"));
- submit("TRPAE00116");
- if (instance1.selectNodes("/root/hidden/memoinfo").length < 1) {
- model.makeValue("/root/hidden/memoinfo/memo", "");
- }
- if (model.getValue("/root/hidden/memoinfo/memo") == "") {
- btn_memo.visible = true;
- } else {
- btn_memo.visible = false;
- }
-
- img_memo.hint = model.getValue("/root/hidden/memoinfo/memo");
-
- grd_rcptlist.rebuildStyle();
- cap_magmcnt.attribute("background-color") = "#ffffff";
- cap_magmcnt.attribute("color") = "";
- cap_magmcnt.attribute("font-weight") = "";
-
- cap_aprvcnt.attribute("background-color") = "#ffffff";
- cap_aprvcnt.attribute("color") = "";
- cap_aprvcnt.attribute("font-weight") = "";
-
- cap_magmrcptcnt.attribute("background-color") = "#ffffff";
- cap_magmrcptcnt.attribute("font-weight") = "";
-
- fSetErrControl(false);
-
- var path = "/root/main/endinfo/rcptmagmlist";
-
- if (submit("TRPAE00201", false)) {
-
- addComboItem("cmb_rcptrid", "전체", "all", "above");
- addComboItem("cmb_worktype", "전체", "all", "above");
-
- model.setValue("/root/hidden/errinfo/rcptrid", "all");
- model.setValue("/root/hidden/errinfo/worktype", "all");
-
- model.refresh();
- grd_rcptlist.rebuild();
- grd_errlist.rebuild();
-
- var cnt_tot = 0;
- var cnt_rcpt = 0;
- var cnt_magm = 0;
- var cnt_aprv = 0;
- var cnt_magmrcpt = 0;
- var cnt_toterr = 0;
-
- var errflag = "";
- var errstr = "";
-
- var cnt = instance1.selectNodes(path).length;
-
- model.removeNode("/root/hidden/rcptposlist");
- var posPath = "/root/hidden/rcptposlist/rcptposinfo";
-
- for (var i = 1; i <= cnt; i++) {
-
- var rcptrid = model.getValue(path + "[" + i + "]/rcptrid");
-
- if (rcptrid == "") {
-
- var rcptrnm = model.getValue(path + "[" + i + "]/rcptrnm");
-
- if (rcptrnm == "합계") {
-
- cnt_rcpt = model.getValue(path + "[" + i + "]/rcptcnt");
- cnt_aprv = model.getValue(path + "[" + i + "]/aprvcnt");
- cnt_toterr = model.getValue(path + "[" + i + "]/errcnt");
-
- grd_rcptlist.rowStyle(i, "all", "background-color") = "#ffffa0";
- grd_rcptlist.rowStyle(i, "all", "font-weight") = "bold";
-
- } else if (rcptrnm == "소계") {
-
- grd_rcptlist.rowStyle(i, "all", "background-color") = "#ffffd7";
- grd_rcptlist.rowStyle(i, "all", "font-weight") = "bold";
- }
-
- var rcptposcd = model.getValue(path + "[" + i + "]/rcptposcd");
-
- if (instance1.selectNodes(posPath + "[cd='" + rcptposcd + "']").length < 1) {
-
- var idx = instance1.selectNodes(posPath).length + 1;
- model.makeValue(posPath + "[" + idx + "]/cd", rcptposcd);
- model.makeValue(posPath + "[" + idx + "]/nm", model.getValue(path + "[" + i + "]/rcptpos"));
- }
-
- continue;
- }
-
- cnt_magm++;
- cnt_tot++;
-
- // 자동 수납 행 표시
- if (model.getValue(path + "[" + i + "]/autoflag") == "Y") {
- grd_rcptlist.rowStyle(i, "all", "background-color") = "#f0f0ff";
- }
-
- errflag = model.getValue(path + "[" + i + "]/errflag");
- errstr = model.getValue(path + "[" + i + "]/errstr");
-
- if (errflag == "M" || errflag == "R") { // 마감 내역 없음 or 마감 후 수납 내역 있음
-
- model.setValue(path + "[" + i + "]/cashamt", errstr);
-
- grd_rcptlist.mergeByFree(i, grd_rcptlist.colRef("cashamt"), i, grd_rcptlist.cols - 1);
- grd_rcptlist.cellStyle("font-weight", i, grd_rcptlist.colRef("rcptrnm"), i, grd_rcptlist.cols - 1) = "bold";
- grd_rcptlist.cellStyle("text-align", i, grd_rcptlist.colRef("cashamt")) = "left";
- grd_rcptlist.cellStyle("padding-left", i, grd_rcptlist.colRef("cashamt")) = "5";
-
- if (errflag == "M") {
-
- cnt_magm--;
-
- grd_rcptlist.cellStyle("background-color", i, grd_rcptlist.colRef("rcptrnm"), i, grd_rcptlist.cols - 1) = "#ffffbe";
- grd_rcptlist.cellStyle("color", i, grd_rcptlist.colRef("rcptrnm"), i, grd_rcptlist.cols - 1) = "red";
- } else {
-
- cnt_magmrcpt++;
-
- hasCntErr = true;
-
- grd_rcptlist.rowStyle(i, "all", "background-color") = "#ffa0a0";
- }
-
- } else if (errflag == "A") { // 미결
-
- model.setValue(path + "[" + i + "]/aprv1", errstr);
-
- grd_rcptlist.cellStyle("background-color", i, grd_rcptlist.colRef("aprv1"), i, grd_rcptlist.colRef("rcptrnm")) = "#ffffbe";
- grd_rcptlist.cellStyle("color", i, grd_rcptlist.colRef("aprv1"), i, grd_rcptlist.colRef("rcptrnm")) = "blue";
- grd_rcptlist.cellStyle("font-weight", i, grd_rcptlist.colRef("aprv1"), i, grd_rcptlist.colRef("rcptrnm")) = "bold";
- grd_rcptlist.cellStyle("text-align", i, grd_rcptlist.colRef("aprv1")) = "center";
- }
- }
-
- model.setValue("/root/send/search/rcptposcd", "00");
- cmb_rcptpos.refresh();
-
- model.setValue("/root/hidden/cntinfo/rcptcnt", cnt_rcpt);
- model.setValue("/root/hidden/cntinfo/errcnt", cnt_toterr);
- model.setValue("/root/hidden/cntinfo/magmcnt", cnt_magm + " / " + cnt_tot);
- model.setValue("/root/hidden/cntinfo/aprvcnt", cnt_aprv + " / " + cnt_tot);
- model.setValue("/root/hidden/cntinfo/magmrcptcnt", cnt_magmrcpt + " / " + cnt_tot);
-
- cap_magmcnt.refresh();
- cap_aprvcnt.refresh();
- cap_magmrcptcnt.refresh();
-
- if (cnt_magm < cnt_tot) {
- cap_magmcnt.attribute("color") = "red";
- cap_magmcnt.attribute("background-color") = "#ffffbe";
- cap_magmcnt.attribute("font-weight") = "bold";
- }
-
- if (cnt_aprv < cnt_tot) {
- cap_aprvcnt.attribute("color") = "blue";
- cap_aprvcnt.attribute("background-color") = "#ffffbe";
- cap_aprvcnt.attribute("font-weight") = "bold";
- }
-
- if (cnt_magmrcpt > 0) {
- cap_magmrcptcnt.attribute("background-color") = "#ffa0a0";
- cap_magmrcptcnt.attribute("font-weight") = "bold";
- }
-
- if (cnt_magmrcpt > 0) {
- messageBox("[ " + cnt_magmrcpt + " ] 건의 마감 후 수납건이 있습니다.", "E999");
- }
-
- // 마감 합계 정보 복사해 두기 (수납위치별 별도 조회를 위함)
- model.removenode("/root/temp/endinfo");
- model.makeNode("/root/temp/endinfo");
-
- cnt = instance1.selectNodes("/root/main/endinfo/endinfolist").length;
- for (var i = 1; i <= cnt; i++) {
- model.duplicate("/root/temp/endinfo", "/root/main/endinfo/endinfolist[" + i + "]");
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption35" class="search_name" style="left:5px; top:32px; width:90px; height:17px; ">조회일자 :</caption>
- <input id="ipt_enddd" ref="/root/send/search/enddd" navindex="6" inputtype="date" style="left:97px; top:31px; width:95px; height:19px; "/>
- <line id="line14" class="line_4" style="x1:266px; y1:28px; x2:266px; y2:53px; font-family:돋움체; border-color:#ffd799; "/>
- <table id="tb_mgsm" cellspacing="-1" style="left:0px; top:65px; width:1195px; height:193px; text-align:right; vertical-align:middle; border-color:#ffffff; ">
- <tr>
- <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cashamt" ref="/root/main/endinfo/endinfolist/cashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; font-weight:bold; text-align:right; padding-right:4; padding-bottom:2; background-color:#ffffd7; "/>
- </td>
- <td colspan="2" style="width:66px; height:23px; background-color:#cce8ff; ">미수발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncouamt" ref="/root/main/endinfo/endinfolist/uncouamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
- <![CDATA[청구
- 미수]]>
- </td>
- <td style="width:60px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_insuuamt" ref="/root/main/endinfo/endinfolist/insuuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="4" style="width:38px; height:92px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[외래
- 선수금]]>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjdcashamt" ref="/root/main/endinfo/endinfolist/bogjdcashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="4" style="width:38px; height:92px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[가정
- 간호
- 선수금]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjrcashamt" ref="/root/main/endinfo/endinfolist/bogjrcashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
- <![CDATA[수혈
- 보상
- 액]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bloddiscamt" ref="/root/main/endinfo/endinfolist/bloddiscamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">건유비</td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_heallifeamtclamamt" ref="/root/main/endinfo/endinfolist/heallifeamtclamamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cardamt" ref="/root/main/endinfo/endinfolist/cardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; font-weight:bold; text-align:right; padding-right:4; padding-bottom:2; background-color:#ffffd7; "/>
- </td>
- <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[미수
- 입금]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncocashamt" ref="/root/main/endinfo/endinfolist/uncocashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:60px; height:23px; background-color:#e6f5ff; ">입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_insuonlineamt" ref="/root/main/endinfo/endinfolist/insuonlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjdcardamt" ref="/root/main/endinfo/endinfolist/bogjdcardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjrcardamt" ref="/root/main/endinfo/endinfolist/bogjrcardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bldcuamt" ref="/root/main/endinfo/endinfolist/bldcuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_heallifeuamt" ref="/root/main/endinfo/endinfolist/heallifeuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_onlineamt" ref="/root/main/endinfo/endinfolist/onlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; font-weight:bold; text-align:right; padding-right:4; padding-bottom:2; background-color:#ffffd7; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncocardamt" ref="/root/main/endinfo/endinfolist/uncocardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">미수대손처리</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncodebtamt" ref="/root/main/endinfo/endinfolist/uncodebtamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjdonlineamt" ref="/root/main/endinfo/endinfolist/bogjdonlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjronlineamt" ref="/root/main/endinfo/endinfolist/bogjronlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[카드
- 입금]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">금액</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_carduamt" ref="/root/main/endinfo/endinfolist/carduamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
- <![CDATA[산전
- 지원비]]>
- </td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_pregdmndamt" ref="/root/main/endinfo/endinfolist/pregdmndamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">미수</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncoamt" ref="/root/main/endinfo/endinfolist/uncoamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; font-weight:bold; text-align:right; padding-right:4; padding-bottom:2; background-color:#ffffd7; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncoonlineamt" ref="/root/main/endinfo/endinfolist/uncoonlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">미수승인미수처리</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_uncoaprvamt" ref="/root/main/endinfo/endinfolist/uncoaprvamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">대체</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjdreplamt" ref="/root/main/endinfo/endinfolist/bogjdreplamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">대체</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_bogjrreplamt" ref="/root/main/endinfo/endinfolist/bogjrreplamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">수수료</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_carddcamt" ref="/root/main/endinfo/endinfolist/carddcamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_preguamt" ref="/root/main/endinfo/endinfolist/preguamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; border-color:#d4d0c8; ">
- <![CDATA[외래
- 수납]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; border-color:#d4d0c8; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ocashamt" ref="/root/main/endinfo/endinfolist/ocashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[입원
- 수납]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_icashamt" ref="/root/main/endinfo/endinfolist/icashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
- <![CDATA[장기
- 요양
- 소견서]]>
- </td>
- <td style="width:60px; height:23px; background-color:#e6f5ff; ">청구</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_clamuamt" ref="/root/main/endinfo/endinfolist/clamnamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="3" style="width:38px; height:69px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[사업체
- 미수]]>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cmpyuamt" ref="/root/main/endinfo/endinfolist/cmpyuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="3" style="width:38px; height:69px; line-spacing:3; background-color:#cce8ff; ">
- <![CDATA[독촉
- 미수
- 입금]]>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ptuncashamt" ref="/root/main/endinfo/endinfolist/ptuncashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">부가가치세</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_taxamt" ref="/root/main/endinfo/endinfolist/taxamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">보관금</td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_kpamamt" ref="/root/main/endinfo/endinfolist/kpamamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td style="width:38px; height:23px; background-color:#e6f5ff; border-color:#d4d0c8; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ocardamt" ref="/root/main/endinfo/endinfolist/ocardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_icardamt" ref="/root/main/endinfo/endinfolist/icardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:60px; height:23px; background-color:#e6f5ff; ">미수입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_clamnamt" ref="/root/main/endinfo/endinfolist/clamuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">현금입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cmpycashamt" ref="/root/main/endinfo/endinfolist/cmpycashamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ptuncardamt" ref="/root/main/endinfo/endinfolist/ptuncardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">할인금액</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_discamt" ref="/root/main/endinfo/endinfolist/discamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:28px; height:23px; background-color:#e6f5ff; ">환불</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_kpamdamt" ref="/root/main/endinfo/endinfolist/kpamdamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- </tr>
- <tr>
- <td style="width:38px; height:23px; background-color:#e6f5ff; border-style:none; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_oonlineamt" ref="/root/main/endinfo/endinfolist/oonlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ionlineamt" ref="/root/main/endinfo/endinfolist/ionlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">민원입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cvapuamt" ref="/root/main/endinfo/endinfolist/cvapuamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:50px; height:23px; background-color:#e6f5ff; ">카드입금</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_cmpycardamt" ref="/root/main/endinfo/endinfolist/cmpycardamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_ptunonlineamt" ref="/root/main/endinfo/endinfolist/ptunonlineamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">감액</td>
- <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
- <caption id="cap_reduamt" ref="/root/main/endinfo/endinfolist/reduamt" format="(-)#,###" style="left:0px; top:0px; width:89px; height:23px; text-align:right; padding-right:4; padding-bottom:2; "/>
- </td>
- <td colspan="3" style="width:157px; height:23px; "/>
- </tr>
- </table>
- <line id="line1" style="x1:0px; y1:64px; x2:1195px; y2:64px; text-align:right; border-color:#b0b0b0; "/>
- <line id="line2" style="x1:0px; y1:234px; x2:1034px; y2:234px; border-color:#b0b0b0; "/>
- <caption id="caption77" class="tit_2" style="left:0px; top:250px; width:144px; height:13px; ">수납자별 마감내역</caption>
- <button id="btn_excsave" class="btn2_letter2" style="left:1110px; top:245px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = model.getValue("/root/send/search/enddd");
- var file = window.fileDialog("save", "", "false", "수납자별 마감내역_" + today, "xls", "Excel Files(*.xls)|*.xls");
- grd_rcptlist.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="btn_aprv2" class="btn4_letter8" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:912px; top:750px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>담당자 전체 결재</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_rcptlist.rows > 0){
- var cnt = instance1.selectNodes("/root/main/endinfo/rcptmagmlist").length;
-
- for (var i = 1; i <= cnt; i++) {
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/magmflag") == "N") {
- messageBox("마감 내역이 없는 수납자가 있습니다.", "E999");
- return;
- }
-
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/aprv1") == "미결") {
- messageBox("결제하지 않은 수납자가 있습니다.", "E999");
- return;
- }
- }
-
- if (model.getValue("/root/main/endinfo/endinfolist/aprv3").length > 0) {
- messageBox(APRV3_NM + "이 결재한 내역이 있습니다.", "E999");
- return;
- }
-
- fSetEndTotAcpt("approvalid_2", "aprv");
- }
- ]]>
- </script>
- </button>
- <button id="btn_aprv2_cncl" class="btn4_letter10" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1044px; top:750px; width:152px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>담당자 전체 결재 취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_rcptlist.rows > 0){
- var cnt = instance1.selectNodes("/root/main/endinfo/rcptmagmlist").length;
-
- if (model.getValue("/root/main/endinfo/endinfolist/aprv3").length > 0) {
- messageBox(APRV3_NM + "이 결재한 내역이 있습니다.", "E999");
- return;
- }
-
- fSetEndTotAcpt("approvalid_2", "cncl");
- }
- ]]>
- </script>
- </button>
- <line id="line_magm" class="line_1" style="x1:0px; y1:265px; x2:1195px; y2:265px; "/>
- <datagrid id="grd_rcptlist" nodeset="/root/main/endinfo/rcptmagmlist" backcoloralternate="transparent" caption="No^수납수행일자^수납자ID^마감예외여부^부서장 결재^담당자 결재^수납자 결제^수납자^수납위치^수납^마감^오류^errflag^errstr^현금금액^카드금액^온라인금액^미수금액^외래수납(현금)^외래수납(카드)^외래수납(온라인)^입원수납(현금)^입원수납(카드)^입원수납(온라인)^외래선수금(현금)^외래선수금(카드)^외래선수금(통장)^외래선수금(대체)^가정간호선수금(현금)^가정간호선수금(카드)^가정간호선수금(통장)^가정간호선수금(대체)^수혈보상액입금액^수혈보상액발생액^카드입금금액^카드입금수수료^건유비발생^건유비입금^산전지원비발생^산전지원비입금^장기요양소견서청구미수입금^장기요양소견서청구액^민원입금^사업체발생^사업체입금(현금)^사업체입금(카드)^사업체입금(통장)^청구미수발생^청구미수입금^미수발생^미수입금(현금)^미수입금(카드)^미수입금(통장)^미수대손처리^미수승인미수처리^독촉미수현금입금액^독촉미수카드입금액^독촉미수통장입금액^보관금발생^보관금환불^부가가치세^할인금액^감액^수납자마감^수납자마감시간^담당자마감^담당자마감시간^팀장마감^팀장마감시간^부서장마감^부저장마감시간^최초등록자^최초등록일시^최종수정자^최종수정일시^비고" colsep="^" colwidth="25, 0, 0, 0, 0, 165, 150, 60, 60, 45, 45, 40, 0, 0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" fixedcols="1" frozencols="7" rowsep="|" style="left:0px; top:270px; width:1195px; height:475px; text-align:center; ">
- <col ref="rk"/>
- <col ref="rcptexecdd"/>
- <col ref="rcptrid"/>
- <col ref="autoflag"/>
- <col ref="aprv3"/>
- <col editable="false" ref="aprv2" type="inputbutton" style="text-align:left; "/>
- <col ref="aprv1" style="text-align:left; "/>
- <col ref="rcptrnm"/>
- <col ref="rcptpos"/>
- <col ref="rcptcnt" style="text-align:center; "/>
- <col ref="magmcnt" style="text-align:center; "/>
- <col ref="errcnt" visibility="hidden" style="text-align:center; "/>
- <col ref="errflag"/>
- <col ref="errstr"/>
- <col ref="cashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="onlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ocashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ocardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="oonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="icashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="icardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ionlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjdcashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjdcardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjdonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjdreplamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjrcashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjrcardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjronlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bogjrreplamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bldcuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bloddiscamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="carduamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="carddcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="heallifeamtclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="heallifeuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="pregdmndamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="preguamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamnamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cvapuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmpyuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmpycashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmpycardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cmpyonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insuuamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insuonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncouamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncocashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncocardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncoonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncodebtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="uncoaprvamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ptuncashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ptuncardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ptunonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="kpamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="kpamdamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="taxamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="discamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="reduamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="approvalid_1" visibility="hidden"/>
- <col ref="approvaldt_1" visibility="hidden"/>
- <col ref="approvalid_2" visibility="hidden"/>
- <col ref="approvaldt_2" visibility="hidden"/>
- <col ref="approvalid_3" visibility="hidden"/>
- <col ref="approvaldt_3" visibility="hidden"/>
- <col ref="approvalid_4" visibility="hidden"/>
- <col ref="approvaldt_4" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="remark" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- if (grd_rcptlist.rows > 0) {
-
- var rcptrid = model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/rcptrid");
-
- if (rcptrid == "") {
- return;
- }
-
- var enddd = model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/rcptexecdd");
- if (enddd == "") {
- enddd = model.getValue("/root/send/search/enddd");
- }
-
- setParameter("SMPAE00100_enddd", enddd);
- setParameter("SMPAE00100_endid", rcptrid);
- setParameter("SMPAE00100_rcpttype", "rcptrnm");
-
- modal("SMPAE00100");
-
- btn_search.dispatch("DOMActivate");
-
- // 속도 개선을 위해 오류 조회 기능 막음
- /*
- if (rcpttype == "errcnt") {
- var rcptrid = model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/rcptrid");
-
- model.setValue("/root/hidden/errinfo/rcptrid", rcptrid);
- cmb_rcptrid.refresh();
-
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[rcptrid = '" + rcptrid + "']";
-
- fSetErrControl(true);
- }
- */
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_rcptlist.rows > 0){
- var enddd = grd_rcptlist.valueMatrix(grd_rcptlist.row, grd_rcptlist.colRef("rcptexecdd"));
- var endid = grd_rcptlist.valueMatrix(grd_rcptlist.row, grd_rcptlist.colRef("rcptrid"));
- var aprv1 = grd_rcptlist.valueMatrix(grd_rcptlist.row, grd_rcptlist.colRef("aprv1")); //수납자
- var aprv2 = grd_rcptlist.valueMatrix(grd_rcptlist.row, grd_rcptlist.colRef("aprv2")); //담당자
- var aprv3 = grd_rcptlist.valueMatrix(grd_rcptlist.row, grd_rcptlist.colRef("aprv3")); //부서장
-
- if(grd_rcptlist.col == grd_rcptlist.colRef("aprv2")) { // 담당자 결재
-
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/rcptrnm") == "합계") {
- return;
- }
-
- if (STAFFKIND != "A" && STAFFKIND != "C") {
- return;
- }
-
- if (aprv2 == "") {
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/errflag") == "M") {
- messageBox("수납자의 마감 내역이 없습니다.", "E999");
- return;
- }
-
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/errflag") == "A") {
- messageBox("수납자가 결제하지 않았습니다.", "E999");
- return;
- }
- } else {
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + grd_rcptlist.row + "]/aprv3") != "") {
- messageBox(APRV3_NM + "의 결재 내역이 있습니다.", "E999");
- return;
- }
- }
-
- fSetEndAcpt(enddd, endid, "approvalid_2", aprv2, "담당자 결재");
-
- }
- }
- ]]>
- </script>
- </datagrid>
- <table id="table1" class="cell_1" cellspacing="-1" style="left:842px; top:9px; width:175px; height:51px; border-color:#b0b0b0; ">
- <tr>
- <td style="width:173px; height:25px; font-weight:bold; vertical-align:middle; padding-left:9; padding-top:1; "/>
- </tr>
- <tr>
- <td style="width:173px; height:23px; ">
- <caption id="cap_haprv" ref="/root/main/endinfo/endinfolist/aprv3" style="left:0px; top:0px; width:173px; height:23; text-align:center; line-spacing:3; background-color:#ffffff; "/>
- </td>
- </tr>
- </table>
- <table id="table2" class="cell_1" cellspacing="-1" style="left:1020px; top:9px; width:175px; height:51px; border-color:#b0b0b0; ">
- <tr>
- <td style="width:173px; height:25px; font-weight:bold; vertical-align:middle; padding-left:9; padding-top:1; "/>
- </tr>
- <tr>
- <td style="width:173px; height:23px; ">
- <caption id="caption1" ref="/root/main/endinfo/endinfolist/aprv4" style="left:0px; top:0px; width:173px; height:23; text-align:center; line-spacing:3; background-color:#ffffff; "/>
- </td>
- </tr>
- </table>
- <button id="btn_aprv4" class="btn4_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1079px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>결재</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (STAFFKIND != "A" && STAFFKIND != "4") {
- return;
- }
-
- if (model.getValue("/root/main/endinfo/endinfolist/aprv3").length < 1) {
- //messageBox(APRV3_NM + " 결재가 완료되지 않았습니다.", "E999");
- //return;
- }
-
- fSetEndTotAcpt("approvalid_4", "aprv");
-
- ]]>
- </script>
- </button>
- <button id="btn_aprv4_cncl" class="btn4_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1137px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (STAFFKIND != "A" && STAFFKIND != "4") {
- return;
- }
-
- if(grd_rcptlist.rows > 0){
- fSetEndTotAcpt("approvalid_4", "cncl");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_errlist" nodeset="/root/main/endinfo/errlist/errinfo" visibility="hidden" caption="수납자ID^수납자^업무코드^업무구분^등록번호^환자명^진료일자^수납일자^rcptno^rcptseqno^오류코드^오류메세지" colsep="^" colwidth="0, 65, 0, 85, 60, 65, 70, 70, 0, 0, 0, 600" mergecellsfixedrows="bycolrec" rowsep="|" style="left:610px; top:270px; width:585px; height:475px; ">
- <col ref="rcptrid"/>
- <col explorerbar="sortshow" ref="rcptrnm" style="text-align:center; "/>
- <col ref="worktype"/>
- <col explorerbar="sortshow" ref="worktypenm" style="text-align:center; "/>
- <col explorerbar="sort" ref="pid" style="text-align:center; "/>
- <col explorerbar="sortshow" ref="hngnm" style="text-align:center; "/>
- <col explorerbar="sort" ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col explorerbar="sort" ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptno"/>
- <col ref="rcptseqno"/>
- <col ref="errcode"/>
- <col explorerbar="sortshow" ref="errtext"/>
- </datagrid>
- <line id="line_err" class="line_1" visibility="hidden" style="x1:610px; y1:265px; x2:1195px; y2:265px; "/>
- <caption id="cap_err" class="tit_2" visibility="hidden" style="left:610px; top:250px; width:80px; height:13px; ">오류 내역</caption>
- <button id="btn_xlserr" class="btn2_letter2" visibility="hidden" style="left:1110px; top:225px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = model.getValue("/root/send/search/enddd");
- var file = window.fileDialog("save", "", "false", "마감 관리 - 오류 내역_" + today, "xls", "Excel Files(*.xls)|*.xls");
- grd_errlist.saveExcel(file);
- ]]>
- </script>
- </button>
- <select1 id="cmb_rcptrid" ref="/root/hidden/errinfo/rcptrid" visibility="hidden" appearance="minimal" style="left:906px; top:245px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/endinfo/errlist/rcptrid">
- <label ref="nm"/>
- <value ref="id"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rcptrid = model.getValue("/root/hidden/errinfo/rcptrid");
- var worktype = model.getValue("/root/hidden/errinfo/worktype");
-
- if (rcptrid != "all" && worktype != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[rcptrid = '" + rcptrid + "' and worktype = '" + worktype + "']";
- } else if (rcptrid != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[rcptrid = '" + rcptrid + "']";
- } else if (worktype != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[worktype = '" + worktype + "']";
- } else {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo";
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_worktype" ref="/root/hidden/errinfo/worktype" visibility="hidden" appearance="minimal" style="left:988px; top:245px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/endinfo/errlist/worktype">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rcptrid = model.getValue("/root/hidden/errinfo/rcptrid");
- var worktype = model.getValue("/root/hidden/errinfo/worktype");
-
- if (rcptrid != "all" && worktype != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[rcptrid = '" + rcptrid + "' and worktype = '" + worktype + "']";
- } else if (rcptrid != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[rcptrid = '" + rcptrid + "']";
- } else if (worktype != "all") {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo[worktype = '" + worktype + "']";
- } else {
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo";
- }
- ]]>
- </script>
- </select1>
- <button id="btn_errclose" class="btn2_letter2" visibility="hidden" style="left:695px; top:245px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetErrControl(false);
- ]]>
- </script>
- </button>
- <table id="tbl_cnt" class="cell_1" cellspacing="-1" style="left:396px; top:35px; width:402px; height:25px; border-color:#b0b0b0; ">
- <tr>
- <!--
- <td style="width:35px; height:23px; text-align:center; vertical-align:middle; ">수납</td>
- <td style="width:80px; height:23px; ">
- <caption id="cap_rcptcnt" ref="/root/hidden/cntinfo/rcptcnt" format="#,###" style="left:0px; top:0px; width:80px; height:23px; font-size:10pt; font-weight:bold; text-align:center; background-color:#ffffff; "/>
- </td>
- <td style="width:35px; height:23px; text-align:center; vertical-align:middle; ">오류</td>
- <td style="width:80px; height:23px; ">
- <caption id="cap_errcnt" ref="/root/hidden/cntinfo/errcnt" format="#,###" style="left:0px; top:0px; width:80px; height:23px; font-size:10pt; font-weight:bold; text-align:center; background-color:#ffffff; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.setValue("/root/hidden/errinfo/rcptrid", "all");
- cmb_rcptrid.refresh();
-
- grd_errlist.nodeset = "/root/main/endinfo/errlist/errinfo";
-
- fSetErrControl(true);
- ]]>
- </script>
- </caption>
- </td>
- -->
- <td style="width:35px; height:23px; text-align:center; vertical-align:middle; ">마감</td>
- <td style="width:80px; height:23px; ">
- <caption id="cap_magmcnt" ref="/root/hidden/cntinfo/magmcnt" style="left:0px; top:0px; width:80px; height:23px; font-size:10pt; text-align:center; background-color:#ffffff; "/>
- </td>
- <td style="width:35px; height:23px; text-align:center; vertical-align:middle; ">결제</td>
- <td style="width:80px; height:23px; ">
- <caption id="cap_aprvcnt" ref="/root/hidden/cntinfo/aprvcnt" style="left:0px; top:0px; width:80px; height:23px; font-size:10pt; text-align:center; background-color:#ffffff; "/>
- </td>
- <td style="width:85px; height:23px; text-align:center; vertical-align:middle; ">마감 후 수납</td>
- <td style="width:80px; height:23px; ">
- <caption id="cap_magmrcptcnt" ref="/root/hidden/cntinfo/magmrcptcnt" style="left:0px; top:0px; width:80px; height:23px; font-size:10pt; text-align:center; background-color:#ffffff; "/>
- </td>
- </tr>
- </table>
- <button id="btn_compare" class="btn3_letter8" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:256px; top:750px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>개편마감 금액비교</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var wndobj = getOpenWindow("SMPAE00201");
-
- if (wndobj != null) {
- wndobj.close();
- submit("TRPAO00000");
- }
-
- open("../../../pam/pamendstatsweb/xrw/SMPAE00201_수납자별마감금액비교.xrw", "", "", "" ,"", "", "");
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:400px; top:753px; width:15px; height:15px; background-color:#f0f0ff; border-color:#b0b0b0; "/>
- <caption id="caption23" style="left:420px; top:751px; width:55px; height:20px; color:#646464; ">자동 마감</caption>
- <button id="btn_kiosk" class="btn3_letter6" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:146px; top:750px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>무인수납내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMPAE00202_fromdd", model.getValue("/root/send/search/enddd"));
- open("../../../pam/pamendstatsweb/xrw/SMPAE00202_무인수납기수납내역.xrw", "", "", "" ,"", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_prtlist" class="btn2_letter2" visibility="hidden" style="left:1153px; top:245px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/rex");
- model.makeNode("/root/rex/endinfo");
-
- var cnt = instance1.selectNodes("/root/main/endinfo/rcptmagmlist").length;
-
- var idx = 0;
-
- for (var i = 1; i <= cnt; i++) {
-
- var rcptrid = model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rcptrid");
- if (rcptrid != "") {
- idx++;
- }
-
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/rk", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rk"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/rcptrid", rcptrid);
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/rcptrnm", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rcptrnm"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/rcptpos", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rcptpos"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/rcptcnt", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rcptcnt"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/cashamt", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/cashamt"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/cardamt", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/cardamt"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/onlineamt", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/onlineamt"));
- model.makeValue("/root/rex/endinfo/rcptmagmlist[" + i + "]/uncoamt", model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/uncoamt"));
- }
-
- model.setValue("/root/send/search/endid", "");
- submit("TRPAE00107", false);
-
- model.makeValue("/root/rex/prtinfo/enddd", model.getValue("/root/send/search/enddd"));
-
- exeReportPreview("RPPAE00102", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_prtmagm" class="btn4_letter2" visibility="hidden" style="left:1139px; top:211px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/rex");
- model.makeNode("/root/rex/rcptlist");
-
- model.copyNode("/root/rex/rcptlist", "/root/main/endinfo/endinfolist");
- model.setValue("/root/send/search/endid", "");
- submit("TRPAE00107", false);
-
- model.makeValue("/root/rex/prtinfo/enddd", model.getValue("/root/send/search/enddd"));
- model.makeValue("/root/rex/prtinfo/rcptpos", cmb_rcptpos.label);
- model.makeValue("/root/rex/prtinfo/hiflag", model.getValue("/root/send/search/hiflag"));
- model.makeValue("/root/rex/prtinfo/aprv3nm", APRV3_NM);
- model.makeValue("/root/rex/prtinfo/aprv4nm", APRV4_NM);
-
- exeReportPreview("RPPAE00101", "XMLSTR");
- ]]>
- </script>
- </button>
- <select id="chk_hiflag" ref="/root/send/search/hiflag" overflow="visible" appearance="full" style="left:207px; top:33px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>건진</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_magmstat" class="btn3_letter9" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:0px; top:750px; width:140px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>일일 마감관리 현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var wndobj = getOpenWindow("SPPAE00203");
-
- if (wndobj != null) {
- wndobj.close();
- submit("TRPAO00000");
- }
-
- open("../../../pam/pamendstatsweb/xrw/SPPAE00203_마감현황.xrw", "", "", "" ,"", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_aprv3" class="btn4_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:901px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>결재</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (STAFFKIND != "A" && STAFFKIND != "3" && STAFFKIND != "4") {
- return;
- }
-
- if(grd_rcptlist.rows > 0){
- var cnt = instance1.selectNodes("/root/main/endinfo/rcptmagmlist").length;
-
- for (var i = 1; i <= cnt; i++) {
- if (model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/rcptrid") != "" &&
- model.getValue("/root/main/endinfo/rcptmagmlist[" + i + "]/aprv2") == "") {
- messageBox("담당자 결재가 완료되지 않았습니다.", "E999");
- return;
- }
- }
-
- if (model.getValue("/root/main/endinfo/endinfolist/aprv4").length > 0) {
- messageBox(APRV4_NM + "이 결재한 내역이 있습니다.", "E999");
- return;
- }
-
- fSetEndTotAcpt("approvalid_3", "aprv");
- }
- ]]>
- </script>
- </button>
- <button id="btn_aprv3_cncl" class="btn4_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:959px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (STAFFKIND != "A" && STAFFKIND != "3") {
- return;
- }
-
- if (model.getValue("/root/main/endinfo/endinfolist/aprv4").length > 0) {
- messageBox(APRV4_NM + "이 결재한 내역이 있습니다.", "E999");
- return;
- }
-
- if(grd_rcptlist.rows > 0){
- fSetEndTotAcpt("approvalid_3", "cncl");
- }
- ]]>
- </script>
- </button>
- <caption id="cap_aprv3nm" style="left:848px; top:15px; width:50px; height:15px; font-weight:bold; "/>
- <caption id="cap_aprv4nm" style="left:1026px; top:15px; width:50px; height:15px; font-weight:bold; "/>
- <img id="img_memo" src="../../../com/commonweb/images/icon_list.gif" style="left:370px; top:44px; width:14px; height:16px; background-stretch:stretch; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_memo.visible = !grp_memo.visible;
- if (grp_memo.visible) {
- model.setFocus("tar_memo");
- }
- ]]>
- </script>
- </img>
- <button id="btn_memo" style="left:370px; top:44px; width:14px; height:16px; background-color:#f8f8f8; border-color:#a3a5a3; border-style:solid; cursor:hand; focus-rect:hidden; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_memo.visible = !grp_memo.visible;
- if (grp_memo.visible) {
- model.setFocus("tar_memo");
- }
- ]]>
- </script>
- </button>
- <group id="grp_memo" visibility="hidden" style="left:370px; top:74px; width:402px; height:145px; background-color:#ffffdc; border-color:#a0a0a0; border-style:solid; ">
- <textarea id="tar_memo" ref="/root/hidden/memoinfo/memo" scroll="autovscroll" style="left:4px; top:4px; width:392px; height:110px; line-spacing:3; padding-left:5; padding-top:5; "/>
- <button id="btn_memoset" class="btn2_letter2" style="left:260px; top:119px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/memo/enddd", model.getValue("/root/send/search/enddd"));
- model.setValue("/root/send/memo/jobflag", "S");
- model.setValue("/root/send/memo/memo", model.getValue("/root/hidden/memoinfo/memo"));
- submit("TXPAE00103");
- if (instance1.selectNodes("/root/hidden/memoinfo").length < 1) {
- model.makeValue("/root/hidden/memoinfo/memo", "");
- }
- if (model.getValue("/root/hidden/memoinfo/memo") == "") {
- btn_memo.visible = true;
- } else {
- btn_memo.visible = false;
- }
-
- img_memo.hint = model.getValue("/root/hidden/memoinfo/memo");
- ]]>
- </script>
- </button>
- <button id="btn_memodel" class="btn2_letter2" style="left:307px; top:119px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/memo/enddd", model.getValue("/root/send/search/enddd"));
- model.setValue("/root/send/memo/jobflag", "D");
- model.setValue("/root/send/memo/memo", "");
- submit("TXPAE00103");
- if (instance1.selectNodes("/root/hidden/memoinfo").length < 1) {
- model.makeValue("/root/hidden/memoinfo/memo", "");
- }
- btn_memo.visible = true;
-
- img_memo.hint = model.getValue("/root/hidden/memoinfo/memo");
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_memoclose" class="btn2_letter2" style="left:354px; top:119px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <select1 id="cmb_rcptpos" ref="/root/send/search/rcptposcd" class="combo_search" appearance="minimal" style="left:1037px; top:212px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/rcptposlist/rcptposinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cd = model.getValue("/root/send/search/rcptposcd");
-
- model.removeNodeset("/root/main/endinfo/endinfolist");
- model.makeNode("/root/main/endinfo/endinfolist");
- model.copyNode("/root/main/endinfo/endinfolist", "/root/temp/endinfo/endinfolist[rcptposcd='" + cd + "']");
-
- model.refresh();
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|