refactoring
This commit is contained in:
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);
|
var pbc = ProfileBase.Create (e.Client);
|
||||||
Profile prcli = new Profile (pbc);
|
Profile prcli = new Profile (pbc);
|
||||||
|
|
||||||
if (!prpro.IsBankable || !prcli.IsBillable)
|
if (!prpro.HasBankAccount || !prcli.IsBillable)
|
||||||
throw new Exception("not bankable or not billable.");
|
throw new Exception("account number for provider, or client not billable.");
|
||||||
|
|
||||||
tmpe.Session.Add ("from", prpro);
|
tmpe.Session.Add ("from", prpro);
|
||||||
tmpe.Session.Add ("to", prcli);
|
tmpe.Session.Add ("to", prcli);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue