123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>기부금영수증 발행 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- </init>
- <main>
- <prtinfo>
- <prtlist/>
- </prtinfo>
- <prtdetlinfo>
- <prtdetllist/>
- </prtdetlinfo>
- </main>
- <temp>
- <conposflag/>
- <conmembflag/>
- <membnm/>
- <membflag>2</membflag>
- <fromdd/>
- <todd/>
- <prtseq/>
- <prtyy/>
- <seqno/>
- <prtflag/>
- </temp>
- <send>
- <reqdadta/>
- </send>
- <tmp>
- <prtinfo/>
- </tmp>
- </root>
- </instance>
- <submission id="TRMNH06901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/main/prtinfo"/>
- <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/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
- model.removeNodeset(grd_prtdetllist.nodeset);
- submit("TRMNH06901");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ipt_fromdd.value = getCurrentDate();
- ipt_todd.value = getCurrentDate();
-
- fSearch();
- ]]>
- </script>
- <submission id="TRMNH06902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prtdetlinfo"/>
- <submission id="TRMNH06903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/tmp/prtinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:15px; ">기부금영수증발행관리</caption>
- </group>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:14px; width:1195px; height:720px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:45px; "/>
- <caption id="caption2" class="search_name" style="left:516px; top:11px; width:86px; height:17px; ">회원구분 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1065px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1054px; y1:10px; x2:1054px; y2:32px; "/>
- <select1 id="cmb_conmembflag" ref="/root/temp/conmembflag" class="combo_search" appearance="minimal" style="left:608px; top:10px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>봉사자</label>
- <value>01</value>
- </item>
- <item>
- <label>직원</label>
- <value>02</value>
- </item>
- <item>
- <label>일반</label>
- <value>03</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_conposflag" ref="/root/temp/conposflag" class="combo_search" appearance="minimal" style="left:410px; top:10px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>개인</label>
- <value>01</value>
- </item>
- <item>
- <label>단체</label>
- <value>02</value>
- </item>
- <item>
- <label>익명</label>
- <value>03</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="search_name" style="left:318px; top:11px; width:86px; height:17px; ">소속구분 :</caption>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">발행일자 :</caption>
- <input id="input1" ref="/root/temp/membnm" style="left:857px; top:13px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <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; ">
- <choices>
- <item>
- <label>회원명</label>
- <value>2</value>
- </item>
- <item>
- <label>회원번호</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_s_essential" inputtype="date" style="left:95px; top:12px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/temp/todd" class="input_s_essential" inputtype="date" style="left:212px; top:12px; width:100px; height:19px; "/>
- <caption id="caption1" style="left:198px; top:15px; width:15px; height:20px; ">~</caption>
- <button id="button10" class="btn1_letter2" style="left:1125px; top:10px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "선납재료관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_prtlist.saveExcel(fileName, "SheetName;col_1:label;col_2:label", false, false, "", "", "false");
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption7" class="tit_2" style="left:5px; top:65px; width:253px; height:13px; ">기부금 영수증 발행 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:746px; y2:80px; "/>
- <button id="button6" class="btn2_letter10" style="left:1060px; top:60px; width:130px; height:19px; ">
- <caption>기부금 영수증 재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var node = instance1.selectNodes(grd_prtdetllist.nodeset + "[chkyn='Y']");
-
- if(node.length == 0) {
- messageBox("기부금 영수증 재출력할 항목을 선택하여 주십시오.", "E");
- return;
- }
-
- var chkyn = "";
-
- for(var i = grd_prtdetllist.fixedRows; i < grd_prtdetllist.rows; i++) {
- chkyn = grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("chkyn"));
-
- if(chkyn == "Y") {
- model.makeValue("/root/temp/prtseq", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtseq")));
- model.makeValue("/root/temp/prtyy", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtyy")));
- model.makeValue("/root/temp/seqno", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("seqno")));
- model.makeValue("/root/temp/prtflag", grd_prtdetllist.valueMatrix(i, grd_prtdetllist.colRef("prtflag")));
-
- submit("TRMNH06903", false);
-
- exeReportPreview("RPMNH02400", "XMLSTR");
- }
- }
-
-
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="prtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="posflag" type="combo">
- <choices>
- <item>
- <label>개인</label>
- <value>01</value>
- </item>
- <item>
- <label>단체</label>
- <value>02</value>
- </item>
- <item>
- <label>익명</label>
- <value>03</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="membflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>봉사자</label>
- <value>01</value>
- </item>
- <item>
- <label>직원</label>
- <value>02</value>
- </item>
- <item>
- <label>일반</label>
- <value>03</value>
- </item>
- </choices>
- </col>
- <col ref="membno" style="text-align:center; "/>
- <col ref="cmntnm" style="text-align:center; "/>
- <col ref="membnm" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="cnt" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_prtlist.isCell(event.target) && grd_prtlist.mouseRow >= grd_prtlist.fixedrows){
- model.makeValue("/root/send/reqdata/prtdd", grd_prtlist.valueMatrix(grd_prtlist.row, grd_prtlist.colRef("prtdd")));
- model.makeValue("/root/send/reqdata/membno", grd_prtlist.valueMatrix(grd_prtlist.row, grd_prtlist.colRef("membno")));
-
- submit("TRMNH06902");
- }
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col disabled="true" ref="prtflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>소득세</label>
- <value>1</value>
- </item>
- <item>
- <label>법인세</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="seqno" style="text-align:center; "/>
- <col ref="membno" style="text-align:center; "/>
- <col ref="membnm" style="text-align:center; "/>
- <col ref="cmntnm" style="text-align:center; "/>
- <col ref="prtyy" visibility="hidden"/>
- <col ref="prtseq" visibility="hidden"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:755px; y1:80px; x2:1190px; y2:80px; "/>
- <caption id="caption3" class="tit_2" style="left:755px; top:65px; width:253px; height:13px; ">기부금 영수증 발행 상세</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|