This commit is contained in:
hyunho 2020-11-18 03:55:06 +00:00
parent b2ca78503b
commit 2dbdd0d5bf
2 changed files with 53 additions and 52 deletions

View File

@ -789,7 +789,7 @@
<update id="pay.payrfd.up" parameterClass="hashtable"> <update id="pay.payrfd.up" parameterClass="hashtable">
update payrfd update payrfd
set fgnor=#fgnor#,fgnob=#fgnob#,udt=now(),uno=#uno#,uip=#uip# set fgnor=#fgnor#,fgnob=#fgnob#,udt=now(),uno=#uno#,uip=#uip#
where payno=#payno# where rfdno=#rfdno# and payno=#payno#
</update> </update>
<update id="pay.payrfdcancel.up" parameterClass="hashtable"> <update id="pay.payrfdcancel.up" parameterClass="hashtable">
update payrfd update payrfd

View File

@ -225,53 +225,54 @@
<input type="hidden" id="pinos2" name="pinos" value="@Model.PayItem.pino" /> <input type="hidden" id="pinos2" name="pinos" value="@Model.PayItem.pino" />
<input type="hidden" name="payno" id="payno" value="@Model.Pay.payno" /> <input type="hidden" name="payno" id="payno" value="@Model.Pay.payno" />
<input type="hidden" name="ptype" id="ptype" value="@Model.Pay.ptype" /> <input type="hidden" name="ptype" id="ptype" value="@Model.Pay.ptype" />
<input type="hidden" name="rfdno" id="rfdno" value="@Model.PayRfd.rfdno" />
<h4 class="bskTitle">환불정보</h4> <h4 class="bskTitle">환불정보</h4>
<table class="odrTable th150"> <table class="odrTable th150">
<tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")"> <tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")">
<th>환불은행</th> <th>환불은행</th>
<td><input type="text" name="bankname" id="bankname" maxlength="30" value="@(isRfd? Model.PayRfd.bankname : "")" @(isRfd? "readonly":"") /></td> <td><input type="text" name="bankname" id="bankname" maxlength="30" value="@(isRfd? Model.PayRfd.bankname : "")" @(isRfd ? "readonly" : "") /></td>
</tr> </tr>
<tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")"> <tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")">
<th>예금주</th> <th>예금주</th>
<td><input type="text" name="bankowner" id="bankowner" maxlength="30" value="@(isRfd? Model.PayRfd.bankowner : "")" @(isRfd? "readonly":"")/></td> <td><input type="text" name="bankowner" id="bankowner" maxlength="30" value="@(isRfd? Model.PayRfd.bankowner : "")" @(isRfd ? "readonly" : "") /></td>
</tr> </tr>
<tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")"> <tr class="pd5" style="@(Model.Pay.ptype == 1 ? "display:none;" : "")">
<th>환불계좌</th> <th>환불계좌</th>
<td><input type="text" name="bankno" id="bankno" maxlength="30" value="@(isRfd? Model.PayRfd.bankno : "")" @(isRfd? "readonly":"")/></td> <td><input type="text" name="bankno" id="bankno" maxlength="30" value="@(isRfd? Model.PayRfd.bankno : "")" @(isRfd ? "readonly" : "") /></td>
</tr> </tr>
<tr style="@(Model.Pay.ptype == 1 ? "display:none;" : "")"> <tr style="@(Model.Pay.ptype == 1 ? "display:none;" : "")">
<th>개인계좌여부</th> <th>개인계좌여부</th>
<td> <td>
<input type="hidden" name="isowner" id="isowner" /> <input type="hidden" name="isowner" id="isowner" />
<ul class="bakRadio"> <ul class="bakRadio">
<li><input type="radio" name="isowners" id="isowner1" @(isRfd? Model.PayRfd.isowner == 1? "checked" : "" : "checked") value="1" onclick="@(isRfd? "return(false);":"")"/><label for="isowner1">예</label></li> <li><input type="radio" name="isowners" id="isowner1" @(isRfd ? Model.PayRfd.isowner == 1 ? "checked" : "" : "checked") value="1" onclick="@(isRfd? "return(false);":"")" /><label for="isowner1">예</label></li>
<li><input type="radio" name="isowners" id="isowner0" @(isRfd? Model.PayRfd.isowner == 0? "checked" : "" : "") value="0" onclick="@(isRfd? "return(false);":"")"/><label for="isowner0">아니오</label></li> <li><input type="radio" name="isowners" id="isowner0" @(isRfd ? Model.PayRfd.isowner == 0 ? "checked" : "" : "") value="0" onclick="@(isRfd? "return(false);":"")" /><label for="isowner0">아니오</label></li>
</ul> </ul>
</td> </td>
</tr> </tr>
<tr class="pd5"> <tr class="pd5">
<th>담당자</th> <th>담당자</th>
<td><input type="text" name="ruser" id="ruser" value="@(isRfd? Model.PayRfd.ruser : "")" @(isRfd? "readonly":"")/></td> <td><input type="text" name="ruser" id="ruser" value="@(isRfd? Model.PayRfd.ruser : "")" @(isRfd ? "readonly" : "") /></td>
</tr> </tr>
<tr class="pd5"> <tr class="pd5">
<th>담당자연락처</th> <th>담당자연락처</th>
<td><input type="text" name="rphone" id="rphone" value="@(isRfd? Model.PayRfd.rphone : "")" @(isRfd? "readonly":"")/></td> <td><input type="text" name="rphone" id="rphone" value="@(isRfd? Model.PayRfd.rphone : "")" @(isRfd ? "readonly" : "") /></td>
</tr> </tr>
<tr> <tr>
<th>환불요청사유</th> <th>환불요청사유</th>
<td> <td>
<ul class="bakRadio"> <ul class="bakRadio">
<li><input type="radio" name="rreason" id="rreason1" @(isRfd? Model.PayRfd.rreason == 0? "checked" : "" : "checked") value="0" onclick="@(isRfd? "return(false);":"")"/><label for="rreason1">교육취소</label></li> <li><input type="radio" name="rreason" id="rreason1" @(isRfd ? Model.PayRfd.rreason == 0 ? "checked" : "" : "checked") value="0" onclick="@(isRfd? "return(false);":"")" /><label for="rreason1">교육취소</label></li>
<li><input type="radio" name="rreason" id="rreason2" @(isRfd? Model.PayRfd.rreason == 1? "checked" : "" : "") value="1" onclick="@(isRfd? "return(false);":"")"/><label for="rreason2">과정변경</label></li> <li><input type="radio" name="rreason" id="rreason2" @(isRfd ? Model.PayRfd.rreason == 1 ? "checked" : "" : "") value="1" onclick="@(isRfd? "return(false);":"")" /><label for="rreason2">과정변경</label></li>
<li><input type="radio" name="rreason" id="rreason3" @(isRfd? Model.PayRfd.rreason == 2? "checked" : "" : "") value="2" onclick="@(isRfd? "return(false);":"")"/><label for="rreason3">과입금</label></li> <li><input type="radio" name="rreason" id="rreason3" @(isRfd ? Model.PayRfd.rreason == 2 ? "checked" : "" : "") value="2" onclick="@(isRfd? "return(false);":"")" /><label for="rreason3">과입금</label></li>
<li><input type="radio" name="rreason" id="rreason4" @(isRfd? Model.PayRfd.rreason == 9? "checked" : "" : "") value="9" onclick="@(isRfd? "return(false);":"")"/><label for="rreason4">기타</label></li> <li><input type="radio" name="rreason" id="rreason4" @(isRfd ? Model.PayRfd.rreason == 9 ? "checked" : "" : "") value="9" onclick="@(isRfd? "return(false);":"")" /><label for="rreason4">기타</label></li>
</ul> </ul>
</td> </td>
</tr> </tr>
<tr class="pd5"> <tr class="pd5">
<th>메모</th> <th>메모</th>
<td> <td>
<textarea name="rtext" id="rtext" rows="4" style="border:1px solid #cbcbcb; width:100%; @(isRfd?"background-color:#f5f5f5;": "")" @(isRfd? "readonly":"")>@(isRfd? Model.PayRfd.rtext : "")</textarea> <textarea name="rtext" id="rtext" rows="4" style="border:1px solid #cbcbcb; width:100%; @(isRfd?"background-color:#f5f5f5;": "")" @(isRfd ? "readonly" : "")>@(isRfd? Model.PayRfd.rtext : "")</textarea>
</td> </td>
</tr> </tr>