<%@ 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">

    <%if (Model.Status == "1"){ %>    
        <asp:Label ID="lab1" runat="server" Text="<%$Resources:tlumaczenia,podziekowania%>"></asp:Label>
        <%=Model.vPlatnosciEcard.Faktura_Numer%>
        <%string link1 = HttpContext.GetGlobalResourceObject("tlumaczenia","Powrot").ToString(); %>
        <p id="link1"><%=Html.ActionLink(link1, "LogOn", "Account")%></p>
    
    <%}else{%>
    
        <p class="pay_error">
            <asp:Label ID="lab2" runat="server" Text="<%$Resources:tlumaczenia,blad1%>"></asp:Label>
            <%=Model.vPlatnosciEcard.Faktura_Numer%>
            <asp:Label ID="lab3" runat="server" Text="<%$Resources:tlumaczenia,blad2%>"></asp:Label>
        </p>
        <%string link2 = HttpContext.GetGlobalResourceObject("tlumaczenia","KolejnaProba").ToString();%>
        <p id="link1"><%=Html.ActionLink(link2, "Show", "Platnosc", new { id = ViewData.Model.vPlatnosciEcard.ID_faktury}, null)%></p>
    
    <% } %>

</asp:Content>
