2016-06-27 01:45:38 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2020-09-15 13:14:43 +02:00
|
|
|
|
using System.ComponentModel;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using BS.Shared.DataContracts;
|
|
|
|
|
|
using BS.Shared.Extensions;
|
|
|
|
|
|
using BeWo.Core;
|
2018-03-02 16:33:39 +01:00
|
|
|
|
using BS.Shared.Core;
|
2024-11-26 13:57:50 +01:00
|
|
|
|
using BS.Shared.DataContracts.Compact;
|
2024-12-05 14:20:14 +01:00
|
|
|
|
using System.Windows.Media;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
|
|
|
|
|
namespace BeWo.ViewModel
|
|
|
|
|
|
{
|
2024-11-25 16:33:22 +01:00
|
|
|
|
public class MandatorVM : AbstractDCMapperVM<MandatorDC>
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string PropertyName_BeWoClientType = "BeWoClientType";
|
|
|
|
|
|
public static string PropertyName_ClientId = "ClientId";
|
|
|
|
|
|
public static string PropertyName_Country = "Country";
|
|
|
|
|
|
public static string PropertyName_Name = "Name";
|
|
|
|
|
|
public static string PropertyName_PostalCode = "PostalCode";
|
|
|
|
|
|
public static string PropertyName_Settings = "Settings";
|
|
|
|
|
|
public static string PropertyName_State = "State";
|
|
|
|
|
|
public static string PropertyName_Street = "Street";
|
|
|
|
|
|
public static string PropertyName_Town = "Town";
|
|
|
|
|
|
public static string PropertyName_Apikey = "Apikey";
|
|
|
|
|
|
public static string PropertyName_TimeUntilUILock = "TimeUntilUILock";
|
|
|
|
|
|
public static string PropertyName_HilfeplanAuslaufAuswahl = "HilfeplanAuslaufAuswahl";
|
|
|
|
|
|
public static string PropertyName_AnzTageZeiterfassErfolgt = "AnzTageZeiterfassErfolgt";
|
|
|
|
|
|
public static string PropertyName_ZeiterfassungsSchwellwert = "ZeiterfassungsSchwellwert";
|
|
|
|
|
|
public static string PropertyName_IKLeistungserbringer = nameof(IKLeistungserbringer);
|
|
|
|
|
|
|
|
|
|
|
|
private long _BeWoClientType;
|
|
|
|
|
|
private string _ClientId;
|
|
|
|
|
|
private string _Country;
|
|
|
|
|
|
private string _Name;
|
2024-11-26 16:04:07 +01:00
|
|
|
|
private string _Website;
|
2024-11-25 16:33:22 +01:00
|
|
|
|
private string _PostalCode;
|
|
|
|
|
|
private string _Settings;
|
|
|
|
|
|
private string _State;
|
|
|
|
|
|
private string _Street;
|
|
|
|
|
|
private string _Town;
|
|
|
|
|
|
private int _TimeUntilUILock;
|
|
|
|
|
|
private int _HilfeplanAuslaufAuswahl;
|
|
|
|
|
|
private int _AnzTageZeiterfassErfolgt;
|
|
|
|
|
|
private int _ZeiterfassungsSchwellwert;
|
|
|
|
|
|
private BindingList<InvoiceNumberVM> _InvoiceNumberList;
|
|
|
|
|
|
private InvoiceNumberVM _InvoiceNumber;
|
|
|
|
|
|
private string _Apikey;
|
|
|
|
|
|
private string _IKLeistungserbringer;
|
|
|
|
|
|
private string _AccountNumber;
|
|
|
|
|
|
private string _BankName;
|
|
|
|
|
|
private string _BankCode;
|
|
|
|
|
|
private string _Bic;
|
|
|
|
|
|
private string _IBAN;
|
2024-11-26 13:57:50 +01:00
|
|
|
|
private CompactEmployeeDC _SoziotherapieAnsprechpartner;
|
2024-11-28 18:04:49 +01:00
|
|
|
|
private ImageVM _Logo;
|
2024-12-05 14:20:14 +01:00
|
|
|
|
private string _ColorWaitTooLongStr;
|
|
|
|
|
|
private string _ColorSendUrbelegeStr;
|
|
|
|
|
|
private SolidColorBrush _ColorWaitTooLong;
|
|
|
|
|
|
private SolidColorBrush _ColorSendUrbelege;
|
|
|
|
|
|
private bool _ShowGkvBzEinzel;
|
|
|
|
|
|
private bool _ShowGkvBzUrbelege;
|
2024-11-25 16:33:22 +01:00
|
|
|
|
|
|
|
|
|
|
public MandatorVM(IList<InvoiceNumberVM> invoiceNumberList, MandatorDC pDC) : base(pDC, true)
|
|
|
|
|
|
{
|
|
|
|
|
|
_InvoiceNumberList = new BindingList<InvoiceNumberVM>(invoiceNumberList);
|
|
|
|
|
|
if (_InvoiceNumberList.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
_InvoiceNumber = _InvoiceNumberList[0];
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public BindingList<InvoiceNumberVM> InvoiceNumberList
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return _InvoiceNumberList;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public InvoiceNumberVM InvoiceNumber
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return _InvoiceNumber;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public long BeWoClientType
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._BeWoClientType; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._BeWoClientType, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._BeWoClientType = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.BeWoClientType, value), PropertyName_BeWoClientType);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_BeWoClientType);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string ClientId
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._ClientId; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._ClientId, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._ClientId = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.ClientId, value), PropertyName_ClientId);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_ClientId);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Country
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._Country; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Country, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Country = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Country, value), PropertyName_Country);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_Country);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool IsServiceRecordNoticeMandatory
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsServiceRecordNoticeMandatory; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsServiceRecordNoticeMandatory, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsServiceRecordNoticeMandatory = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsServiceRecordNoticeMandatory", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-16 20:42:21 +01:00
|
|
|
|
public bool IsServiceRecordGoalMandatory
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsServiceRecordGoalMandatory; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsServiceRecordGoalMandatory, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsServiceRecordGoalMandatory = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsServiceRecordGoalMandatory", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool IsServiceRecordRatingMandatory
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsServiceRecordRatingMandatory; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsServiceRecordRatingMandatory, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsServiceRecordRatingMandatory = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsServiceRecordRatingMandatory", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-04-23 00:26:10 +02:00
|
|
|
|
public bool ShowServicesOverviewHalfOrWholeMonth
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.ShowServicesOverviewHalfOrWholeMonth; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.ShowServicesOverviewHalfOrWholeMonth, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.ShowServicesOverviewHalfOrWholeMonth = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "ShowServicesOverviewHalfOrWholeMonth", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-16 20:42:21 +01:00
|
|
|
|
public bool FilterGroupServiceCategories
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.FilterGroupServiceCategories; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.FilterGroupServiceCategories, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.FilterGroupServiceCategories = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "FilterGroupServiceCategories", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-25 16:33:22 +01:00
|
|
|
|
public bool IsPasswordSecurityActiv
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsPasswordSecurityActiv; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsPasswordSecurityActiv, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsPasswordSecurityActiv = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsPasswordSecurityActiv", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool IsEndDateVisible
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsEndDateVisible; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsEndDateVisible, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsEndDateVisible = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsEndDateVisible", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool IsOnlyYearMonthVisible
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.IsOnlyYearMonthVisible; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsOnlyYearMonthVisible, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BeWoApp.AppSettings.IsOnlyYearMonthVisible = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsOnlyYearMonthVisible", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool IsZeiterfassDateNormal
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
//if (IsEndDateVisible == false && IsOnlyYearMonthVisible == false && BeWoApp.AppSettings.IsZeiterfassDateNormal == false)
|
|
|
|
|
|
//{
|
|
|
|
|
|
// BeWoApp.AppSettings.IsZeiterfassDateNormal = true;
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
return BeWoApp.AppSettings.IsZeiterfassDateNormal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.IsZeiterfassDateNormal, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.IsZeiterfassDateNormal = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "IsZeiterfassDateNormal", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public String EinheitZeiterfassung
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.EinheitZeiterfassung; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.EinheitZeiterfassung, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.EinheitZeiterfassung = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, SettingsKeys.EinheitZeiterfassung, value);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int MaxDaysEditServiceRecordsAllowed
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.MaxDaysEditServiceRecordsAllowed; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.MaxDaysEditServiceRecordsAllowed, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.MaxDaysEditServiceRecordsAllowed = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "MaxDaysEditServiceRecordsAllowed", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool EnableArbeitszeiterfassung
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.EnableArbeitszeiterfassung; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.EnableArbeitszeiterfassung, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.EnableArbeitszeiterfassung = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableArbeitszeiterfassung", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool EnableAutomaticPauses
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.EnableAutomaticPauses; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.EnableAutomaticPauses, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.EnableAutomaticPauses = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableAutomaticPauses", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-10-24 01:52:15 +02:00
|
|
|
|
|
|
|
|
|
|
public int AnzTageArbeitszeiterfassungErfolgt
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.AnzTageArbeitszeiterfassungErfolgt; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.AnzTageArbeitszeiterfassungErfolgt, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.AnzTageArbeitszeiterfassungErfolgt = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, SettingsKeys.AnzTageArbeitszeiterfassungErfolgt, value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? StartStundenkonto
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.StartStundenkonto; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.StartStundenkonto, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.StartStundenkonto = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, SettingsKeys.StartStundenkonto, value != null ? String.Format("{0:dd.MM.yyyy}", value) : "null");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-25 16:33:22 +01:00
|
|
|
|
public bool EnableRestTimeWarning
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.EnableRestTimeWarning; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.EnableRestTimeWarning, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.EnableRestTimeWarning = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableRestTimeWarning", value ? "1" : "0");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int MaxWorkTimeHoursBeforeWarning
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.MaxWorkTimeHoursBeforeWarning; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.MaxWorkTimeHoursBeforeWarning, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.MaxWorkTimeHoursBeforeWarning = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "MaxWorkTimeHoursBeforeWarning", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int TimeUntilUILock
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _TimeUntilUILock;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(_TimeUntilUILock, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_TimeUntilUILock = value;
|
|
|
|
|
|
Settings = UserSettingsUtils.CreateNewSettingValue(_Settings, SettingsKeys.TimeUntilUILock, value.ToString());
|
|
|
|
|
|
|
|
|
|
|
|
AutoLockUI.LockUITime = value;
|
|
|
|
|
|
AutoLockUI.StopTimer();
|
|
|
|
|
|
AutoLockUI.StartAutoLockUIOption();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int MoKSessionTimeout
|
|
|
|
|
|
{
|
|
|
|
|
|
get => BeWoApp.AppSettings.MoKSessionTimeout;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(BeWoApp.AppSettings.MoKSessionTimeout, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BeWoApp.AppSettings.MoKSessionTimeout = value;
|
|
|
|
|
|
Settings = UserSettingsUtils.CreateNewSettingValue(_Settings, SettingsKeys.MoKSessionTimeout, value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int HilfeplanAuslaufAuswahl
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.HilfeplanAuslaufAuswahl; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.HilfeplanAuslaufAuswahl, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.HilfeplanAuslaufAuswahl = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "HilfeplanAuslaufAuswahl", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public int AnzTageZeiterfassErfolgt
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.AnzTageZeiterfassErfolgt; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.AnzTageZeiterfassErfolgt, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.AnzTageZeiterfassErfolgt = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "AnzTageZeiterfassErfolgt", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-15 03:03:24 +02:00
|
|
|
|
|
|
|
|
|
|
public int AnzTageUnterschriftErfolgt
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.AnzTageUnterschriftErfolgt; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.AnzTageUnterschriftErfolgt, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.AnzTageUnterschriftErfolgt = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "AnzTageUnterschriftErfolgt", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-25 16:33:22 +01:00
|
|
|
|
public int ZeiterfassungsSchwellwert
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return BeWoApp.AppSettings.ZeiterfassungsSchwellwert; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(BeWoApp.AppSettings.ZeiterfassungsSchwellwert, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
BeWoApp.AppSettings.ZeiterfassungsSchwellwert = value;
|
|
|
|
|
|
|
|
|
|
|
|
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "ZeiterfassungsSchwellwert", value.ToString());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Name
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._Name; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Name, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Name = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Name, value), PropertyName_Name);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_Name);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-26 16:04:07 +01:00
|
|
|
|
public string Website
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _Website; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(Website, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_Website = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.Website, value), nameof(Website));
|
|
|
|
|
|
FirePropertyChanged(nameof(Website));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-25 16:33:22 +01:00
|
|
|
|
public string PostalCode
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._PostalCode; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._PostalCode, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._PostalCode = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.PostalCode, value), PropertyName_PostalCode);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_PostalCode);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Settings
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _Settings; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_Settings, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_Settings = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.Settings, value), PropertyName_Settings);
|
|
|
|
|
|
FirePropertyChanged(PropertyName_Settings);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string State
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._State; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._State, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._State = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.State, value), PropertyName_State);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_State);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Street
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._Street; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Street, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Street = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Street, value), PropertyName_Street);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_Street);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Town
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._Town; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Town, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Town = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Town, value), PropertyName_Town);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_Town);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public override bool IsDirty
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
2024-11-28 18:04:49 +01:00
|
|
|
|
return (base.IsDirty || _InvoiceNumberList.Any(vm => vm.IsDirty) || Logo.IsDirty);
|
2024-11-25 16:33:22 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Apikey
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._Apikey; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Apikey, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Apikey = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Apikey, value), PropertyName_Apikey);
|
|
|
|
|
|
this.FirePropertyChanged(PropertyName_Apikey);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string IKLeistungserbringer
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._IKLeistungserbringer; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._IKLeistungserbringer, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._IKLeistungserbringer = value;
|
|
|
|
|
|
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.IKLeistungserbringer, value), nameof(IKLeistungserbringer));
|
|
|
|
|
|
this.FirePropertyChanged(nameof(IKLeistungserbringer));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string AccountNumber
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _AccountNumber; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(_AccountNumber, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_AccountNumber = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.BankAccount.AccountNumber, value), nameof(AccountNumber));
|
|
|
|
|
|
FirePropertyChanged(nameof(AccountNumber));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string BankCode
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _BankCode; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(BankCode, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_BankCode = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.BankAccount.BankCode, value), nameof(BankCode));
|
|
|
|
|
|
FirePropertyChanged(nameof(BankCode));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string BankName
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _BankName; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(BankName, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_BankName = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.BankAccount.BankName, value), nameof(BankName));
|
|
|
|
|
|
FirePropertyChanged(nameof(BankName));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string Bic
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _Bic; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(Bic, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_Bic = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.BankAccount.Bic, value), nameof(Bic));
|
|
|
|
|
|
FirePropertyChanged(nameof(Bic));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public string IBAN
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _IBAN; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(IBAN, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_IBAN = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.BankAccount.IBAN, value), nameof(IBAN));
|
|
|
|
|
|
FirePropertyChanged(nameof(IBAN));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-26 13:57:50 +01:00
|
|
|
|
public CompactEmployeeDC SoziotherapieAnsprechpartner
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _SoziotherapieAnsprechpartner; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(SoziotherapieAnsprechpartner, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_SoziotherapieAnsprechpartner = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.SoziotherapieAnsprechpartner, value), nameof(SoziotherapieAnsprechpartner));
|
|
|
|
|
|
FirePropertyChanged(nameof(SoziotherapieAnsprechpartner));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-28 18:04:49 +01:00
|
|
|
|
public ImageVM Logo
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _Logo ?? (_Logo = new ImageVM()); }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
_Logo = value;
|
|
|
|
|
|
FirePropertyChanged(nameof(Logo));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-12-05 14:20:14 +01:00
|
|
|
|
public SolidColorBrush ColorWaitTooLong
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _ColorWaitTooLong; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(ColorWaitTooLong, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_ColorWaitTooLongStr = value?.ToString();
|
|
|
|
|
|
_ColorWaitTooLong = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.ColorWaitTooLong, value), nameof(ColorWaitTooLong));
|
|
|
|
|
|
FirePropertyChanged(nameof(ColorWaitTooLong));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public SolidColorBrush ColorSendUrbelege
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _ColorSendUrbelege; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(ColorSendUrbelege, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_ColorSendUrbelegeStr = value?.ToString();
|
|
|
|
|
|
_ColorSendUrbelege = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.ColorSendUrbelege, value), nameof(ColorSendUrbelege));
|
|
|
|
|
|
FirePropertyChanged(nameof(ColorSendUrbelege));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool ShowGkvBzEinzel
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _ShowGkvBzEinzel; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(ShowGkvBzEinzel, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_ShowGkvBzEinzel = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.ShowGkvBzEinzel, value), nameof(ShowGkvBzEinzel));
|
|
|
|
|
|
FirePropertyChanged(nameof(ShowGkvBzEinzel));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public bool ShowGkvBzUrbelege
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return _ShowGkvBzUrbelege; }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!AreDifferent(ShowGkvBzUrbelege, value))
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
_ShowGkvBzUrbelege = value;
|
|
|
|
|
|
StoreDirtyInformation(AreDifferent(DataContract.ShowGkvBzUrbelege, value), nameof(ShowGkvBzUrbelege));
|
|
|
|
|
|
FirePropertyChanged(nameof(ShowGkvBzUrbelege));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 15:40:45 +01:00
|
|
|
|
public bool CanEditIKLeistungserbringer { get; set; }
|
|
|
|
|
|
public string CanEditIKLeistungserbringerTooltip { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
protected override void InitByDataContract(MandatorDC pDataContract)
|
2024-11-25 16:33:22 +01:00
|
|
|
|
{
|
|
|
|
|
|
_Name = pDataContract.Name;
|
2024-11-26 16:04:07 +01:00
|
|
|
|
_Website = pDataContract.Website;
|
2024-11-25 16:33:22 +01:00
|
|
|
|
_ClientId = pDataContract.ClientId;
|
|
|
|
|
|
_BeWoClientType = pDataContract.BeWoClientType;
|
|
|
|
|
|
_Country = pDataContract.Country;
|
|
|
|
|
|
_State = pDataContract.State;
|
|
|
|
|
|
_Town = pDataContract.Town;
|
|
|
|
|
|
_PostalCode = pDataContract.PostalCode;
|
|
|
|
|
|
_Street = pDataContract.Street;
|
|
|
|
|
|
_Settings = pDataContract.Settings;
|
|
|
|
|
|
_Apikey = pDataContract.Apikey;
|
|
|
|
|
|
_IKLeistungserbringer = pDataContract.IKLeistungserbringer;
|
|
|
|
|
|
_AccountNumber = pDataContract.BankAccount.AccountNumber;
|
|
|
|
|
|
_BankCode = pDataContract.BankAccount.BankCode;
|
|
|
|
|
|
_BankName = pDataContract.BankAccount.BankName;
|
|
|
|
|
|
_Bic = pDataContract.BankAccount.Bic;
|
|
|
|
|
|
_IBAN = pDataContract.BankAccount.IBAN;
|
2024-11-26 13:57:50 +01:00
|
|
|
|
_SoziotherapieAnsprechpartner = pDataContract.SoziotherapieAnsprechpartner;
|
2024-12-05 14:20:14 +01:00
|
|
|
|
_ColorWaitTooLong = ColorExtensions.ParseSolidColorBrush(pDataContract.ColorWaitTooLong);
|
|
|
|
|
|
_ColorWaitTooLongStr = pDataContract.ColorWaitTooLong;
|
|
|
|
|
|
_ColorSendUrbelege = ColorExtensions.ParseSolidColorBrush(pDataContract.ColorSendUrbelege);
|
|
|
|
|
|
_ColorSendUrbelegeStr = pDataContract.ColorSendUrbelege;
|
|
|
|
|
|
_ShowGkvBzEinzel = pDataContract.ShowGkvBzEinzel;
|
|
|
|
|
|
_ShowGkvBzUrbelege = pDataContract.ShowGkvBzUrbelege;
|
2024-11-25 16:33:22 +01:00
|
|
|
|
|
2024-11-28 18:04:49 +01:00
|
|
|
|
if(pDataContract.Logo is object)
|
|
|
|
|
|
Logo = new ImageVM(pDataContract.Logo);
|
|
|
|
|
|
|
2025-01-29 15:48:49 +01:00
|
|
|
|
if (pDataContract.CanEditIKLeistungserbringer)
|
|
|
|
|
|
{
|
|
|
|
|
|
CanEditIKLeistungserbringer = true;
|
|
|
|
|
|
CanEditIKLeistungserbringerTooltip = null;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
CanEditIKLeistungserbringer = false;
|
|
|
|
|
|
CanEditIKLeistungserbringerTooltip = "Mit dem Senden mind. einer GKV Abrechnung haben Sie sich bereits\n" +
|
|
|
|
|
|
"mit dieser IK bei uns registiert. Bei <20>nderungswunsch wenden Sie\n" +
|
|
|
|
|
|
"sich bitte an unseren Support.";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-25 16:33:22 +01:00
|
|
|
|
if (_Settings == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
_TimeUntilUILock = 30;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (_Settings != null && _Settings.Contains(PropertyName_TimeUntilUILock))
|
|
|
|
|
|
{
|
|
|
|
|
|
var keyValuePairs = _Settings.SplitToKeyValuePairList(";", "=");
|
|
|
|
|
|
_TimeUntilUILock = Convert.ToInt32(keyValuePairs.First(f => f.Key.Equals(PropertyName_TimeUntilUILock)).Value);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//HilfeplanAuslaufAuswahl
|
|
|
|
|
|
if (_Settings == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
_HilfeplanAuslaufAuswahl = 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (_Settings != null && _Settings.Contains(PropertyName_HilfeplanAuslaufAuswahl))
|
|
|
|
|
|
{
|
|
|
|
|
|
var keyValuePairs = _Settings.SplitToKeyValuePairList(";", "=");
|
|
|
|
|
|
_HilfeplanAuslaufAuswahl = Convert.ToInt32(keyValuePairs.First(f => f.Key.Equals(PropertyName_HilfeplanAuslaufAuswahl)).Value);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (_Settings == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
_AnzTageZeiterfassErfolgt = 0;
|
|
|
|
|
|
_ZeiterfassungsSchwellwert = 80;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (_Settings != null && _Settings.Contains(PropertyName_AnzTageZeiterfassErfolgt))
|
|
|
|
|
|
{
|
|
|
|
|
|
var keyValuePairs = _Settings.SplitToKeyValuePairList(";", "=");
|
|
|
|
|
|
_AnzTageZeiterfassErfolgt = Convert.ToInt32(keyValuePairs.First(f => f.Key.Equals(PropertyName_AnzTageZeiterfassErfolgt)).Value);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (_Settings != null && _Settings.Contains(PropertyName_ZeiterfassungsSchwellwert))
|
|
|
|
|
|
{
|
|
|
|
|
|
var keyValuePairs = _Settings.SplitToKeyValuePairList(";", "=");
|
|
|
|
|
|
_ZeiterfassungsSchwellwert = Convert.ToInt32(keyValuePairs.First(f => f.Key.Equals(PropertyName_ZeiterfassungsSchwellwert)).Value);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override MandatorDC MapToDataContract(MandatorDC pDataContract, bool doCommit)
|
|
|
|
|
|
{
|
|
|
|
|
|
pDataContract.Name = _Name;
|
2024-11-26 16:04:07 +01:00
|
|
|
|
pDataContract.Website = Website;
|
2024-11-25 16:33:22 +01:00
|
|
|
|
pDataContract.ClientId = _ClientId;
|
|
|
|
|
|
pDataContract.BeWoClientType = _BeWoClientType;
|
|
|
|
|
|
pDataContract.Country = _Country;
|
|
|
|
|
|
pDataContract.State = _State;
|
|
|
|
|
|
pDataContract.Town = _Town;
|
|
|
|
|
|
pDataContract.PostalCode = _PostalCode;
|
|
|
|
|
|
pDataContract.Street = _Street;
|
|
|
|
|
|
pDataContract.Settings = _Settings;
|
|
|
|
|
|
pDataContract.Apikey = _Apikey;
|
|
|
|
|
|
pDataContract.IKLeistungserbringer = _IKLeistungserbringer;
|
|
|
|
|
|
|
|
|
|
|
|
pDataContract.BankAccount.AccountNumber = AccountNumber;
|
|
|
|
|
|
pDataContract.BankAccount.BankCode = BankCode;
|
|
|
|
|
|
pDataContract.BankAccount.BankName = BankName;
|
|
|
|
|
|
pDataContract.BankAccount.Bic = Bic;
|
|
|
|
|
|
pDataContract.BankAccount.IBAN = IBAN;
|
2024-11-26 13:57:50 +01:00
|
|
|
|
pDataContract.SoziotherapieAnsprechpartner = SoziotherapieAnsprechpartner;
|
2024-12-05 14:20:14 +01:00
|
|
|
|
|
|
|
|
|
|
pDataContract.ColorWaitTooLong = _ColorWaitTooLongStr;
|
|
|
|
|
|
pDataContract.ColorSendUrbelege = _ColorSendUrbelegeStr;
|
|
|
|
|
|
pDataContract.ShowGkvBzEinzel = ShowGkvBzEinzel;
|
|
|
|
|
|
pDataContract.ShowGkvBzUrbelege = ShowGkvBzUrbelege;
|
|
|
|
|
|
|
2024-11-28 18:04:49 +01:00
|
|
|
|
pDataContract.Logo = Logo.CommitToDataContract();
|
2024-11-25 16:33:22 +01:00
|
|
|
|
|
|
|
|
|
|
return pDataContract;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|