* FrontOfficeApiController.cs: Checks that postal information is
present, before throwing exceptions at generation time * BlogsController.cs: leaves CodeKicker.BBCode * Web.csproj: Removes references to CodeKicker.BBCode * Estim.cs: reflects changes on Estim.tt * Estim.tt: ensures that billing information are correctly rendered, either using the IBAN/BIC or Account numbers methods. * Profile.cs: adds an "HasPostalAddress" boolean property to the profile objects
This commit is contained in:
@ -188,6 +188,13 @@ namespace Yavsc.Model.RolesAndMembers
|
||||
|| string.IsNullOrWhiteSpace (IBAN))
|
||||
); } }
|
||||
|
||||
public bool HasPostalAddress {
|
||||
get {
|
||||
return !string.IsNullOrWhiteSpace (Address)
|
||||
&& !string.IsNullOrWhiteSpace (CityAndState)
|
||||
&& !string.IsNullOrWhiteSpace (ZipCode);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is billable.
|
||||
/// Returns true when
|
||||
|
Reference in New Issue
Block a user