123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- SMPAE00100_KU일일마감.xrw
-
- 2013.04.03 / 최초작성 / 서원식
- -->
- <?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/>
- <rcptinfolist>
- <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/>
- <aprv1/>
- <aprv2/>
- <aprv3/>
- <aprv4/>
- <remark/>
- </rcptinfolist>
- <rcptuserinfo>
- <deptcd/>
- <telno/>
- <automagm/>
- <uncoyn/>
- <rcptposcd/>
- </rcptuserinfo>
- </endinfo>
- <rcptinfo>
- <rcptdetinfolist/>
- </rcptinfo>
- <errinfo>
- <errinfolist/>
- </errinfo>
- </main>
- <send>
- <search>
- <enddd/>
- <endid/>
- <pamid/>
- <worktype/>
- <rcpttype/>
- <gubun/>
- <acpttype/>
- <remark/>
- <staffkind/>
- <rcptposcd/>
- </search>
- <magm>
- <fromdd/>
- <todd/>
- <endflag/>
- </magm>
- </send>
- <init>
- <rcptrinfo/>
- <worktypelist/>
- <P0128list/>
- </init>
- <hidden>
- <aprvinfo/>
- <stafflist>
- <staffinfo/>
- </stafflist>
- <aprverrinfo/>
- <magminfo/>
- <magmstat/>
- <rcptmagmlist>
- <rcptmagminfo/>
- </rcptmagmlist>
- </hidden>
- <temp/>
- <report>
- <prtinfo>
- <instcd/>
- <enddd/>
- <rcptnm/>
- <rcptdt/>
- <prtnm/>
- <prtdt/>
- </prtinfo>
- <rcptlist/>
- </report>
- </root>
- </instance>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPAE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/endinfo"/>
- <submission id="TRPAE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/rcptinfo"/>
- <submission id="TRPAE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/errinfo"/>
- <submission id="TRPAE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/rcptrinfo"/>
- <submission id="TRPAE00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/report/prtinfo"/>
- <submission id="TRPAE00109" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/stafflist/staffinfo"/>
- <submission id="TRPAE00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/aprvinfo"/>
- <submission id="TRPAE00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/rcptmagmlist/rcptmagminfo"/>
- <submission id="TRPAE00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/aprverrinfo"/>
- <submission id="TRPAE00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/magminfo"/>
- <submission id="TRPAE00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/magm" resultref="/root/hidden/magmstat"/>
- <submission id="TXPAE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- <submission id="TXPAE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
- <submission id="TXSTP01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/magm" resultref="/root/dummy"/>
- </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[
-
- var enddd = getCurrentDate();
- var userid = "";
-
- fGetStaffKind();
-
- if (STAFFKIND != "") {
- ipt_endid.attribute("editable") = "true";
- cmb_pamid.disabled = false;
- }
-
- cap_aprv3nm.value = APRV3_NM;
- cap_aprv4nm.value = APRV4_NM;
-
- //팝업화면으로 사용될 때
- if (checkOpener()) {
-
- enddd = opener.javascript.getParameter("SMPAE00100_enddd");
- userid = opener.javascript.getParameter("SMPAE00100_endid");
-
- // 2.0 에서 1.0 띄울 때 checkOpener() 함수가 다르게 동작함에 따른 임시 조치
- if (userid == "") {
-
- userid = getUserId();
- model.setValue("/root/send/search/enddd", enddd);
- ipt_enddd.refresh();
-
- fGetBaseInfo(); //기본코드 조회
-
- model.setValue("/root/send/search/endid", userid);
- ipt_endid.refresh();
-
- model.setValue("/root/send/search/pamid", userid);
- cmb_pamid.refresh();
-
- fGetEndinfo();
-
- } else {
-
- var rcpttype = opener.javascript.getParameter("SMPAE00100_rcpttype");
-
- model.setValue("/root/send/search/enddd", enddd);
- ipt_enddd.refresh();
-
- fGetBaseInfo(); //기본코드 조회
-
- model.setValue("/root/send/search/endid", userid);
- ipt_endid.refresh();
-
- model.setValue("/root/send/search/pamid", userid);
- cmb_pamid.refresh();
-
- model.setValue("/root/send/search/worktype", "all");
- cmb_worktype.refresh();
-
- fGetEndinfo();
-
- if (rcpttype == "rcptrnm") {
- model.setValue("/root/send/search/rcpttype", "all");
- } else {
- model.setValue("/root/send/search/rcpttype", rcpttype);
-
- if (submit("TRPAE00102")) {
- fSetDetAmtSum(); //총계를 생성
- model.toggle("case2");
- button2.selected = true;
- }
- }
- }
-
- } else {
-
- userid = getUserId();
- model.setValue("/root/send/search/enddd", enddd);
- ipt_enddd.refresh();
-
- fGetBaseInfo(); //기본코드 조회
-
- model.setValue("/root/send/search/endid", userid);
- ipt_endid.refresh();
-
- model.setValue("/root/send/search/pamid", userid);
- cmb_pamid.refresh();
-
- fGetEndinfo();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- var STAFFKIND = "";
- var APRV3_NM = "";
- var APRV4_NM = "";
-
- /*
- * 기본 코드 조회
- */
- function fGetBaseInfo(){
- /*
- * PK021 - 마감프로그램_업무구분
- */
- pamfGetCodeList(new Array("PK021", "P0128"), new Array("/root/init/worktypelist", "/root/init/P0128list"));
- addComboItem("cmb_worktype", "전체", "all", "above");
- model.setValue("/root/send/search/worktype", "all");
- model.setValue("/root/send/search/rcpttype", "all");
-
- fPamuserSearch(); //수납마감 사용자조회
- }
-
- /*
- * 수납마감 사용자조회
- */
- function fPamuserSearch(){
- submit("TRPAE00104");
- }
-
- /*
- * 마감 조회
- */
- function fGetEndinfo(){
- model.resetInstanceNode("/root/main/errinfo/errinfolist");
- grd_errinfo.rebuildStyle();
-
- submit("TRPAE00101");
-
- btn_acptaprv1.disabled = false;
- btn_acptcncl1.disabled = false;
-
- //담당자 결재여부를 체크하여 수납자 결제 제어
- if (model.getValue("/root/main/endinfo/rcptinfolist/aprv2") != "") {
-
- btn_acptaprv1.disabled = true;
- btn_acptcncl1.disabled = true;
-
- } else if (model.getValue("/root/main/endinfo/rcptinfolist/aprv1") != "") {
-
- btn_acptaprv1.disabled = true;
-
- } else {
-
- btn_acptcncl1.disabled = true;
-
- }
-
- // 수납위치 기본 설정
- model.setValue("/root/send/search/rcptposcd", model.getValue("/root/main/endinfo/rcptuserinfo/rcptposcd"));
- cmb_rcptpos.refresh();
- }
-
- /*
- * 수납내역 상세조회
- */
- 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");
- }
- }
- */
-
- 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 fSetDetAmtSum(){
- grd_rcptdetlist.subtotalPosition = "below";
-
- grd_rcptdetlist.subtotal("clear", 0, 0, "", "", 0, "");
- for (var i = 0; i < grd_rcptdetlist.cols; i++) {
- if (i >= grd_rcptdetlist.colRef("cashamt") && i <= grd_rcptdetlist.colRef("uncoamt")) {
- grd_rcptdetlist.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold; text-align:right", 0, "총계" );
- }
- }
- }
-
- /*
- * 오류내역 조회
- */
- function fGetErrinfo(worktype){
- model.resetInstanceNode("/root/main/errinfo/errinfolist");
- grd_errinfo.rebuildStyle();
-
- model.setValue("/root/send/search/worktype", worktype);
- submit("TRPAE00103");
-
- for(var i=1; i<=grd_errinfo.rows; i++){
- if(grd_errinfo.valueMatrix( i , grd_errinfo.colRef("errpassyn")) == "N"){
- grd_errinfo.cellStyle("background-color" , i , grd_errinfo.colRef("worktype") , i , grd_errinfo.colRef("errtext")) = "#FF8888"; //빨강
- }
- }
- }
-
- /*
- * 마감 실행
- */
- function fSetEndinfo(worktype){
- if (model.getValue("/root/send/search/endid") == "" || model.getValue("/root/send/search/endid") == null) {
- messageBox("수납자ID는 반드시 입력하십시오.", "C000");
- return false;
- }
-
- if (STAFFKIND == "" && model.getValue("/root/send/search/endid") != getUserId()) {
- messageBox("마감처리는 로그인한 본인만 가능합니다.", "C000");
- return false;
- }
-
- model.setValue("/root/send/search/staffkind", "1");
- submit("TRPAE00110", false);
- if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
- messageBox("수납자의 결제 내역이 있습니다.", "E999");
- return false;
- }
-
- model.setValue("/root/send/search/staffkind", "2");
- submit("TRPAE00110", false);
- if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
- messageBox("담당자의 결재 내역이 있습니다.", "E999");
- return false;
- }
-
- submit("TRPAE00114", false);
- if (model.getValue("/root/hidden/magminfo/aprvflag") == "Y") {
- messageBox("해당일자의 마감 집계는 " + APRV4_NM + " 결재가 완료되었습니다.", "E999");
- return false;
- }
-
- model.setValue("/root/send/search/worktype", worktype);
-
- openLoadingBar("마감실행 중..");
- if(submit("TXPAE00101")){
- btn_search.dispatch("DOMActivate");
- }
- closeLoadingBar();
- messageBox("마감이 완료되었습니다.", "I999");
-
- /*
- if(submit("TXPAE00102")){
- if(model.getValue("root/temp/endstat/endgubn") == 'Y'){
- var result = messageBox("마감 Data가 존재합니다. 기존 마감내역을 취소하고 재마감 하시겠습니까..?","Q000","");
- if(result == "6"){
- submit("TXPAE00101");
- }else{
- return;
- }
- }else{
- submit("TXPAE00101");
- }
- }else{
- return;
- }
- */
- }
-
- /*
- * 결재 실행
- */
- function fSetEndAcpt(gubun, acpttype){
-
- if (getNodesetCount("/root/main/endinfo/endinfolist") <= 1) {
- messageBox("결재할 대상이 조회되지 않았습니다.", "C000");
- return false;
- }
-
- if (STAFFKIND == "" && model.getValue("/root/main/endinfo/endinfolist[1]/rcptrid") != getUserId()) {
- messageBox("결제는 본인의 마감건에 대해서만 가능합니다.", "C000");
- return false;
- }
-
- if (acpttype == "aprv") {
- submit("TRPAE00111", false);
-
- var endid = model.getValue("/root/send/search/endid");
- var errflag = model.getValue("/root/hidden/rcptmagmlist/rcptmagminfo[rcptrid='" + endid + "']/errflag");
- var errstr = model.getValue("/root/hidden/rcptmagmlist/rcptmagminfo[rcptrid='" + endid + "']/errstr");
-
- if (errflag == "R") {
- messageBox("마감 후 수납건이 있습니다.\n마감을 다시 실행한 후 결제해 주십시오\n" + errstr, "E999");
- return;
- }
-
- submit("TRPAE00113", false);
- var aprverrcnt = model.getValue("/root/hidden/aprverrinfo/cnt");
- if (aprverrcnt > 0){
- messageBox("허용되지않는 오류내역이 " + aprverrcnt + "건 있습니다.\n오류내역을 확인 후 마감진행 하시기 바랍니다.", "E999");
- btn_arpverrinfo.dispatch("DOMActivate");
- return;
- }
- }
-
- model.setValue("/root/send/search/staffkind", "2");
- submit("TRPAE00110", false);
- if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
- messageBox("담당자의 결재 내역이 있습니다.", "E999");
- return;
- }
-
- if (acpttype == "aprv") {
-
- // 결제 전 진료확인번호 승인 프로그램 호출
- // 마감대상일자와 마감시점불일치(익일마감 등)로 인해 처리대상일자 전달 by 조중래 20170508
- setParameter("SMPAO04000_rcptdd", model.getValue("/root/send/search/enddd")); // 마감일자
- setParameter("SMPAO04000_rcptrid", model.getValue("/root/send/search/endid")); // 마감자ID
-
- // 외래_당일실시건 승인(외래)
- setParameter("SMPAO04000_ioflag", "O");
-
- // 의료급여 일괄전송
- modal("SMPAO04000", "1", "20", "100" ,"SMPAO04000", "", "");
-
- // 입원수납건수 확인
- var admi_cnt = model.getValue("/root/main/endinfo/endinfolist[worktype='A02']/execnt");
-
- if (admi_cnt > 0) {
-
- alert("퇴원수납건이 존재하여 퇴원환자 의료급여 조회를 실시합니다.");
-
- // 입원-퇴원건승인
- setParameter("SMPAO04000_ioflag", "I");
-
- // 의료급여 일괄전송
- modal("SMPAO04000", "1", "20", "100" ,"SMPAO04000", "", "");
- }
- }
-
- //var remark = model.getValue("/root/main/errinfolist/remark");
- var remark = tar_remark.currentText;
-
- model.setValue("/root/send/search/remark", remark);
- model.setValue("/root/send/search/gubun", gubun);
- model.setValue("/root/send/search/acpttype", acpttype);
-
- if(submit("TXPAE00102")){
- btn_search.dispatch("DOMActivate");
- }
-
- model.setValue("/root/send/magm/fromdd", model.getValue("/root/send/search/enddd"));
- model.setValue("/root/send/magm/todd", model.getValue("/root/send/search/enddd"));
-
- if (acpttype == "aprv") {
- submit("TRPAE00115", false);
-
- var sumflag = model.getValue("/root/hidden/magmstat/sumflag");
- var aprvflag = model.getValue("/root/hidden/magmstat/aprvflag");
-
- if (sumflag == "Y") {
- if (aprvflag == "N") {
-
- messageBox("최종 수납자 결제가 확인되었습니다. 마감 집계가 실행됩니다.", "I999");
-
- model.setValue("/root/send/magm/endflag", "A");
-
- setAlertOn();
-
- submit("TXSTP01803");
-
- } else {
-
- messageBox("최종 수납자 결제가 확인되었습니다.\n해당 일자의 일보가 이미 결재되어 자동 집계 실행은 취소됩니다.\n담당자에게 연락하여 주시기 바랍니다.", "I999");
- }
- }
-
- btn_acptaprv1.disabled = true;
- btn_acptcncl1.disabled = false;
-
- } else if (acpttype == "cncl") {
-
- btn_acptaprv1.disabled = false;
- btn_acptcncl1.disabled = true;
- }
- }
-
- 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";
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:80px; height:13px; ">일일마감</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:1195px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="15" style="left:1129px; top:29px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetEndinfo();
- ]]>
- </script>
- </button>
- <caption id="caption35" class="search_name" style="left:5px; top:31px; width:86px; height:17px; ">조회일자 :</caption>
- <input id="ipt_enddd" ref="/root/send/search/enddd" navindex="6" inputtype="date" style="left:97px; top:30px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fPamuserSearch();
- fGetEndinfo();
- ]]>
- </script>
- </input>
- <caption id="caption63" class="search_name" style="left:215px; top:31px; width:92px; height:17px; ">수납자 ID :</caption>
- <line id="line14" class="line_4" style="x1:1114px; y1:28px; x2:1114px; y2:53px; font-family:돋움체; border-color:#ffd799; "/>
- <input id="ipt_endid" ref="/root/send/search/endid" editable="false" style="left:311px; top:30px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/send/search/endid", ipt_endid.currentText);
- model.setValue("/root/send/search/pamid", ipt_endid.currentText);
- ipt_endid.refresh();
- cmb_pamid.refresh();
- fGetEndinfo();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_pamid" ref="/root/send/search/pamid" disabled="true" navindex="9" appearance="minimal" style="left:386px; top:30px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rcptrinfo/rcptrlist">
- <label ref="endnm"/>
- <value ref="endid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/search/pamid") != ""){
- model.setValue("/root/send/search/endid", model.getValue("/root/send/search/pamid"));
- ipt_endid.refresh();
- fGetEndinfo();
- }
- ]]>
- </script>
- </select1>
- <button id="btn_kiosk" class="btn3_letter6" style="left:994px; top:29px; width:104px; height:22px; ">
- <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="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:65px; width:130px; height:22px; ">
- <caption>수납자별 수납내역</caption>
- <toggle case="case1" ev:event="xforms-activate"/>
- </button>
- <button id="button2" class="btn_sw" group="tab" selected="false" style="left:130px; top:65px; width:130px; height:22px; ">
- <caption>환자별 수납내역</caption>
- <toggle case="case2" ev:event="xforms-activate"/>
- </button>
- <switch id="switch1" style="left:0px; top:87px; width:1195px; height:493px; border-left-width:0; border-top-width:1; border-right-width:0; border-bottom-width:0; border-style:solid; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1195px; height:493px; ">
- <line id="line8" class="line_1" style="x1:0px; y1:25px; x2:585px; y2:25px; "/>
- <datagrid id="grd_endlist" nodeset="/root/main/endinfo/endinfolist" allowselection="false" caption="업무코드^업무구분^건수^오류^현금금액^카드금액^온라인금액^미수금액^endid^합계" colsep="^" colwidth="0, 132, 34, 34, 75, 75, 75, 75, 0, 80" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:585px; height:462px; ">
- <col ref="worktype" visibility="hidden"/>
- <col ref="worktypenm" type="inputbutton" style="text-align:left; padding-left:5; "/>
- <col ref="execnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="errcnt" format="(-)#,###" style="text-align:right; "/>
- <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="rcptrid" visibility="hidden"/>
- <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- if (grd_endlist.col == grd_endlist.colRef("errcnt")){
- fGetErrinfo(grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype")));
-
- } else if (grd_endlist.col == grd_endlist.colRef("execnt") ||
- grd_endlist.col == grd_endlist.colRef("cashamt") ||
- grd_endlist.col == grd_endlist.colRef("cardamt") ||
- grd_endlist.col == grd_endlist.colRef("onlineamt") ||
- grd_endlist.col == grd_endlist.colRef("uncoamt")) {
- fGetRcptdetinfo();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
- fSetEndinfo(worktype);
- ]]>
- </script>
- </datagrid>
- <caption id="caption77" class="tit_2" style="left:0px; top:10px; width:144px; height:13px; ">마감내역</caption>
- <caption id="caption4" class="search_name" style="left:335px; top:4px; width:92px; height:17px; ">수납위치 :</caption>
- <select1 id="cmb_rcptpos" ref="/root/send/search/rcptposcd" class="combo_search" appearance="minimal" style="left:425px; top:3px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0128list/P0128">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:529px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetEndinfo("ALL");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:595px; y1:160px; x2:1195px; y2:160px; "/>
- <caption id="caption1" class="tit_2" style="left:595px; top:145px; width:75px; height:13px; ">오류내역</caption>
- <button id="btn_arpverrinfo" class="btn2_letter6" style="left:1109px; top:140px; width:86px; height:19px; ">
- <caption>오류전체조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetErrinfo("ALL");
- ]]>
- </script>
- </button>
- <datagrid id="grd_errinfo" nodeset="/root/main/errinfo/errinfolist" allowselection="false" caption="업무코드^업무구분^등록번호^환자명^진료일자^수납일자^오류코드^오류메세지" colsep="^" colwidth="0, 100, 60, 60, 70, 70, 0, 600" mergecellsfixedrows="bycolrec" rowsep="|" style="left:595px; top:165px; width:600px; height:326px; ">
- <col ref="worktype"/>
- <col ref="worktypenm" style="padding-left:5; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="errcode"/>
- <col ref="errtext"/>
- <col ref="errpassyn" visibility="hidden"/>
- </datagrid>
- <textarea id="tar_remark" ref="/root/main/endinfo/rcptinfolist/remark" navindex="23" scroll="autovscroll" imemode="hangul" style="left:595px; top:55px; width:113px; height:77px; "/>
- <caption id="caption2" class="tit_2" style="left:595px; top:10px; width:80px; height:13px; ">승인내역</caption>
- <caption id="caption34" class="cell_1" style="left:595px; top:30px; width:113px; height:23px; text-align:center; border-color:#B0B0B0; border-style:solid; ">비고</caption>
- <table id="table3" class="cell_1" cellspacing="-1" style="left:710px; top:30px; width:485px; height:102px; border-color:#B0B0B0; ">
- <tr>
- <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; ">수납자</td>
- <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; ">담당자</td>
- <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; "/>
- <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; "/>
- </tr>
- <tr>
- <td style="width:120px; height:51px; background-color:#ffffff; ">
- <textarea id="ta_acptaprv1" ref="/root/main/endinfo/rcptinfolist/aprv1" disabled="true" scroll="autovscroll" editable="false" style="left:0px; top:0px; width:120px; height:50px; text-align:center; vertical-align:middle; line-spacing:5; border-color:#ffffff; "/>
- </td>
- <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
- <textarea id="ta_acptaprv2" ref="/root/main/endinfo/rcptinfolist/aprv2" disabled="true" scroll="autovscroll" editable="false" style="left:0px; top:0px; width:120px; height:76px; text-align:center; vertical-align:middle; line-spacing:5; border-color:#ffffff; "/>
- </td>
- <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
- <textarea id="ta_acptaprv3" ref="/root/main/endinfo/rcptinfolist/aprv3" disabled="true" scroll="autovscroll" editable="false" style="left:0px; top:0px; width:120px; height:76px; text-align:center; vertical-align:middle; line-spacing:5; border-color:#ffffff; "/>
- </td>
- <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
- <textarea id="ta_acptaprv4" ref="/root/main/endinfo/rcptinfolist/aprv4" disabled="true" scroll="autovscroll" editable="false" style="left:0px; top:0px; width:120px; height:76px; text-align:center; vertical-align:middle; line-spacing:5; border-color:#ffffff; "/>
- </td>
- </tr>
- <tr>
- <td style="width:120px; height:25px; background-color:#ffffff; ">
- <button id="btn_acptaprv1" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:3px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>결제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetEndAcpt("approvalid_1", "aprv");
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl1" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:62px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetEndAcpt("approvalid_1", "cncl");
- ]]>
- </script>
- </button>
- </td>
- </tr>
- </table>
- <line id="line2" class="line_1" style="x1:595px; y1:25px; x2:1195px; y2:25px; "/>
- <caption id="cap_aprv3nm" style="left:963px; top:34px; width:100px; height:15px; font-weight:bold; text-align:center; "/>
- <caption id="cap_aprv4nm" style="left:1084px; top:34px; width:100px; height:15px; font-weight:bold; text-align:center; "/>
- </case>
- <case id="case2" style="left:0px; top:0px; width:1195px; height:493px; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:9px; width:144px; height:15px; ">수납 상세내역</caption>
- <select1 id="cmb_worktype" ref="/root/send/search/worktype" appearance="minimal" style="left:910px; top:3px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/worktypelist/PK021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_rcpttype" ref="/root/send/search/rcpttype" appearance="minimal" style="left:1036px; top:3px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>all</value>
- </item>
- <item>
- <label>현금금액</label>
- <value>cashamt</value>
- </item>
- <item>
- <label>카드금액</label>
- <value>cardamt</value>
- </item>
- <item>
- <label>온라인금액</label>
- <value>onlineamt</value>
- </item>
- <item>
- <label>미수금액</label>
- <value>uncoamt</value>
- </item>
- </choices>
- </select1>
- <button id="button4" class="btn1_letter2" style="left:1139px; top:2px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/search/worktype", model.getValue("/root/send/search/worktype"));
- model.setValue("/root/send/search/rcpttype", model.getValue("/root/send/search/rcpttype"));
-
- if(submit("TRPAE00102")){
- fSetDetAmtSum(); //총계를 생성
- model.toggle("case2");
- button2.selected = true;
- }
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <datagrid id="grd_rcptdetlist" nodeset="/root/main/rcptinfo/rcptdetinfolist" caption="업무구분^환자번호^성명^진료일자^진료과^진료의^보험유형^보험유형^현금금액^카드금액^온라인금액^미수금액^수납일자^수납시간^영수일자^영수번호^영수번호^수납자^무인번호" colsep="^" colwidth="90, 55, 50, 70, 100, 50, 30, 30, 80, 75, 75, 70, 70, 55, 70, 30, 30, 50, 60" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="label" style="left:0px; top:30px; width:1195px; height:460px; ">
- <col disabled="true" ref="worktype" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/worktypelist/PK021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="medispclnm" 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="uncoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptno" style="text-align:center; "/>
- <col ref="rcptseqno" style="text-align:center; "/>
- <col ref="rcptrnm" style="text-align:center; "/>
- <col ref="ktrmnno" style="text-align:center; "/>
- <!--
- <col ref="instcd" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="rcptdd" visibility="hidden"/>
- <col ref="rcptno" visibility="hidden"/>
- <col ref="rcptseqno" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="worktype" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="medispclid" visibility="hidden"/>
- <col ref="atdoctid" visibility="hidden"/>
- <col ref="centcd" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="supdeptcd" visibility="hidden"/>
- <col ref="mskind" visibility="hidden"/>
- <col ref="insukind" visibility="hidden"/>
- <col ref="suppkind" visibility="hidden"/>
- <col ref="calcmthdflag" visibility="hidden"/>
- <col ref="payamt" visibility="hidden"/>
- <col ref="payownbamt" visibility="hidden"/>
- <col ref="payownblimamt" visibility="hidden"/>
- <col ref="payinsurestamt" visibility="hidden"/>
- <col ref="payinsubamt" visibility="hidden"/>
- <col ref="paypsnflag" visibility="hidden"/>
- <col ref="paydepoamt" visibility="hidden"/>
- <col ref="paypsnrem" visibility="hidden"/>
- <col ref="nopyamt" visibility="hidden"/>
- <col ref="nopyownbamt" visibility="hidden"/>
- <col ref="nopyinsubamt" visibility="hidden"/>
- <col ref="allownbamt" visibility="hidden"/>
- <col ref="allowninsubamt" visibility="hidden"/>
- <col ref="allownownbamt" visibility="hidden"/>
- <col ref="specamt" visibility="hidden"/>
- <col ref="specownbamt" visibility="hidden"/>
- <col ref="specinsubamt" visibility="hidden"/>
- <col ref="handcapfund" visibility="hidden"/>
- <col ref="procsubtamt" visibility="hidden"/>
- <col ref="bloddiscamt" visibility="hidden"/>
- <col ref="heallifeamtclamamt" visibility="hidden"/>
- <col ref="suppamt" visibility="hidden"/>
- <col ref="pregdmndamt" visibility="hidden"/>
- <col ref="prepregdmndamt" visibility="hidden"/>
- <col ref="totownbamt" visibility="hidden"/>
- <col ref="mdlrcptamt" visibility="hidden"/>
- <col ref="premdlrcptamt" visibility="hidden"/>
- <col ref="precardamt" visibility="hidden"/>
- <col ref="precashamt" visibility="hidden"/>
- <col ref="preonlineamt" visibility="hidden"/>
- <col ref="cashamt" visibility="hidden"/>
- <col ref="cardamt" visibility="hidden"/>
- <col ref="onlineamt" visibility="hidden"/>
- <col ref="uncoamt" visibility="hidden"/>
- <col ref="uncocalcflag" visibility="hidden"/>
- <col ref="restamt" visibility="hidden"/>
- <col ref="discamt" visibility="hidden"/>
- <col ref="reduamt" visibility="hidden"/>
- <col ref="orgrcptdd" visibility="hidden"/>
- <col ref="orgrcptno" visibility="hidden"/>
- <col ref="orgrcptseqno" visibility="hidden"/>
- <col ref="rcptexecdd" visibility="hidden"/>
- <col ref="rcpttm" visibility="hidden"/>
- <col ref="rcptrid" visibility="hidden"/>
- <col ref="coopteamcd" visibility="hidden"/>
- <col ref="taxamt" visibility="hidden"/>
- <col ref="ktrmnno" visibility="hidden"/>
- <col ref="acptseqno" visibility="hidden"/>
- <col ref="insucd" visibility="hidden"/>
- <col ref="hosindrugno" visibility="hidden"/>
- <col ref="hosoutdrugno" visibility="hidden"/>
- <col ref="remfact" visibility="hidden"/>
- <col ref="tranflag" visibility="hidden"/>
- <col ref="refundyn" visibility="hidden"/>
- <col ref="rcptflag" visibility="hidden"/>
- <col ref="drgno" visibility="hidden"/>
- <col ref="incalcfromdd" visibility="hidden"/>
- <col ref="incalcenddd" visibility="hidden"/>
- <col ref="appdd" visibility="hidden"/>
- <col ref="outmoveyn" visibility="hidden"/>
- <col ref="clamlastdd" visibility="hidden"/>
- <col ref="calcrcptrem" visibility="hidden"/>
- <col ref="dschrcptflag" visibility="hidden"/>
- <col ref="cancelrsn" visibility="hidden"/>
- <col ref="totamt" visibility="hidden"/>
- <col ref="baseexamamt" visibility="hidden"/>
- <col ref="addexamamt" visibility="hidden"/>
- <col ref="payhealcntramt" visibility="hidden"/>
- <col ref="cmpyamt" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="claimym" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="earncls" visibility="hidden"/>
- <col ref="aprvflag" visibility="hidden"/>
- <col ref="aprvdd" visibility="hidden"/>
- <col ref="aprvtm" visibility="hidden"/>
- <col ref="aprvno" visibility="hidden"/>
- <col ref="clamseqno" visibility="hidden"/>
- <col ref="depoownamt" visibility="hidden"/>
- <col ref="depoamt" visibility="hidden"/>
- <col ref="healcntrreduamt" visibility="hidden"/>
- <col ref="insureduamt" visibility="hidden"/>
- <col ref="healcntrrestamt" visibility="hidden"/>
- <col ref="insurestamt" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <col ref="mig" visibility="hidden"/>
- -->
- </datagrid>
- <button id="button5" class="btn2_letter2" style="left:865px; top:3px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_rcptdetlist.saveExcel(file);
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <caption id="caption3" class="tit_2" style="left:0px; top:590px; width:100px; height:13px; ">수납내역</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:604px; x2:1195px; y2:604px; "/>
- <line id="line4" style="x1:0px; y1:609px; x2:1195px; y2:609px; text-align:right; border-color:#b0b0b0; "/>
- <line id="line6" style="x1:0px; y1:779px; x2:1034px; y2:779px; border-color:#b0b0b0; "/>
- <table id="tb_mgsm" cellspacing="-1" style="left:0px; top:610px; width:1195px; height:169px; 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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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/rcptinfolist/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>
- <button id="btn_prtrcpt" class="btn4_letter2" style="left:1139px; top:581px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (getUserId() != "PAM") {
- model.setValue("/root/send/search/staffkind", "1");
- submit("TRPAE00110", false);
- if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) < 1) {
- messageBox("수납자 결제 후 출력이 가능합니다.", "E999");
- return;
- }
- }
-
- model.removenode("/root/report");
- model.makeNode("/root/report/rcptlist");
-
- model.copyNode("/root/report/rcptlist", "/root/main/endinfo/rcptinfolist");
-
- submit("TRPAE00107", false);
-
- model.makeValue("/root/report/prtinfo/enddd", model.getValue("/root/send/search/enddd"));
- model.makeValue("/root/report/prtinfo/aprv3nm", APRV3_NM);
- model.makeValue("/root/report/prtinfo/aprv4nm", APRV4_NM);
-
- exeReportPreview("RPPAE00100", "XMLSTR");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|