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

    <div class="tab ${requestScope.paymentName} balance textColor4 borderRadius border4" style="text-align: center; padding: 10px 20px;">
    <h3>${requestScope.paymentPayText}</h3>
	<form action="" method="POST">
		<input type="hidden" name="action" value="${action}">
		<input type="hidden" name="module" value="${module}">
		<input type="hidden" name="mid" value="${mid}">
		<input type="hidden" name="contractId" value="${contract.id}">
		<input type="hidden" name="operation" value="pay" />
		<p>Сумма (от <fmt:formatNumber groupingUsed="true" maxFractionDigits="2" minFractionDigits="2" value="${dataMap['sumMin']}" /> до <fmt:formatNumber groupingUsed="true" maxFractionDigits="2" minFractionDigits="2" value="${dataMap['sumMax']}" />): <input type="text" name="sum" size="10" style="text-align: center;"/> <button type="submit" onclick="checkPaymentSum( this.form.sum.value, ${dataMap['sumMin']}, ${dataMap['sumMax']}, '${currencyTitleMedium}' ); return doPay( this.form );" class="button">Оплатить</button> </p>
	</form>
	</div>
