<!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"> <body class="container" style="background-image: url('/photos/background.jpg'); background-position:center; background-repeat:no-repeat; background-size:cover;"> <div class="container-fluid"> <h1><img th:src="@{/photos/logo.png}" alt="Logo" width="470" height="150"/></h1> </div> <div style="background-color: white; opacity:0.8;"> <nav th:include="menu::menu" ></nav> </div> <br> <br> <div style="background-color: white; opacity:1"> <div class="container-fluid"> <h1>Buchungsbestätigung</h1> <h3>Hier können Sie ihre Buchungsdaten einsehen. Unten könne Sie diese als PDF erstellen lassen und ausdrucken.</h3> <hr/> <form method="post" th:object="${buchung}"> <div class="form-group"> <output for="buchungsid">Nachname, Vorname</output> <output class="form-control" id="buchungid" name="zimmername" th:text="${kunde.nachname}+', '+${kunde.vorname}"> </output> </div> <div class="form-group"> <output for="preissum">Preis-Gesamt</output> <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> <table class="form-group"> <tr> <th>Check-in Datum</th> <td> </td> <td> </td> <th>Check-out Datum</th> <td> </td> <td> </td> <th>Gebuchte Tage</th> </tr> <tr> <td> <output class="form-control" id="belegtvon" name="belegtvon" th:text="*{belegtvon}"> </output> </td> <td> </td> <td> </td> <td> <output class="form-control" id="belegtbis" name="belegtbis" th:text="*{belegtbis}"> </output> </td> <td> </td> <td> </td> <td> <output class="form-control" id="belegtsum" name="belegtsum" th:text="*{belegtsum}"> </output> </td> </tr> </table> <div class="form-group"> <output for="buchungsid">Buchungsbestätigungsnummer</output> <output class="form-control" id="buchungid" name="zimmername" th:text="*{id}"> </output> </div> <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> </form> </div> <br> <br> <div th:include="foot::foot"></div> </div> </body> </html>