@using VeterinaryContracts.ViewModels;

@{
	ViewData["Title"] = "PurchaseMedicationReport";
}

<div class="text-center">
	<h2 class="display-4">Создать список покупок по медикаментам</h2>
</div>
<form method="post">
	<div class="row">
		<div class="col-4">Медикаменты:</div>
		<div class="col-8">
			<select name="medications" class="form-control" multiple size="5" id="medications">
				@foreach (var service in ViewBag.Medications)
				{
					<option value="@service.Id">@service.MedicationName</option>
				}
			</select>
		</div>
	</div>
	<div class="file-format">
		<label class="form-label">Выберите формат файла:</label>
		<div class="form-check">
			<input class="form-check-input" type="radio" name="type" value="docx" id="docx">
			<label class="form-check-label" for="docx">Word-файл</label>
		</div>
		<div class="form-check">
			<input class="form-check-input" type="radio" name="type" value="xlsx" id="xlsx" checked>
			<label class="form-check-label" for="xlsx">Excel-файл</label>
		</div>
	</div>
	<div class="d-flex justify-content-center">
		<button type="submit" class="btn btn-block btn-outline-dark w-100">Создать</button>
	</div>
</form>
