Assembly : DevExpress.ExpressApp.ConditionalEditorState;
[EditorStateRule("ServiceTaxApp", "IsServiceTaxApplicable", ViewType.DetailView, "")]
public EditorState EditorSTA(out bool active)
{
active = true;
if (AccountGroups != null && StatutoryConfig != null && StatutoryConfig.IsServiceTaxApplicable)
{
active = !(AccountGroups.IsTaxApplicable(SSType.ServiceTax));
}
return EditorState.Hidden;
}
No comments:
Post a Comment