SMPAE00100_KU일일마감.xrw 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. SMPAE00100_KU일일마감.xrw
  4. 2013.04.03 / 최초작성 / 서원식
  5. -->
  6. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  7. <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">
  8. <xhtml:head>
  9. <xhtml:title>일일마감</xhtml:title>
  10. <model id="model1">
  11. <instance id="instance1">
  12. <root xmlns="">
  13. <main>
  14. <endinfo>
  15. <endinfolist/>
  16. <rcptinfolist>
  17. <cashamt/>
  18. <cardamt/>
  19. <onlineamt/>
  20. <uncoamt/>
  21. <ocashamt/>
  22. <ocardamt/>
  23. <oonlineamt/>
  24. <icashamt/>
  25. <icardamt/>
  26. <ionlineamt/>
  27. <bogjdcashamt/>
  28. <bogjdcardamt/>
  29. <bogjdonlineamt/>
  30. <bogjdreplamt/>
  31. <bogjrcashamt/>
  32. <bogjrcardamt/>
  33. <bogjronlineamt/>
  34. <bogjrreplamt/>
  35. <bldcuamt/>
  36. <bloddiscamt/>
  37. <carduamt/>
  38. <carddcamt/>
  39. <heallifeamtclamamt/>
  40. <heallifeuamt/>
  41. <pregdmndamt/>
  42. <preguamt/>
  43. <clamuamt/>
  44. <clamnamt/>
  45. <cvapuamt/>
  46. <cmpyuamt/>
  47. <cmpycashamt/>
  48. <cmpycardamt/>
  49. <cmpyonlineamt/>
  50. <insuuamt/>
  51. <insuonlineamt/>
  52. <uncouamt/>
  53. <uncocashamt/>
  54. <uncocardamt/>
  55. <uncoonlineamt/>
  56. <uncodebtamt/>
  57. <uncoaprvamt/>
  58. <ptuncashamt/>
  59. <ptuncardamt/>
  60. <ptunonlineamt/>
  61. <kpamamt/>
  62. <kpamdamt/>
  63. <taxamt/>
  64. <discamt/>
  65. <reduamt/>
  66. <aprv1/>
  67. <aprv2/>
  68. <aprv3/>
  69. <aprv4/>
  70. <remark/>
  71. </rcptinfolist>
  72. <rcptuserinfo>
  73. <deptcd/>
  74. <telno/>
  75. <automagm/>
  76. <uncoyn/>
  77. <rcptposcd/>
  78. </rcptuserinfo>
  79. </endinfo>
  80. <rcptinfo>
  81. <rcptdetinfolist/>
  82. </rcptinfo>
  83. <errinfo>
  84. <errinfolist/>
  85. </errinfo>
  86. </main>
  87. <send>
  88. <search>
  89. <enddd/>
  90. <endid/>
  91. <pamid/>
  92. <worktype/>
  93. <rcpttype/>
  94. <gubun/>
  95. <acpttype/>
  96. <remark/>
  97. <staffkind/>
  98. <rcptposcd/>
  99. </search>
  100. <magm>
  101. <fromdd/>
  102. <todd/>
  103. <endflag/>
  104. </magm>
  105. </send>
  106. <init>
  107. <rcptrinfo/>
  108. <worktypelist/>
  109. <P0128list/>
  110. </init>
  111. <hidden>
  112. <aprvinfo/>
  113. <stafflist>
  114. <staffinfo/>
  115. </stafflist>
  116. <aprverrinfo/>
  117. <magminfo/>
  118. <magmstat/>
  119. <rcptmagmlist>
  120. <rcptmagminfo/>
  121. </rcptmagmlist>
  122. </hidden>
  123. <temp/>
  124. <report>
  125. <prtinfo>
  126. <instcd/>
  127. <enddd/>
  128. <rcptnm/>
  129. <rcptdt/>
  130. <prtnm/>
  131. <prtdt/>
  132. </prtinfo>
  133. <rcptlist/>
  134. </report>
  135. </root>
  136. </instance>
  137. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  138. <submission id="TRPAE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/endinfo"/>
  139. <submission id="TRPAE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/rcptinfo"/>
  140. <submission id="TRPAE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/errinfo"/>
  141. <submission id="TRPAE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/rcptrinfo"/>
  142. <submission id="TRPAE00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/report/prtinfo"/>
  143. <submission id="TRPAE00109" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/stafflist/staffinfo"/>
  144. <submission id="TRPAE00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/aprvinfo"/>
  145. <submission id="TRPAE00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/rcptmagmlist/rcptmagminfo"/>
  146. <submission id="TRPAE00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/aprverrinfo"/>
  147. <submission id="TRPAE00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden/magminfo"/>
  148. <submission id="TRPAE00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/magm" resultref="/root/hidden/magmstat"/>
  149. <submission id="TXPAE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
  150. <submission id="TXPAE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp"/>
  151. <submission id="TXSTP01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/magm" resultref="/root/dummy"/>
  152. </model>
  153. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  158. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  159. <script type="javascript" ev:event="xforms-ready">
  160. <![CDATA[
  161. var enddd = getCurrentDate();
  162. var userid = "";
  163. fGetStaffKind();
  164. if (STAFFKIND != "") {
  165. ipt_endid.attribute("editable") = "true";
  166. cmb_pamid.disabled = false;
  167. }
  168. cap_aprv3nm.value = APRV3_NM;
  169. cap_aprv4nm.value = APRV4_NM;
  170. //팝업화면으로 사용될 때
  171. if (checkOpener()) {
  172. enddd = opener.javascript.getParameter("SMPAE00100_enddd");
  173. userid = opener.javascript.getParameter("SMPAE00100_endid");
  174. // 2.0 에서 1.0 띄울 때 checkOpener() 함수가 다르게 동작함에 따른 임시 조치
  175. if (userid == "") {
  176. userid = getUserId();
  177. model.setValue("/root/send/search/enddd", enddd);
  178. ipt_enddd.refresh();
  179. fGetBaseInfo(); //기본코드 조회
  180. model.setValue("/root/send/search/endid", userid);
  181. ipt_endid.refresh();
  182. model.setValue("/root/send/search/pamid", userid);
  183. cmb_pamid.refresh();
  184. fGetEndinfo();
  185. } else {
  186. var rcpttype = opener.javascript.getParameter("SMPAE00100_rcpttype");
  187. model.setValue("/root/send/search/enddd", enddd);
  188. ipt_enddd.refresh();
  189. fGetBaseInfo(); //기본코드 조회
  190. model.setValue("/root/send/search/endid", userid);
  191. ipt_endid.refresh();
  192. model.setValue("/root/send/search/pamid", userid);
  193. cmb_pamid.refresh();
  194. model.setValue("/root/send/search/worktype", "all");
  195. cmb_worktype.refresh();
  196. fGetEndinfo();
  197. if (rcpttype == "rcptrnm") {
  198. model.setValue("/root/send/search/rcpttype", "all");
  199. } else {
  200. model.setValue("/root/send/search/rcpttype", rcpttype);
  201. if (submit("TRPAE00102")) {
  202. fSetDetAmtSum(); //총계를 생성
  203. model.toggle("case2");
  204. button2.selected = true;
  205. }
  206. }
  207. }
  208. } else {
  209. userid = getUserId();
  210. model.setValue("/root/send/search/enddd", enddd);
  211. ipt_enddd.refresh();
  212. fGetBaseInfo(); //기본코드 조회
  213. model.setValue("/root/send/search/endid", userid);
  214. ipt_endid.refresh();
  215. model.setValue("/root/send/search/pamid", userid);
  216. cmb_pamid.refresh();
  217. fGetEndinfo();
  218. }
  219. ]]>
  220. </script>
  221. <script type="javascript">
  222. <![CDATA[
  223. var STAFFKIND = "";
  224. var APRV3_NM = "";
  225. var APRV4_NM = "";
  226. /*
  227. * 기본 코드 조회
  228. */
  229. function fGetBaseInfo(){
  230. /*
  231. * PK021 - 마감프로그램_업무구분
  232. */
  233. pamfGetCodeList(new Array("PK021", "P0128"), new Array("/root/init/worktypelist", "/root/init/P0128list"));
  234. addComboItem("cmb_worktype", "전체", "all", "above");
  235. model.setValue("/root/send/search/worktype", "all");
  236. model.setValue("/root/send/search/rcpttype", "all");
  237. fPamuserSearch(); //수납마감 사용자조회
  238. }
  239. /*
  240. * 수납마감 사용자조회
  241. */
  242. function fPamuserSearch(){
  243. submit("TRPAE00104");
  244. }
  245. /*
  246. * 마감 조회
  247. */
  248. function fGetEndinfo(){
  249. model.resetInstanceNode("/root/main/errinfo/errinfolist");
  250. grd_errinfo.rebuildStyle();
  251. submit("TRPAE00101");
  252. btn_acptaprv1.disabled = false;
  253. btn_acptcncl1.disabled = false;
  254. //담당자 결재여부를 체크하여 수납자 결제 제어
  255. if (model.getValue("/root/main/endinfo/rcptinfolist/aprv2") != "") {
  256. btn_acptaprv1.disabled = true;
  257. btn_acptcncl1.disabled = true;
  258. } else if (model.getValue("/root/main/endinfo/rcptinfolist/aprv1") != "") {
  259. btn_acptaprv1.disabled = true;
  260. } else {
  261. btn_acptcncl1.disabled = true;
  262. }
  263. // 수납위치 기본 설정
  264. model.setValue("/root/send/search/rcptposcd", model.getValue("/root/main/endinfo/rcptuserinfo/rcptposcd"));
  265. cmb_rcptpos.refresh();
  266. }
  267. /*
  268. * 수납내역 상세조회
  269. */
  270. function fGetRcptdetinfo(grdtype){
  271. var worktype = "";
  272. var rcpttype = "";
  273. /*
  274. if (grdtype == "grd_rcptlist") {
  275. worktype = "all";
  276. rcpttype = grd_rcptlist.colAttribute(grd_rcptlist.col, "ref");
  277. } else {
  278. if (grd_endlist.colAttribute(grd_endlist.col, "ref") == "execnt") {
  279. worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
  280. rcpttype = "all";
  281. } else {
  282. worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
  283. rcpttype = grd_endlist.colAttribute(grd_endlist.col, "ref");
  284. }
  285. }
  286. */
  287. if (grd_endlist.colAttribute(grd_endlist.col, "ref") == "execnt") {
  288. worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
  289. rcpttype = "all";
  290. } else {
  291. worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
  292. rcpttype = grd_endlist.colAttribute(grd_endlist.col, "ref");
  293. }
  294. model.setValue("/root/send/search/worktype", worktype);
  295. model.setValue("/root/send/search/rcpttype", rcpttype);
  296. if (submit("TRPAE00102")) {
  297. fSetDetAmtSum(); //총계를 생성
  298. model.toggle("case2");
  299. button2.selected = true;
  300. }
  301. }
  302. /*
  303. * 총계를 생성
  304. */
  305. function fSetDetAmtSum(){
  306. grd_rcptdetlist.subtotalPosition = "below";
  307. grd_rcptdetlist.subtotal("clear", 0, 0, "", "", 0, "");
  308. for (var i = 0; i < grd_rcptdetlist.cols; i++) {
  309. if (i >= grd_rcptdetlist.colRef("cashamt") && i <= grd_rcptdetlist.colRef("uncoamt")) {
  310. grd_rcptdetlist.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold; text-align:right", 0, "총계" );
  311. }
  312. }
  313. }
  314. /*
  315. * 오류내역 조회
  316. */
  317. function fGetErrinfo(worktype){
  318. model.resetInstanceNode("/root/main/errinfo/errinfolist");
  319. grd_errinfo.rebuildStyle();
  320. model.setValue("/root/send/search/worktype", worktype);
  321. submit("TRPAE00103");
  322. for(var i=1; i<=grd_errinfo.rows; i++){
  323. if(grd_errinfo.valueMatrix( i , grd_errinfo.colRef("errpassyn")) == "N"){
  324. grd_errinfo.cellStyle("background-color" , i , grd_errinfo.colRef("worktype") , i , grd_errinfo.colRef("errtext")) = "#FF8888"; //빨강
  325. }
  326. }
  327. }
  328. /*
  329. * 마감 실행
  330. */
  331. function fSetEndinfo(worktype){
  332. if (model.getValue("/root/send/search/endid") == "" || model.getValue("/root/send/search/endid") == null) {
  333. messageBox("수납자ID는 반드시 입력하십시오.", "C000");
  334. return false;
  335. }
  336. if (STAFFKIND == "" && model.getValue("/root/send/search/endid") != getUserId()) {
  337. messageBox("마감처리는 로그인한 본인만 가능합니다.", "C000");
  338. return false;
  339. }
  340. model.setValue("/root/send/search/staffkind", "1");
  341. submit("TRPAE00110", false);
  342. if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
  343. messageBox("수납자의 결제 내역이 있습니다.", "E999");
  344. return false;
  345. }
  346. model.setValue("/root/send/search/staffkind", "2");
  347. submit("TRPAE00110", false);
  348. if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
  349. messageBox("담당자의 결재 내역이 있습니다.", "E999");
  350. return false;
  351. }
  352. submit("TRPAE00114", false);
  353. if (model.getValue("/root/hidden/magminfo/aprvflag") == "Y") {
  354. messageBox("해당일자의 마감 집계는 " + APRV4_NM + " 결재가 완료되었습니다.", "E999");
  355. return false;
  356. }
  357. model.setValue("/root/send/search/worktype", worktype);
  358. openLoadingBar("마감실행 중..");
  359. if(submit("TXPAE00101")){
  360. btn_search.dispatch("DOMActivate");
  361. }
  362. closeLoadingBar();
  363. messageBox("마감이 완료되었습니다.", "I999");
  364. /*
  365. if(submit("TXPAE00102")){
  366. if(model.getValue("root/temp/endstat/endgubn") == 'Y'){
  367. var result = messageBox("마감 Data가 존재합니다. 기존 마감내역을 취소하고 재마감 하시겠습니까..?","Q000","");
  368. if(result == "6"){
  369. submit("TXPAE00101");
  370. }else{
  371. return;
  372. }
  373. }else{
  374. submit("TXPAE00101");
  375. }
  376. }else{
  377. return;
  378. }
  379. */
  380. }
  381. /*
  382. * 결재 실행
  383. */
  384. function fSetEndAcpt(gubun, acpttype){
  385. if (getNodesetCount("/root/main/endinfo/endinfolist") <= 1) {
  386. messageBox("결재할 대상이 조회되지 않았습니다.", "C000");
  387. return false;
  388. }
  389. if (STAFFKIND == "" && model.getValue("/root/main/endinfo/endinfolist[1]/rcptrid") != getUserId()) {
  390. messageBox("결제는 본인의 마감건에 대해서만 가능합니다.", "C000");
  391. return false;
  392. }
  393. if (acpttype == "aprv") {
  394. submit("TRPAE00111", false);
  395. var endid = model.getValue("/root/send/search/endid");
  396. var errflag = model.getValue("/root/hidden/rcptmagmlist/rcptmagminfo[rcptrid='" + endid + "']/errflag");
  397. var errstr = model.getValue("/root/hidden/rcptmagmlist/rcptmagminfo[rcptrid='" + endid + "']/errstr");
  398. if (errflag == "R") {
  399. messageBox("마감 후 수납건이 있습니다.\n마감을 다시 실행한 후 결제해 주십시오\n" + errstr, "E999");
  400. return;
  401. }
  402. submit("TRPAE00113", false);
  403. var aprverrcnt = model.getValue("/root/hidden/aprverrinfo/cnt");
  404. if (aprverrcnt > 0){
  405. messageBox("허용되지않는 오류내역이 " + aprverrcnt + "건 있습니다.\n오류내역을 확인 후 마감진행 하시기 바랍니다.", "E999");
  406. btn_arpverrinfo.dispatch("DOMActivate");
  407. return;
  408. }
  409. }
  410. model.setValue("/root/send/search/staffkind", "2");
  411. submit("TRPAE00110", false);
  412. if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) > 0) {
  413. messageBox("담당자의 결재 내역이 있습니다.", "E999");
  414. return;
  415. }
  416. if (acpttype == "aprv") {
  417. // 결제 전 진료확인번호 승인 프로그램 호출
  418. // 마감대상일자와 마감시점불일치(익일마감 등)로 인해 처리대상일자 전달 by 조중래 20170508
  419. setParameter("SMPAO04000_rcptdd", model.getValue("/root/send/search/enddd")); // 마감일자
  420. setParameter("SMPAO04000_rcptrid", model.getValue("/root/send/search/endid")); // 마감자ID
  421. // 외래_당일실시건 승인(외래)
  422. setParameter("SMPAO04000_ioflag", "O");
  423. // 의료급여 일괄전송
  424. modal("SMPAO04000", "1", "20", "100" ,"SMPAO04000", "", "");
  425. // 입원수납건수 확인
  426. var admi_cnt = model.getValue("/root/main/endinfo/endinfolist[worktype='A02']/execnt");
  427. if (admi_cnt > 0) {
  428. alert("퇴원수납건이 존재하여 퇴원환자 의료급여 조회를 실시합니다.");
  429. // 입원-퇴원건승인
  430. setParameter("SMPAO04000_ioflag", "I");
  431. // 의료급여 일괄전송
  432. modal("SMPAO04000", "1", "20", "100" ,"SMPAO04000", "", "");
  433. }
  434. }
  435. //var remark = model.getValue("/root/main/errinfolist/remark");
  436. var remark = tar_remark.currentText;
  437. model.setValue("/root/send/search/remark", remark);
  438. model.setValue("/root/send/search/gubun", gubun);
  439. model.setValue("/root/send/search/acpttype", acpttype);
  440. if(submit("TXPAE00102")){
  441. btn_search.dispatch("DOMActivate");
  442. }
  443. model.setValue("/root/send/magm/fromdd", model.getValue("/root/send/search/enddd"));
  444. model.setValue("/root/send/magm/todd", model.getValue("/root/send/search/enddd"));
  445. if (acpttype == "aprv") {
  446. submit("TRPAE00115", false);
  447. var sumflag = model.getValue("/root/hidden/magmstat/sumflag");
  448. var aprvflag = model.getValue("/root/hidden/magmstat/aprvflag");
  449. if (sumflag == "Y") {
  450. if (aprvflag == "N") {
  451. messageBox("최종 수납자 결제가 확인되었습니다. 마감 집계가 실행됩니다.", "I999");
  452. model.setValue("/root/send/magm/endflag", "A");
  453. setAlertOn();
  454. submit("TXSTP01803");
  455. } else {
  456. messageBox("최종 수납자 결제가 확인되었습니다.\n해당 일자의 일보가 이미 결재되어 자동 집계 실행은 취소됩니다.\n담당자에게 연락하여 주시기 바랍니다.", "I999");
  457. }
  458. }
  459. btn_acptaprv1.disabled = true;
  460. btn_acptcncl1.disabled = false;
  461. } else if (acpttype == "cncl") {
  462. btn_acptaprv1.disabled = false;
  463. btn_acptcncl1.disabled = true;
  464. }
  465. }
  466. function fGetStaffKind() {
  467. submit("TRPAE00109", false);
  468. var cnt = instance1.selectNodes("/root/hidden/stafflist/staffinfo").length;
  469. for (var i = 1; i <= cnt; i++) {
  470. var stid = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffid");
  471. var stkind = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffkind");
  472. if (stid == getUserId()) {
  473. STAFFKIND = stkind;
  474. } else if (stid == "nm") {
  475. if (stkind == "3") {
  476. APRV3_NM = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffnm");
  477. } else if (stkind == "4") {
  478. APRV4_NM = model.getValue("/root/hidden/stafflist/staffinfo[" + i + "]/staffnm");
  479. }
  480. }
  481. }
  482. if (getUserId() == "PAM") {
  483. STAFFKIND = "A";
  484. }
  485. }
  486. ]]>
  487. </script>
  488. </xhtml:head>
  489. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  490. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:80px; height:13px; ">일일마감</caption>
  491. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:1195px; height:40px; "/>
  492. <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; ">
  493. <caption>조회</caption>
  494. <script type="javascript" ev:event="DOMActivate">
  495. <![CDATA[
  496. fGetEndinfo();
  497. ]]>
  498. </script>
  499. </button>
  500. <caption id="caption35" class="search_name" style="left:5px; top:31px; width:86px; height:17px; ">조회일자 :</caption>
  501. <input id="ipt_enddd" ref="/root/send/search/enddd" navindex="6" inputtype="date" style="left:97px; top:30px; width:95px; height:19px; ">
  502. <script type="javascript" ev:event="xforms-value-changed">
  503. <![CDATA[
  504. fPamuserSearch();
  505. fGetEndinfo();
  506. ]]>
  507. </script>
  508. </input>
  509. <caption id="caption63" class="search_name" style="left:215px; top:31px; width:92px; height:17px; ">수납자 ID :</caption>
  510. <line id="line14" class="line_4" style="x1:1114px; y1:28px; x2:1114px; y2:53px; font-family:돋움체; border-color:#ffd799; "/>
  511. <input id="ipt_endid" ref="/root/send/search/endid" editable="false" style="left:311px; top:30px; width:70px; height:19px; ">
  512. <script type="javascript" ev:event="onkeyup">
  513. <![CDATA[
  514. if(event.keyCode == 13){
  515. model.setValue("/root/send/search/endid", ipt_endid.currentText);
  516. model.setValue("/root/send/search/pamid", ipt_endid.currentText);
  517. ipt_endid.refresh();
  518. cmb_pamid.refresh();
  519. fGetEndinfo();
  520. }
  521. ]]>
  522. </script>
  523. </input>
  524. <select1 id="cmb_pamid" ref="/root/send/search/pamid" disabled="true" navindex="9" appearance="minimal" style="left:386px; top:30px; width:70px; height:19px; ">
  525. <choices>
  526. <itemset nodeset="/root/init/rcptrinfo/rcptrlist">
  527. <label ref="endnm"/>
  528. <value ref="endid"/>
  529. </itemset>
  530. </choices>
  531. <script type="javascript" ev:event="xforms-value-changed">
  532. <![CDATA[
  533. if(model.getValue("/root/send/search/pamid") != ""){
  534. model.setValue("/root/send/search/endid", model.getValue("/root/send/search/pamid"));
  535. ipt_endid.refresh();
  536. fGetEndinfo();
  537. }
  538. ]]>
  539. </script>
  540. </select1>
  541. <button id="btn_kiosk" class="btn3_letter6" style="left:994px; top:29px; width:104px; height:22px; ">
  542. <caption>무인수납내역</caption>
  543. <script type="javascript" ev:event="DOMActivate">
  544. <![CDATA[
  545. setParameter("SMPAE00202_fromdd", model.getValue("/root/send/search/enddd"));
  546. open("../../../pam/pamendstatsweb/xrw/SMPAE00202_무인수납기수납내역.xrw", "", "", "" ,"", "", "");
  547. ]]>
  548. </script>
  549. </button>
  550. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:65px; width:130px; height:22px; ">
  551. <caption>수납자별 수납내역</caption>
  552. <toggle case="case1" ev:event="xforms-activate"/>
  553. </button>
  554. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:130px; top:65px; width:130px; height:22px; ">
  555. <caption>환자별 수납내역</caption>
  556. <toggle case="case2" ev:event="xforms-activate"/>
  557. </button>
  558. <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; ">
  559. <case id="case1" selected="true" style="left:0px; top:0px; width:1195px; height:493px; ">
  560. <line id="line8" class="line_1" style="x1:0px; y1:25px; x2:585px; y2:25px; "/>
  561. <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; ">
  562. <col ref="worktype" visibility="hidden"/>
  563. <col ref="worktypenm" type="inputbutton" style="text-align:left; padding-left:5; "/>
  564. <col ref="execnt" format="(-)#,###" style="text-align:right; "/>
  565. <col ref="errcnt" format="(-)#,###" style="text-align:right; "/>
  566. <col ref="cashamt" format="(-)#,###" style="text-align:right; "/>
  567. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  568. <col ref="onlineamt" format="(-)#,###" style="text-align:right; "/>
  569. <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  570. <col ref="rcptrid" visibility="hidden"/>
  571. <col ref="totamt" format="(-)#,###" style="text-align:right; "/>
  572. <script type="javascript" ev:event="ondblclick">
  573. <![CDATA[
  574. if (isDataCell()) {
  575. if (grd_endlist.col == grd_endlist.colRef("errcnt")){
  576. fGetErrinfo(grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype")));
  577. } else if (grd_endlist.col == grd_endlist.colRef("execnt") ||
  578. grd_endlist.col == grd_endlist.colRef("cashamt") ||
  579. grd_endlist.col == grd_endlist.colRef("cardamt") ||
  580. grd_endlist.col == grd_endlist.colRef("onlineamt") ||
  581. grd_endlist.col == grd_endlist.colRef("uncoamt")) {
  582. fGetRcptdetinfo();
  583. }
  584. }
  585. ]]>
  586. </script>
  587. <script type="javascript" ev:event="onbuttonclick">
  588. <![CDATA[
  589. var worktype = grd_endlist.valueMatrix(grd_endlist.row, grd_endlist.colRef("worktype"));
  590. fSetEndinfo(worktype);
  591. ]]>
  592. </script>
  593. </datagrid>
  594. <caption id="caption77" class="tit_2" style="left:0px; top:10px; width:144px; height:13px; ">마감내역</caption>
  595. <caption id="caption4" class="search_name" style="left:335px; top:4px; width:92px; height:17px; ">수납위치 :</caption>
  596. <select1 id="cmb_rcptpos" ref="/root/send/search/rcptposcd" class="combo_search" appearance="minimal" style="left:425px; top:3px; width:100px; height:19px; ">
  597. <choices>
  598. <itemset nodeset="/root/init/P0128list/P0128">
  599. <label ref="cdnm"/>
  600. <value ref="cdid"/>
  601. </itemset>
  602. </choices>
  603. </select1>
  604. <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; ">
  605. <caption>마감</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. fSetEndinfo("ALL");
  609. ]]>
  610. </script>
  611. </button>
  612. <line id="line1" class="line_1" style="x1:595px; y1:160px; x2:1195px; y2:160px; "/>
  613. <caption id="caption1" class="tit_2" style="left:595px; top:145px; width:75px; height:13px; ">오류내역</caption>
  614. <button id="btn_arpverrinfo" class="btn2_letter6" style="left:1109px; top:140px; width:86px; height:19px; ">
  615. <caption>오류전체조회</caption>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. fGetErrinfo("ALL");
  619. ]]>
  620. </script>
  621. </button>
  622. <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; ">
  623. <col ref="worktype"/>
  624. <col ref="worktypenm" style="padding-left:5; "/>
  625. <col ref="pid" style="text-align:center; "/>
  626. <col ref="hngnm" style="text-align:center; "/>
  627. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  628. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  629. <col ref="errcode"/>
  630. <col ref="errtext"/>
  631. <col ref="errpassyn" visibility="hidden"/>
  632. </datagrid>
  633. <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; "/>
  634. <caption id="caption2" class="tit_2" style="left:595px; top:10px; width:80px; height:13px; ">승인내역</caption>
  635. <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>
  636. <table id="table3" class="cell_1" cellspacing="-1" style="left:710px; top:30px; width:485px; height:102px; border-color:#B0B0B0; ">
  637. <tr>
  638. <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; ">수납자</td>
  639. <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; ">담당자</td>
  640. <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  641. <td style="width:120px; height:22px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  642. </tr>
  643. <tr>
  644. <td style="width:120px; height:51px; background-color:#ffffff; ">
  645. <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; "/>
  646. </td>
  647. <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
  648. <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; "/>
  649. </td>
  650. <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
  651. <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; "/>
  652. </td>
  653. <td rowspan="2" style="width:120px; height:76px; background-color:#ffffff; ">
  654. <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; "/>
  655. </td>
  656. </tr>
  657. <tr>
  658. <td style="width:120px; height:25px; background-color:#ffffff; ">
  659. <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; ">
  660. <caption>결제</caption>
  661. <script type="javascript" ev:event="DOMActivate">
  662. <![CDATA[
  663. fSetEndAcpt("approvalid_1", "aprv");
  664. ]]>
  665. </script>
  666. </button>
  667. <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; ">
  668. <caption>취소</caption>
  669. <script type="javascript" ev:event="DOMActivate">
  670. <![CDATA[
  671. fSetEndAcpt("approvalid_1", "cncl");
  672. ]]>
  673. </script>
  674. </button>
  675. </td>
  676. </tr>
  677. </table>
  678. <line id="line2" class="line_1" style="x1:595px; y1:25px; x2:1195px; y2:25px; "/>
  679. <caption id="cap_aprv3nm" style="left:963px; top:34px; width:100px; height:15px; font-weight:bold; text-align:center; "/>
  680. <caption id="cap_aprv4nm" style="left:1084px; top:34px; width:100px; height:15px; font-weight:bold; text-align:center; "/>
  681. </case>
  682. <case id="case2" style="left:0px; top:0px; width:1195px; height:493px; ">
  683. <caption id="caption5" class="tit_2" style="left:5px; top:9px; width:144px; height:15px; ">수납 상세내역</caption>
  684. <select1 id="cmb_worktype" ref="/root/send/search/worktype" appearance="minimal" style="left:910px; top:3px; width:123px; height:19px; ">
  685. <choices>
  686. <itemset nodeset="/root/init/worktypelist/PK021">
  687. <label ref="cdnm"/>
  688. <value ref="cdid"/>
  689. </itemset>
  690. </choices>
  691. </select1>
  692. <select1 id="cmb_rcpttype" ref="/root/send/search/rcpttype" appearance="minimal" style="left:1036px; top:3px; width:100px; height:19px; ">
  693. <choices>
  694. <item>
  695. <label>전체</label>
  696. <value>all</value>
  697. </item>
  698. <item>
  699. <label>현금금액</label>
  700. <value>cashamt</value>
  701. </item>
  702. <item>
  703. <label>카드금액</label>
  704. <value>cardamt</value>
  705. </item>
  706. <item>
  707. <label>온라인금액</label>
  708. <value>onlineamt</value>
  709. </item>
  710. <item>
  711. <label>미수금액</label>
  712. <value>uncoamt</value>
  713. </item>
  714. </choices>
  715. </select1>
  716. <button id="button4" class="btn1_letter2" style="left:1139px; top:2px; width:56px; height:22px; ">
  717. <caption>조회</caption>
  718. <script type="javascript" ev:event="DOMActivate">
  719. <![CDATA[
  720. model.setValue("/root/send/search/worktype", model.getValue("/root/send/search/worktype"));
  721. model.setValue("/root/send/search/rcpttype", model.getValue("/root/send/search/rcpttype"));
  722. if(submit("TRPAE00102")){
  723. fSetDetAmtSum(); //총계를 생성
  724. model.toggle("case2");
  725. button2.selected = true;
  726. }
  727. ]]>
  728. </script>
  729. </button>
  730. <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  731. <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; ">
  732. <col disabled="true" ref="worktype" type="combo" style="text-align:center; ">
  733. <choices>
  734. <itemset nodeset="/root/init/worktypelist/PK021">
  735. <label ref="cdnm"/>
  736. <value ref="cdid"/>
  737. </itemset>
  738. </choices>
  739. </col>
  740. <col ref="pid" style="text-align:center; "/>
  741. <col ref="hngnm" style="text-align:center; "/>
  742. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  743. <col ref="orddeptnm"/>
  744. <col ref="medispclnm" style="text-align:center; "/>
  745. <col ref="insukind" style="text-align:center; "/>
  746. <col ref="suppkind" style="text-align:center; "/>
  747. <col ref="cashamt" format="(-)#,###" style="text-align:right; "/>
  748. <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
  749. <col ref="onlineamt" format="(-)#,###" style="text-align:right; "/>
  750. <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  751. <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  752. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  753. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  754. <col ref="rcptno" style="text-align:center; "/>
  755. <col ref="rcptseqno" style="text-align:center; "/>
  756. <col ref="rcptrnm" style="text-align:center; "/>
  757. <col ref="ktrmnno" style="text-align:center; "/>
  758. <!--
  759. <col ref="instcd" visibility="hidden"/>
  760. <col ref="pid" visibility="hidden"/>
  761. <col ref="rcptdd" visibility="hidden"/>
  762. <col ref="rcptno" visibility="hidden"/>
  763. <col ref="rcptseqno" visibility="hidden"/>
  764. <col ref="rcptstat" visibility="hidden"/>
  765. <col ref="ordtype" visibility="hidden"/>
  766. <col ref="worktype" visibility="hidden"/>
  767. <col ref="orddd" visibility="hidden"/>
  768. <col ref="cretno" visibility="hidden"/>
  769. <col ref="medispclid" visibility="hidden"/>
  770. <col ref="atdoctid" visibility="hidden"/>
  771. <col ref="centcd" visibility="hidden"/>
  772. <col ref="orddeptcd" visibility="hidden"/>
  773. <col ref="supdeptcd" visibility="hidden"/>
  774. <col ref="mskind" visibility="hidden"/>
  775. <col ref="insukind" visibility="hidden"/>
  776. <col ref="suppkind" visibility="hidden"/>
  777. <col ref="calcmthdflag" visibility="hidden"/>
  778. <col ref="payamt" visibility="hidden"/>
  779. <col ref="payownbamt" visibility="hidden"/>
  780. <col ref="payownblimamt" visibility="hidden"/>
  781. <col ref="payinsurestamt" visibility="hidden"/>
  782. <col ref="payinsubamt" visibility="hidden"/>
  783. <col ref="paypsnflag" visibility="hidden"/>
  784. <col ref="paydepoamt" visibility="hidden"/>
  785. <col ref="paypsnrem" visibility="hidden"/>
  786. <col ref="nopyamt" visibility="hidden"/>
  787. <col ref="nopyownbamt" visibility="hidden"/>
  788. <col ref="nopyinsubamt" visibility="hidden"/>
  789. <col ref="allownbamt" visibility="hidden"/>
  790. <col ref="allowninsubamt" visibility="hidden"/>
  791. <col ref="allownownbamt" visibility="hidden"/>
  792. <col ref="specamt" visibility="hidden"/>
  793. <col ref="specownbamt" visibility="hidden"/>
  794. <col ref="specinsubamt" visibility="hidden"/>
  795. <col ref="handcapfund" visibility="hidden"/>
  796. <col ref="procsubtamt" visibility="hidden"/>
  797. <col ref="bloddiscamt" visibility="hidden"/>
  798. <col ref="heallifeamtclamamt" visibility="hidden"/>
  799. <col ref="suppamt" visibility="hidden"/>
  800. <col ref="pregdmndamt" visibility="hidden"/>
  801. <col ref="prepregdmndamt" visibility="hidden"/>
  802. <col ref="totownbamt" visibility="hidden"/>
  803. <col ref="mdlrcptamt" visibility="hidden"/>
  804. <col ref="premdlrcptamt" visibility="hidden"/>
  805. <col ref="precardamt" visibility="hidden"/>
  806. <col ref="precashamt" visibility="hidden"/>
  807. <col ref="preonlineamt" visibility="hidden"/>
  808. <col ref="cashamt" visibility="hidden"/>
  809. <col ref="cardamt" visibility="hidden"/>
  810. <col ref="onlineamt" visibility="hidden"/>
  811. <col ref="uncoamt" visibility="hidden"/>
  812. <col ref="uncocalcflag" visibility="hidden"/>
  813. <col ref="restamt" visibility="hidden"/>
  814. <col ref="discamt" visibility="hidden"/>
  815. <col ref="reduamt" visibility="hidden"/>
  816. <col ref="orgrcptdd" visibility="hidden"/>
  817. <col ref="orgrcptno" visibility="hidden"/>
  818. <col ref="orgrcptseqno" visibility="hidden"/>
  819. <col ref="rcptexecdd" visibility="hidden"/>
  820. <col ref="rcpttm" visibility="hidden"/>
  821. <col ref="rcptrid" visibility="hidden"/>
  822. <col ref="coopteamcd" visibility="hidden"/>
  823. <col ref="taxamt" visibility="hidden"/>
  824. <col ref="ktrmnno" visibility="hidden"/>
  825. <col ref="acptseqno" visibility="hidden"/>
  826. <col ref="insucd" visibility="hidden"/>
  827. <col ref="hosindrugno" visibility="hidden"/>
  828. <col ref="hosoutdrugno" visibility="hidden"/>
  829. <col ref="remfact" visibility="hidden"/>
  830. <col ref="tranflag" visibility="hidden"/>
  831. <col ref="refundyn" visibility="hidden"/>
  832. <col ref="rcptflag" visibility="hidden"/>
  833. <col ref="drgno" visibility="hidden"/>
  834. <col ref="incalcfromdd" visibility="hidden"/>
  835. <col ref="incalcenddd" visibility="hidden"/>
  836. <col ref="appdd" visibility="hidden"/>
  837. <col ref="outmoveyn" visibility="hidden"/>
  838. <col ref="clamlastdd" visibility="hidden"/>
  839. <col ref="calcrcptrem" visibility="hidden"/>
  840. <col ref="dschrcptflag" visibility="hidden"/>
  841. <col ref="cancelrsn" visibility="hidden"/>
  842. <col ref="totamt" visibility="hidden"/>
  843. <col ref="baseexamamt" visibility="hidden"/>
  844. <col ref="addexamamt" visibility="hidden"/>
  845. <col ref="payhealcntramt" visibility="hidden"/>
  846. <col ref="cmpyamt" visibility="hidden"/>
  847. <col ref="seqno" visibility="hidden"/>
  848. <col ref="claimym" visibility="hidden"/>
  849. <col ref="workflag" visibility="hidden"/>
  850. <col ref="mngtno" visibility="hidden"/>
  851. <col ref="histstat" visibility="hidden"/>
  852. <col ref="earncls" visibility="hidden"/>
  853. <col ref="aprvflag" visibility="hidden"/>
  854. <col ref="aprvdd" visibility="hidden"/>
  855. <col ref="aprvtm" visibility="hidden"/>
  856. <col ref="aprvno" visibility="hidden"/>
  857. <col ref="clamseqno" visibility="hidden"/>
  858. <col ref="depoownamt" visibility="hidden"/>
  859. <col ref="depoamt" visibility="hidden"/>
  860. <col ref="healcntrreduamt" visibility="hidden"/>
  861. <col ref="insureduamt" visibility="hidden"/>
  862. <col ref="healcntrrestamt" visibility="hidden"/>
  863. <col ref="insurestamt" visibility="hidden"/>
  864. <col ref="fstrgstrid" visibility="hidden"/>
  865. <col ref="fstrgstdt" visibility="hidden"/>
  866. <col ref="lastupdtrid" visibility="hidden"/>
  867. <col ref="lastupdtdt" visibility="hidden"/>
  868. <col ref="mig" visibility="hidden"/>
  869. -->
  870. </datagrid>
  871. <button id="button5" class="btn2_letter2" style="left:865px; top:3px; width:42px; height:19px; ">
  872. <caption>엑셀</caption>
  873. <script type="javascript" ev:event="DOMActivate">
  874. <![CDATA[
  875. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  876. grd_rcptdetlist.saveExcel(file);
  877. ]]>
  878. </script>
  879. </button>
  880. </case>
  881. </switch>
  882. <caption id="caption3" class="tit_2" style="left:0px; top:590px; width:100px; height:13px; ">수납내역</caption>
  883. <line id="line5" class="line_1" style="x1:0px; y1:604px; x2:1195px; y2:604px; "/>
  884. <line id="line4" style="x1:0px; y1:609px; x2:1195px; y2:609px; text-align:right; border-color:#b0b0b0; "/>
  885. <line id="line6" style="x1:0px; y1:779px; x2:1034px; y2:779px; border-color:#b0b0b0; "/>
  886. <table id="tb_mgsm" cellspacing="-1" style="left:0px; top:610px; width:1195px; height:169px; text-align:right; vertical-align:middle; border-color:#ffffff; ">
  887. <tr>
  888. <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">현금</td>
  889. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  890. <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; "/>
  891. </td>
  892. <td colspan="2" style="width:66px; height:23px; background-color:#cce8ff; ">미수발생</td>
  893. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  894. <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; "/>
  895. </td>
  896. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
  897. <![CDATA[청구
  898. 미수]]>
  899. </td>
  900. <td style="width:60px; height:23px; background-color:#e6f5ff; ">발생</td>
  901. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  902. <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; "/>
  903. </td>
  904. <td rowspan="4" style="width:38px; height:92px; line-spacing:3; background-color:#cce8ff; ">
  905. <![CDATA[외래
  906. 선수금]]>
  907. </td>
  908. <td style="width:50px; height:23px; background-color:#e6f5ff; ">현금</td>
  909. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  910. <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; "/>
  911. </td>
  912. <td rowspan="4" style="width:38px; height:92px; line-spacing:3; background-color:#cce8ff; ">
  913. <![CDATA[가정
  914. 간호
  915. 선수금]]>
  916. </td>
  917. <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
  918. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  919. <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; "/>
  920. </td>
  921. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
  922. <![CDATA[수혈
  923. 보상
  924. 액]]>
  925. </td>
  926. <td style="width:38px; height:23px; background-color:#e6f5ff; ">발생</td>
  927. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  928. <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; "/>
  929. </td>
  930. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">건유비</td>
  931. <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
  932. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  933. <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; "/>
  934. </td>
  935. </tr>
  936. <tr>
  937. <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">카드</td>
  938. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  939. <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; "/>
  940. </td>
  941. <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; ">
  942. <![CDATA[미수
  943. 입금]]>
  944. </td>
  945. <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
  946. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  947. <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; "/>
  948. </td>
  949. <td style="width:60px; height:23px; background-color:#e6f5ff; ">입금</td>
  950. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  951. <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; "/>
  952. </td>
  953. <td style="width:50px; height:23px; background-color:#e6f5ff; ">카드</td>
  954. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  955. <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; "/>
  956. </td>
  957. <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
  958. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  959. <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; "/>
  960. </td>
  961. <td style="width:38px; height:23px; background-color:#e6f5ff; ">입금</td>
  962. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  963. <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; "/>
  964. </td>
  965. <td style="width:28px; height:23px; background-color:#e6f5ff; ">입금</td>
  966. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  967. <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; "/>
  968. </td>
  969. </tr>
  970. <tr>
  971. <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">온라인</td>
  972. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  973. <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; "/>
  974. </td>
  975. <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
  976. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  977. <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; "/>
  978. </td>
  979. <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">미수대손처리</td>
  980. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  981. <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; "/>
  982. </td>
  983. <td style="width:50px; height:23px; background-color:#e6f5ff; ">온라인</td>
  984. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  985. <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; "/>
  986. </td>
  987. <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
  988. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  989. <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; "/>
  990. </td>
  991. <td rowspan="2" style="width:38px; height:46px; line-spacing:3; background-color:#cce8ff; ">
  992. <![CDATA[카드
  993. 입금]]>
  994. </td>
  995. <td style="width:38px; height:23px; background-color:#e6f5ff; ">금액</td>
  996. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  997. <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; "/>
  998. </td>
  999. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
  1000. <![CDATA[산전
  1001. 지원비]]>
  1002. </td>
  1003. <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
  1004. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1005. <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; "/>
  1006. </td>
  1007. </tr>
  1008. <tr>
  1009. <td colspan="2" style="width:66px; height:23px; font-weight:bold; background-color:#cce8ff; border-color:#d4d0c8; ">미수</td>
  1010. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1011. <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; "/>
  1012. </td>
  1013. <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
  1014. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1015. <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; "/>
  1016. </td>
  1017. <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">미수승인미수처리</td>
  1018. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1019. <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; "/>
  1020. </td>
  1021. <td style="width:50px; height:23px; background-color:#e6f5ff; ">대체</td>
  1022. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1023. <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; "/>
  1024. </td>
  1025. <td style="width:38px; height:23px; background-color:#e6f5ff; ">대체</td>
  1026. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1027. <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; "/>
  1028. </td>
  1029. <td style="width:38px; height:23px; background-color:#e6f5ff; ">수수료</td>
  1030. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1031. <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; "/>
  1032. </td>
  1033. <td style="width:28px; height:23px; background-color:#e6f5ff; ">입금</td>
  1034. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1035. <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; "/>
  1036. </td>
  1037. </tr>
  1038. <tr>
  1039. <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; border-color:#d4d0c8; ">
  1040. <![CDATA[외래
  1041. 수납]]>
  1042. </td>
  1043. <td style="width:38px; height:23px; background-color:#e6f5ff; border-color:#d4d0c8; ">현금</td>
  1044. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1045. <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; "/>
  1046. </td>
  1047. <td rowspan="3" style="width:28px; height:69px; line-spacing:3; background-color:#cce8ff; ">
  1048. <![CDATA[입원
  1049. 수납]]>
  1050. </td>
  1051. <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
  1052. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1053. <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; "/>
  1054. </td>
  1055. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">
  1056. <![CDATA[장기
  1057. 요양
  1058. 소견서]]>
  1059. </td>
  1060. <td style="width:60px; height:23px; background-color:#e6f5ff; ">청구</td>
  1061. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1062. <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; "/>
  1063. </td>
  1064. <td rowspan="3" style="width:38px; height:69px; line-spacing:3; background-color:#cce8ff; ">
  1065. <![CDATA[사업체
  1066. 미수]]>
  1067. </td>
  1068. <td style="width:50px; height:23px; background-color:#e6f5ff; ">발생</td>
  1069. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1070. <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; "/>
  1071. </td>
  1072. <td rowspan="3" style="width:38px; height:69px; line-spacing:3; background-color:#cce8ff; ">
  1073. <![CDATA[독촉
  1074. 미수
  1075. 입금]]>
  1076. </td>
  1077. <td style="width:38px; height:23px; background-color:#e6f5ff; ">현금</td>
  1078. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1079. <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; "/>
  1080. </td>
  1081. <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">부가가치세</td>
  1082. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1083. <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; "/>
  1084. </td>
  1085. <td rowspan="2" style="width:38px; height:46px; background-color:#cce8ff; ">보관금</td>
  1086. <td style="width:28px; height:23px; background-color:#e6f5ff; ">발생</td>
  1087. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1088. <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; "/>
  1089. </td>
  1090. </tr>
  1091. <tr>
  1092. <td style="width:38px; height:23px; background-color:#e6f5ff; border-color:#d4d0c8; ">카드</td>
  1093. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1094. <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; "/>
  1095. </td>
  1096. <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
  1097. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1098. <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; "/>
  1099. </td>
  1100. <td style="width:60px; height:23px; background-color:#e6f5ff; ">미수입금</td>
  1101. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1102. <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; "/>
  1103. </td>
  1104. <td style="width:50px; height:23px; background-color:#e6f5ff; ">현금입금</td>
  1105. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1106. <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; "/>
  1107. </td>
  1108. <td style="width:38px; height:23px; background-color:#e6f5ff; ">카드</td>
  1109. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1110. <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; "/>
  1111. </td>
  1112. <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">할인금액</td>
  1113. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1114. <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; "/>
  1115. </td>
  1116. <td style="width:28px; height:23px; background-color:#e6f5ff; ">환불</td>
  1117. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1118. <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; "/>
  1119. </td>
  1120. </tr>
  1121. <tr>
  1122. <td style="width:38px; height:23px; background-color:#e6f5ff; border-style:none; ">온라인</td>
  1123. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1124. <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; "/>
  1125. </td>
  1126. <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
  1127. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1128. <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; "/>
  1129. </td>
  1130. <td colspan="2" style="width:97px; height:23px; background-color:#cce8ff; ">민원입금</td>
  1131. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1132. <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; "/>
  1133. </td>
  1134. <td style="width:50px; height:23px; background-color:#e6f5ff; ">카드입금</td>
  1135. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1136. <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; "/>
  1137. </td>
  1138. <td style="width:38px; height:23px; background-color:#e6f5ff; ">온라인</td>
  1139. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1140. <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; "/>
  1141. </td>
  1142. <td colspan="2" style="width:76px; height:23px; background-color:#cce8ff; ">감액</td>
  1143. <td style="width:91px; height:23px; border-color:#d4d0c8; border-style:solid; ">
  1144. <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; "/>
  1145. </td>
  1146. <td colspan="3" style="width:157px; height:23px; "/>
  1147. </tr>
  1148. </table>
  1149. <button id="btn_prtrcpt" class="btn4_letter2" style="left:1139px; top:581px; width:56px; height:22px; ">
  1150. <caption>출력</caption>
  1151. <script type="javascript" ev:event="DOMActivate">
  1152. <![CDATA[
  1153. if (getUserId() != "PAM") {
  1154. model.setValue("/root/send/search/staffkind", "1");
  1155. submit("TRPAE00110", false);
  1156. if (eval(model.getValue("/root/hidden/aprvinfo/aprvcnt")) < 1) {
  1157. messageBox("수납자 결제 후 출력이 가능합니다.", "E999");
  1158. return;
  1159. }
  1160. }
  1161. model.removenode("/root/report");
  1162. model.makeNode("/root/report/rcptlist");
  1163. model.copyNode("/root/report/rcptlist", "/root/main/endinfo/rcptinfolist");
  1164. submit("TRPAE00107", false);
  1165. model.makeValue("/root/report/prtinfo/enddd", model.getValue("/root/send/search/enddd"));
  1166. model.makeValue("/root/report/prtinfo/aprv3nm", APRV3_NM);
  1167. model.makeValue("/root/report/prtinfo/aprv4nm", APRV4_NM);
  1168. exeReportPreview("RPPAE00100", "XMLSTR");
  1169. ]]>
  1170. </script>
  1171. </button>
  1172. </xhtml:body>
  1173. </xhtml:html>