/home/mjc1/public_html/emillennium/taxbill_edit_reg.inc.php


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
105
106
107
108
109
110
111
112
113
114
<br>
<style>
.viewTable,
.listTable {width:100%;border-top:2px solid #000;}
.viewTable caption,
.listTable caption {color:#000;line-height:15px;font-size:17px;font-weight:600;padding-bottom:10px;}
.listTable caption span {float:left;line-height:28px;}
.listTable caption a {float:right;margin-left:5px;padding:0 20px;height:28px;line-height:28px;color:#fff;border-radius:3px;background:#3a6ab2;}
.viewTable caption span.indis {float:right}
.viewTable th,
.listTable th {padding:6px 15px;height:28px;color:#000;font-size:15px;font-weight:600;border-bottom:1px solid #dbdbdb; background:#f4f7f8;}
.viewTable th .red {margin-right:5px;}
.viewTable td,
.listTable td {padding:6px 15px;height:28px;line-height:28px;font-size:14px;border-bottom:1px solid #dbdbdb;}
.viewTable input {width:97%;height:26px;line-height:26px;font-size:14px;border:1px solid #dbdbdb;}
.viewTable td input[type=file] {width:69%;vertical-align:middle;background:#f4f7f8;}
.viewTable td textarea {width:95%;padding:5px;height:200px;vertical-align:middle;border:1px solid #dbdbdb;}
.viewTable td a {display:inline-block;margin-left:5px;padding:0 7px;height:26px;line-height:26px;font-weight:600;border:1px solid #dbdbdb;background:#f4f7f8}
.viewTable td a.redBtn {color:#fff;border:1px solid #f36054;background:#f47b71;}
.viewTable td p.text {margin-top:3px;}
.listTable td {text-align:center;}
.listTable td input[type=button]  {padding:0 5px;height:24px;line-height:24px;font-weight:600;border:1px solid #dbdbdb;background:#f4f7f8;}

.mod_send_th { font-size:16px !important; color:darkblue !important; text-align:left !important;padding-left:15px;}
.mod_send_th span {display:inline-block; font-size:12px; color:#111; padding-left:20px; }
.mod_send_th input[type='radio']{ width:14px; height:14px; }
</style>
    <div class="jointArticle">
        <table class="viewTable" summary="제목, 상호, 이메일, 일반전화, 휴대전화제휴내용">
        <caption>* 수정세금계산서 발급 사유를 선택해주십시요.</caption>
        <colgroup>
            <col style="width:125px;"><col style="width:305px;">
        </colgroup>
        <tbody>
        <tr>
            <th class='mod_send_th'>
                <input type='radio' name='mod_type' value='01' id='mod_type1'>&nbsp;<label for='mod_type1'>기재사항 착오</label><br>
                <span>(2장 발급)</span>
            </th>
            <td class='mod_send_td'>
                기재사항 착오로 잘못 발급한 경우<br>
                <span>당초 취소분 1장(자동발급), 수정분1장(직접입력), 총 2장 수정세금계산서 발급</span>
            </td>
        </tr>
        <tr>
            <th class='mod_send_th'>
                <input type='radio' name='mod_type' value='06' id='mod_type2'>&nbsp;<label for='mod_type2'>이중발행 정정</label><br>
                <span>(1장 발급)</span>
            </th>
            <td class='mod_send_td'>
                착오에 의한 이중발급<br>
                <span>당초에 발급한 세금계산서의 내용대로 부(-)의 수정세금계산서 1장 발급</span>
            </td>
        </tr>
        <tr>
            <th class='mod_send_th'>
                <input type='radio' name='mod_type' value='02' id='mod_type3'>&nbsp;<label for='mod_type3'>공급가액 변동</label><br>
                <span>(1장 발급)</span>
            </th>
            <td class='mod_send_td'>
                당초 발급한 금액의 증감이 발생한 경우<br>
                <span>증감시킬 금액에 대해 정(+) 또는 부(-)의 수정세금계산서 1장 발급</span>    
            </td>
        </tr>
        <tr>
            <th class='mod_send_th'>
                <input type='radio' name='mod_type' value='04' id='mod_type4'>&nbsp;<label for='mod_type4'>계약의 해제</label><br>
                <span>(1장 발급)</span>
            </th>
            <td class='mod_send_td'>
                당초 발급금액이 취소된 경우<br>
                <span>당초 공급금액에 대한 부(-)의 수정세금계산서 1장 발급</span>
            </td>
        </tr>
        <tr>
            <th class='mod_send_th'>
                <input type='radio' name='mod_type' value='03' id='mod_type5'>&nbsp;<label for='mod_type5'>환입</label><br>
                <span>(1장 발급)</span>
            </th>
            <td class='mod_send_td'>
                반품등으로 당초 발급금액의 일부가 취소된 경우<br>
                <span>반품된 금액만큼만 부(-1)의 수정세금계산서 1장 발급</span>
            </td>
        </tr>
        </table>
        <br>
        <div class="btnArea">
            <a href="javascript:tax_edit_send();" class='blueBtn'>확인</a>
            <a class="blackBtn tax_edit_close"><span>취소</span></a>
        </div>
    </div><!-- jointArticle -->
<script>
$(function(){
        
});

function tax_edit_send(){ // 수정계산서 발급
    var v_cnt = $("input[name='mod_type']:checked").size();
    if(v_cnt==0){
        alert('수정세금계산서 발급사유를 선택하시기 바랍니다.'); return;
    }
    var v = $("input[name='mod_type']:checked").eq(0).val();
    $("#edit_type").val(v);

    var form_data = $("form[name='tax_list_form']").serialize();

    $.get("taxbill_edit_send.inc.php?"+form_data,function(rtn){
        $("#modal_member_box2").html(rtn);
            $("#modal_member_box2" ).dialog({
                resizable: true, height:700, width:740, modal: true, title:"수정세금계산서"
            });
    });
}
</script>