Last change
on this file since 10879 was
9582,
checked in by fschoepp, 12 years ago
|
#1888:
- Added an overview for users to inspect their orders
- Order Administrators may now suspend or reactivate orders
- When creating an order, its necessary to enter payment information (paypal, credit card,...) before
- Also, the billing period and type must be entered during the creation of an order.
|
File size:
689 bytes
|
Rev | Line | |
---|
[9556] | 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>
|
---|
[9582] | 17 | <input type="hidden" value="@product.ProductId.ToString()" name="ProductId" />
|
---|
[9556] | 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.