refactoring

This commit is contained in:
Paul Schneider 2015-01-24 17:33:21 +01:00
commit a4a1a21834

View file

@ -70,8 +70,8 @@ namespace Yavsc.Formatters
var pbc = ProfileBase.Create (e.Client);
Profile prcli = new Profile (pbc);
if (!prpro.IsBankable || !prcli.IsBillable)
throw new Exception("not bankable or not billable.");
if (!prpro.HasBankAccount || !prcli.IsBillable)
throw new Exception("account number for provider, or client not billable.");
tmpe.Session.Add ("from", prpro);
tmpe.Session.Add ("to", prcli);