@using BankContracts.BindingModels
@model ReportBindingModel

@{
	ViewData["Title"] = "CurrencyPurchasePaymentReport";
}
<div class="text-center">
	<h2 class="display-4">Создание списка</h2>
</div>
<form method="post">
	<div class="row">
		<div class="col-4">C:</div>
		<div class="col-8">
			@Html.EditorFor(x => x.DateFrom, new { htmlAttributes =
				new { @class = "form-control my-3", @type = "date", @name="DateFrom", 
				@required="true", @id="DateFrom" } })
		</div>
	</div>
	<div class="row">
		<div class="col-4">По:</div>
		<div class="col-8">
			@Html.EditorFor(x => x.DateTo, new 
				{ htmlAttributes = new { @class = "form-control my-3", @type = "date", 
				@name="DateTo", @required="true", @id="DateTo" } })
		</div>
	</div>
	<h1>Вывести на:</h1>
	<div class="d-flex flex-row">
		<div class="col-2">На форму</div>
		@Html.RadioButton("reptype", "onForm", true)
	</div>
	<div class="d-flex flex-row">
		<div class="col-2">На почту (.pdf)</div>
		@Html.RadioButton("reptype", "pdf")
	</div>
	<div class="row">
		<div class="col-4">email:</div>
		<div class="col-8"><input type="text" name="email" id="email" /></div>
	</div>
	<div class="row">
		<div class="col-4">Имя файла (необязательно):</div>
		<div class="col-8"><input type="text" name="fileName" id="fileName" /></div>
	</div>
	<div class="row">
		<div class="col-8"></div>
		<div class="col-4"><input type="submit" value="Создать" class="btn btn-primary" /></div>
	</div>
</form>