Index: trunk/eCard/eCardMVC/Platnosci.Core/Interface/IRepositoryPT.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Core/Interface/IRepositoryPT.cs (revision 866)
+++  (revision )
@@ -1,41 +1,0 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Linq.Expressions;
-using System.Text;
-using Platnosci.Core.Interface;
-using Platnosci.Core.Linq;
-
-namespace Platnosci.Core.Interface
-{
-    public interface IRepositoryPT
-    {
-        int Count();
-
-        int Count(Expression<Func<PotwierdzeniaEcard, bool>> expression);
-
-        void Insert(PotwierdzeniaEcard entity);
-
-        void Delete(PotwierdzeniaEcard entity);
-
-        void Update(PotwierdzeniaEcard entity);
-
-        PotwierdzeniaEcard FindOne(int id);
-
-        PotwierdzeniaEcard FindOne(Expression<Func<PotwierdzeniaEcard, bool>> expression);
-
-        bool TryFindOne(Expression<Func<PotwierdzeniaEcard, bool>> expression, out PotwierdzeniaEcard entity);
-
-        bool Exists(Expression<Func<PotwierdzeniaEcard, bool>> expression);
-
-        IList<PotwierdzeniaEcard> FindAll();
-
-        IList<PotwierdzeniaEcard> FindAll(Expression<Func<PotwierdzeniaEcard, bool>> expression);
-
-        IQueryable<PotwierdzeniaEcard> Find();
-
-        IQueryable<PotwierdzeniaEcard> Find(int id);
-
-        IQueryable<PotwierdzeniaEcard> Find(Expression<Func<PotwierdzeniaEcard, bool>> expression);
-    }
-}
Index: trunk/eCard/eCardMVC/Platnosci.Core/Interface/IRepositoryPE.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Core/Interface/IRepositoryPE.cs (revision 866)
+++  (revision )
@@ -1,41 +1,0 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Linq.Expressions;
-using System.Text;
-using Platnosci.Core.Interface;
-using Platnosci.Core.Linq;
-
-namespace Platnosci.Core.Interface
-{
-    public interface IRepositoryPE
-    {
-        int Count();
-
-        int Count(Expression<Func<PlatnosciEcard, bool>> expression);
-
-        void Insert(PlatnosciEcard entity);
-
-        void Delete(PlatnosciEcard entity);
-
-        void Update(PlatnosciEcard entity);
-
-        PlatnosciEcard FindOne(int id);
-
-        PlatnosciEcard FindOne(Expression<Func<PlatnosciEcard, bool>> expression);
-
-        bool TryFindOne(Expression<Func<PlatnosciEcard, bool>> expression, out PlatnosciEcard entity);
-
-        bool Exists(Expression<Func<PlatnosciEcard, bool>> expression);
-
-        IList<PlatnosciEcard> FindAll();
-
-        IList<PlatnosciEcard> FindAll(Expression<Func<PlatnosciEcard, bool>> expression);
-
-        IQueryable<PlatnosciEcard> Find();
-
-        IQueryable<PlatnosciEcard> Find(int id);
-
-        IQueryable<PlatnosciEcard> Find(Expression<Func<PlatnosciEcard, bool>> expression);
-    }
-}
Index: trunk/eCard/eCardMVC/Platnosci.Core/Linq/RepositoryPlatnosciEcard.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Core/Linq/RepositoryPlatnosciEcard.cs (revision 866)
+++  (revision )
@@ -1,85 +1,0 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Data.Linq;
-using System.Linq;
-using System.Linq.Expressions;
-using System.Text;
-using Platnosci.Core.Interface;
-using Platnosci.Core.Linq;
-
-namespace Platnosci.Core.Linq
-{
-    public sealed class RepositoryPlatnosciEcard : IRepositoryPE
-    {
-        private readonly PlatnosciDataContext _dataContext = new PlatnosciDataContext();
-
-        public int Count()
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Count();
-        }
-        public int Count(Expression<Func<PlatnosciEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Count(expression);
-        }
-        public PlatnosciEcard FindOne(int id)
-        {
-            return FindOne(t => t.ORDERNUMBER == id);
-        }
-        public PlatnosciEcard FindOne(Expression<Func<PlatnosciEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Where(expression).SingleOrDefault();
-        }
-
-        public bool TryFindOne(Expression<Func<PlatnosciEcard, bool>> expression, out PlatnosciEcard entity)
-        {
-            entity = FindOne(expression);
-
-            return (entity != null);
-        }
-        public bool Exists(Expression<Func<PlatnosciEcard, bool>> expression)
-        {
-            var entity = FindOne(expression);
-
-            return (entity != null);
-        }
-        public IList<PlatnosciEcard> FindAll()
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().ToList();
-        }
-        public IList<PlatnosciEcard> FindAll(Expression<Func<PlatnosciEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Where(expression).ToList();
-        }
-
-        public void Insert(PlatnosciEcard entity)
-        {
-            _dataContext.GetTable<PlatnosciEcard>().InsertOnSubmit(entity);
-            _dataContext.SubmitChanges();
-        }
-        public void Delete(PlatnosciEcard entity)
-        {
-            if (entity != null)
-            {
-                _dataContext.GetTable<PlatnosciEcard>().DeleteOnSubmit(entity);
-                _dataContext.SubmitChanges();
-            }
-        }
-        public void Update(PlatnosciEcard entity)
-        {
-            _dataContext.SubmitChanges();
-        }
-        public IQueryable<PlatnosciEcard> Find(int id)
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Where(t => t.ORDERNUMBER == id);
-        }
-        public IQueryable<PlatnosciEcard> Find(Expression<Func<PlatnosciEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PlatnosciEcard>().Where(expression);
-        }
-        public IQueryable<PlatnosciEcard> Find()
-        {
-            return _dataContext.GetTable<PlatnosciEcard>();
-        }
-    }
-}
-
Index: trunk/eCard/eCardMVC/Platnosci.Core/Linq/RepositoryPotwierdzeniaEcard.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Core/Linq/RepositoryPotwierdzeniaEcard.cs (revision 866)
+++  (revision )
@@ -1,86 +1,0 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Data.Linq;
-using System.Linq;
-using System.Linq.Expressions;
-using System.Text;
-using Platnosci.Core.Interface;
-using Platnosci.Core.Linq;
-
-namespace Platnosci.Core.Linq
-{
-    public sealed class RepositoryPotwierdzeniaEcard : IRepositoryPT
-    {
-        private readonly PlatnosciDataContext _dataContext = new PlatnosciDataContext();
-
-        public int Count()
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Count();
-        }
-        public int Count(Expression<Func<PotwierdzeniaEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Count(expression);
-        }
-        public PotwierdzeniaEcard FindOne(int id)
-        {
-            return FindOne(t => t.ORDERNUMBER == id);
-        }
-        public PotwierdzeniaEcard FindOne(Expression<Func<PotwierdzeniaEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Where(expression).SingleOrDefault();
-        }
-
-        public bool TryFindOne(Expression<Func<PotwierdzeniaEcard, bool>> expression, out PotwierdzeniaEcard entity)
-        {
-            entity = FindOne(expression);
-
-            return (entity != null);
-        }
-        public bool Exists(Expression<Func<PotwierdzeniaEcard, bool>> expression)
-        {
-            var entity = FindOne(expression);
-
-            return (entity != null);
-        }
-        public IList<PotwierdzeniaEcard> FindAll()
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().ToList();
-        }
-        public IList<PotwierdzeniaEcard> FindAll(Expression<Func<PotwierdzeniaEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Where(expression).ToList();
-        }
-
-        public void Insert(PotwierdzeniaEcard entity)
-        {
-            _dataContext.GetTable<PotwierdzeniaEcard>().InsertOnSubmit(entity);
-            _dataContext.SubmitChanges();
-        }
-        public void Delete(PotwierdzeniaEcard entity)
-        {
-            if (entity != null)
-            {
-                _dataContext.GetTable<PotwierdzeniaEcard>().DeleteOnSubmit(entity);
-                _dataContext.SubmitChanges();
-            }
-        }
-        public void Update(PotwierdzeniaEcard entity)
-        {
-            _dataContext.SubmitChanges();
-        }
-        public IQueryable<PotwierdzeniaEcard> Find(int id)
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Where(t => t.ORDERNUMBER == id);
-        }
-        public IQueryable<PotwierdzeniaEcard> Find(Expression<Func<PotwierdzeniaEcard, bool>> expression)
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>().Where(expression);
-        }
-        public IQueryable<PotwierdzeniaEcard> Find()
-        {
-            return _dataContext.GetTable<PotwierdzeniaEcard>();
-        }
-    }
-}
-
-
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.designer.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.designer.cs (revision 883)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.designer.cs (revision 885)
@@ -89,5 +89,5 @@
         
         /// <summary>
