대출 및 방문열람 관련 버튼 : 설계서 반영 처리
This commit is contained in:
parent
141f541420
commit
9b5fd91c20
@ -216,9 +216,14 @@ function goList(){
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="b-btn">
|
<div class="b-btn">
|
||||||
<c:if test="${result.ableRentNow eq true }"><button type="button" class="btn btn-color" onclick="gfn_rentItem('${result.mngOrgCd}', '${result.masterId}')">대출예약</button></c:if>
|
<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="${result.ableReadNow eq true }"><button type="button" class="btn btn-green" onclick="gfn_reserveReadItem('${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 eq true or result.ableRead eq true}">
|
<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.lentYn}', '${result.onReqYn}')">카트담기</button>
|
<button type="button" class="btn btn-orange" onclick="fn_addRentCart('${result.masterId}', '${result.lentYn}', '${result.onReqYn}')">카트담기</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user