Gruppierung von Datum

This commit is contained in:
2024-12-20 13:24:47 +01:00
parent 88fb0dd7c6
commit f9915961bd
3 changed files with 13 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ namespace BeWo
{
DebugConfigMode = DebugConfigMode.FeatureDakota,
AutoLogin = true,
SelectView = UIContext.Organisation,
SelectView = UIContext.Finance,
SelectIndex = 8,
//Username = "m1",
//Password = "bewobewo",

View File

@@ -259,7 +259,7 @@
<dxg:GridColumn
Width="Auto"
AllowEditing="False"
FieldName="ErstelltAm"
FieldName="ErstelltAmDate"
Header="Erstelldatum"
ReadOnly="True">
<dxg:GridColumn.EditSettings>
@@ -305,8 +305,8 @@
x:Name="UrbelegeColumn"
Width="Auto"
FieldName="UrbelegeGesendet"
IsEnabledBinding="{Binding IsUrbelegeEditEnabled}"
Header="Urbelege gesendet">
Header="Urbelege gesendet"
IsEnabledBinding="{Binding IsUrbelegeEditEnabled}">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<dxe:CheckEdit Name="PART_Editor" />
@@ -317,8 +317,8 @@
x:Name="PaidColumn"
Width="Auto"
FieldName="Bezahlt"
IsEnabledBinding="{Binding IsBezahltEditEnabled}"
Header="Bezahlt">
Header="Bezahlt"
IsEnabledBinding="{Binding IsBezahltEditEnabled}">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<dxe:CheckEdit Name="PART_Editor" />

View File

@@ -97,14 +97,16 @@ namespace BeWo.ViewModel
set
{
if (this.AreDifferent(this._ErstelltAm, value))
if (AreDifferent(_ErstelltAm, value))
{
this._ErstelltAm = value;
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.ErstelltAm, value), nameof(ErstelltAm));
this.FirePropertyChanged(nameof(ErstelltAm));
_ErstelltAm = value;
StoreDirtyInformation(AreDifferent(DataContract.ErstelltAm, value), nameof(ErstelltAm));
FirePropertyChanged(nameof(ErstelltAm));
FirePropertyChanged(nameof(ErstelltAmDate));
}
}
}
public DateTime ErstelltAmDate => ErstelltAm.Date;
public long? GkvAbrechnungOid
{
get { return this._GkvAbrechnungOid; }
@@ -310,7 +312,7 @@ namespace BeWo.ViewModel
get
{
if (LastTransferProtokoll is GkvTransferProtokollDC last)
return last.ErstelltAm;
return last.ErstelltAm?.Date;
return null;
}