-        ///   Looks up a localized string similar to PÅatnoÅÄ za fakturÄ: .
+        ///   Looks up a localized string similar to PÅatnoÅÄ za fakturÄ numer: .
         /// </summary>
         internal static string blad1 {
@@ -162,5 +162,5 @@
         
         /// <summary>
-        ///   Looks up a localized string similar to ProszÄ podaÄ imiÄ wÅaÅciciela karty kredytowej..
+        ///   Looks up a localized string similar to ProszÄ podaÄ imiÄ wÅaÅciciela karty kredytowej.pl.
         /// </summary>
         internal static string err_imieWK {
@@ -180,5 +180,5 @@
         
         /// <summary>
-        ///   Looks up a localized string similar to ProszÄ podaÄ nazwisko wÅaÅciciela karty kredytowej..
+        ///   Looks up a localized string similar to ProszÄ podaÄ nazwisko wÅaÅciciela karty kredytowej.pl.
         /// </summary>
         internal static string err_nazwiskoWK {
@@ -346,5 +346,5 @@
         
         /// <summary>
-        ///   Looks up a localized string similar to DziÄkujemy za dokonanie pÅatnoÅci za fakturÄ:.
+        ///   Looks up a localized string similar to DziÄkujemy za dokonanie pÅatnoÅci za fakturÄ numer:.
         /// </summary>
         internal static string podziekowania {
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.fr.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.fr.resx (revision 866)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.fr.resx (revision 885)
@@ -167,5 +167,5 @@
   </data>
   <data name="Kontakt" xml:space="preserve">
-    <value>Veuillez appeler Ã  vos ventes le conseiller: </value>
+    <value>Veuillez appeler Ã  vos ventes le conseiller</value>
   </data>
   <data name="Nazwa" xml:space="preserve">
@@ -261,3 +261,21 @@
     <value>Informacje</value>
   </data>
+  <data name="DaneFaktury" xml:space="preserve">
+    <value>DANE FAKTURY</value>
+  </data>
+  <data name="DaneWlasciciela" xml:space="preserve">
+    <value>DANE WÅAÅCICIELA KARTY KREDYTOWEJ</value>
+  </data>
+  <data name="niezaplacona" xml:space="preserve">
+    <value>niezapÅacona</value>
+  </data>
+  <data name="termin_wplaty" xml:space="preserve">
+    <value>Termin zapÅaty:</value>
+  </data>
+  <data name="zaplacona" xml:space="preserve">
+    <value>zapÅacona</value>
+  </data>
+  <data name="Status_faktury" xml:space="preserve">
+    <value>Status faktury:</value>
+  </data>
 </root>
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.de.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.de.resx (revision 866)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.de.resx (revision 885)
@@ -174,5 +174,5 @@
   </data>
   <data name="Kontakt" xml:space="preserve">
-    <value>Benennen Sie bitte zu Ihren VerkÃ€ufen Berater: </value>
+    <value>Benennen Sie bitte zu Ihren VerkÃ€ufen Berater</value>
   </data>
   <data name="Nazwa" xml:space="preserve">
@@ -268,3 +268,21 @@
     <value>Informacje</value>
   </data>
+  <data name="DaneFaktury" xml:space="preserve">
+    <value>DANE FAKTURY</value>
+  </data>
+  <data name="DaneWlasciciela" xml:space="preserve">
+    <value>DANE WÅAÅCICIELA KARTY KREDYTOWEJ</value>
+  </data>
+  <data name="niezaplacona" xml:space="preserve">
+    <value>niezapÅacona</value>
+  </data>
+  <data name="termin_wplaty" xml:space="preserve">
+    <value>Termin zapÅaty:</value>
+  </data>
+  <data name="zaplacona" xml:space="preserve">
+    <value>zapÅacona</value>
+  </data>
+  <data name="Status_faktury" xml:space="preserve">
+    <value>Status faktury:</value>
+  </data>
 </root>
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.it.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.it.resx (revision 866)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.it.resx (revision 885)
@@ -173,5 +173,5 @@
   </data>
   <data name="Kontakt" xml:space="preserve">
-    <value>Denomini prego alle vostre vendite il consulente: </value>
+    <value>Denomini prego alle vostre vendite il consulente</value>
   </data>
   <data name="Nazwa" xml:space="preserve">
@@ -267,3 +267,21 @@
     <value>Informacje</value>
   </data>
+  <data name="DaneFaktury" xml:space="preserve">
+    <value>DANE FAKTURY</value>
+  </data>
+  <data name="DaneWlasciciela" xml:space="preserve">
+    <value>DANE WÅAÅCICIELA KARTY KREDYTOWEJ</value>
+  </data>
+  <data name="niezaplacona" xml:space="preserve">
+    <value>niezapÅacona</value>
+  </data>
+  <data name="termin_wplaty" xml:space="preserve">
+    <value>Termin zapÅaty:</value>
+  </data>
+  <data name="zaplacona" xml:space="preserve">
+    <value>zapÅacona</value>
+  </data>
+  <data name="Status_faktury" xml:space="preserve">
+    <value>Status faktury:</value>
+  </data>
 </root>
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.resx (revision 883)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.resx (revision 885)
@@ -200,5 +200,5 @@
   </data>
   <data name="blad1" xml:space="preserve">
-    <value>Płatność za fakturę: </value>
+    <value>Płatność za fakturę numer: </value>
   </data>
   <data name="blad2" xml:space="preserve">
@@ -211,5 +211,5 @@
   </data>
   <data name="podziekowania" xml:space="preserve">
-    <value>Dziękujemy za dokonanie płatności za fakturę:</value>
+    <value>Dziękujemy za dokonanie płatności za fakturę numer:</value>
   </data>
   <data name="Powrot" xml:space="preserve">
@@ -244,5 +244,5 @@
   </data>
   <data name="err_imieWK" xml:space="preserve">
-    <value>Proszę podać imię właściciela karty kredytowej.</value>
+    <value>Proszę podać imię właściciela karty kredytowej.pl</value>
   </data>
   <data name="err_logowanie" xml:space="preserve">
@@ -250,5 +250,5 @@
   </data>
   <data name="err_nazwiskoWK" xml:space="preserve">
-    <value>Proszę podać nazwisko właściciela karty kredytowej.</value>
+    <value>Proszę podać nazwisko właściciela karty kredytowej.pl</value>
   </data>
   <data name="err_nip" xml:space="preserve">
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.en.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.en.resx (revision 866)
+++ trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.en.resx (revision 885)
@@ -153,5 +153,5 @@
   </data>
   <data name="Wyloguj" xml:space="preserve">
-    <value>Wyloguj</value>
+    <value>Log out</value>
   </data>
   <data name="Adres" xml:space="preserve">
@@ -171,5 +171,5 @@
   </data>
   <data name="Kontakt" xml:space="preserve">
-    <value>Please call to your sales consultant:
+    <value>Contact to your sales consultant
 </value>
   </data>
@@ -193,5 +193,5 @@
   </data>
   <data name="Szczegoly" xml:space="preserve">
-    <value>Details</value>
+    <value>Order details</value>
   </data>
   <data name="TerminPlatnosci" xml:space="preserve">
@@ -220,18 +220,18 @@
   </data>
   <data name="PotwierdzenieTitle" xml:space="preserve">
-    <value>Potwierdzenie pÅatnoÅci</value>
+    <value>Payment confirmation</value>
   </data>
   <data name="ShowTitle" xml:space="preserve">
-    <value>SzczegÃ³Åy zlecenia</value>
+    <value>Order details</value>
   </data>
   <data name="Telefon" xml:space="preserve">
-    <value>Numer telefonu:</value>
+    <value>Phone:</value>
   </data>
   <data name="brakdanych" xml:space="preserve">
-    <value>Nie moÅŒna wyÅwietliÄ danych.en</value>
+    <value>Nie moÅŒna wyÅwietliÄ danych.</value>
   </data>
   <data name="weryfikacja" xml:space="preserve">
     <value>BÅÄ
-d weryfikacji danych.en</value>
+d weryfikacji danych.</value>
   </data>
   <data name="Faktura_error" xml:space="preserve">
@@ -240,11 +240,11 @@
   </data>
   <data name="zaplacono" xml:space="preserve">
-    <value>PÅatnoÅÄ za fakturÄ numer {0} zostaÅa uregulowana dnia {1}.en</value>
+    <value>PÅatnoÅÄ za fakturÄ numer {0} zostaÅa uregulowana dnia {1}</value>
   </data>
   <data name="err_faktura" xml:space="preserve">
-    <value>ProszÄ podaÄ numer faktury. en</value>
+    <value>ProszÄ podaÄ numer faktury.</value>
   </data>
   <data name="err_logowanie" xml:space="preserve">
-    <value>Podano nieprawidÅowy NIP lub numer faktury. en</value>
+    <value>Podano nieprawidÅowy NIP lub numer faktury. </value>
   </data>
   <data name="err_nip" xml:space="preserve">
@@ -252,5 +252,5 @@
   </data>
   <data name="validateInfo" xml:space="preserve">
-    <value>Logowanie nie powiodÅo siÄ. Popraw bÅÄdy i sprÃ³buj zalogowaÄ sie ponownie.en</value>
+    <value>Logowanie nie powiodÅo siÄ. Popraw bÅÄdy i sprÃ³buj zalogowaÄ sie ponownie.</value>
   </data>
   <data name="err_imieWK" xml:space="preserve">
@@ -266,12 +266,24 @@
     <value>pay.truck-expo.com</value>
   </data>
-  <data name="err_imieWK1" xml:space="preserve">
-    <value>ProszÄ podaÄ imiÄ wÅaÅciciela karty kredytowej.en</value>
-  </data>
-  <data name="err_nazwiskoWK1" xml:space="preserve">
-    <value>ProszÄ podaÄ nazwisko wÅaÅciciela karty kredytowej.en</value>
-  </data>
   <data name="InfoError" xml:space="preserve">
     <value>Informacje</value>
   </data>
+  <data name="DaneFaktury" xml:space="preserve">
+    <value>INVOICE DETAILS</value>
+  </data>
+  <data name="DaneWlasciciela" xml:space="preserve">
+    <value>DANE WÅAÅCICIELA KARTY KREDYTOWEJ</value>
+  </data>
+  <data name="niezaplacona" xml:space="preserve">
+    <value>unpaid</value>
+  </data>
+  <data name="termin_wplaty" xml:space="preserve">
+    <value>Payment date:</value>
+  </data>
+  <data name="zaplacona" xml:space="preserve">
+    <value>paid</value>
+  </data>
+  <data name="Status_faktury" xml:space="preserve">
+    <value>Invoice status:</value>
+  </data>
 </root>
Index: trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.pl.resx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/App_GlobalResources/tlumaczenia.pl.resx (revision 868)
+++  (revision )
@@ -1,263 +1,0 @@
-﻿<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="info" xml:space="preserve">
-    <value>Aby sie zalogować podaj poprawny NIP oraz numer faktury:</value>
-  </data>
-  <data name="LoginInfo" xml:space="preserve">
-    <value>Zaloguj się, aby dokonać płatności kartą.</value>
-  </data>
-  <data name="Nip" xml:space="preserve">
-    <value>NIP:</value>
-  </data>
-  <data name="NumerFaktury" xml:space="preserve">
-    <value>Numer faktury:</value>
-  </data>
-  <data name="PageLogin" xml:space="preserve">
-    <value> Logowanie</value>
-  </data>
-  <data name="Zaloguj" xml:space="preserve">
-    <value>Zaloguj</value>
-  </data>
-  <data name="Zapamietaj" xml:space="preserve">
-    <value>Zapamiętaj?</value>
-  </data>
-  <data name="tytul" xml:space="preserve">
-    <value>Płatności kartą kredytową za reklamę.</value>
-  </data>
-  <data name="witaj" xml:space="preserve">
-    <value>Witaj</value>
-  </data>
-  <data name="Wyloguj" xml:space="preserve">
-    <value>Wyloguj</value>
-  </data>
-  <data name="Informacja" xml:space="preserve">
-    <value>Trwa przekierowanie na stronę autoryzacyjną eCard...</value>
-  </data>
-  <data name="Adres" xml:space="preserve">
-    <value>Adres</value>
-  </data>
-  <data name="Brutto" xml:space="preserve">
-    <value>Wartość brutto:</value>
-  </data>
-  <data name="DataWystawienia" xml:space="preserve">
-    <value>Data wystawienia:</value>
-  </data>
-  <data name="Imie" xml:space="preserve">
-    <value>Imie:</value>
-  </data>
-  <data name="ImieNazwisko" xml:space="preserve">
-    <value>Imię i nazwisko:</value>
-  </data>
-  <data name="Kontakt" xml:space="preserve">
-    <value>Kontakt do Twojego opiekuna handlowego:</value>
-  </data>
-  <data name="Nazwa" xml:space="preserve">
-    <value>Nazwa:</value>
-  </data>
-  <data name="Nazwisko" xml:space="preserve">
-    <value>Nazwisko:</value>
-  </data>
-  <data name="Place" xml:space="preserve">
-    <value>Płacę</value>
-  </data>
-  <data name="Pomoc" xml:space="preserve">
-    <value>Potrzebujesz pomocy?</value>
-  </data>
-  <data name="SprawdzDane" xml:space="preserve">
-    <value>Sprawdź, czy poniższe dane są prawidłowe. Jeśli są poprawne, kliknij przycisk Płacę, który znajduje się poniżej. Zostaniesz przeniesiony na stronę firmy eCard, gdzie nastąpi dokończenie transakcji.</value>
-  </data>
-  <data name="Szczegoly" xml:space="preserve">
-    <value>Szczegóły zlecenia</value>
-  </data>
-  <data name="Telefon" xml:space="preserve">
-    <value>Numer telefonu:</value>
-  </data>
-  <data name="TerminPlatnosci" xml:space="preserve">
-    <value>Termin platności</value>
-  </data>
-  <data name="WlascicielKarty" xml:space="preserve">
-    <value>Podaj imię i nazwisko osoby, na którą jest wystawiona karta kredytowa:</value>
-  </data>
-  <data name="Zamknij" xml:space="preserve">
-    <value>Zamknij</value>
-  </data>
-  <data name="blad1" xml:space="preserve">
-    <value>Płatność za fakturę: </value>
-  </data>
-  <data name="blad2" xml:space="preserve">
-    <value> nie powidła się!
-</value>
-  </data>
-  <data name="KolejnaProba" xml:space="preserve">
-    <value>Spróbuj ponownie...
-</value>
-  </data>
-  <data name="podziekowania" xml:space="preserve">
-    <value>Dziękujemy za dokonanie płatności za fakturę:</value>
-  </data>
-  <data name="PotwierdzenieTitle" xml:space="preserve">
-    <value>Potwierdzenie płatności</value>
-  </data>
-  <data name="Powrot" xml:space="preserve">
-    <value>Powrót na stronę logowania...</value>
-  </data>
-  <data name="ShowTitle" xml:space="preserve">
-    <value>Szczegóły zlecenia</value>
-  </data>
-  <data name="brakdanych" xml:space="preserve">
-    <value>Nie można wyświetlić danych.</value>
-  </data>
-  <data name="weryfikacja" xml:space="preserve">
-    <value>Błąd weryfikacji danych.</value>
-  </data>
-  <data name="Faktura_error" xml:space="preserve">
-    <value>Błąd danych.</value>
-  </data>
-  <data name="zaplacono" xml:space="preserve">
-    <value>Płatność za fakturę numer {0} została uregulowana dnia {1}.</value>
-  </data>
-  <data name="err_faktura" xml:space="preserve">
-    <value>Proszę podać numer faktury.</value>
-  </data>
-  <data name="err_logowanie" xml:space="preserve">
-    <value>Podano nieprawidłowy NIP lub numer faktury.</value>
-  </data>
-  <data name="err_nip" xml:space="preserve">
-    <value>Proszę podać NIP.</value>
-  </data>
-  <data name="validateInfo" xml:space="preserve">
-    <value>Logowanie nie powiodło się. Popraw błędy i spróbuj zalogować sie ponownie.</value>
-  </data>
-  <data name="adresAdmoto" xml:space="preserve">
-    <value>platnosci.admoto.pl</value>
-  </data>
-  <data name="adresTruck" xml:space="preserve">
-    <value>pay.truck-expo.com</value>
-  </data>
-  <data name="err_imieWK" xml:space="preserve">
-    <value>Proszę podać imię właściciela karty kredytowej.</value>
-  </data>
-  <data name="err_nazwiskoWK" xml:space="preserve">
-    <value>Proszę podać nazwisko właściciela karty kredytowej.</value>
-  </data>
-  <data name="InfoError" xml:space="preserve">
-    <value>Informacje</value>
-  </data>
-</root>
Index: trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Ok.aspx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Ok.aspx (revision 873)
+++ trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Ok.aspx (revision 885)
@@ -9,4 +9,5 @@
     <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>
Index: trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Fail.aspx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Fail.aspx (revision 873)
+++ trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Fail.aspx (revision 885)
@@ -9,9 +9,18 @@
     <p class="pay_error">
         <asp:Label ID="lab2" runat="server" Text="<%$Resources:tlumaczenia,blad1%>"></asp:Label>
-        <%=Model.vPlatnosciEcard.Faktura_Numer%>
+        <%if (Model.vPlatnosciEcard != null && !String.IsNullOrEmpty(Model.vPlatnosciEcard.Faktura_Numer)){%>
+            <%=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>
-
+    <%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>
Index: trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Potwierdzenie.aspx
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Views/Platnosc/Potwierdzenie.aspx (revision 866)
+++  (revision )
@@ -1,27 +1,0 @@
-<%@ 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>
Index: trunk/eCard/eCardMVC/Platnosci/Helpers/UrlImage.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Helpers/UrlImage.cs (revision 866)
+++  (revision )
@@ -1,57 +1,0 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-using System.Web.Routing;
-
-namespace Platnosci.Helpers
-{
-    public static class UrlImage
-    {
-        public static string Image(this HtmlHelper helper, string src, string alt)
-        {
-            TagBuilder tb = new TagBuilder("img");
-            tb.Attributes.Add("src", helper.Encode(src));
-            tb.Attributes.Add("alt", helper.Encode(alt));
-            return tb.ToString(TagRenderMode.SelfClosing);
-        }
-        public static string ImageLink(this HtmlHelper htmlHelper, string src, string alt, string querystring)
-        {
-            
-            var action = htmlHelper.CurrentAction();
-            var controller = htmlHelper.CurrentController();
-                                    
-            UrlHelper urlHelper = ((Controller)htmlHelper.ViewContext.Controller).Url;
-            string imgtag = htmlHelper.Image(src, alt);
-            
-            RouteValueDictionary tab = new RouteValueDictionary();
-            string id = htmlHelper.ViewContext.RouteData.Values["id"].ToString();
-            tab.Add("language", alt);
-            tab.Add("id", id);
-
-            string url = urlHelper.Action(action, controller, tab);
-
-            string[] param = querystring.ToString().Split(("&").ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
-            for (int i = 0; i < param.Length; i++ )
-            {
-                if (i == 0) url += "?" + param[i];
-                else url += "&" + param[i];
-            }
-
-            TagBuilder link = new TagBuilder("a");
-            link.Attributes.Add("href", url);
-            link.InnerHtml = imgtag;
-            return link.ToString();
-        }
-        public static string CurrentController(this HtmlHelper htmlHelper)
-        {
-            return htmlHelper.ViewContext.RouteData.Values["controller"].ToString();
-        }
-
-        public static string CurrentAction(this HtmlHelper htmlHelper)
-        {
-            return htmlHelper.ViewContext.RouteData.Values["action"].ToString();
-        }       
-    }    
-}
Index: trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs (revision 883)
+++ trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs (revision 885)
@@ -28,20 +28,10 @@
         private readonly IRepository<PlatnosciEcard> _repPl;
         private FunkcjePlatnosci _func;
-        private string weryfikacja = "";
-        private string brakdanych = "";
-        private string zaplacono = "";
-        private string err_imie = "";
-        private string err_nazwisko = "";
-        
-        protected override void Initialize(RequestContext requestContext)
-        {            
-            base.Initialize(requestContext);
-            weryfikacja = HttpContext.GetGlobalResourceObject("tlumaczenia", "weryfikacja").ToString();
-            brakdanych = HttpContext.GetGlobalResourceObject("tlumaczenia", "brakdanych").ToString();
-            zaplacono = HttpContext.GetGlobalResourceObject("tlumaczenia", "zaplacono").ToString();
-            err_imie = HttpContext.GetGlobalResourceObject("tlumaczenia", "err_imieWK").ToString();
-            err_nazwisko = HttpContext.GetGlobalResourceObject("tlumaczenia", "err_nazwiskoWK").ToString();           
-        }       
-
+        private string weryfikacja;
+        private string brakdanych;
+        private string zaplacono;
+        private string err_imie;
+        private string err_nazwisko;
+       
         public PlatnoscController()
         {
@@ -62,4 +52,5 @@
         {
             language = _func.setLanguage(language);
+            ustawTlumaczenia();
             int id1 = ConvertId(id);
 
@@ -79,6 +70,5 @@
                 invoiceDeatailsViewData.termin = data_zaplaty;
                 return View("Paid", invoiceDeatailsViewData);
-            }            
-                     
+            }       
             return View(invoiceDeatailsViewData);              
         }        
@@ -88,5 +78,5 @@
         {
             language = _func.setLanguage(language);
-
+            ustawTlumaczenia();
             vPlatnosciEcard platnosc = _rep.FindInvoiceById(payer.Id_faktury).SingleOrDefault();
             if (!String.IsNullOrEmpty(Iserror(platnosc).error)) return View("Error1", Iserror(platnosc));
@@ -117,4 +107,5 @@
         {
             language = _func.setLanguage(language);
+            ustawTlumaczenia();
             int id1 = ConvertId(id);
             vPlatnosciEcard platnosc = _rep.FindInvoiceById(id1).SingleOrDefault();
@@ -127,7 +118,8 @@
         {
             language = _func.setLanguage(language);
+            ustawTlumaczenia();
             int id1 = ConvertId(id);
             vPlatnosciEcard platnosc = _rep.FindInvoiceById(id1).SingleOrDefault();
-            if (!String.IsNullOrEmpty(Iserror(platnosc).error)) return View("Error1", Iserror(platnosc)); 
+            if (!String.IsNullOrEmpty(Iserror(platnosc).error)) return View("Error1", Iserror(platnosc));
             
             var invoiceDeatailsViewData = InitInvoiceDetailsViewData(platnosc, null, "", "");
@@ -190,4 +182,12 @@
             return invoiceDeatailsViewData;
         }
+        private void ustawTlumaczenia()
+        {
+            weryfikacja = HttpContext.GetGlobalResourceObject("tlumaczenia", "weryfikacja").ToString();
+            brakdanych = HttpContext.GetGlobalResourceObject("tlumaczenia", "brakdanych").ToString();
+            zaplacono = HttpContext.GetGlobalResourceObject("tlumaczenia", "zaplacono").ToString();
+            err_imie = HttpContext.GetGlobalResourceObject("tlumaczenia", "err_imieWK").ToString();
+            err_nazwisko = HttpContext.GetGlobalResourceObject("tlumaczenia", "err_nazwiskoWK").ToString();
+        } 
         public void setWeryfikacja(string value)
         {
