|
Wersja 752, 1.3 KB
(wprowadzona przez marek, 17 years temu)
|
|
wiersz
|
| Line | |
|---|
| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Wierszowki.Core.Linq.Report>>" %>
|
|---|
| 2 |
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | Show
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 8 |
|
|---|
| 9 | <h2>Show</h2>
|
|---|
| 10 |
|
|---|
| 11 | <table>
|
|---|
| 12 | <tr>
|
|---|
| 13 | <th>
|
|---|
| 14 | Autor
|
|---|
| 15 | </th>
|
|---|
| 16 | <th>
|
|---|
| 17 | Suma wycen
|
|---|
| 18 | </th>
|
|---|
| 19 | <th>
|
|---|
| 20 | Suma bonus
|
|---|
| 21 | </th>
|
|---|
| 22 | <th>
|
|---|
| 23 | Razem
|
|---|
| 24 | </th>
|
|---|
| 25 | </tr>
|
|---|
| 26 |
|
|---|
| 27 | <% foreach (var item in Model) { %>
|
|---|
| 28 |
|
|---|
| 29 | <tr>
|
|---|
| 30 | <td>
|
|---|
| 31 | <%= Html.Encode(item.AuthorName) %>
|
|---|
| 32 | </td>
|
|---|
| 33 | <td>
|
|---|
| 34 | <%= Html.Encode(String.Format("{0:F}", item.Price)) %>
|
|---|
| 35 | </td>
|
|---|
| 36 | <td>
|
|---|
| 37 | <%= Html.Encode(String.Format("{0:F}", item.Bonus)) %>
|
|---|
| 38 | </td>
|
|---|
| 39 | <td>
|
|---|
| 40 | <%= Html.Encode(String.Format("{0:F}", item.Total)) %>
|
|---|
| 41 | </td>
|
|---|
| 42 | </tr>
|
|---|
| 43 |
|
|---|
| 44 | <% } %>
|
|---|
| 45 |
|
|---|
| 46 | </table>
|
|---|
| 47 |
|
|---|
| 48 | <p>
|
|---|
| 49 | <%= Html.ActionLink("Create New", "Create") %>
|
|---|
| 50 | </p>
|
|---|
| 51 |
|
|---|
| 52 | </asp:Content> |
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.