Skip to content
Snippets Groups Projects
bestaetigung.html 2.8 KiB
Newer Older
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
<!DOCTYPE html>
<html lang="de" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">


<head th:include="head::head"></head>
<body class="container">
Johannes Wilhelm's avatar
Johannes Wilhelm committed
<body class="container" style="background-image: url('/photos/background.jpg'); background-position:center; background-repeat:no-repeat; background-size:cover;">
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
	<div class="container-fluid">
		<h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1>
	</div>
	
Johannes Wilhelm's avatar
Johannes Wilhelm committed
	<div style="background-color: white; opacity:0.8;">
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
	<nav th:include="menu::menu" ></nav>
Johannes Wilhelm's avatar
Johannes Wilhelm committed
	</div>	
	<br>
	<br>
		<div style="background-color: white; opacity:1">
		
		<div class="container-fluid">
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
		<h1>Buchungsbestätigung</h1>
		
Johannes Wilhelm's avatar
d  
Johannes Wilhelm committed
		<h3>Hier können Sie ihre Buchungsdaten einsehen. Unten könne Sie diese als PDF erstellen lassen und ausdrucken.</h3>
		<hr/>
Johannes Wilhelm's avatar
Johannes Wilhelm committed
			<form method="post" th:object="${buchung}">
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
		
			
			
			<div class="form-group">
Johannes Wilhelm's avatar
d  
Johannes Wilhelm committed
				<output for="buchungsid">Nachname, Vorname</output>
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
				<output  class="form-control" id="buchungid"
Johannes Wilhelm's avatar
d  
Johannes Wilhelm committed
					 name="zimmername" th:text="${kunde.nachname}+', '+${kunde.vorname}">
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
				</output>
			</div>
			
			<div class="form-group">
Johannes Wilhelm's avatar
Johannes Wilhelm committed
				<output for="preissum">Preis-Gesamt</output>
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
				<output  class="form-control" id="preissum"
					 name="preissum" th:text="*{#numbers.formatCurrency(preissum)}">
				</output>
			</div>	
			
			<div class="form-group">
				<output for="zimmername">Zimmer</output>
				<output  class="form-control" id="zimmername"
					 name="zimmername" th:text="${zimmer.zimmername}">
				</output>
			</div>	
			
Johannes Wilhelm's avatar
Johannes Wilhelm committed
			<table class="form-group">
				<tr>
					<th>Check-in Datum</th>
					<td>&nbsp;</td>	
					<td>&nbsp;</td>	
					
					<th>Check-out Datum</th>
Johannes Wilhelm's avatar
Johannes Wilhelm committed
					<td>&nbsp;</td>	
					<td>&nbsp;</td>	
					
					<th>Gebuchte Tage</th>
Johannes Wilhelm's avatar
Johannes Wilhelm committed
				</tr>
				<tr>
					<td> 
						<output  class="form-control" id="belegtvon"
						 name="belegtvon" th:text="*{belegtvon}">
						</output>
					</td>
					<td>&nbsp;</td>	
Johannes Wilhelm's avatar
sd  
Johannes Wilhelm committed
					<td>&nbsp;</td>	 
Johannes Wilhelm's avatar
Johannes Wilhelm committed
					
					<td> 
						<output  class="form-control" id="belegtbis"
						 name="belegtbis" th:text="*{belegtbis}">
						</output>
					</td>
Johannes Wilhelm's avatar
Johannes Wilhelm committed
					<td>&nbsp;</td>	
					<td>&nbsp;</td>	 
					
					<td> 
						<output  class="form-control" id="belegtsum"
						 name="belegtsum" th:text="*{belegtsum}">
						</output>
					</td>
					
Johannes Wilhelm's avatar
Johannes Wilhelm committed
				</tr>
			</table>
			
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
			<div class="form-group">
				<output for="buchungsid">Buchungsbestätigungsnummer</output>
				<output  class="form-control" id="buchungid"
					 name="zimmername" th:text="*{id}">
				</output>
			</div>	
Johannes Wilhelm's avatar
Johannes Wilhelm committed
					
				<a  class="btn btn-primary mt-5" th:href="@{~/pdfcreater/genpdf/Buchungsbestaetigung.pdf(id=*{id})}">PDF erstellen</a>   
                <a th:href="@{/welcome}" class="btn btn-primary mt-5">Home</a>
					
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
				</form>	
Stefan Kannamüller's avatar
Stefan Kannamüller committed
			
			
Johannes Wilhelm's avatar
Johannes Wilhelm committed

Johannes Wilhelm's avatar
Johannes Wilhelm committed
</div>
	<br>
	<br>
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
	

	
	<div th:include="foot::foot"></div>
	
Johannes Wilhelm's avatar
Johannes Wilhelm committed
</div>
Johannes Wilhelm's avatar
11
Johannes Wilhelm committed
</body>

</html>