(X)SMRAT01000_재증명발급(X).xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  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. <main>
  10. <list>
  11. <taxbilllist/>
  12. </list>
  13. <prntlist/>
  14. <ctrls>
  15. <total>
  16. <cnt/>
  17. <supamt/>
  18. <tax/>
  19. <sum/>
  20. </total>
  21. <mutualpossible>
  22. <cnt/>
  23. <supamt/>
  24. <tax/>
  25. <sum/>
  26. </mutualpossible>
  27. <mutualimpossible>
  28. <cnt/>
  29. <supamt/>
  30. <tax/>
  31. <sum/>
  32. </mutualimpossible>
  33. <fixproperty>
  34. <cnt/>
  35. <supamt/>
  36. <tax/>
  37. <sum/>
  38. </fixproperty>
  39. </ctrls>
  40. </main>
  41. <send>
  42. <retrparam>
  43. <yyyy/>
  44. <reptkind>1</reptkind>
  45. <frdate/>
  46. <todate/>
  47. <taxbillkind>4</taxbillkind>
  48. <taxbillflag>1</taxbillflag>
  49. <entrregno/>
  50. <custnm/>
  51. <prsdnm/>
  52. </retrparam>
  53. <date/>
  54. <prntretrparams>
  55. <seqno/>
  56. </prntretrparams>
  57. </send>
  58. <init>
  59. <init_taxbillkind>
  60. <item>
  61. <label>세금계산서</label>
  62. <value>4</value>
  63. </item>
  64. <item>
  65. <label>계산서</label>
  66. <value>5</value>
  67. </item>
  68. </init_taxbillkind>
  69. <init_taxbillflag>
  70. <item>
  71. <label>매입</label>
  72. <value>1</value>
  73. </item>
  74. <item>
  75. <label>매출</label>
  76. <value>2</value>
  77. </item>
  78. </init_taxbillflag>
  79. <init_reptkind>
  80. <item>
  81. <label>1기예정</label>
  82. <value>1</value>
  83. </item>
  84. <item>
  85. <label>1기확정</label>
  86. <value>2</value>
  87. </item>
  88. <item>
  89. <label>2기예정</label>
  90. <value>3</value>
  91. </item>
  92. <item>
  93. <label>2기확정</label>
  94. <value>4</value>
  95. </item>
  96. </init_reptkind>
  97. <init_flagcd>
  98. <item>
  99. <label>기본</label>
  100. <value>1</value>
  101. </item>
  102. <item>
  103. <label>마이너스</label>
  104. <value>2</value>
  105. </item>
  106. <item>
  107. <label>영세율</label>
  108. <value>3</value>
  109. </item>
  110. <item>
  111. <label>주민등록</label>
  112. <value>4</value>
  113. </item>
  114. </init_flagcd>
  115. <init_fixasetflag>
  116. <item>
  117. <label>해당사항없음</label>
  118. <value>00</value>
  119. </item>
  120. <item>
  121. <label>건,구축물</label>
  122. <value>01</value>
  123. </item>
  124. <item>
  125. <label>기계장치</label>
  126. <value>02</value>
  127. </item>
  128. <item>
  129. <label>차량운반구</label>
  130. <value>03</value>
  131. </item>
  132. <item>
  133. <label>기타감가상각물</label>
  134. <value>04</value>
  135. </item>
  136. </init_fixasetflag>
  137. </init>
  138. </root>
  139. </instance>
  140. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  141. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  142. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  143. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  144. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  145. <script type="javascript" ev:event="xforms-ready">
  146. <![CDATA[
  147. fResetForm();
  148. ]]>
  149. </script>
  150. <script type="javascript">
  151. <![CDATA[
  152. function fResetForm()
  153. {
  154. model.removeNodeset("/root/main/list/taxbilllist");
  155. misfMsterDetailSet(grd_taxbilllist, null, "TRRAT00102", "Y");
  156. model.setValue("/root/send/retrparam/yyyy", getCurrentDate().substr(0, 4));
  157. // 현재일자 세팅
  158. model.setValue("/root/send/retrparam/frdate", getCurrentDate());
  159. model.setValue("/root/send/retrparam/todate", getCurrentDate());
  160. grd_taxbilllist.rowheight(0) = 35;
  161. fSetReptKind();
  162. fSetDate();
  163. model.refresh();
  164. }
  165. function fRetrieve()
  166. {
  167. if(model.getValue("/root/send/retrparam/yyyy").length != 4)
  168. {
  169. messageBox("년도가 잘못되었습니다.", "I999");
  170. return;
  171. }
  172. model.setValue("/root/send/prntretrparams/seqno", "");
  173. model.removeNodeset("/root/main/list/taxbilllist");
  174. model.refresh();
  175. misfMsterDetailRetrieve();
  176. model.recalculate();
  177. }
  178. function fSetReptKind()
  179. {
  180. var sMonth = getCurrentDate().substr(4, 2);
  181. if(sMonth == "01" || sMonth == "02" || sMonth == "03")
  182. {
  183. model.setValue("/root/send/retrparam/reptkind", "1");
  184. }
  185. else if(sMonth == "04" || sMonth == "05" || sMonth == "06")
  186. {
  187. model.setValue("/root/send/retrparam/reptkind", "2");
  188. }
  189. else if(sMonth == "07" || sMonth == "08" || sMonth == "09")
  190. {
  191. model.setValue("/root/send/retrparam/reptkind", "3");
  192. }
  193. else if(sMonth == "10" || sMonth == "11" || sMonth == "12")
  194. {
  195. model.setValue("/root/send/retrparam/reptkind", "4");
  196. }
  197. model.refresh();
  198. }
  199. function fSetDate()
  200. {
  201. if(model.getValue("/root/send/retrparam/yyyy").length != 4)
  202. {
  203. messageBox("년도가 잘못되었습니다.", "I999");
  204. return;
  205. }
  206. var sReptKind = model.getValue("/root/send/retrparam/reptkind");
  207. if(sReptKind == "1")
  208. {
  209. model.setValue("/root/send/retrparam/frdate", model.getValue("/root/send/retrparam/yyyy") + "0101");
  210. model.setValue("/root/send/retrparam/todate", model.getValue("/root/send/retrparam/yyyy") + "0331");
  211. }
  212. else if(sReptKind == "2")
  213. {
  214. model.setValue("/root/send/retrparam/frdate", model.getValue("/root/send/retrparam/yyyy") + "0101");
  215. model.setValue("/root/send/retrparam/todate", model.getValue("/root/send/retrparam/yyyy") + "0630");
  216. }
  217. else if(sReptKind == "3")
  218. {
  219. model.setValue("/root/send/retrparam/frdate", model.getValue("/root/send/retrparam/yyyy") + "0701");
  220. model.setValue("/root/send/retrparam/todate", model.getValue("/root/send/retrparam/yyyy") + "0930");
  221. }
  222. else if(sReptKind == "4")
  223. {
  224. model.setValue("/root/send/retrparam/frdate", model.getValue("/root/send/retrparam/yyyy") + "0701");
  225. model.setValue("/root/send/retrparam/todate", model.getValue("/root/send/retrparam/yyyy") + "1231");
  226. }
  227. model.refresh();
  228. }
  229. function fAddDelRow(sStatus)
  230. {
  231. if(sStatus == "A")
  232. {
  233. misfGridIUD(grd_taxbilllist, sStatus);
  234. grd_taxbilllist.valueMatrix(grd_taxbilllist.row, grd_taxbilllist.colRef("instcd")) = getUserInfo("dutplceinstcd");
  235. }
  236. else
  237. {
  238. misfGridIUD(grd_taxbilllist, sStatus);
  239. }
  240. }
  241. function fSave()
  242. {
  243. misfSave("TXRAT00101");
  244. fRetrieve();
  245. }
  246. function fSetPrntRetrParams()
  247. {
  248. model.setValue("/root/send/prntretrparams/seqno", model.getValue("/root/main/list/taxbilllist[" + grd_taxbilllist.row + "]/seqno"));
  249. }
  250. function fPrintTaxBill()
  251. {
  252. submit("TRRAT00701");
  253. if(rdo_billkind.value == 4)
  254. {
  255. exeReportPreview("RPRAT00701", "XMLSTR");
  256. }
  257. else
  258. {
  259. exeReportPreview("RPRAT00702", "XMLSTR");
  260. }
  261. }
  262. ]]>
  263. </script>
  264. <submission id="TXRAT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/taxbilllist" resultref="/root/temp"/>
  265. <submission id="TRRAT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/main/list"/>
  266. <bind id="tot_cnt" ref="/root/main/ctrls/total/cnt" calculate="count(/root/main/list/taxbilllist/seqno)"/>
  267. <bind id="tot_supamt" ref="/root/main/ctrls/total/supamt" calculate="sum(/root/main/list/taxbilllist/suplamt)"/>
  268. <bind id="tot_tax" ref="/root/main/ctrls/total/tax" calculate="sum(/root/main/list/taxbilllist/valaddtax)"/>
  269. <bind id="tot_sum" ref="/root/main/ctrls/total/sum" calculate="sum(/root/main/list/taxbilllist/amt)"/>
  270. <bind id="tot1_cnt" ref="/root/main/ctrls/mutualpossible/cnt" calculate="count(/root/main/list/taxbilllist[deduyn='Y']/seqno)"/>
  271. <bind id="tot1_supamt" ref="/root/main/ctrls/mutualpossible/supamt" calculate="sum(/root/main/list/taxbilllist[deduyn='Y']/suplamt)"/>
  272. <bind id="tot1_tax" ref="/root/main/ctrls/mutualpossible/tax" calculate="sum(/root/main/list/taxbilllist[deduyn='Y']/valaddtax)"/>
  273. <bind id="tot1_sum" ref="/root/main/ctrls/mutualpossible/sum" calculate="sum(/root/main/list/taxbilllist[deduyn='Y']/amt)"/>
  274. <bind id="tot2_cnt" ref="/root/main/ctrls/mutualimpossible/cnt" calculate="count(/root/main/list/taxbilllist[deduyn!='Y']/seqno)"/>
  275. <bind id="tot2_supamt" ref="/root/main/ctrls/mutualimpossible/supamt" calculate="sum(/root/main/list/taxbilllist[deduyn!='Y']/suplamt)"/>
  276. <bind id="tot2_tax" ref="/root/main/ctrls/mutualimpossible/tax" calculate="sum(/root/main/list/taxbilllist[deduyn!='Y']/valaddtax)"/>
  277. <bind id="tot2_sum" ref="/root/main/ctrls/mutualimpossible/sum" calculate="sum(/root/main/list/taxbilllist[deduyn!='Y']/amt)"/>
  278. <bind id="tot3_cnt" ref="/root/main/ctrls/fixproperty/cnt" calculate="count(/root/main/list/taxbilllist[fixasetflag!='00']/seqno)"/>
  279. <bind id="tot3_supamt" ref="/root/main/ctrls/fixproperty/supamt" calculate="sum(/root/main/list/taxbilllist[fixasetflag!='00']/suplamt)"/>
  280. <bind id="tot3_tax" ref="/root/main/ctrls/fixproperty/tax" calculate="sum(/root/main/list/taxbilllist[fixasetflag!='00']/valaddtax)"/>
  281. <bind id="tot3_sum" ref="/root/main/ctrls/fixproperty/sum" calculate="sum(/root/main/list/taxbilllist[fixasetflag!='00']/amt)"/>
  282. <submission id="TRRAT00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prntretrparams" resultref="/root/main/prntlist"/>
  283. </model>
  284. </xhtml:head>
  285. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  286. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  287. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">세금계산서 관리</caption>
  288. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  289. </group>
  290. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  291. <group id="group4" style="left:0px; top:10px; width:1195px; height:64px; vertical-align:top; ">
  292. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
  293. <caption id="caption9" class="search_name" style="left:295px; top:9px; width:106px; height:17px; ">신고 유형 :</caption>
  294. <caption id="caption2" class="search_name" style="left:10px; top:9px; width:101px; height:17px; ">년 도 :</caption>
  295. <caption id="caption8" style="left:938px; top:11px; width:15px; height:20px; ">~</caption>
  296. <caption id="caption10" class="search_name" style="left:750px; top:10px; width:86px; height:17px; ">작성일자 :</caption>
  297. <caption id="caption1" class="search_name" style="left:636px; top:36px; width:99px; height:17px; ">사업자번호 :</caption>
  298. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1125px; top:21px; width:56px; height:22px; text-align:left; ">
  299. <caption>조회</caption>
  300. <script type="javascript" ev:event="DOMActivate">
  301. <![CDATA[
  302. fRetrieve();
  303. ]]>
  304. </script>
  305. </button>
  306. <line id="line10" class="line_4" style="x1:1107px; y1:5px; x2:1107px; y2:56px; "/>
  307. <caption id="caption3" class="search_name" style="left:10px; top:36px; width:99px; height:17px; ">계산서종류 :</caption>
  308. <caption id="caption5" class="search_name" style="left:295px; top:36px; width:109px; height:17px; ">계산서구분 :</caption>
  309. <select1 id="rdo_reptkind" ref="/root/send/retrparam/reptkind" class="radio_search" navindex="2" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:400px; top:9px; width:320px; height:20px; vertical-align:middle; border-style:none; ">
  310. <choices>
  311. <itemset nodeset="/root/init/init_reptkind/item">
  312. <label ref="label"/>
  313. <value ref="value"/>
  314. </itemset>
  315. </choices>
  316. <script type="javascript" ev:event="xforms-value-changed">
  317. <![CDATA[
  318. fSetDate();
  319. fRetrieve();
  320. ]]>
  321. </script>
  322. </select1>
  323. <input id="ipt_frdate" ref="/root/send/retrparam/frdate" class="input_s_essential" editable="false" inputtype="date" style="left:840px; top:9px; width:95px; height:19px; ">
  324. <script type="javascript" ev:event="xforms-value-changed">
  325. <![CDATA[
  326. ]]>
  327. </script>
  328. </input>
  329. <input id="ipt_todate" ref="/root/send/retrparam/todate" class="input_s_essential" editable="false" inputtype="date" style="left:952px; top:9px; width:95px; height:19px; "/>
  330. <select1 id="rdo_billkind" ref="/root/send/retrparam/taxbillkind" class="radio_search" navindex="3" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:115px; top:36px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  331. <choices>
  332. <itemset nodeset="/root/init/init_taxbillkind/item">
  333. <label ref="label"/>
  334. <value ref="value"/>
  335. </itemset>
  336. </choices>
  337. <script type="javascript" ev:event="xforms-value-changed">
  338. <![CDATA[
  339. fRetrieve();
  340. ]]>
  341. </script>
  342. </select1>
  343. <select1 id="rdo_billflag" ref="/root/send/retrparam/taxbillflag" class="radio_search" navindex="4" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:400px; top:36px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  344. <choices>
  345. <itemset nodeset="/root/init/init_taxbillflag/item">
  346. <label ref="label"/>
  347. <value ref="value"/>
  348. </itemset>
  349. </choices>
  350. <script type="javascript" ev:event="xforms-value-changed">
  351. <![CDATA[
  352. fRetrieve();
  353. if(rdo_billflag.value == 1)
  354. {
  355. btn_print.visible = false;
  356. }
  357. else
  358. {
  359. btn_print.visible = true;
  360. }
  361. ]]>
  362. </script>
  363. </select1>
  364. <button id="btn_entregnohelp" class="icon_search" style="left:844px; top:36px; width:16px; height:16px; ">
  365. <caption/>
  366. <script type="javascript" ev:event="DOMActivate">
  367. <![CDATA[
  368. misfOpenPopUpList("14", ipt_regno, "", "entrregno,custnm");
  369. model.refresh();
  370. ]]>
  371. </script>
  372. </button>
  373. <input id="ipt_regno" ref="/root/send/retrparam/entrregno" navindex="5" style="left:740px; top:36px; width:100px; height:19px; ">
  374. <script type="javascript" ev:event="onkeypress">
  375. <![CDATA[
  376. if(event.keyCode == 13)
  377. {
  378. racfCustValidCheck("entrregno,custnm");
  379. }
  380. ]]>
  381. </script>
  382. <script type="javascript" ev:event="xforms-value-changed">
  383. <![CDATA[
  384. racfCustValidCheck("entrregno,custnm");
  385. ]]>
  386. </script>
  387. </input>
  388. <input id="ipt_regnm" ref="/root/send/retrparam/custnm" navindex="6" style="left:864px; top:36px; width:160px; height:19px; ">
  389. <script type="javascript" ev:event="onkeypress">
  390. <![CDATA[
  391. if(event.keyCode == 13)
  392. {
  393. racfCustValidCheck("entrregno,custnm");
  394. }
  395. ]]>
  396. </script>
  397. <script type="javascript" ev:event="xforms-value-changed">
  398. <![CDATA[
  399. racfCustValidCheck("entrregno,custnm");
  400. ]]>
  401. </script>
  402. </input>
  403. <input id="ipt_yyyy" ref="/root/send/retrparam/yyyy" class="input_s_essential" navindex="1" maxlength="4" style="left:115px; top:9px; width:135px; height:19px; text-align:center; "/>
  404. </group>
  405. <datagrid id="grd_taxbilllist" nodeset="/root/main/list/taxbilllist" caption="기관코드^일련번호^계산서종류^계산서구분^신고유형^구분^작성일자^발의정보^발의정보^발의정보^사업자등록번호^거래처명^대표자^주소^업태^종목^공급가액^부가세^합계^마감여부^고정자산구분^매입세액공제여부^비고^승인정보^승인정보^승인정보" colwidth="35, 35, 35, 35, 35, 70, 87, 77, 37, 29, 100, 140, 79, 150, 80, 80, 100, 100, 100, 61, 99, 60, 100, 80, 58, 36, -51" ellipsis="true" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" tooltip="true" style="left:0px; top:103px; width:1193px; height:515px; ">
  406. <col ref="instcd" visibility="hidden"/>
  407. <col ref="seqno" visibility="hidden" style="left:55px; top:23px; width:35px; height:23px; "/>
  408. <col ref="taxbillkind" type="combo" visibility="hidden">
  409. <choices>
  410. <itemset nodeset="/root/init/init_taxbillkind/item">
  411. <label ref="label"/>
  412. <value ref="value"/>
  413. </itemset>
  414. </choices>
  415. </col>
  416. <col ref="taxbillflag" type="combo" visibility="hidden">
  417. <choices>
  418. <itemset nodeset="/root/init/init_taxbillflag/item">
  419. <label ref="label"/>
  420. <value ref="value"/>
  421. </itemset>
  422. </choices>
  423. </col>
  424. <col ref="reptkind" type="combo" visibility="hidden">
  425. <choices>
  426. <itemset nodeset="/root/init/init_reptkind/item">
  427. <label ref="label"/>
  428. <value ref="value"/>
  429. </itemset>
  430. </choices>
  431. </col>
  432. <col ref="flagcd" type="combo">
  433. <choices>
  434. <itemset nodeset="/root/init/init_flagcd/item">
  435. <label ref="label"/>
  436. <value ref="value"/>
  437. </itemset>
  438. </choices>
  439. </col>
  440. <col ref="genrdd" type="inputdate" format="yyyy-mm-dd"/>
  441. <col ref="unsldd"/>
  442. <col ref="unslno"/>
  443. <col ref="undeciseqno"/>
  444. <col ref="entrregno" type="inputbutton" format="999-99-99999"/>
  445. <col ref="custnm" type="input"/>
  446. <col ref="custprsd" type="input"/>
  447. <col ref="custaddr" type="input"/>
  448. <col ref="custbizcond" type="input"/>
  449. <col ref="custitem" type="input"/>
  450. <col ref="suplamt" type="input" format="(-)#,###" style="text-align:right; "/>
  451. <col ref="valaddtax" type="input" format="(-)#,###" style="text-align:right; "/>
  452. <col ref="amt" type="input" format="(-)#,###" style="text-align:right; "/>
  453. <col disabled="true" ref="closyn" type="combo">
  454. <choices>
  455. <item>
  456. <label>마감전</label>
  457. <value>1</value>
  458. </item>
  459. <item>
  460. <label>마감</label>
  461. <value>2</value>
  462. </item>
  463. </choices>
  464. </col>
  465. <col ref="fixasetflag" type="combo">
  466. <choices>
  467. <itemset nodeset="/root/init/init_fixasetflag/item">
  468. <label ref="label"/>
  469. <value ref="value"/>
  470. </itemset>
  471. </choices>
  472. </col>
  473. <col ref="deduyn" type="combo">
  474. <choices>
  475. <item>
  476. <label>공제</label>
  477. <value>Y</value>
  478. </item>
  479. <item>
  480. <label>불공제</label>
  481. <value>N</value>
  482. </item>
  483. </choices>
  484. </col>
  485. <col ref="cmt" type="input"/>
  486. <col ref="sanctslipdd"/>
  487. <col ref="sanctslipno"/>
  488. <col ref="sanctseqno"/>
  489. <col ref="dummy" visibility="hidden"/>
  490. <script type="javascript" ev:event="onbuttonclick">
  491. <![CDATA[
  492. if(grd_taxbilllist.col == grd_taxbilllist.colRef("entrregno"))
  493. {
  494. misfOpenPopUpList("14", grd_taxbilllist, "", "entrregno,custnm,custprsd,dummy,custaddr,custbizcond,custitem");
  495. model.refresh();
  496. }
  497. ]]>
  498. </script>
  499. <script type="javascript" ev:event="onendedit">
  500. <![CDATA[
  501. if(grd_taxbilllist.col == grd_taxbilllist.colRef("entrregno") || grd_taxbilllist.col == grd_taxbilllist.colRef("custnm"))
  502. {
  503. racfCustValidCheck("entrregno,custnm,custprsd,dummy,custaddr,custbizcond,custitem");
  504. }
  505. ]]>
  506. </script>
  507. <script type="javascript" ev:event="onrowchanged">
  508. <![CDATA[
  509. fSetPrntRetrParams();
  510. ]]>
  511. </script>
  512. </datagrid>
  513. <line id="line1" class="line_1" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
  514. <caption id="caption26" class="tit_2" style="left:5px; top:83px; width:117px; height:14px; ">세금계산서</caption>
  515. <input id="input8" ref="/root/main/ctrls/total/cnt" class="input_default" editable="false" format="(-)#,###" style="left:641px; top:645px; width:134px; height:19px; text-align:right; "/>
  516. <input id="input1" ref="/root/main/ctrls/mutualpossible/cnt" class="input_default" editable="false" format="(-)#,###" style="left:641px; top:669px; width:134px; height:19px; text-align:right; "/>
  517. <input id="input10" ref="/root/main/ctrls/mutualimpossible/cnt" class="input_default" editable="false" format="(-)#,###" style="left:641px; top:694px; width:134px; height:19px; text-align:right; "/>
  518. <caption id="caption7" class="cell_1" style="left:548px; top:643px; width:90px; height:23px; vertical-align:middle; ">총액</caption>
  519. <caption id="caption45" class="cell_1" style="left:547px; top:718px; width:90px; height:23px; vertical-align:middle; ">고정자산매입</caption>
  520. <caption id="caption46" class="cell_1" style="left:548px; top:693px; width:90px; height:23px; vertical-align:middle; ">공제불능</caption>
  521. <input id="input59" ref="/root/main/ctrls/fixproperty/cnt" class="input_default" editable="false" format="(-)#,###" style="left:641px; top:719px; width:134px; height:19px; text-align:right; "/>
  522. <caption id="caption11" class="cell_1" style="left:548px; top:668px; width:90px; height:23px; vertical-align:middle; ">공제가능</caption>
  523. <line id="line5" class="line_2" style="x1:544px; y1:643px; x2:1191px; y2:643px; "/>
  524. <input id="input2" ref="/root/main/ctrls/total/supamt" class="input_default" editable="false" format="(-)#,###" style="left:780px; top:645px; width:134px; height:19px; text-align:right; "/>
  525. <input id="input5" ref="/root/main/ctrls/mutualimpossible/supamt" class="input_default" editable="false" format="(-)#,###" style="left:780px; top:694px; width:134px; height:19px; text-align:right; "/>
  526. <input id="input6" ref="/root/main/ctrls/fixproperty/supamt" class="input_default" editable="false" format="(-)#,###" style="left:780px; top:719px; width:134px; height:19px; text-align:right; "/>
  527. <input id="input7" ref="/root/main/ctrls/mutualpossible/supamt" class="input_default" editable="false" format="(-)#,###" style="left:780px; top:669px; width:134px; height:19px; text-align:right; "/>
  528. <input id="input11" ref="/root/main/ctrls/mutualpossible/tax" class="input_default" editable="false" format="(-)#,###" style="left:919px; top:669px; width:134px; height:19px; text-align:right; "/>
  529. <input id="input12" ref="/root/main/ctrls/total/tax" class="input_default" editable="false" format="(-)#,###" style="left:919px; top:645px; width:134px; height:19px; text-align:right; "/>
  530. <input id="input13" ref="/root/main/ctrls/mutualimpossible/tax" class="input_default" editable="false" format="(-)#,###" style="left:919px; top:694px; width:134px; height:19px; text-align:right; "/>
  531. <input id="input14" ref="/root/main/ctrls/fixproperty/tax" class="input_default" editable="false" format="(-)#,###" style="left:919px; top:719px; width:134px; height:19px; text-align:right; "/>
  532. <input id="input15" ref="/root/main/ctrls/mutualpossible/sum" class="input_default" editable="false" format="(-)#,###" style="left:1058px; top:669px; width:134px; height:19px; text-align:right; "/>
  533. <input id="input16" ref="/root/main/ctrls/total/sum" class="input_default" editable="false" format="(-)#,###" style="left:1058px; top:645px; width:134px; height:19px; text-align:right; "/>
  534. <input id="input17" ref="/root/main/ctrls/mutualimpossible/sum" class="input_default" editable="false" format="(-)#,###" style="left:1058px; top:694px; width:134px; height:19px; text-align:right; "/>
  535. <input id="input18" ref="/root/main/ctrls/fixproperty/sum" class="input_default" editable="false" format="(-)#,###" style="left:1058px; top:719px; width:134px; height:19px; text-align:right; "/>
  536. <line id="line3" class="line_2" style="x1:545px; y1:666px; x2:1192px; y2:666px; "/>
  537. <line id="line4" class="line_2" style="x1:545px; y1:691px; x2:1192px; y2:691px; "/>
  538. <line id="line6" class="line_2" style="x1:545px; y1:716px; x2:1192px; y2:716px; "/>
  539. <line id="line7" class="line_2" style="x1:545px; y1:741px; x2:1192px; y2:741px; "/>
  540. <caption id="caption12" class="cell_1" style="left:641px; top:618px; width:135px; height:23px; text-align:center; vertical-align:middle; ">건수</caption>
  541. <caption id="caption13" class="cell_1" style="left:779px; top:618px; width:135px; height:23px; text-align:center; vertical-align:middle; ">공급가액</caption>
  542. <caption id="caption14" class="cell_1" style="left:918px; top:618px; width:135px; height:23px; text-align:center; vertical-align:middle; ">부 가 세</caption>
  543. <caption id="caption15" class="cell_1" style="left:1057px; top:618px; width:135px; height:23px; text-align:center; vertical-align:middle; ">합 계</caption>
  544. <line id="line8" class="line_2" style="x1:1055px; y1:618px; x2:1055px; y2:742px; "/>
  545. <line id="line9" class="line_2" style="x1:916px; y1:618px; x2:916px; y2:742px; "/>
  546. <line id="line11" class="line_2" style="x1:777px; y1:618px; x2:777px; y2:742px; "/>
  547. <line id="line12" class="line_2" style="x1:639px; y1:618px; x2:639px; y2:742px; "/>
  548. <button id="btn_addrow" class="btn2_letter3" navindex="8" style="left:1036px; top:78px; width:53px; height:19px; text-align:left; ">
  549. <caption>행추가</caption>
  550. <script type="javascript" ev:event="DOMActivate">
  551. <![CDATA[
  552. fAddDelRow("A");
  553. ]]>
  554. </script>
  555. </button>
  556. <button id="btn_delrow" class="btn2_letter3" navindex="9" style="left:1090px; top:78px; width:53px; height:19px; text-align:left; ">
  557. <caption>행삭제</caption>
  558. <script type="javascript" ev:event="DOMActivate">
  559. <![CDATA[
  560. fAddDelRow("D");
  561. ]]>
  562. </script>
  563. </button>
  564. <button id="btn_excel" class="btn2_letter2" navindex="10" style="left:1149px; top:78px; width:42px; height:19px; text-align:left; ">
  565. <caption>엑셀</caption>
  566. <script type="javascript" ev:event="DOMActivate">
  567. <![CDATA[
  568. misfSaveExcel(grd_taxbilllist);
  569. ]]>
  570. </script>
  571. </button>
  572. </group>
  573. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  574. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  575. <button id="button11" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  576. <caption>출력</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. exeReportPreview("RPRAT00100", "XMLSTR", "true", "true", "true", "true", "true", "true", "true", "");
  580. ]]>
  581. </script>
  582. </button>
  583. <button id="btn_save" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
  584. <caption>저장</caption>
  585. <script type="javascript" ev:event="DOMActivate">
  586. <![CDATA[
  587. fSave();
  588. ]]>
  589. </script>
  590. </button>
  591. <button id="btn_print" class="btn4_letter2" visibility="hidden" style="left:1080px; top:3px; width:56px; height:22px; ">
  592. <caption>출력</caption>
  593. <script type="javascript" ev:event="DOMActivate">
  594. <![CDATA[
  595. fPrintTaxBill();
  596. ]]>
  597. </script>
  598. </button>
  599. </group>
  600. </xhtml:body>
  601. </xhtml:html>