Changeset 9582 for branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Order/SaveOrder.cshtml
- Timestamp:
- 06/04/13 16:30:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Order/SaveOrder.cshtml
r9556 r9582 1 1 @model HeuristicLab.Services.Optimization.Web.Models.OrderModel 2 2 @using HeuristicLab.Services.Optimization.Web.Helpers 3 3 <h2>Save your Order</h2> 4 4 <p>Following items will be purchased</p> … … 22 22 <p>Resulting in total costs of @Model.TotalSum() Euro.</p> 23 23 24 @using(Html.BeginForm("SaveOrder", "Order")) { 25 <div> 26 <p> 27 <input type="submit" value="Save order" /> 28 </p> 29 </div> 30 } 24 25 26 @if (Model.User.PaymentInformation == null || Model.User.PaymentInformation.Count == 0) { 27 <h2>You didn't specify any payment information yet. Please click @Html.ActionLink("here", "Payment") to enter the information.</h2> 28 } 29 else { 30 foreach (var pi in Model.User.PaymentInformation) { 31 @Html.Label("PaymentInformationId", string.Format("{0} ({1})", pi.PaymentMethod, pi.CardNumber)) 32 @Html.RadioButton("PaymentInformationId", pi.PaymentInformationId); 33 } 34 <h2>Or add payment information by clicking @Html.ActionLink("here", "Payment").</h2> 35 36 using (Html.BeginForm("SaveOrder", "Order")) { 37 <h2>How often would you like to be billed?</h2> 38 39 @Html.RadioButtonForEnum(m => m.BillingPeriod) 40 41 <h2>Would you like to pay upfront or at the end of the period?</h2> 42 43 @Html.RadioButtonForEnum(m => m.BillingType) 44 45 <div> 46 <p> 47 <input type="submit" value="Save order" /> 48 </p> 49 </div> 50 } 51 }
Note: See TracChangeset
for help on using the changeset viewer.