Pokaż
Ignoruj:
Data:
2009-12-15 15:40:16 (16 years ago)
Autor:
alina
Opis:

re #215 przerobki

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/eCard/eCardMVC/Platnosci/Controllers/PlatnoscController.cs

    r952 r954  
    6565             
    6666            var platnosc = _repVPayment.Find(p => p.ID_faktury == payer.Id_faktury).SingleOrDefault(); 
    67              
    68             if (!String.IsNullOrEmpty(IsError(platnosc).Error)) return View("Error1", IsError(platnosc)); 
     67            var errorViewData = _funkcjePlatnosci.IsError(platnosc, HttpContext.User.Identity.Name); 
     68            if (!String.IsNullOrEmpty(errorViewData.Error)) return View("Error1", errorViewData); 
    6969             
    7070            if (String.IsNullOrEmpty(payer.FirstName))