1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
<?php $dir = "."; include_once($dir."/_common.php");
?>
<style> .send_date_em em { color:#9dcc34; font-weight:bold; } </style> <form name='taxbill_reg_form' method='post' action=''> <input type='hidden' name='qstr' value=''> <input type="hidden" name="midx" value="<?php echo $midx;?>"> <input type="hidden" name="smode" value=""> <div id="sub-contents-area"> <div class="sub-btn-area"> <div class="sub-btn pop-btn"> <a class="lignt-blue-btn" id='btn_tax_nts'>계산서처리</a><a class="black-btn" id='sel_cancel'>취소</a> </div> </div> </div>
<div class='cust_modal1'> <h4>처리 설정</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">처리 설정</caption> <colgroup> <col style="width:150px;"><col style="width:550px;"> </colgroup>
<tbody> <tr> <th>발행일</th> <td colspan=3> <input type='text' name='c_date' id='c_date' value='<?php echo date("Y-m-d",time())?>' class='width_80'> </td> </tr> <tr> <th>계산서구분</th> <td colspan=3> <input type='radio' name='tax_gubun' value='0' checked> 전자(세금)계산서 <input type='radio' name='tax_gubun' value='1' > 종이(세금)계산서 <input type='radio' name='tax_gubun' value='2' > 신용카드(세금)계산서 <input type='radio' name='tax_gubun' value='3' > 현금영수증 </td> </tr> <tr> <th>청구/영수 구분</th> <td colspan=3> <input type='radio' name='recved_yn' value='0' checked> 청구 <input type='radio' name='recved_yn' value='1'> 영수 </td> </tr> <tr> <th>비고</th> <td colspan=3> <input type='text' name='remarks' value='' style='width:300px;'> </td> </tr> </table> </div>
</form> <script> $(function(){ setTimeout(function(){ // 레이어 사이즈 재 조정 var v = $(".cust_modal1").height(); v = v+80; $("#modal_member_box").height(v); },1000);
$(".pop-btn a").css("color","#fff");
$("#sel_cancel").click(function(){ // 닫기 $("#modal_member_box").dialog("close"); });
$("#btn_tax_nts").click(function(){ // 국세청 발행 if(confirm('정말로 이대로 매입 세금계산서 처리하시겠습니까?')){ $("form[name='taxbill_reg_form'] input[name='smode']").val('new'); $.post("ajax.tax_buy_process.php?",$("form[name='taxbill_reg_form']").serialize(), function(rtn){ $("#modal_member_box2").html(rtn).show(); }); } });
$("#c_date").datepicker({ showOn: "button", buttonImage: "./images/common/calendar.png", buttonImageOnly: true, buttonText: "Select date", dateFormat: "yy-mm-dd", changeMonth: true, changeYear: true, monthNames: ['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'], monthNamesShort: ['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'], dayNames: ['일','월','화','수','목','금','토'], dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'], showMonthAfterYear: true, yearSuffix: '년' })
});
</script>
|