Release 3.27
Neue Felder für MA Schwerbehindertenausweis. Todos fürs Release
This commit is contained in:
@@ -43,12 +43,12 @@
|
||||
<TargetCulture>de-DE</TargetCulture>
|
||||
<ProductName>BeWoPlaner</ProductName>
|
||||
<PublisherName>ownSoft GmbH</PublisherName>
|
||||
<MinimumRequiredVersion>2.0.1.273</MinimumRequiredVersion>
|
||||
<MinimumRequiredVersion>2.0.1.274</MinimumRequiredVersion>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>publish.htm</WebPage>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<TrustUrlParameters>true</TrustUrlParameters>
|
||||
<ApplicationRevision>274</ApplicationRevision>
|
||||
<ApplicationRevision>275</ApplicationRevision>
|
||||
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
|
||||
@@ -56,9 +56,9 @@ namespace BeWo
|
||||
public static LoginControl LoginControl;
|
||||
public static MainControl MainControl;
|
||||
|
||||
public static string ShortVersion = "3.26";
|
||||
public static string ShortVersion = "3.27";
|
||||
|
||||
public static string Version = "Version 3.26.3";
|
||||
public static string Version = "Version 3.27";
|
||||
|
||||
public static int RenderTier = 0;
|
||||
public static bool IsInDesignMode = DesignerProperties.GetIsInDesignMode(new DependencyObject());
|
||||
@@ -320,6 +320,12 @@ namespace BeWo
|
||||
anzTageZeiterfassErfolgt = resultzeitplan;
|
||||
}
|
||||
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.AnzTageUnterschriftErfolgt);
|
||||
if (Int32.TryParse(val, out resultzeitplan))
|
||||
{
|
||||
AppSettings.AnzTageUnterschriftErfolgt = resultzeitplan;
|
||||
}
|
||||
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.ZeiterfassungsSchwellwert);
|
||||
int resultschwell;
|
||||
if (Int32.TryParse(val, out resultschwell))
|
||||
@@ -550,6 +556,12 @@ namespace BeWo
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.ShowWohnhilfe);
|
||||
AppSettings.ShowWohnhilfe = val != null && val.Equals("1");
|
||||
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.ShowVorlagen);
|
||||
AppSettings.ShowVorlagen = val != null && val.Equals("1");
|
||||
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.ShowMitarbeiterSchwerbehindertenInfos);
|
||||
AppSettings.ShowMitarbeiterSchwerbehindertenInfos = val != null && val.Equals("1");
|
||||
|
||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.ShowImportAbschlagszahlungen);
|
||||
AppSettings.ShowImportAbschlagszahlungen = val != null && val.Equals("1");
|
||||
|
||||
|
||||
@@ -135,6 +135,7 @@ namespace BeWo.Core.Config
|
||||
public int LastSelectedStundenkontoIntervall { get; set; }
|
||||
|
||||
public int AnzTageZeiterfassErfolgt { get; set; }
|
||||
public int AnzTageUnterschriftErfolgt { get; set; }
|
||||
|
||||
public int ZeiterfassungsSchwellwert { get; set; }
|
||||
|
||||
@@ -490,6 +491,9 @@ namespace BeWo.Core.Config
|
||||
public bool ModuleAiSettingsEnabled { get; set; }
|
||||
|
||||
public bool ShowWohnhilfe { get; set; }
|
||||
|
||||
public bool ShowVorlagen { get; set; }
|
||||
public bool ShowMitarbeiterSchwerbehindertenInfos { get; set; }
|
||||
public bool ShowImportAbschlagszahlungen { get; set; }
|
||||
|
||||
public bool ShowPersehImport { get; set; }
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace BeWo
|
||||
}
|
||||
|
||||
|
||||
if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll) && BeWoApp.AppSettings.ShowWohnhilfe)
|
||||
if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll) && BeWoApp.AppSettings.ShowVorlagen)
|
||||
{
|
||||
this.button_Dokumente.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
@@ -778,6 +778,90 @@
|
||||
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
Grid.ColumnSpan="6"
|
||||
x:Name="GroupSchwerbehindertenausweis"
|
||||
Margin="0,20,0,0"
|
||||
Header="Schwerbehindertenausweis"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Content="Grad der Behinderung" />
|
||||
<ComboBox
|
||||
x:Name="GdBComboBox"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Width="150"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
SelectionChanged="GdBComboBox_OnSelectionChanged" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Gültig von" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Width="150"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
AllowNullInput="True"
|
||||
EditValue="{Binding Path=AusweisGueltigVon, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
||||
MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Gültig bis" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Width="150"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
AllowNullInput="True"
|
||||
EditValue="{Binding Path=AusweisGueltigBis, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
||||
MaskType="DateTimeAdvancingCaret" />
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Bemerkung" />
|
||||
<TextBox
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Text="{Binding Path=AusweisBemerkung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
x:Name="noticeGroup"
|
||||
Grid.Row="3"
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace BeWo.View.Detail
|
||||
combobox_brush.ItemTemplateSelector = new ComboBoxTemplateSelector(combobox_brush);
|
||||
ViewModel = pEmployeeDC;
|
||||
|
||||
GdBComboBox.ItemsSource = GradDerBehinderungComboBoxQuelle;
|
||||
GdBComboBox.SelectedIndex = GdBComboBox.Items.IndexOf(ViewModel.GradDerBehinderung);
|
||||
|
||||
var extendedPropsVisible = false;
|
||||
|
||||
@@ -170,8 +172,15 @@ namespace BeWo.View.Detail
|
||||
Img.EditValueChanged += Image_EditValueChanged;
|
||||
|
||||
_EintragKategorien = pEmployeeDC.EintragKategorien;
|
||||
|
||||
if (!BeWoApp.AppSettings.ShowMitarbeiterSchwerbehindertenInfos)
|
||||
{
|
||||
GroupSchwerbehindertenausweis.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
public static readonly string[] GradDerBehinderungComboBoxQuelle = { "", "20", "30", "40", "50", "60", "70", "80", "90", "100" };
|
||||
|
||||
public void Image_EditValueChanged(object sender, DevExpress.Xpf.Editors.EditValueChangedEventArgs e)
|
||||
{
|
||||
_ViewModel.EmployeeImage = Img.EditValue as byte[];
|
||||
@@ -747,6 +756,11 @@ namespace BeWo.View.Detail
|
||||
BeWoUtils.NavigateToReportUri((sender as System.Windows.Documents.Hyperlink).NavigateUri.ToString(), Translator.Translate("Zugeordnete Klient:innen"));
|
||||
}
|
||||
|
||||
private void GdBComboBox_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
ViewModel.GradDerBehinderung = GdBComboBox.SelectedValue.ToString();
|
||||
}
|
||||
|
||||
#region Nur relevant, wenn Urlaubskonto keine eigene View mehr ist
|
||||
/*
|
||||
private void InitDateComboBox()
|
||||
|
||||
@@ -357,6 +357,7 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="430" />
|
||||
@@ -413,14 +414,6 @@
|
||||
Foreground="Black"
|
||||
Text="{markup:Translate Anzahl Tage\, in der die Zeiterfassung erfolgen muss (0 für unbegrenzt)}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
Margin="3,5,3,5"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Black"
|
||||
Text="{markup:Translate Schwellwert in %\, ab der das Restbudget in der Zeiterfassung rot markiert wird}"
|
||||
TextWrapping="Wrap" />
|
||||
|
||||
<dxe:SpinEdit
|
||||
x:Name="AnzTageZeiterfassErfolgt"
|
||||
@@ -433,9 +426,38 @@
|
||||
MaxValue="999"
|
||||
MinValue="0" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
Margin="3,5,3,5"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Black"
|
||||
Text="{markup:Translate Anzahl Tage\, in der neue Einträge unterschrieben werden müssen (0 für unbegrenzt)}"
|
||||
TextWrapping="Wrap" />
|
||||
|
||||
<dxe:SpinEdit
|
||||
x:Name="AnzTageUnterschriftErfolgt"
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3,5,3,5"
|
||||
EditValue="{Binding Path=AnzTageUnterschriftErfolgt, Converter={StaticResource Int2DecimalConverter}}"
|
||||
IsFloatValue="False"
|
||||
MaxValue="999"
|
||||
MinValue="0" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Margin="3,5,3,5"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Black"
|
||||
Text="{markup:Translate Schwellwert in %\, ab der das Restbudget in der Zeiterfassung rot markiert wird}"
|
||||
TextWrapping="Wrap" />
|
||||
|
||||
<dxe:SpinEdit
|
||||
x:Name="ZeiterfassungsSchwellwert"
|
||||
Grid.Row="6"
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3,5,3,5"
|
||||
@@ -447,7 +469,7 @@
|
||||
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="7"
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Margin="3,5,3,5"
|
||||
VerticalAlignment="Center"
|
||||
@@ -456,7 +478,7 @@
|
||||
TextWrapping="Wrap" />
|
||||
<ComboBox
|
||||
x:Name="ComboZeiteinheit"
|
||||
Grid.Row="7"
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
@@ -466,7 +488,7 @@
|
||||
|
||||
|
||||
<CheckBox
|
||||
Grid.Row="8"
|
||||
Grid.Row="9"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,5,3,5"
|
||||
Content="{markup:Translate Enddatum anzeigen}"
|
||||
@@ -474,7 +496,7 @@
|
||||
|
||||
<CheckBox
|
||||
x:Name="EnableArbeitszeiterfassung"
|
||||
Grid.Row="9"
|
||||
Grid.Row="10"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,20,3,5"
|
||||
Checked="EnableArbeitszeiterfassung_Checked"
|
||||
@@ -483,14 +505,14 @@
|
||||
Unchecked="EnableArbeitszeiterfassung_Checked" />
|
||||
<CheckBox
|
||||
x:Name="EnableAutomaticPauses"
|
||||
Grid.Row="10"
|
||||
Grid.Row="11"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,5,3,5"
|
||||
Content="{markup:Translate Automatischer Pausenabzug}"
|
||||
IsChecked="{Binding Path=EnableAutomaticPauses}" />
|
||||
<CheckBox
|
||||
x:Name="EnableRestTimeWarning"
|
||||
Grid.Row="11"
|
||||
Grid.Row="12"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,5,3,5"
|
||||
Content="{markup:Translate Warnung bei nicht einhalten der Ruhezeit}"
|
||||
@@ -498,7 +520,7 @@
|
||||
|
||||
<TextBlock
|
||||
x:Name="TextBlockShowWarning"
|
||||
Grid.Row="12"
|
||||
Grid.Row="13"
|
||||
Grid.Column="0"
|
||||
Margin="3,5,3,5"
|
||||
VerticalAlignment="Center"
|
||||
@@ -507,7 +529,7 @@
|
||||
TextWrapping="Wrap" />
|
||||
<dxe:SpinEdit
|
||||
x:Name="SpinEditShowWarning"
|
||||
Grid.Row="12"
|
||||
Grid.Row="13"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3,5,3,5"
|
||||
|
||||
@@ -147,6 +147,10 @@ namespace BeWo.ViewModel
|
||||
private bool _Hygienebelehrung;
|
||||
private String _Schutzstufe;
|
||||
private String _BemerkungenSbd;
|
||||
private DateTime? _AusweisGueltigVon;
|
||||
private DateTime? _AusweisGueltigBis;
|
||||
private string _GradDerBehinderung;
|
||||
private string _AusweisBemerkung;
|
||||
private ArbeitszeitListVM _ArbeitszeitListe;
|
||||
private VarFieldListVM _VarFields;
|
||||
private IList<UrlaubskontoDarstellungDC> _UrlaubskontoDarstellungDCs;
|
||||
@@ -457,6 +461,65 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? AusweisGueltigVon
|
||||
{
|
||||
get { return _AusweisGueltigVon; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigVon, value))
|
||||
{
|
||||
_AusweisGueltigVon = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.AusweisGueltigVon, value), nameof(AusweisGueltigVon));
|
||||
FirePropertyChanged(nameof(AusweisGueltigVon));
|
||||
}
|
||||
}
|
||||
}
|
||||
public DateTime? AusweisGueltigBis
|
||||
{
|
||||
get { return _AusweisGueltigBis; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigBis, value))
|
||||
{
|
||||
_AusweisGueltigBis = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.AusweisGueltigBis, value), nameof(AusweisGueltigBis));
|
||||
FirePropertyChanged(nameof(AusweisGueltigBis));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string GradDerBehinderung
|
||||
{
|
||||
get { return _GradDerBehinderung; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_GradDerBehinderung, value))
|
||||
{
|
||||
_GradDerBehinderung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GradDerBehinderung, value), nameof(GradDerBehinderung));
|
||||
FirePropertyChanged(nameof(GradDerBehinderung));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string AusweisBemerkung
|
||||
{
|
||||
get { return _AusweisBemerkung; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisBemerkung, value))
|
||||
{
|
||||
_AusweisBemerkung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.AusweisBemerkung, value), nameof(AusweisBemerkung));
|
||||
FirePropertyChanged(nameof(AusweisBemerkung));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[Validation(ValidationRule = ValidationRules.NotNullOrStringEmpty)]
|
||||
public DateTime? DateOfBirth
|
||||
{
|
||||
@@ -1353,6 +1416,10 @@ namespace BeWo.ViewModel
|
||||
_BemerkungenSbd = pDataContract.BemerkungenSbd;
|
||||
_Hygienebelehrung = pDataContract.Hygienebelehrung;
|
||||
_Nationalitaet = pDataContract.Nationalitaet;
|
||||
_AusweisGueltigVon = pDataContract.AusweisGueltigVon;
|
||||
_AusweisGueltigBis = pDataContract.AusweisGueltigBis;
|
||||
_GradDerBehinderung = pDataContract.GradDerBehinderung;
|
||||
_AusweisBemerkung = pDataContract.AusweisBemerkung;
|
||||
|
||||
if (pDataContract.Images != null && pDataContract.Images.Count > 0)
|
||||
{
|
||||
@@ -1468,6 +1535,10 @@ namespace BeWo.ViewModel
|
||||
pDataContract.BemerkungenSbd = _BemerkungenSbd;
|
||||
pDataContract.ActivationType = _IsArchived ? ActivationTypeId.Archived : ActivationTypeId.Active;
|
||||
pDataContract.Nationalitaet = _Nationalitaet;
|
||||
pDataContract.AusweisGueltigVon = _AusweisGueltigVon;
|
||||
pDataContract.AusweisGueltigBis = _AusweisGueltigBis;
|
||||
pDataContract.GradDerBehinderung = _GradDerBehinderung;
|
||||
pDataContract.AusweisBemerkung = _AusweisBemerkung;
|
||||
|
||||
if (pDataContract.Images != null)
|
||||
{
|
||||
|
||||
@@ -1768,6 +1768,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
foreach (var goal in info.SupportConceptGoals)
|
||||
{
|
||||
goal.Prefix = info.CustomerName;
|
||||
|
||||
if (goal.ParentOid != null && goalCategoryDict.ContainsKey(goal.ParentOid.Value))
|
||||
{
|
||||
var path = GetAllParentGoalCategoies(goalCategoryDict, goal);
|
||||
|
||||
@@ -408,6 +408,22 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int ZeiterfassungsSchwellwert
|
||||
{
|
||||
get { return BeWoApp.AppSettings.ZeiterfassungsSchwellwert; }
|
||||
|
||||
@@ -354,9 +354,15 @@ namespace BeWo.ownChat
|
||||
|
||||
if(vm.PrototypeVM.SortedCategories?.Any() ?? false)
|
||||
{
|
||||
var cat1 = vm.PrototypeVM.SortedCategories[0];
|
||||
foreach (var cat in vm.PrototypeVM.SortedCategories)
|
||||
{
|
||||
if (vm.PrototypeVM.Category2Services.ContainsKey(cat) && vm.PrototypeVM.Category2Services[cat].Count > 0)
|
||||
{
|
||||
serviceRecordList[0].ServiceDescription = vm.PrototypeVM.Category2Services[cat][0];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
serviceRecordList[0].ServiceDescription = vm.PrototypeVM.Category2Services[cat1][0];
|
||||
}
|
||||
|
||||
_ServiceRecord = new ServiceRecordVM(serviceRecordList[0], vm.PrototypeVM.Category2Services, vm.PrototypeVM.AllGoalCategories, vm.PrototypeVM.AllGoals) {Notice = notice};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
||||
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
||||
|
||||
@@ -248,8 +248,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.SelectedSupportConceptListObject = Model.SupportConceptListObjects.FirstOrDefault(f => f.CostBearer2SupportConceptOid == -1) ?? Model.SupportConceptListObjects.First();
|
||||
Model.SelectedCostBearerSupportConceptOid = -1;
|
||||
Log.Info($"TEST Model.SupportConceptListObjects Oids = {Model.SelectedCostBearerSupportConceptOid}");
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -317,6 +317,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.MokSettings.SupportConceptExpirationLimitInMonths = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.HilfeplanAuslaufAuswahl, 3);
|
||||
Model.MokSettings.AnzTageZeiterfassErfolgt = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.AnzTageZeiterfassErfolgt);
|
||||
Model.MokSettings.AnzTageUnterschriftErfolgt = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.AnzTageUnterschriftErfolgt);
|
||||
Model.MokSettings.MaxDaysEditServiceRecordsAllowed = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.MaxDaysEditServiceRecordsAllowed);
|
||||
Model.MokSettings.TimeUntilUILock = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.TimeUntilUILock);
|
||||
Model.MokSettings.ServiceRecordAllowChangeHours = UserSettingsUtils.GetSettingValueAsInteger(Model.Mandator.Settings, SettingsKeys.ServiceRecordAllowChangeHours);
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
public int SupportConceptExpirationLimitInMonths { get; set; }
|
||||
public int AnzTageZeiterfassErfolgt { get; set; }
|
||||
public int AnzTageUnterschriftErfolgt { get; set; }
|
||||
public int MaxDaysEditServiceRecordsAllowed { get; set; }
|
||||
public int ServiceRecordAllowChangeHours { get; set; }
|
||||
public int TimeUntilUILock { get; set; }
|
||||
|
||||
@@ -344,9 +344,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@if(Html.IsInDebugMode())
|
||||
{
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
}
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
|
||||
</div>
|
||||
}
|
||||
@@ -179,7 +179,7 @@
|
||||
if(Model.LastCreatedServiceRecordOid > 0)
|
||||
{
|
||||
<text>
|
||||
window.clearLocalBeWoStorage();
|
||||
//window.clearLocalBeWoStorage();
|
||||
</text>
|
||||
|
||||
if(shouldShowSignaturePopup && Model.ShowSignature)
|
||||
|
||||
@@ -314,9 +314,7 @@
|
||||
<button type="submit" id="mb-reset-btn" class="btn btn-primary float-right" onclick="showSpinner()">Abbrechen</button>
|
||||
}
|
||||
|
||||
@if(Html.IsInDebugMode())
|
||||
{
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
}
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
|
||||
</div>
|
||||
}
|
||||
@@ -384,7 +384,7 @@
|
||||
<input type="hidden" id="srr-mb-emp-oids" name="@FormCollectionConstants.MultiBookingSelectedEmployeeOidsKey" />
|
||||
<input type="hidden" id="srr-mb-group-oids" name="@FormCollectionConstants.MultiBookingSelectedGroupOidsKey" />
|
||||
|
||||
<button type="button" class="btn btn-bewo-dev bewo-restore-btn" onclick="window.restoreAllFields()">
|
||||
@*<button type="button" class="btn btn-bewo-dev bewo-restore-btn" onclick="window.restoreAllFields()">
|
||||
<i class="fas fa-recycle"></i>
|
||||
</button>
|
||||
</button>*@
|
||||
}
|
||||
|
||||
@@ -535,10 +535,8 @@
|
||||
<button type="button" class="btn btn-primary float-right" id="reset-button" onclick="resetSingleBookingForm();">Abbrechen</button>
|
||||
}
|
||||
|
||||
@if(Html.IsInDebugMode())
|
||||
{
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
}
|
||||
@Html.Partial("RestoreServiceRecordInputsPartial", Model)
|
||||
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/moment/locale/de.js")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/mobileUtils.js?v=1.3")"></script>
|
||||
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/main.js?v=1.6")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/signature.js?v=1.4")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/view-scripts/main.js?v=1.9")"></script>
|
||||
<script type="text/javascript" src="@Scripts.Url("~/Scripts/ownSoft-Scripts/signature.js?v=1.5")"></script>
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="@Url.Content("~/Scripts/bootstrap/bootstrap4-modal-fullscreen.min.css")" />
|
||||
|
||||
|
||||
@@ -111,23 +111,17 @@ namespace BeWo.Data.Access
|
||||
|
||||
public ApplicationUser GetBSUser(string pUserName, string pPassword, string ip)
|
||||
{
|
||||
var all = GetToolUser();
|
||||
|
||||
bool isValid = false;
|
||||
|
||||
var user = all.BeWoToolUserList.FirstOrDefault(u => u.Login == pUserName);
|
||||
if (user != null && BCrypt.CheckPassword(pPassword, user.Password))
|
||||
{
|
||||
isValid = true;
|
||||
}
|
||||
//var all = GetToolUser();
|
||||
|
||||
|
||||
//var sha256 = pPassword;
|
||||
//if (sha256 != bsPwd)
|
||||
//var user = all.BeWoToolUserList.FirstOrDefault(u => u.Login == pUserName);
|
||||
//if (user != null && BCrypt.CheckPassword(pPassword, user.Password))
|
||||
//{
|
||||
// sha256 = GetSHA256(pPassword);
|
||||
// isValid = true;
|
||||
//}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
hier der Link zu den Tool-User - Daten für ownChat:
|
||||
@@ -145,6 +139,15 @@ Wenn ein Login erfolgt ist, dann kannst du das mit folgendem Aufruf protokollier
|
||||
https://support.bewoplaner.de/api/bsadmin.php?k=[KUNDENNUMMER]&EmployeeOID=[EMPLOYEEOID]&Pin=[PIN]
|
||||
|
||||
*/
|
||||
|
||||
var sha256 = pPassword;
|
||||
if (sha256 != bsPwd)
|
||||
{
|
||||
sha256 = GetSHA256(pPassword);
|
||||
}
|
||||
isValid = pUserName == "BSAdmin" && sha256 == bsPwd;
|
||||
|
||||
|
||||
if (isValid && this.ValidBSIp(ip))
|
||||
{
|
||||
var list = DAOFactory.GenericDAO.GetAllActive<ApplicationUser>();
|
||||
|
||||
@@ -433,6 +433,12 @@ namespace BeWo.Data.Entities
|
||||
public virtual bool Hygienebelehrung { get; set; }
|
||||
public virtual String Schutzstufe { get; set; }
|
||||
public virtual string BemerkungenSbd { get; set; }
|
||||
|
||||
public virtual DateTime? AusweisGueltigVon { get; set; }
|
||||
public virtual DateTime? AusweisGueltigBis { get; set; }
|
||||
public virtual string GradDerBehinderung { get; set; }
|
||||
public virtual string AusweisBemerkung { get; set; }
|
||||
|
||||
public virtual IList<VarFieldValue> VarFieldValueList
|
||||
{
|
||||
get { return _VarFieldValueList ?? (_VarFieldValueList = new List<VarFieldValue>()); }
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace BeWo.Data.Entities
|
||||
public static string Setting_MaxDaysEditServiceRecordsAllowed = "MaxDaysEditServiceRecordsAllowed";
|
||||
public static string Setting_HilfeplanAuslaufAuswahl = "HilfeplanAuslaufAuswahl";
|
||||
public static string Setting_AnzTageZeiterfassErfolgt = "AnzTageZeiterfassErfolgt";
|
||||
public static string Setting_AnzTageUnterschriftErfolgt = "AnzTageUnterschriftErfolgt";
|
||||
public static string Setting_ZeiterfassungsSchwellwert = "ZeiterfassungsSchwellwert";
|
||||
public static string Setting_IKLeistungserbringer = "IKLeistungserbringer";
|
||||
|
||||
@@ -220,6 +221,20 @@ namespace BeWo.Data.Entities
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public virtual int? AnzTageUnterschriftErfolgt
|
||||
{
|
||||
get
|
||||
{
|
||||
var val = this.GetSettingValue(Setting_AnzTageUnterschriftErfolgt);
|
||||
int result;
|
||||
if (Int32.TryParse(val, out result))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public virtual int? ZeiterfassungsSchwellwert
|
||||
{
|
||||
get
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
<property column="TaxNumber" type="String" name="TaxNumber" length="128" />
|
||||
<property column="TaxClass" type="String" name="TaxClass" />
|
||||
<property column="ChildCount" type="String" name="ChildCount" />
|
||||
<property column="AusweisGueltigVon" type="DateTime" name="AusweisGueltigVon" />
|
||||
<property column="AusweisGueltigBis" type="DateTime" name="AusweisGueltigBis" />
|
||||
<property column="GradDerBehinderung" type="String" name="GradDerBehinderung" />
|
||||
<property column="AusweisBemerkung" type="String" name="AusweisBemerkung" />
|
||||
<property column="HealthInsurance" type="String" name="HealthInsurance" length="128" />
|
||||
<property column="InsuranceNumber" type="String" name="InsuranceNumber" length="128" />
|
||||
<property column="IsQualified" type="Boolean" name="IsQualified" />
|
||||
|
||||
11
Model/Changes_2025-08-15_MA Schwerbehindertenausweis.txt
Normal file
11
Model/Changes_2025-08-15_MA Schwerbehindertenausweis.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisGueltigVon` datetime DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisGueltigBis` datetime DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `GradDerBehinderung` VARCHAR(20) DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisBemerkung` VARCHAR(512) DEFAULT NULL;
|
||||
@@ -1625,3 +1625,46 @@ ADD COLUMN `KostenstelleHilfeplan` varchar(512) NULL DEFAULT NULL AFTER `KontoHi
|
||||
ALTER TABLE `costbearer2supportconcepthistory`
|
||||
ADD COLUMN `Costbearer2supportconcept_KontoHilfeplan` varchar(512) NULL DEFAULT NULL AFTER `Costbearer2supportconcept_Auswahlbezeichnung`,
|
||||
ADD COLUMN `Costbearer2supportconcept_KostenstelleHilfeplan` varchar(512) NULL DEFAULT NULL AFTER `Costbearer2supportconcept_KontoHilfeplan`;
|
||||
|
||||
|
||||
ALTER TABLE `Person`
|
||||
ADD COLUMN `PlaceOfBirth` VARCHAR(512) NULL DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `PersonHistory`
|
||||
ADD COLUMN `Person_PlaceOfBirth` VARCHAR(512) NULL DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
DROP COLUMN `Verlauf`;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `Verlauf` bigint DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
DROP COLUMN `Auftragsruckgabe`;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `Auftragsruckgabe` datetime DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `AuftraggeberOid` bigint DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `AuftraggeberAnsprechpartnerOid` bigint DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `EinsatzstelleOid` bigint DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `CustomerVermittlungArbeit`
|
||||
ADD COLUMN `EinsatzstelleAnsprechpartnerOid` bigint DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisGueltigVon` datetime DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisGueltigBis` datetime DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `GradDerBehinderung` VARCHAR(20) DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `Employee`
|
||||
ADD COLUMN `AusweisBemerkung` VARCHAR(512) DEFAULT NULL;
|
||||
@@ -30,7 +30,9 @@ namespace BeWo.Service.Configuration
|
||||
|
||||
public int AnzTageZeiterfassErfolgt { get; set; }
|
||||
|
||||
public int ZeiterfassungsSchwellwert { get; set; }
|
||||
public int AnzTageUnterschriftErfolgt { get; set; }
|
||||
|
||||
public int ZeiterfassungsSchwellwert { get; set; }
|
||||
|
||||
public bool ShowAdvisedAttendedFlag { get; set; }
|
||||
|
||||
@@ -172,8 +174,13 @@ namespace BeWo.Service.Configuration
|
||||
{
|
||||
anzTageZeiterfassErfolgt = resultanzeit;
|
||||
}
|
||||
|
||||
val = GetSettingValue(settingsString, "ZeiterfassungsSchwellwert");
|
||||
val = GetSettingValue(settingsString, "AnzTageUnterschriftErfolgt");
|
||||
if (int.TryParse(val, out var unterschrift))
|
||||
{
|
||||
settings.AnzTageUnterschriftErfolgt = unterschrift;
|
||||
}
|
||||
|
||||
val = GetSettingValue(settingsString, "ZeiterfassungsSchwellwert");
|
||||
if (int.TryParse(val, out var resultschwell))
|
||||
{
|
||||
zeiterfassungsSchwellwert = resultschwell;
|
||||
|
||||
@@ -55,7 +55,10 @@ namespace BeWo.Service.DCEntityMapper
|
||||
pDataContract.Schutzstufe = pEntity.Schutzstufe;
|
||||
pDataContract.Hygienebelehrung = pEntity.Hygienebelehrung;
|
||||
pDataContract.BemerkungenSbd = pEntity.BemerkungenSbd;
|
||||
|
||||
pDataContract.GradDerBehinderung = pEntity.GradDerBehinderung;
|
||||
pDataContract.AusweisBemerkung = pEntity.AusweisBemerkung;
|
||||
pDataContract.AusweisGueltigVon = pEntity.AusweisGueltigVon;
|
||||
pDataContract.AusweisGueltigBis = pEntity.AusweisGueltigBis;
|
||||
//pDataContract.ProbationPeriod = pEntity.ProbationPeriod;
|
||||
//pDataContract.CancellationPeriod = pEntity.CancellationPeriod;
|
||||
//pDataContract.EntryDate = pEntity.EntryDate;
|
||||
@@ -175,7 +178,11 @@ namespace BeWo.Service.DCEntityMapper
|
||||
pEntity.Schutzstufe = pDataContract.Schutzstufe;
|
||||
pEntity.Hygienebelehrung = pDataContract.Hygienebelehrung;
|
||||
pEntity.BemerkungenSbd = pDataContract.BemerkungenSbd;
|
||||
|
||||
pEntity.GradDerBehinderung = pDataContract.GradDerBehinderung;
|
||||
pEntity.AusweisBemerkung = pDataContract.AusweisBemerkung;
|
||||
pEntity.AusweisGueltigVon = pDataContract.AusweisGueltigVon;
|
||||
pEntity.AusweisGueltigBis = pDataContract.AusweisGueltigBis;
|
||||
|
||||
//pEntity.CancellationPeriod = pDataContract.CancellationPeriod;
|
||||
//pEntity.EntryDate = pDataContract.EntryDate;
|
||||
//pEntity.ProbationPeriod = pDataContract.ProbationPeriod;
|
||||
|
||||
@@ -1488,6 +1488,7 @@ namespace BeWo.Service.ServiceImplementations
|
||||
if(sc.Customer?.Oid.HasValue ?? false)
|
||||
{
|
||||
dc.CustomerOid = sc.Customer.Oid.Value;
|
||||
dc.CustomerName = String.Format("({0}) ", sc.Customer.Person.LastNameFirstName);
|
||||
}
|
||||
|
||||
if(sc.Oid.HasValue)
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace BS.Shared.Core
|
||||
public static string EinheitZeiterfassung => "EinheitZeiterfassung";
|
||||
public static string HilfeplanAuslaufAuswahl => "HilfeplanAuslaufAuswahl";
|
||||
public static string AnzTageZeiterfassErfolgt => "AnzTageZeiterfassErfolgt";
|
||||
public static string AnzTageUnterschriftErfolgt => "AnzTageUnterschriftErfolgt";
|
||||
public static string MaxDaysEditServiceRecordsAllowed => "MaxDaysEditServiceRecordsAllowed";
|
||||
public static string TimeUntilUILock => "TimeUntilUILock";
|
||||
public static string WindowStateType => "WindowStateType";
|
||||
@@ -114,7 +115,8 @@ namespace BS.Shared.Core
|
||||
|
||||
public static string AllowGkvAbrechnung => "AllowGkvAbrechnung";
|
||||
public static string ShowWohnhilfe => "ShowWohnhilfe";
|
||||
|
||||
public static string ShowVorlagen => "ShowVorlagen";
|
||||
public static string ShowMitarbeiterSchwerbehindertenInfos => "ShowMitarbeiterSchwerbehindertenInfos";
|
||||
public static string ShowImportAbschlagszahlungen => "ShowImportAbschlagszahlungen";
|
||||
|
||||
public static string ShowPersehImport => "ShowPersehImport";
|
||||
|
||||
@@ -18,16 +18,18 @@ namespace BS.Shared.DataContracts
|
||||
}
|
||||
if (string.IsNullOrEmpty(Abbreviation))
|
||||
{
|
||||
return bezeichnung;
|
||||
return String.Format("{0}{1}", Prefix, bezeichnung);
|
||||
}
|
||||
if (string.IsNullOrEmpty(bezeichnung))
|
||||
{
|
||||
return Abbreviation;
|
||||
return String.Format("{0}{1}", Prefix, Abbreviation);
|
||||
}
|
||||
return Abbreviation + ": " + bezeichnung;
|
||||
return String.Format("{0}{1}", Prefix, Abbreviation + ": " + bezeichnung);
|
||||
}
|
||||
}
|
||||
|
||||
public String Prefix { get; set; }
|
||||
|
||||
public ValueListEntryDC CatalogItem { get; set; }
|
||||
|
||||
|
||||
|
||||
@@ -140,9 +140,16 @@ namespace BS.Shared.DataContracts
|
||||
|
||||
[DataMember]
|
||||
public UrlaubskontoDC Urlaubskonto { get; set; }
|
||||
|
||||
|
||||
public SolidColorBrush GetBrush()
|
||||
[DataMember]
|
||||
public DateTime? AusweisGueltigVon { get; set; }
|
||||
[DataMember]
|
||||
public DateTime? AusweisGueltigBis { get; set; }
|
||||
[DataMember]
|
||||
public String GradDerBehinderung { get; set; }
|
||||
[DataMember]
|
||||
public String AusweisBemerkung { get; set; }
|
||||
|
||||
public SolidColorBrush GetBrush()
|
||||
{
|
||||
return new SolidColorBrush((Color) ColorConverter.ConvertFromString(EmployeeColor));
|
||||
}
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace BS.Shared.DataContracts
|
||||
[DataMember]
|
||||
public long CustomerOid { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string CustomerName { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public List<ValueListEntryDC> SupportConceptGoals { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user