/home/mjc1/public_html/j3demo/adm/order_product.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
<?php
$dir 
".";
include_once(
$dir."/_common.php");

$oinfo order_info_get($idx);

?>

    <div class="div-list-area" style='font-size:0.85em;'>
        <div class="cust-list-area">
            <table class="order-sheet2">
                <caption class="screen_out">매입처 원장 조회<caption>
                <colgroup>
                <col style="width:30px;">
                <col style="width:80px;"><!--<col style="width:80px;">--><col <col style="215px">
                <!--<col style="width:80px;">--><col style="215px">
                <col style="width:120px;"><col style="width:60px;"><col style="width:150px;">
                </colgroup>

                <thead>
                    <tr>
                        <th scope="col"><input type='checkbox' name='ck_all' class='check_all_class'></th>
                        <th scope="col">이미지</th><!--<th scope="col">상품코드</th>--><th scope="col">상품명</th>
                        <!--<th scope="col">옵션코드</th>--><th scope="col">옵션명</th>
                        <th scope="col">매출단가</th><th scope="col">수량</th><th scope="col">합계금액</th>
                    </tr>
                </thead>
                <tbody class='change_check_class'>
<?php 
    $list_array 
$oinfo['row'];
    for(
$i=0;$i<count($list_array);$i++){ 
        
$info $list_array[$i];
?>
                    <tr>
                        <td class="tcenter ">
                            <input type='checkbox' name='code_idx[]' value='<?php echo $i;?>' class='code_idx_calss'>
                            <input type='hidden' name='midx[]' value='<?php echo $info['midx'];?>'>
                            <input type='hidden' name='seq[]' value='<?php echo $info['seq'];?>'>
                            <input type='hidden' name='ct_idx[]' value='<?php echo $info['remarks'];?>'>
                        </td>
                        <td class="tcenter <?php echo $click_edit;?> padd_5px">
                            <img src='<?php echo $thumb_file get_it_thumbnail($info['sc_pcode'],$info['pic1'],50,50);?>' width=50>
                            <input type='hidden' name='thumb_file[]' value='<?php echo $thumb_file;?>'>
                        </td>
                        <!--<td class="tcenter "><?php echo $info['sc_pcode'];?></td>-->
                        <td class="linetxt "><?php echo $info['pname'];?></td>
                        <!--<td class="tcenter "><?php if($info['opt_mode']!=''){ echo $info['opt_pcode']; }?></td>-->
                        <td class="linetxt "><?php if($info['opt_mode']!=''){ echo $info['opt_name']; }?></td>
                        <td class="cost "><?php echo number_format($info['price']); ?></td>
                        <td class="cost "><?php echo number_format($info['qty']); ?></td>
                        <td class="cost "><?php echo number_format($info['tot_amt']); ?></td>
                        
                    </tr>
<?php 
    

?>
                </tbody>
            </table>
        </div>
    </div>