#252 모바일에서 취소 반품 품절인 경우 checkbox disabled 시킴

This commit is contained in:
chicpro
2013-07-15 17:26:40 +09:00
parent 1b3dfe5b9e
commit 0b997117b2

View File

@ -100,12 +100,16 @@ include_once(G4_MSHOP_PATH.'/_head.php');
$sell_amount = $opt_price * $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>
<td class="td_chk">
<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>
<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><?php echo $opt['ct_option']; ?></td>
<td class="td_smallmng"><?php echo number_format($opt['ct_qty']); ?></td>