#252 주문상태가 취소 반품 품절 일때는 checkbox disabled 처리
This commit is contained in:
@ -117,12 +117,16 @@ if(openwin != null) {
|
|||||||
|
|
||||||
$sell_amount = $opt_price * $opt['ct_qty'];
|
$sell_amount = $opt_price * $opt['ct_qty'];
|
||||||
$point = $opt['ct_point'] * $opt['ct_qty'];
|
$point = $opt['ct_point'] * $opt['ct_qty'];
|
||||||
|
|
||||||
|
$disabled = '';
|
||||||
|
if($opt['ct_status'] == '취소' || $opt['ct_status'] == '반품' || $opt['ct_status'] == '품절')
|
||||||
|
$disabled = ' disabled="disabled"';
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="td_chk">
|
<td class="td_chk">
|
||||||
<input type="hidden" name="ct_id[<?php echo $idx; ?>]" value="<?php echo $opt['ct_id']; ?>">
|
<input type="hidden" name="ct_id[<?php echo $idx; ?>]" value="<?php echo $opt['ct_id']; ?>">
|
||||||
<label for="chk_ct_id_<?php echo $idx; ?>" class="sound_only"><?php echo $opt['ct_option']; ?></label>
|
<label for="chk_ct_id_<?php echo $idx; ?>" class="sound_only"><?php echo $opt['ct_option']; ?></label>
|
||||||
<input type="checkbox" name="chk_ct_id[<?php echo $idx; ?>]" value="1" id="chk_ct_id_<?php echo $idx; ?>">
|
<input type="checkbox" name="chk_ct_id[<?php echo $idx; ?>]" value="1" id="chk_ct_id_<?php echo $idx; ?>"<?php echo $disabled; ?>>
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $opt['ct_option']; ?></td>
|
<td><?php echo $opt['ct_option']; ?></td>
|
||||||
<td class="td_smallmng"><?php echo number_format($opt['ct_qty']); ?></td>
|
<td class="td_smallmng"><?php echo number_format($opt['ct_qty']); ?></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user