대출예약, 방문열람 신청 : 현재 가능한 경우에만 버튼 보여지도록 처리 (요청: 김혜준대리)
This commit is contained in:
parent
8bd69879d7
commit
42ed911934
@ -218,10 +218,8 @@ function goList(){
|
||||
<div class="b-btn">
|
||||
<c:if test="${result.ableRentAppNow }"><button type="button" class="btn btn-color" onclick="gfn_rentItem('${result.mngOrgCd}', '${result.masterId}')">대출신청</button></c:if>
|
||||
<c:if test="${not result.ableRentAppNow and result.ableRentResNow }"><button type="button" class="btn btn-color" onclick="gfn_rentItem('${result.mngOrgCd}', '${result.masterId}')">대출예약</button></c:if>
|
||||
<c:if test="${result.ableRent and not result.ableRentNow }"><button type="button" class="btn btn-gray" onclick="alert('현재 대출신청 또는 예약이 불가능한 상태입니다.')">대출신청</button></c:if>
|
||||
|
||||
<c:if test="${result.ableReadNow }"><button type="button" class="btn btn-green" onclick="gfn_reserveReadItem('${result.mngOrgCd}', '${result.masterId}')">방문열람신청</button></c:if>
|
||||
<c:if test="${result.ableRead and not result.ableReadNow }"><button type="button" class="btn btn-gray" onclick="alert('현재 방문열람신청이 불가능한 상태입니다.')">방문열람신청</button></c:if>
|
||||
|
||||
<c:if test="${result.ableRent or result.ableRead }">
|
||||
<button type="button" class="btn btn-orange" onclick="fn_addRentCart('${result.masterId}', '${result.ableRent}', '${result.ableRead}')">카트담기</button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user