Skip to content

Commit

Permalink
삼품재고관리가 제대로 표시되지 않는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Jun 4, 2024
1 parent f4dfbac commit 0ded1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adm/shop_admin/itemstocklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// 테이블의 전체 레코드수만 얻음
$sql = " select count(*) as cnt " . $sql_common;
$row = sql_fetch($sql);
$total_count = $row['cnt'];
$total_count = isset($row['cnt']) ? $row['cnt'] : 0;

$rows = $config['cf_page_rows'];
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
Expand Down Expand Up @@ -171,7 +171,7 @@
<?php echo $row['it_id']; ?>
</td>
<td class="td_left"><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?> <?php echo cut_str(stripslashes($row['it_name']), 60, "&#133"); ?></a></td>
<td class="td_num<?php echo $it_stock_qty_st; ?>"><?php echo (int)$it_stock_qty; ?></td>
<td class="td_num<?php echo $it_stock_qty_st; ?>"><?php echo get_text($it_stock_qty); ?></td>
<td class="td_num"><?php echo number_format((float)$wait_qty); ?></td>
<td class="td_num"><?php echo number_format((float)$temporary_qty); ?></td>
<td class="td_num">
Expand Down

0 comments on commit 0ded1df

Please sign in to comment.