<%@page import="org.mxchange.pizzaapplication.product.Product"%>
<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
+<%@page import="org.mxchange.pizzaapplication.customer.Customer" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<jsp:useBean id="customer" scope="session" class="org.mxchange.pizzaapplication.customer.bean.CustomerBean" type="Customer" />
+<jsp:setProperty name="customer" property="*" />
+
<%
// Init application instance
PizzaApplication app = PizzaServiceApplication.getInstance(application);
<tr>
<td colspan="5">
- <fieldset title="Bitte geben Sie Ihre Daten ein.">
- <legend>Bitte Ihre Daten eingeben:</legend>
+ <fieldset>
+ <legend title="Bitte geben Sie Ihre Daten ein.">Bitte Ihre Daten eingeben:</legend>
+ <div class="data_row">
<div class="data_row">
+ <div class="data_left">
+ <label for="companyname">Firmenname:</label>
+ </div>
+ <div class="data_right">
+ <input type="text" id="companyname" name="companyname" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ </div>
+ <div class="clear"></div>
+ </div>
+
<div class="data_left">
<label for="surname">Vorname:</label>
</div>
<div class="data_row">
<div class="data_left">
- <label for="family_name">Nachname:</label>
+ <label for="familyname">Nachname:</label>
</div>
<div class="data_right">
- <input type="text" id="family_name" name="family_name" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="familyname" name="familyname" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<label for="street">Straße:</label>
</div>
<div class="data_right">
- <input type="text" id="street" name="street" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="street" name="street" size="20" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<div class="data_row">
<div class="data_left">
- <label for="housenumber">Hausnummer:</label>
+ <label for="houseNumber">Hausnummer:</label>
</div>
<div class="data_right">
- <input type="text" id="housenumber" name="housenumber" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="houseNumber" name="houseNumber" size="3" maxlength="5" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<div class="data_row">
<div class="data_left">
- <label for="zip_code">Postleitzahl:</label>
+ <label for="zipCode">Postleitzahl:</label>
</div>
<div class="data_right">
- <input type="text" id="zip_code" name="zip_code" size="5" maxlength="6" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="zipCode" name="zipCode" size="5" maxlength="6" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<div class="data_row">
<div class="data_left">
- <label for="phone_number">Telefon:</label>
+ <label for="phoneNumber">Telefon:</label>
+ </div>
+ <div class="data_right">
+ <input type="text" id="phoneNumber" name="phoneNumber" size="20" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ </div>
+ <div class="clear"></div>
+ </div>
+
+ <div class="data_row">
+ <div class="data_left">
+ <label for="faxNumber">Faxnummer:</label>
+ </div>
+ <div class="data_right">
+ <input type="text" id="faxNumber" name="faxNumber" size="20" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ </div>
+ <div class="clear"></div>
+ </div>
+
+ <div class="data_row">
+ <div class="data_left">
+ <label for="cellphoneNumber">Handy:</label>
</div>
<div class="data_right">
- <input type="text" id="phone_number" name="phone_number" size="10" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="cellphoneNumber" name="cellphoneNumber" size="20" maxlength="255" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<tr>
<td colspan="5" class="table_footer">
+ <input type="reset" value="Formular zurücksetzen" />
<input type="submit" name="send" value="Bestellung abschliessen" <%=app.getDisabledHtmlFromSession(request, session)%> />
</td>
</tr>