/home/mjc1/public_html/html/millennium/edit.tax.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<?php include_once("./_common2.php"); ?>
<?
    
if(!isset($editmode)) $editmode "";
?>

<link rel="stylesheet" type="text/css" href="./css/tax.css"/>
<div id="ly_image">

<table class="taxContainer">
<?
    
if($emailCheck == 'kkk') {
?>
    <tr>
        <td>    
            <span style="position:absolute;top:120px;left:153px;"><? echo "<img src='./img/common/not2.gif'>"?></span>
        </td>
    </tr>
<? } else { ?>

<? ?>

<!-- ¹ßÇàÃë¼Ò½Ã ³»¿ª ¾Èº¸À̱â -->
<? if($SndCheck == 'D'){ ?>
    <tr>
        <td height="30">
             ¹ßÇàÃë¼ÒÇÑ ³»¿ªÀº Á¶È¸°¡ ºÒ°¡´ÉÇÕ´Ï´Ù.
        </td>
    </tr>
<? } else { ?>
    <tr>
        <td>
            <table class="topSection">
                <colgroup>
                    <col  style="width: 317px;"/><col style="width: 81px;"/><col style="width: 200px;"/>
                </colgroup>
                <tr>
                    <td rowspan="2"  class="Nb title"><strong>¼öÁ¤ ÀüÀÚ¼¼±Ý°è»ê¼­</strong><span>(°ø±Þ¹Þ´ÂÀÚ º¸°ü¿ë)</span></td>
                    <th>ÀϷùøÈ£</th>
                    <td class="Nr"></td>
                </tr>
                <tr>
                    <th class="Nb">½ÂÀιøÈ£</th>
                    <td class="Nb Nr"><?=$Volume?></td>
                </tr>
            </table>    
        </td>
    </tr>
    <tr>
        <td>
        <table class="midSection">
            <tr>
                <td class="Nb">
                    <!-- °ø±ÞÀÚ -->
                    <table class="midSectionL" style="width: 300px;">
                        <colgroup>
                            <col  style="width: 17px;"/><col  style="width: 55px;"/><col  style="width: 84px;"/><col  style="width: 55px;"/><col  style="width: 85px;"/>
                        </colgroup>
                        <tr>
                            <th rowspan="5" class="Nb"><span>°ø<br><br>±Þ<br><br>ÀÚ</span></th>
                            <th>µî·Ï¹øÈ£</th>
                            <td colspan="4" class="Nr"><?=$sCompanyNum?></td>
                        </tr>
                        <tr>
                            <th><span>»ó È£<br>(¹ýÀθí)</span></th>
                            <td colspan="4" class="Nr"><?=$sCompanyNname?></td>
                        </tr>
                        <tr>
                            <th><span>¼º ¸í<br>(´ëÇ¥ÀÚ)</span></th>
                            <td>
<?
    
if($admission == 0) { //µµÀå À̹ÌÁö°¡ Á¸ÀçÇÏ´ÂÁö È®ÀÎ
        
$seal_file "../../seal/" $sCompanyNumimg;
            if (
file_exists($seal_file)) {
                
$seal_file $sCompanyNumimg;
            } else {
                
$seal_file "noimg.gif";
            }
        echo 
"<img src=\"/seal/$seal_file\" alt=\"µµÀåÀ̹ÌÁö\" class=\"signature\" onerror=\"this.style.display='none'\"></span>";
    }
?>
                                <?=$sChiefName?> (ÀÎ)
                            </td>
                            <th><span>Á¾»ç¾÷Àå<br>¹øÈ£</span></th>
                            <td class="Nr"><?=$sCompanySubNum;?></td>
                        </tr>
                        <tr>
                            <th><span>»ç¾÷Àå<br>ÁÖ¼Ò</span></th>
                            <td colspan="4" class="Nr"><?=$sCompanyAddr?></td>
                        </tr>
                        <tr>
                            <th class="Nb">¾÷ ÅÂ</th>
                            <td class="Nb"><span class="smallTxt"><?=$sUptae?></span></td>
                            <th class="Nb">Á¾ ¸ñ</th>
                            <td class="Nb Nr"><span class="smallTxt"><?=$sJongmok?></span></td>
                        </tr>
                    </table><!-- //°ø±ÞÀÚ -->
                </td>
                <td class="Nb Nr">
                    <!-- ¹Þ´ÂÀÚ -->
                    <table class="midSectionR" style="width: 299px;">
                        <colgroup>
                            <col  style="width: 17px;"/><col  style="width: 54px;"/><col  style="width: 84px;"/><col  style="width: 54px;"/><col  style="width: 84px;"/>
                        </colgroup>
                        <tr>
                            <th rowspan="5" class="Nb"><span class="Lh15">°ø<br>±Þ<br>¹Þ<br>´Â<br>ÀÚ</span></th>
                            <th>µî·Ï¹øÈ£</th>
                            <td colspan="3" class="Nr"><?=$rCompanyNum?></td>
                        </tr>
                        <tr >
                            <th><span>»ó È£<br>(¹ýÀθí)</span></th>
                            <td class="Nr" colspan="3"><?=$rCompanyNname?></td>
                        </tr>
                        <tr >
                            <th><span>¼º ¸í<br>(´ëÇ¥ÀÚ)</span></th>
                            <td><?=$rChiefName?></td>
                            <th><span>Á¾»ç¾÷Àå<br>¹øÈ£</span></th>
                            <td class="Nr"><?=$rCompanySubNum?></td>
                        </tr>
                        <tr>
                            <th><span>»ç¾÷Àå<br>ÁÖ¼Ò</span></th>
                            <td colspan="3" class="Nr"><?=$rCompanyAddr?></td>
                        </tr>
                        <tr>
                            <th class="Nb">¾÷ ÅÂ</th>
                            <td class="Nb"><span class="smallTxt"><?=$rUptae?></span></td>
                            <th class="Nb">Á¾ ¸ñ</th>
                            <td class="Nb Nr"><span class="smallTxt"><?=$rJongmok?></span></td>
                        </tr>
                    </table><!--// ¹Þ´ÂÀÚ -->
                </td>
           </tr>
        </table>
        </td>
    </tr>
    <tr> 
        <td>   
            <table class="costSection">
                <thead>
                    <tr>
                        <th colspan="3">ÀÛ¼ºÀÏÀÚ</th>
                        <th colspan="12">°ø±Þ°¡¾×</th>
                        <th colspan="10" class="Nr">¼¼ ¾×</th>
                    </tr>
                </thead>
                
                <tbody>
                <tr>
                    <th style="width:34px">³â</th>
                    <th style="width:18px">¿ù</th>
                    <th style="width:18px">ÀÏ</th>
                    <th style="width:49px">°ø¶õ¼ö</th>
                    
                    <th>¹é</th>
                    <th>½Ê</th>
                    <th>¾ï</th>
                    <th>õ</th>
                    <th>¹é</th>
                    <th>½Ê</th>
                    <th>¸¸</th>
                    <th>õ</th>
                    <th>¹é</th>
                    <th>½Ê</th>
                    <th>ÀÏ</th>
                    
                    <th>½Ê</th>
                    <th>¾ï</th>
                    <th>õ</th>
                    <th>¹é</th>
                    <th>½Ê</th>
                    <th>¸¸</th>
                    <th>õ</th>
                    <th>¹é</th>
                    <th>½Ê</th>
                    <th class="Nr">ÀÏ</th>
                </tr>
                <tr>
                    <td><?=$year?></td>
                    <td><?=$month?></td>
                    <td><?=$day?></td>
                    <td><?=$blankNum?></td>
                    <td><?=$offerPrice11?></td>
                    <td><?=$offerPrice10?></td>
                    <td><?=$offerPrice9?></td>
                    <td><?=$offerPrice8?></td>
                    <td><?=$offerPrice7?></td>
                    <td><?=$offerPrice6?></td>
                    <td><?=$offerPrice5?></td>
                    <td><?=$offerPrice4?></td>
                    <td><?=$offerPrice3?></td>
                    <td><?=$offerPrice2?></td>
                    <td><?=$offerPrice1?></td>

                    <td><?=$billprice10?></td>
                    <td><?=$billprice9?></td>
                    <td><?=$billprice8?></td>
                    <td><?=$billprice7?></td>
                    <td><?=$billprice6?></td>
                    <td><?=$billprice5?></td>
                    <td><?=$billprice4?></td>
                    <td><?=$billprice3?></td>
                    <td><?=$billprice2?></td>
                    <td class="Nr"><?=$billprice1?></td>
                </tr>
                </tbody>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table class="ectSection">
                <colgroup>
                    <col style="width:53px" /><col style="width:319px" /><col style="width:67px" /><col style="width:158px" />
                </colgroup>
                <tr>
                    <th class="Nb">ºñ  °í</th>
                    <td class="Nb"><?=$bigo?></td>
                    <th class="Nb">¼öÁ¤»çÀ¯</td>
                    <td class="Nb Nr"><?=$editmode?></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table class="listSection">
                <colgroup>
                    <col style="width:26px" /><col style="width:27px" /><col style="width:146px" /><col style="width:37px" />
                    <col style="width:51px" /><col style="width:82px" /><col style="width:82px" /><col style="width:67px" /><col style="width:74px" />
                </colgroup>
                <tr>
                    <th>¿ù</th>
                    <th>ÀÏ</th>
                    <th>ǰ¸ñ/±Ô°Ý</th>
                    <th>´Ü À§</th>
                    <th>¼ö ·®</td>
                    <th>´Ü °¡</th>
                    <th>°ø±Þ°¡¾×</th>
                    <th>¼¼ ¾×</th>
                    <th class="Nr">ºñ °í</th>
                </tr>
                <tr>
                    <td><?=$month_1?></td>
                    <td><?=$day_1?></td>
                    <td class="alignL"><?=$item_1?></td>
                    <td class="alignR"><?=$standard_1?></td>
                    <td><? if($cnt_1 == ""){ } else { ?><?=$cnt_1?><? ?></td>
                    <td class="alignR"><? if($unitPrice_1 == ""){ } else { ?><?=$unitPrice_1?><? ?></td>
                    <td class="alignR"><?=$offerPrice_1?></td>
                    <td class="alignR"><?=$billPrice_1?></td>
                    <td class="Nr"><? if($note_1 == "0"){ ?><? } else { ?><?=$note_1; }?></td>
                </tr>
                <tr class="odd">
                    <td><?=$month_2?></td>
                    <td><?=$day_2?></td>
                    <td class="alignL"><?=$item_2?></td>
                    <td class="alignR"><?=$standard_2?></td>
                    <td><? if($cnt_2 == ""){ } else { ?><?=$cnt_2?><? ?></td>
                    <td class="alignR"><? if($unitPrice_2 == ""){ } else { ?><?=$unitPrice_2?><? ?></td>
                    <td class="alignR"><?=$offerPrice_2?></td>
                    <td class="alignR"><?=$billPrice_2?></td>
                    <td class="Nr"><? if($note_2 == "0"){ ?><? } else { ?><?=$note_2; }?></td>
                </tr>
                <tr>
                    <td><?=$month_3?></td>
                    <td><?=$day_3?></td>
                    <td class="alignL"><?=$item_3?></td>
                    <td class="alignR"><?=$standard_3?></td>
                    <td><? if($cnt_3 == ""){ } else { ?><?=$cnt_3?><? ?></td>
                    <td class="alignR"><? if($unitPrice_3 == ""){ } else { ?><?=$unitPrice_3?><? ?></td>
                    <td class="alignR"><?=$offerPrice_3?></td>
                    <td class="alignR"><?=$billPrice_3?></td>
                    <td class="Nr"><? if($note_3 == "0"){ ?><? } else { ?><?=$note_3; }?></td>
                </tr>
                <tr class="odd">
                    <td><?=$month_4?></td>
                    <td><?=$day_4?></td>
                    <td class="alignL"><?=$item_4?></td>
                    <td class="alignR"><?=$standard_4?></td>
                    <td><? if($cnt_4 == ""){ } else { ?><?=$cnt_4?><? ?></td>
                    <td class="alignR"><? if($unitPrice_4 == ""){ } else { ?><?=$unitPrice_4?><? ?></td>
                    <td class="alignR"><?=$offerPrice_4?></td>
                    <td class="alignR"><?=$billPrice_4?></td>
                    <td class="Nr"><? if($note_4 == "0"){ ?><? } else { ?><?=$note_4; }?></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table class="sumSection">
                <colgroup>
                <col style="width:90px" /><col style="width:63px" /><col style="width:63px" /><col style="width:63px" />
                <col style="width:120px" /><col />
                </colgroup>
                <tr>
                    <th>ÇÕ°è±Ý¾×</th>
                    <th>Çö ±Ý</th>
                    <th>¼ö Ç¥</th>
                    <th>¾î À½</th>
                    <th>¿Ü»ó¹Ì¼ö±Ý</th>
                    <td rowspan="2" class="Nr Nb">À§±Ý¾×À» <?=$irecved?>ÇÔ</td>
                </tr>
                <tr>
                    <td class="Nb alignR"><?=$totalPrice?></td>
                    <td class="Nb alignR"><?/*=$cash*/?></td>
                    <td class="Nb alignR"><?/*=$checkPrice*/?></td>
                    <td class="Nb alignR"><?/*=$bill*/?></td>
                    <td class="Nb alignR"><?/*=$onCredit*/?></td>
                </tr>
            </table>
        </td>
    </tr>
<? ?>

    </FORM>
</table>
</div>