<%@ page contentType="text/html; charset=UTF-8"%><%@ include file="/WEB-INF/jspf/include/taglibs.jsp"%>

<bg:blockTitle title="История изменений"/>
<c:if test="${not empty moveList}">
<c:forEach var="item" varStatus="status" items="${moveList}">
<div class="flexRow" style="margin: 15px 0px;">
	<div style="display: flex; flex-direction: column;">
		<div class="paramFont paramColor">Дата понижения: <span><fmt:formatDate value="${item.date1.time}" type="BOTH" dateStyle="SHORT" timeStyle="SHORT"/></span></div>
		<div class="paramFont paramColor">Дата восстановления: <span><fmt:formatDate value="${item.date2.time}" type="DATE" dateStyle="SHORT"/></span></div>
		<div class="paramFont paramColor">Состояние: 
			<span><c:choose>
					<c:when test="${item.status==0}">не погашено</c:when>
					<c:when test="${item.status==1}">частично погашено</c:when>
					<c:when test="${item.status==2}">погашено</c:when>
					<c:otherwise>просрочено</c:otherwise>
			</c:choose></span></div>
	</div>
	<div class="titleFont3" style="width: 4em; text-align: right;">${item.summ}</div>
</div>
<c:if test="${not status.last}"><div class="line"></div></c:if>
</c:forEach>
</c:if>