| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<InvoiceDetailsViewData>" %>
|
|---|
| 2 |
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | <%
|
|---|
| 5 | var func = new PaymentsUtils();
|
|---|
| 6 | var str = func.SetTitle();
|
|---|
| 7 | %>
|
|---|
| 8 | <%=str + HttpContext.GetGlobalResourceObject("tlumaczenia", "Szczegoly")%>
|
|---|
| 9 | </asp:Content>
|
|---|
| 10 |
|
|---|
| 11 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 12 |
|
|---|
| 13 | <div class="SzczegolyZlecenia">
|
|---|
| 14 | <asp:Label ID="Szczegoly" runat="server" Text="<%$Resources:tlumaczenia,Szczegoly%>"></asp:Label>
|
|---|
| 15 | </div>
|
|---|
| 16 |
|
|---|
| 17 | <p class="bold"><asp:Label ID="SprDane" runat ="server" Text="<%$Resources:tlumaczenia,SprawdzDane%>"></asp:Label></p>
|
|---|
| 18 |
|
|---|
| 19 | <% using (Html.BeginForm("Show", "Platnosc", FormMethod.Post, new { id = "myform" })){ %>
|
|---|
| 20 |
|
|---|
| 21 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 22 | <tr><td><%=Html.Hidden("Payer.Id_faktury", Model.Invoice.ID_faktury) %></td></tr>
|
|---|
| 23 |
|
|---|
| 24 | <%-- sekcja: szczegó³y faktury --%>
|
|---|
| 25 | <tr>
|
|---|
| 26 | <td colspan="2" class="naglowekTab">
|
|---|
| 27 | <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "DaneFaktury").ToString()%>
|
|---|
| 28 | </td>
|
|---|
| 29 | </tr>
|
|---|
| 30 | <tr>
|
|---|
| 31 | <td class="col1">
|
|---|
| 32 | <asp:Label ID="Label1" runat ="server" Text="<%$Resources:tlumaczenia,Status_faktury%>"></asp:Label>
|
|---|
| 33 | </td>
|
|---|
| 34 | <td class="textbox" id="unpaid"><%=HttpContext.GetGlobalResourceObject("tlumaczenia", "niezaplacona").ToString()%></td>
|
|---|
| 35 | </tr>
|
|---|
| 36 | <tr>
|
|---|
| 37 | <td class="col1">
|
|---|
| 38 | <asp:Label ID="nazwafirmy" runat ="server" Text="<%$Resources:tlumaczenia,Nazwa%>"></asp:Label>
|
|---|
| 39 | </td>
|
|---|
| 40 | <td class="textbox"><%=Model.Invoice.FullName%></td>
|
|---|
| 41 | </tr>
|
|---|
| 42 | <tr>
|
|---|
| 43 | <td class="col1"><asp:Label ID="adres" runat="server" Text="<%$Resources:tlumaczenia,Adres%>"></asp:Label></td>
|
|---|
| 44 | <td class="textbox"><%=Model.Invoice.Address + " " + Model.Invoice.PostalCode + ", " + Model.Invoice.City%></td>
|
|---|
| 45 | </tr>
|
|---|
| 46 | <tr>
|
|---|
| 47 | <td class="col1"><asp:Label ID="nip" runat ="server" Text="<%$Resources:tlumaczenia,Nip%>"></asp:Label></td>
|
|---|
| 48 | <td class="textbox"><%=Model.Invoice.Nabywca_nip%></td>
|
|---|
| 49 | </tr>
|
|---|
| 50 | <tr>
|
|---|
| 51 | <td class="col1"><asp:Label ID="NrFaktury" runat ="server" Text="<%$Resources:tlumaczenia,NumerFaktury%>"></asp:Label></td>
|
|---|
| 52 | <td class="textbox"><%=Model.Invoice.Faktura_Numer%></td>
|
|---|
| 53 | </tr>
|
|---|
| 54 | <tr>
|
|---|
| 55 | <td class="col1"><asp:Label ID="DataWystawienia" runat ="server" Text="<%$Resources:tlumaczenia,DataWystawienia%>"></asp:Label></td>
|
|---|
| 56 | <td class="textbox"><%=String.Format("{0:dd-MM-yyyy}", Model.Invoice.Data_Wystawienia)%></td>
|
|---|
| 57 | </tr>
|
|---|
| 58 | <tr>
|
|---|
| 59 | <td class="col1"><asp:Label ID="termin" runat ="server" Text="<%$Resources:tlumaczenia,TerminPlatnosci%>"></asp:Label></td>
|
|---|
| 60 | <td class="textbox"><%=String.Format("{0:dd-MM-yyyy}", Model.Invoice.Termin_zaplaty)%></td>
|
|---|
| 61 | </tr>
|
|---|
| 62 | <tr>
|
|---|
| 63 | <td class="col1"><asp:Label ID="brutto" runat ="server" Text="<%$Resources:tlumaczenia,Brutto%>"></asp:Label></td>
|
|---|
| 64 | <td class="textbox"><%=Model.Brutto%></td>
|
|---|
| 65 | </tr>
|
|---|
| 66 | <tr>
|
|---|
| 67 | <td class="pustaLinia"></td>
|
|---|
| 68 | </tr>
|
|---|
| 69 | <%-- sekcja: kontakt do opiekuna handlowego--%>
|
|---|
| 70 | <tr>
|
|---|
| 71 | <td colspan="2" class="naglowekTab">
|
|---|
| 72 | <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "Kontakt").ToString()%>
|
|---|
| 73 | </td>
|
|---|
| 74 | </tr>
|
|---|
| 75 | <tr>
|
|---|
| 76 | <td class="col1">
|
|---|
| 77 | <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "ImieNazwisko").ToString()%>
|
|---|
| 78 | </td>
|
|---|
| 79 | <td class="textbox">
|
|---|
| 80 | <%=Model.Invoice.Imie + " " + Model.Invoice.Nazwisko%>
|
|---|
| 81 | </td>
|
|---|
| 82 | </tr>
|
|---|
| 83 | <tr>
|
|---|
| 84 | <td class="col1"><asp:Label ID="Adres2" runat="server" Text="<%$Resources:tlumaczenia,ulica%>"></asp:Label></td>
|
|---|
| 85 | <td class="textbox"><%=Model.Invoice.ulica%></td>
|
|---|
| 86 | </tr>
|
|---|
| 87 | <tr>
|
|---|
| 88 | <td class="col1"><asp:Label ID="Label2" runat="server" Text="<%$Resources:tlumaczenia,Miasto%>"></asp:Label></td>
|
|---|
| 89 | <td class="textbox"><%=Model.Invoice.kod + " " + Model.Invoice.miasto%></td>
|
|---|
| 90 | </tr>
|
|---|
| 91 | <tr>
|
|---|
| 92 | <td class="col1"><asp:Label ID="Telefon" runat="server" Text="<%$Resources:tlumaczenia,Telefon%>"></asp:Label></td>
|
|---|
| 93 | <td class="textbox"><%=Model.Invoice.telefon%></td>
|
|---|
| 94 | </tr>
|
|---|
| 95 | <tr>
|
|---|
| 96 | <td class="pustaLinia"></td>
|
|---|
| 97 | </tr>
|
|---|
| 98 | <%-- sekcja: dane wlasciciela karty --%>
|
|---|
| 99 | <tr>
|
|---|
| 100 | <td colspan="2" class="naglowekTab">
|
|---|
| 101 | <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "DaneWlasciciela").ToString()%>
|
|---|
| 102 | </td>
|
|---|
| 103 | </tr>
|
|---|
| 104 | <tr>
|
|---|
| 105 | <td colspan="2" class="col">
|
|---|
| 106 | <asp:Label ID="w_karty" runat ="server" Text="<%$Resources:tlumaczenia,WlascicielKarty%>"></asp:Label>
|
|---|
| 107 | </td>
|
|---|
| 108 | </tr>
|
|---|
| 109 | <tr>
|
|---|
| 110 | <td class="col1"><asp:Label ID="imie" runat ="server" Text="<%$Resources:tlumaczenia,Imie%>"></asp:Label></td>
|
|---|
| 111 | <td class="textbox1">
|
|---|
| 112 | <%=Html.TextBox("Payer.FirstName", Model.Payer.FirstName)%>
|
|---|
| 113 | <%=Html.ValidationMessage("Payer.FirstName")%>
|
|---|
| 114 | </td>
|
|---|
| 115 | </tr>
|
|---|
| 116 | <tr>
|
|---|
| 117 | <td class="col1"><asp:Label ID="nazwisko" runat ="server" Text="<%$Resources:tlumaczenia,Nazwisko%>"></asp:Label></td>
|
|---|
| 118 | <td class="textbox1">
|
|---|
| 119 | <%=Html.TextBox("Payer.LastName", Model.Payer.LastName)%>
|
|---|
| 120 | <%=Html.ValidationMessage("Payer.LastName")%>
|
|---|
| 121 | </td>
|
|---|
| 122 | </tr>
|
|---|
| 123 | <tr>
|
|---|
| 124 | <td></td>
|
|---|
| 125 | <td class="but">
|
|---|
| 126 | <br />
|
|---|
| 127 | <input id="place" name="id" type="submit" value="<%=HttpContext.GetGlobalResourceObject("tlumaczenia","Place").ToString()%>"/>
|
|---|
| 128 | </td>
|
|---|
| 129 | </tr>
|
|---|
| 130 | </table>
|
|---|
| 131 | <%}%>
|
|---|
| 132 | </asp:Content>
|
|---|