<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Platnosci.Models.InvoiceDetailsViewData>" %>
<%@ Import Namespace="System" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	 <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "ShowTitle").ToString()%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="Tytul">
        <asp:Label ID="Szczegóły" runat="server" Text="<%$Resources:tlumaczenia,Szczegoly%>"></asp:Label>
    </div>
    <p class="InfoPaid"><%=Model.info%></p>   
    <table cellpadding="0" cellspacing="0" border="0">
                     
        <%-- sekcja: szczegóły faktury --%> 
        <tr>
            <td colspan="2" class="naglowekTab">
                <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "DaneFaktury").ToString()%>
            </td>                
        </tr>
        <tr>            
            <td class="col1">                
                <asp:Label ID="Label1" runat ="server" Text="<%$Resources:tlumaczenia,Status_faktury%>"></asp:Label>
            </td>
            <td class="textbox"> <%=HttpContext.GetGlobalResourceObject("tlumaczenia","zaplacona").ToString()%></td>            
        </tr> 
        <tr>            
            <td class="col1">                
                <asp:Label ID="Label2" runat ="server" Text="<%$Resources:tlumaczenia,termin_wplaty%>"></asp:Label>
            </td>
            <td class="textbox"><%=Model.termin%></td>            
        </tr>                  
        <tr>            
            <td class="col1">                
                <asp:Label ID="nazwafirmy" runat ="server" Text="<%$Resources:tlumaczenia,Nazwa%>"></asp:Label>
            </td>
            <td class="textbox"><%=Model.vPlatnosciEcard.FullName%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="adres" runat="server" Text="<%$Resources:tlumaczenia,Adres%>"></asp:Label></td>
            <td class="textbox"><%=Model.vPlatnosciEcard.Address + " " + Model.vPlatnosciEcard.PostalCode + ", " + Model.vPlatnosciEcard.City%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="nip" runat ="server" Text="<%$Resources:tlumaczenia,Nip%>"></asp:Label></td>
            <td class="textbox"><%=Model.vPlatnosciEcard.Nabywca_nip%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="NrFaktury" runat ="server" Text="<%$Resources:tlumaczenia,NumerFaktury%>"></asp:Label></td>
            <td class="textbox"><%=Model.vPlatnosciEcard.Faktura_Numer%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="DataWystawienia" runat ="server" Text="<%$Resources:tlumaczenia,DataWystawienia%>"></asp:Label></td>
            <td class="textbox"><%=String.Format("{0:dd-MM-yyyy}", Model.vPlatnosciEcard.Data_Wystawienia)%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="termin" runat ="server" Text="<%$Resources:tlumaczenia,TerminPlatnosci%>"></asp:Label></td>
            <td class="textbox"><%=String.Format("{0:dd-MM-yyyy}", Model.vPlatnosciEcard.Termin_zaplaty)%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="brutto" runat ="server"  Text="<%$Resources:tlumaczenia,Brutto%>"></asp:Label></td>
            <td class="textbox"><%=Model.brutto%></td>
        </tr>
        <tr>
            <td class="pustaLinia"></td>
        </tr>
        <%-- sekcja: kontakt do opiekuna handlowego--%>
        <tr>
            <td colspan="2" class="naglowekTab">
               <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "Kontakt").ToString().ToUpper()%>
            </td>                
        </tr>    
        <tr>
            <td class="col1">  
                <%=HttpContext.GetGlobalResourceObject("tlumaczenia", "ImieNazwisko").ToString()%> 
            </td>    
            <td class="textbox">
                <%=Model.vPlatnosciEcard.Imie + " " + Model.vPlatnosciEcard.Nazwisko%>
            </td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="Adres2" runat="server" Text="<%$Resources:tlumaczenia,Adres%>"></asp:Label></td>        
            <td class="textbox"><%=Model.vPlatnosciEcard.ulica + " " + Model.vPlatnosciEcard.kod + ", " + Model.vPlatnosciEcard.miasto%></td>
        </tr>
        <tr>
            <td class="col1"><asp:Label ID="Telefon" runat="server" Text="<%$Resources:tlumaczenia,Telefon%>"></asp:Label><br /><br /></td>
            <td class="textbox"><%=Model.vPlatnosciEcard.telefon%><br /><br /></td>            
        </tr>            
    </table>
</asp:Content>

