<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="Platnosci.Views.PlatnosciViews<Platnosci.Models.InvoiceDetailsViewData>"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	 <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "PotwierdzenieTitle").ToString()%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
        <p class="pay_error">
            
            <%if (Model.vPlatnosciEcard != null && !String.IsNullOrEmpty(Model.vPlatnosciEcard.Faktura_Numer)){%>
                <asp:Label ID="lab3" runat="server" Text="">
                <% string txt = HttpContext.GetGlobalResourceObject("tlumaczenia", "blad2").ToString(); %>
                <%=String.Format(txt, Model.vPlatnosciEcard.Faktura_Numer) %>
                </asp:Label>
            <%}%>
            
        </p>
        <%if (Model.vPlatnosciEcard != null && !String.IsNullOrEmpty(Model.vPlatnosciEcard.Faktura_Numer))
          {
            string link2 = HttpContext.GetGlobalResourceObject("tlumaczenia", "KolejnaProba").ToString();%>
            <p id="link1"><%=Html.ActionLink(link2, "Show", "Platnosc", new { id = ViewData.Model.vPlatnosciEcard.ID_faktury }, null)%></p>
        <%}
          else
          {
            
            string link1 = HttpContext.GetGlobalResourceObject("tlumaczenia", "Powrot").ToString(); %>
            <p id="P1"><%=Html.ActionLink(link1, "LogOn", "Account")%></p>
            
        <%} %>
</asp:Content>
