Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Order/SaveOrder.cshtml @ 9556

Last change on this file since 9556 was 9556, checked in by fschoepp, 11 years ago

#1888:

  • Added views for the billing component (Register users, Create orders and Activate Orders view)
  • Added a mockup for the billing back-end .
File size: 770 bytes
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.OrderModel
2
3<h2>Save your Order</h2>
4<p>Following items will be purchased</p>
5<table>
6<thead>
7<tr>
8<th>Product name:</th><th>Price per Unit:</th><th>Quantity:</th><th>Total Price:</th>
9</tr>
10</thead>
11<tbody>
12@foreach (var product in Model.ProductQuantities.Keys) {
13    <tr>
14        <td>@Model.Products[product].Name</td>
15        <td>@Model.Products[product].Price Euro</td>
16        <td>@Model.ProductQuantities[product]</td>
17        <td>@Model.ProductSum(product) Euro</td>
18    </tr>
19}
20</tbody>
21</table>
22<p>Resulting in total costs of @Model.TotalSum() Euro.</p>
23
24 @using(Html.BeginForm("SaveOrder", "Order")) {
25 <div>
26 <p>
27    <input type="submit" value="Save order" />
28</p>
29</div>
30 }
Note: See TracBrowser for help on using the repository browser.