SMMNH06900_기부금영수증발행관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>기부금영수증 발행 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. </init>
  11. <main>
  12. <prtinfo>
  13. <prtlist/>
  14. </prtinfo>
  15. <prtdetlinfo>
  16. <prtdetllist/>
  17. </prtdetlinfo>
  18. </main>
  19. <temp>
  20. <conposflag/>
  21. <conmembflag/>
  22. <membnm/>
  23. <membflag>2</membflag>
  24. <fromdd/>
  25. <todd/>
  26. <prtseq/>
  27. <prtyy/>
  28. <seqno/>
  29. <prtflag/>
  30. </temp>
  31. <send>
  32. <reqdadta/>
  33. </send>
  34. <tmp>
  35. <prtinfo/>
  36. </tmp>
  37. </root>
  38. </instance>
  39. <submission id="TRMNH06901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/main/prtinfo"/>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  44. <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. function fSearch() {
  48. model.removeNodeset(grd_prtdetllist.nodeset);
  49. submit("TRMNH06901");
  50. }
  51. ]]>
  52. </script>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. ipt_fromdd.value = getCurrentDate();
  56. ipt_todd.value = getCurrentDate();
  57. fSearch();
  58. ]]>
  59. </script>
  60. <submission id="TRMNH06902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prtdetlinfo"/>
  61. <submission id="TRMNH06903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/tmp/prtinfo"/>
  62. </model>
  63. </xhtml:head>
  64. <xhtml:body guideline="1,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:15px; ">기부금영수증발행관리</caption>
  67. </group>
  68. <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:14px; width:1195px; height:720px; ">
  69. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
  70. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:45px; "/>
  71. <caption id="caption2" class="search_name" style="left:516px; top:11px; width:86px; height:17px; ">회원구분 :</caption>
  72. <button id="btn_search" class="btn1_letter2" style="left:1065px; top:10px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. fSearch();
  77. ]]>
  78. </script>
  79. </button>
  80. <line id="line13" class="line_4" style="x1:1054px; y1:10px; x2:1054px; y2:32px; "/>
  81. <select1 id="cmb_conmembflag" ref="/root/temp/conmembflag" class="combo_search" appearance="minimal" style="left:608px; top:10px; width:95px; height:19px; ">
  82. <choices>
  83. <item>
  84. <label>전체</label>
  85. <value/>
  86. </item>
  87. <item>
  88. <label>봉사자</label>
  89. <value>01</value>
  90. </item>
  91. <item>
  92. <label>직원</label>
  93. <value>02</value>
  94. </item>
  95. <item>
  96. <label>일반</label>
  97. <value>03</value>
  98. </item>
  99. </choices>
  100. <script type="javascript" ev:event="xforms-value-changed">
  101. <![CDATA[
  102. ]]>
  103. </script>
  104. </select1>
  105. <select1 id="cmb_conposflag" ref="/root/temp/conposflag" class="combo_search" appearance="minimal" style="left:410px; top:10px; width:95px; height:19px; ">
  106. <choices>
  107. <item>
  108. <label>전체</label>
  109. <value/>
  110. </item>
  111. <item>
  112. <label>개인</label>
  113. <value>01</value>
  114. </item>
  115. <item>
  116. <label>단체</label>
  117. <value>02</value>
  118. </item>
  119. <item>
  120. <label>익명</label>
  121. <value>03</value>
  122. </item>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. ]]>
  127. </script>
  128. </select1>
  129. <caption id="caption13" class="search_name" style="left:318px; top:11px; width:86px; height:17px; ">소속구분 :</caption>
  130. <caption id="caption4" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">발행일자 :</caption>
  131. <input id="input1" ref="/root/temp/membnm" style="left:857px; top:13px; width:100px; height:19px; ">
  132. <script type="javascript" ev:event="onkeyup">
  133. <![CDATA[
  134. inputEnterKey("btn_search", "DOMActivate");
  135. ]]>
  136. </script>
  137. </input>
  138. <select1 id="rdo_membflag" ref="/root/temp/membflag" appearance="full" cols="2" overflow="visible" style="left:715px; top:15px; width:140px; height:13px; border-style:none; ">
  139. <choices>
  140. <item>
  141. <label>회원명</label>
  142. <value>2</value>
  143. </item>
  144. <item>
  145. <label>회원번호</label>
  146. <value>1</value>
  147. </item>
  148. </choices>
  149. </select1>
  150. <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_s_essential" inputtype="date" style="left:95px; top:12px; width:100px; height:19px; "/>
  151. <input id="ipt_todd" ref="/root/temp/todd" class="input_s_essential" inputtype="date" style="left:212px; top:12px; width:100px; height:19px; "/>
  152. <caption id="caption1" style="left:198px; top:15px; width:15px; height:20px; ">~</caption>
  153. <button id="button10" class="btn1_letter2" style="left:1125px; top:10px; width:56px; height:22px; ">
  154. <caption>엑셀</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. var fileName = window.fileDialog("save", ",", false, "선납재료관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  158. if (fileName != "")
  159. {
  160. grd_prtlist.saveExcel(fileName, "SheetName;col_1:label;col_2:label", false, false, "", "", "false");
  161. }
  162. ]]>
  163. </script>
  164. </button>
  165. </group>
  166. <caption id="caption7" class="tit_2" style="left:5px; top:65px; width:253px; height:13px; ">기부금 영수증 발행 내역</caption>
  167. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:746px; y2:80px; "/>
  168. <button id="button6" class="btn2_letter10" style="left:1060px; top:60px; width:130px; height:19px; ">
  169. <caption>기부금 영수증 재출력</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. var node = instance1.selectNodes(grd_prtdetllist.nodeset + "[chkyn='Y']");
  173. if(node.length == 0) {
  174. messageBox("기부금 영수증 재출력할 항목을 선택하여 주십시오.", "E");
  175. return;
  176. }
  177. var chkyn = "";
  178. for(var i = grd_prtdetllist.fixedRows; i < grd_prtdetllist.rows; i++) {
  179. chkyn = grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("chkyn"));
  180. if(chkyn == "Y") {
  181. model.makeValue("/root/temp/prtseq", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtseq")));
  182. model.makeValue("/root/temp/prtyy", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtyy")));
  183. model.makeValue("/root/temp/seqno", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("seqno")));
  184. model.makeValue("/root/temp/prtflag", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtflag")));
  185. submit("TRMNH06903", false);
  186. exeReportPreview("RPMNH02400", "XMLSTR");
  187. }
  188. }
  189. ]]>
  190. </script>
  191. </button>
  192. <datagrid id="grd_prtlist" nodeset="/root/main/prtinfo/prtlist" caption="발행일^소속구분^회원구분^회원번호^단체명^회원명^주민등록번호^발행매수" colsep="^" colwidth="90, 80, 80, 80, 118, 80, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:85px; width:746px; height:633px; ">
  193. <col ref="prtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  194. <col disabled="true" ref="posflag" type="combo">
  195. <choices>
  196. <item>
  197. <label>개인</label>
  198. <value>01</value>
  199. </item>
  200. <item>
  201. <label>단체</label>
  202. <value>02</value>
  203. </item>
  204. <item>
  205. <label>익명</label>
  206. <value>03</value>
  207. </item>
  208. </choices>
  209. </col>
  210. <col disabled="true" ref="membflag" type="combo" style="text-align:center; ">
  211. <choices>
  212. <item>
  213. <label>봉사자</label>
  214. <value>01</value>
  215. </item>
  216. <item>
  217. <label>직원</label>
  218. <value>02</value>
  219. </item>
  220. <item>
  221. <label>일반</label>
  222. <value>03</value>
  223. </item>
  224. </choices>
  225. </col>
  226. <col ref="membno" style="text-align:center; "/>
  227. <col ref="cmntnm" style="text-align:center; "/>
  228. <col ref="membnm" style="text-align:center; "/>
  229. <col ref="rrgstno" style="text-align:center; "/>
  230. <col ref="cnt" style="text-align:center; "/>
  231. <script type="javascript" ev:event="onclick">
  232. <![CDATA[
  233. if(grd_prtlist.isCell(event.target) && grd_prtlist.mouseRow >= grd_prtlist.fixedrows){
  234. model.makeValue("/root/send/reqdata/prtdd", grd_prtlist.valueMatrix(grd_prtlist.row, grd_prtlist.colRef("prtdd")));
  235. model.makeValue("/root/send/reqdata/membno", grd_prtlist.valueMatrix(grd_prtlist.row, grd_prtlist.colRef("membno")));
  236. submit("TRMNH06902");
  237. }
  238. ]]>
  239. </script>
  240. </datagrid>
  241. <datagrid id="grd_prtdetllist" nodeset="/root/main/prtdetlinfo/prtdetllist" caption="^구분^일련번호^회원번호^회원명^단체명^caption1^caption2" colsep="^" colwidth="25, 50, 86, 80, 72, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:755px; top:85px; width:435px; height:633px; ">
  242. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  243. <col disabled="true" ref="prtflag" type="combo" style="text-align:center; ">
  244. <choices>
  245. <item>
  246. <label>소득세</label>
  247. <value>1</value>
  248. </item>
  249. <item>
  250. <label>법인세</label>
  251. <value>2</value>
  252. </item>
  253. </choices>
  254. </col>
  255. <col ref="seqno" style="text-align:center; "/>
  256. <col ref="membno" style="text-align:center; "/>
  257. <col ref="membnm" style="text-align:center; "/>
  258. <col ref="cmntnm" style="text-align:center; "/>
  259. <col ref="prtyy" visibility="hidden"/>
  260. <col ref="prtseq" visibility="hidden"/>
  261. </datagrid>
  262. <line id="line2" class="line_1" style="x1:755px; y1:80px; x2:1190px; y2:80px; "/>
  263. <caption id="caption3" class="tit_2" style="left:755px; top:65px; width:253px; height:13px; ">기부금 영수증 발행 상세</caption>
  264. </group>
  265. </xhtml:body>
  266. </xhtml:html>