Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Order/AddProduct.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: 682 bytes
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.ProductsModel
2
3<h2>Add product to order</h2>
4
5<table>
6<thead>
7<tr><th>Product name:</th><th>Quantity:</th><th>Add</th></tr>
8</thead>
9<tbody>
10@foreach (var product in Model.Products) {       
11   <tr>
12   @using (Html.BeginForm("AddProduct", "Order")) {
13       
14       <td>@product.Name</td>
15       <td>@Html.TextBoxFor(m => m.Quantity)</td>
16       <td>
17        <input type="hidden" value="@product.Id.ToString()" name="ProductId" />
18        <input type="submit" value="Add product" />
19       </td>     
20   }     
21   </tr>   
22}
23</tbody>
24</table>
25
26@Html.ActionLink("Continue saving order.", "SaveOrder")
Note: See TracBrowser for help on using the repository browser.