refactoring

vnext
Paul Schneider 10 years ago
parent 58729c0b3a
commit a4a1a21834
1 changed files with 2 additions and 2 deletions

@ -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);

Loading…