refactoring
This commit is contained in:
parent
a430452bea
commit
91aa69f4bd
2 changed files with 3 additions and 3 deletions
|
|
@ -82,12 +82,11 @@ namespace Yavsc.Model.RolesAndMembers
|
|||
[Display(Name="Google_calendar",ResourceType=typeof(LocalizedText))]
|
||||
public string GoogleCalendar { get; set; }
|
||||
|
||||
public bool IsBankable { get {
|
||||
public bool HasBankAccount { get {
|
||||
return IsBillable
|
||||
&& !string.IsNullOrWhiteSpace (BankCode)
|
||||
&& !string.IsNullOrWhiteSpace (BIC)
|
||||
&& !string.IsNullOrWhiteSpace (IBAN)
|
||||
&& !string.IsNullOrWhiteSpace (BankCode)
|
||||
&& !string.IsNullOrWhiteSpace (WicketCode)
|
||||
&& !string.IsNullOrWhiteSpace (AccountNumber)
|
||||
&& BankedKey != 0; } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue