123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>카드승인금액비교</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- <baseinfo>
- <cardlist>
- <card>
- <pid/>
- <pnm/>
- <van_ymd/>
- <van_amt/>
- <rcpt_ymd/>
- <rcpt_amt/>
- <minus_amt/>
- </card>
- </cardlist>
- <cashlist>
- <cash>
- <pid/>
- <pnm/>
- <van_ymd/>
- <van_amt/>
- <rcpt_ymd/>
- <rcpt_amt/>
- <minus_amt/>
- </cash>
- </cashlist>
- </baseinfo>
- <detailinfo>
- <cvan>
- <cvanlist>
- <van>
- <ordtype/>
- <cardcmpy/>
- <cardno/>
- <aprvflag/>
- <aprvno/>
- <aprvdd/>
- <aprvtm/>
- <cardamt/>
- <validterm/>
- <allotmm/>
- <rcptrnm/>
- <rcptexecdd/>
- <rcpttm/>
- </van>
- </cvanlist>
- <opmicardlist>
- <opmi>
- <ordtype/>
- <orddd/>
- <orddeptnm/>
- <orddrnm/>
- <rcptstat/>
- <insukind/>
- <suppkind/>
- <cashamt/>
- <cardamt/>
- <onlineamt/>
- <pregdmndamt/>
- <precashamt/>
- <precardamt/>
- <preonlineamt/>
- <prepregdmndamt/>
- <rcptrnm/>
- <rcptexecdd/>
- <rcpttm/>
- </opmi>
- </opmicardlist>
- </cvan>
- <svan>
- <svanlist>
- <van>
- <ordtype/>
- <cardcmpy/>
- <cardno/>
- <aprvflag/>
- <aprvno/>
- <aprvdd/>
- <aprvtm/>
- <cardamt/>
- <validterm/>
- <allotmm/>
- <rcptrnm/>
- <rcptexecdd/>
- <rcpttm/>
- </van>
- </svanlist>
- <opmicashlist>
- <opmi>
- <ordtype/>
- <orddd/>
- <orddeptnm/>
- <orddrnm/>
- <rcptstat/>
- <insukind/>
- <suppkind/>
- <cashamt/>
- <cardamt/>
- <onlineamt/>
- <pregdmndamt/>
- <precashamt/>
- <precardamt/>
- <preonlineamt/>
- <prepregdmndamt/>
- <rcptrnm/>
- <rcptexecdd/>
- <rcpttm/>
- </opmi>
- </opmicashlist>
- </svan>
- </detailinfo>
- </main>
- <send>
- <initial>
- <fromdd/>
- <todd/>
- <pid/>
- <rcptrid/>
- <overFlag/>
- </initial>
- <grid>
- <pid/>
- <aprvdd/>
- <rcptexecdd/>
- <rcptrid/>
- </grid>
- </send>
- <source>
- <srchcond/>
- <autoflag/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- <checkfnexam/>
- <rcptrid/>
- </source>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/initial/fromdd", getCurrentDate());
- model.setValue("/root/send/initial/todd", getCurrentDate());
-
- //타 프로그램에서 팝업으로 호출시 수납자 아이디 세팅
- if ( checkOpener() ) {
-
- var rcptrid = opener.javascript.getParameter("SPPAO00410_rcptrid");
- model.setValue("/root/send/initial/rcptrid", rcptrid);
- if( rcptrid != '' ){
-
- //자동조회기능 추가
- button1.dispatch("DOMActivate");
- }
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRPAO00410" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/initial" resultref="/root/main/baseinfo"/>
- <submission id="TRPAO00411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid" resultref="/root/main/detailinfo/cvan"/>
- <submission id="TRPAO00412" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grid" resultref="/root/main/detailinfo/svan"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:258px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">신용카드 / 현금영수증 승인금액비교</caption>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1200px; height:767px; ">
- <group id="group2" style="left:0px; top:10px; width:1200px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1200px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption21" class="search_name" style="left:15px; top:8; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">수납일자 :</caption>
- <caption id="caption4" style="left:197px; top:8; width:10px; height:20px; ">-</caption>
- <input id="ipt_fromdd" ref="/root/send/initial/fromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <input id="ipt_todd" ref="/root/send/initial/todd" class="input_s_essential" inputtype="date" style="left:208px; top:8; width:92px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <button id="button1" class="btn1_letter2" navindex="3" style="left:1131px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 수납 세부내역 초기화
- model.resetInstanceNode("/root/main/detailinfo/cvan/cvanlist/van");
- model.resetInstanceNode("/root/main/detailinfo/cvan/opmicardlist/opmi");
- model.resetInstanceNode("/root/main/detailinfo/svan/svanlist/van");
- model.resetInstanceNode("/root/main/detailinfo/svan/opmicashlist/opmi");
-
- // 차트번호로 환자정보가 조회되어 있지않은 경우에는 차트번호 제외시키고 검색
- if (isNull(model.getValue("/root/main/patinfo/patinfolist/pid"))) {
- model.resetInstanceNode("/root/main/patinfo/patinfolist/hngnm");
- } else {
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
-
- if(submit("TRPMC02500")){
- var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- return;
- }
-
- model.refresh();
- }
- else {
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- return;
- }
- }
-
- model.setValue("/root/send/initial/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- // 승인정보 검색
- submit("TRPAO00410");
-
- // 발생건수 설정
- caption12.value = grd_card.rows - 2;
- caption13.value = grd_cash.rows - 2;
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_search" navindex="1" inputtype="button" style="left:425px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setInputNodeCurText();
- model.makeNode("/root/hidden/sppmc02500/cond/srchcond");
- model.makeNode("/root/hidden/sppmc02500/cond/pid");
- model.makeNode("/root/hidden/sppmc02500/cond/autoflag");
-
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (!isNull(pid)) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", pid);
- model.setValue("/root/hidden/sppmc02500/cond/autoflag","N");
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- modal("SPPMC02500", 1,300, 300, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
-
- model.setValue("/root/main/patinfo/patinfolist/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/patinfo/patinfolist/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // Enter 입력 시
- if (event.keyCode == "13") {
-
- setInputNodeCurText();
-
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- if(submit("TRPMC02500")){
- var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- return;
- }
- inputEnterKey("button1", "DOMActivate");
-
- } else {
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- return;
- }
- }
- ]]>
- </script>
- </input>
- <output id="opt_patnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:527px; top:8px; width:100px; height:19px; "/>
- <caption id="caption19" class="search_name" style="left:335px; top:8px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <caption id="caption2" class="search_name" style="left:660px; top:10px; width:90px; height:17px; ">수납자ID :</caption>
- <input id="input1" ref="/root/send/initial/rcptrid" navindex="2" style="left:750px; top:10px; width:100px; height:19px; "/>
- <select id="checkbox1" ref="/root/send/initial/overFlag" overflow="visible" appearance="full" style="left:885px; top:11px; width:220px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>현금 + 통장입금 10만원 이상만 조회</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- </group>
- <switch id="switch1" style="left:0px; top:75px; width:1195px; height:662px; ">
- <case id="case1" selected="true">
- <caption id="caption17" class="tit_2" style="left:535px; top:3px; width:203px; height:13px; ">카드승인내역</caption>
- <caption id="caption1" class="tit_2" style="left:535px; top:250px; width:203px; height:13px; ">카드수납내역</caption>
- <datagrid id="grd_card" nodeset="/root/main/baseinfo/cardlist/card" caption="등록번호^이름^승인내역^승인내역^수납내역^수납내역^차액^미
수|등록번호^이름^승인일자^승인금액^수납일자^수납금액^차액^미
수" colsep="^" colwidth="60, 60, 74, 70, 74, 70, 75, 24" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:20px; width:525px; height:635px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="pnm" style="text-align:center; "/>
- <col ref="van_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="van_amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcpt_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpt_amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="minus_amt" format="(-)#,###" font_weight="bold" style="font-weight:bold; text-align:right; "/>
- <col ref="uncoflag" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.setValue("/root/send/grid/pid" , model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/pid"));
- model.setValue("/root/send/grid/aprvdd" , model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/van_ymd"));
- model.setValue("/root/send/grid/rcptexecdd", model.getValue("/root/main/baseinfo/cardlist/card[" + grd_card.row + " - 1 ]/rcpt_ymd"));
- model.setValue("/root/send/grid/rcptrid" ,model.getValue("/root/send/initial/rcptrid"));
-
- submit("TRPAO00411");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_van" nodeset="/root/main/detailinfo/cvan/cvanlist/van" caption="진료형태^카드종류^카드번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간|진료형태^카드종류^카드번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간" colsep="^" colwidth="35, 80, 120, 30, 75, 75, 60, 75, 55, 30, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:20px; width:650px; height:226px; ">
- <col ref="ordtype" style="text-align:center; "/>
- <col ref="cardcmpy" style="text-align:center; "/>
- <col ref="cardno" style="text-align:center; "/>
- <col disabled="true" ref="aprvflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>12</label>
- <value>승인</value>
- </item>
- <item>
- <label>22</label>
- <value>취소</value>
- </item>
- </choices>
- </col>
- <col ref="aprvno" style="text-align:center; "/>
- <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="validterm" format="99/99" style="text-align:center; "/>
- <col ref="allotmm" style="text-align:center; "/>
- <col ref="rcptrnm" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <datagrid id="grd_opmi" nodeset="/root/main/detailinfo/cvan/opmicardlist/opmi" caption="수납구분^진료일자^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간|수납구분^(입원일자)^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간" colsep="^" colwidth="35, 75, 80, 70, 35, 35, 35, 75, 75, 75, 75, 75, 75, 75, 75, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:265px; width:650px; height:390px; ">
- <col ref="ordtype" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="rcptstat" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <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="pregdmndamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="precashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="precardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="preonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="prepregdmndamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcptrnm" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <caption id="caption7" class="tit_2" style="left:5px; top:5px; width:203px; height:14px; ">신용카드 대상 리스트</caption>
- </case>
- <case id="case2">
- <caption id="caption217" class="tit_2" style="left:535px; top:3px; width:203px; height:14px; ">현금영수증 승인내역</caption>
- <caption id="caption3" class="tit_2" style="left:535px; top:250px; width:203px; height:14px; ">현금영수증 수납내역</caption>
- <datagrid id="grd_cash" nodeset="/root/main/baseinfo/cashlist/cash" caption="등록번호^이름^승인내역^승인내역^수납내역^수납내역^차액|등록번호^이름^승인일자^승인금액^수납일자^수납금액^차액" colsep="^" colwidth="60, 60, 74, 70, 74, 70, 75" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:20px; width:525px; height:635px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="pnm" style="text-align:center; "/>
- <col ref="van_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="van_amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcpt_ymd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpt_amt" format="(-)#,###" style="text-align:right; "/>
- <col ref="minus_amt" format="(-)#,###" font_weight="bold" style="font-weight:bold; text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.setValue("/root/send/grid/pid", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/pid"));
- model.setValue("/root/send/grid/aprvdd", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/van_ymd"));
- model.setValue("/root/send/grid/rcptexecdd", model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/rcpt_ymd"));
- model.setValue("/root/send/grid/rcptrid", model.getValue("/root/send/initial/rcptrid"));
-
- submit("TRPAO00412");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_svan" nodeset="/root/main/detailinfo/svan/svanlist/van" caption="진료형태^구분^등록번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간|진료형태^구분^등록번호^승인구분^승인번호^승인일자^승인시간^결제액^유효기간^할부^수납자^수납일자^수납시간" colsep="^" colwidth="35, 80, 120, 30, 75, 75, 60, 75, 55, 30, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:20px; width:650px; height:226px; ">
- <col ref="ordtype" style="text-align:center; "/>
- <col ref="cardcmpy" style="text-align:center; "/>
- <col ref="cardno" style="text-align:center; "/>
- <col disabled="true" ref="aprvflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>승인</label>
- <value>42</value>
- </item>
- <item>
- <label>취소</label>
- <value>52</value>
- </item>
- </choices>
- </col>
- <col ref="aprvno" style="text-align:center; "/>
- <col ref="aprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aprvtm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="validterm" format="99/99" style="text-align:center; "/>
- <col ref="allotmm" style="text-align:center; "/>
- <col ref="rcptrnm" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <datagrid id="grd_opmi_cash" nodeset="/root/main/detailinfo/svan/opmicashlist/opmi" caption="수납구분^진료일자^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간|수납구분^(입원일자)^진료과^진료의^수납상태^보험^보조^현금^카드^통장^산전^기현금^기카드^기통장^기산전^수납자^수납일자^수납시간" colsep="^" colwidth="35, 75, 80, 70, 35, 35, 35, 75, 75, 75, 75, 75, 75, 75, 75, 70, 75, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:265px; width:650px; height:390px; ">
- <col ref="ordtype" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="rcptstat" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <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="pregdmndamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="precashamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="precardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="preonlineamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="prepregdmndamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcptrnm" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:5px; width:203px; height:14px; ">현금영수증 대상 리스트</caption>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" selected="true" style="left:5px; top:54px; width:100px; height:22px; ">
- <caption>신용카드</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:105px; top:54px; width:100px; height:22px; ">
- <caption>현금영수증</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button9" class="btn4_letter3" style="left:1120px; top:740px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 검색조건 초기화
- model.setValue("/root/send/initial/fromdd", getCurrentDate());
- model.setValue("/root/send/initial/todd", getCurrentDate());
- model.resetInstanceNode("/root/main/patinfo/patinfolist/pid");
- model.resetInstanceNode("/root/main/patinfo/patinfolist/hngnm");
-
- // 신용카드 초기화
- model.resetInstanceNode("/root/main/baseinfo/cardlist/card");
- model.resetInstanceNode("/root/main/detailinfo/cvan/cvanlist/van");
- model.resetInstanceNode("/root/main/detailinfo/cvan/opmicardlist/opmi");
-
- // 현금영수증 초기화
- model.resetInstanceNode("/root/main/baseinfo/cashlist/cash");
- model.resetInstanceNode("/root/main/detailinfo/svan/svanlist/van");
- model.resetInstanceNode("/root/main/detailinfo/svan/opmicashlist/opmi");
-
- // 발생건수 초기화
- caption12.value = "0";
- caption13.value = "0";
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:240px; top:57px; width:65px; height:20px; ">신용카드 :</caption>
- <caption id="caption9" style="left:380px; top:57px; width:75px; height:20px; ">현금영수증 :</caption>
- <caption id="caption10" style="left:335px; top:57px; width:44px; height:20px; ">건 /</caption>
- <caption id="caption11" style="left:485px; top:57px; width:25px; height:20px; ">건</caption>
- <caption id="caption12" format="#,###" style="left:300px; top:57px; width:30px; height:20px; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
- <caption id="caption13" format="#,###" style="left:450px; top:57px; width:30px; height:20px; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
- <button id="button4" class="btn2_letter7" style="left:1087px; top:56px; width:97px; height:19px; ">
- <caption>현금영수증승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/baseinfo/cashlist/cash[" + grd_cash.row + " - 1 ]/pid");
-
- if (isNull(pid)) {
-
- messageBox("현금영수증 대상 리스트에서 환자를 선택하십시요.", "E000");
-
- return;
- }
-
- // 현금영수증 승인용 파라미터 설정(최소한의 값만 설정)
- var parm = "0" + "▦" + //멀티건수
- "" + "▦" + //멀티opmi
- "0" + "▦" + //totalamt
- "" + "▦" + //send
- "" + "▦" + //receive
- pid + "▦" + //pid
- "O" + "▦" + //ordtype
- "" + "▦" + //indinstflag
- "" + "▦" + //gQualcnfmno
- "" + "▦" + //keyinpuflag
- "" + "▦" + //swipedata
- "" + "▦" ; //qualcnfmflag
-
- setParameter("SPPAO00500_PARM", parm);
- setParameter("SPPAO00500_FLAG", "");
-
- // 현금영수증 승인 팝업
- modal("SPPAO00501", "1","400", "400", "SPPAO00501", "", "");
- ]]>
- </script>
- </button>
- <caption id="caption14" style="left:740px; top:56px; width:345px; height:20px; font-size:8pt; color:#ff0000; ">* 현금영수증 대상 리스트에서 환자 선택 시 신분확인번호 검색 용이</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|