void ValidateTotalCalc() { var haserror = PatientHeaderModels.Any(q => q.Value.HasError); if (SelectedPatientOrderItem != null) { SelectedPatientOrderItem.IsHasError = haserror; } CommandEnabledRefresh(); }
bool HasModelErrors() { var haserror = PatientHeaderModels.Any(q => q.Value.HasError); return(haserror); }