만원이하 환불신청 가능하도록 수정
This commit is contained in:
parent
77556f6110
commit
bcb62d26ca
@ -243,11 +243,12 @@ function fn_refund_insert() {
|
||||
// 환불신청금액(환불요청 상태)
|
||||
getRefundMoneySum();
|
||||
|
||||
if (parseInt(10000, 10) > parseInt(document.listForm.refundMoney.value, 10)) {
|
||||
alert("10,000원 이하 환불 불가입니다.");
|
||||
return;
|
||||
}
|
||||
else if (parseInt(userMoney, 10) < parseInt(document.listForm.refundMoney.value, 10)) {
|
||||
//if (parseInt(10000, 10) > parseInt(document.listForm.refundMoney.value, 10)) {
|
||||
// alert("10,000원 이하 환불 불가입니다.");
|
||||
// return;
|
||||
//}
|
||||
|
||||
if (parseInt(userMoney, 10) < parseInt(document.listForm.refundMoney.value, 10)) {
|
||||
alert("현재 회원의 보유금액보다 큰 금액을 환불 할 수 없습니다.");
|
||||
return;
|
||||
}
|
||||
@ -461,7 +462,7 @@ function comma(num){
|
||||
<td>
|
||||
<input type="text" name="refundMoney" id="refundMoney" style="width:330px;margin-right:5px;" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
|
||||
<input type="checkbox" id="allmoney" name="allmoney" class="re">
|
||||
<span class="text_req">전액환불(10,000원 이하 환불 불가)</span>
|
||||
<span class="text_req">전액환불</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user