Anpassung für Passgenau Hildesheim
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -479,3 +479,4 @@
|
||||
/ReportImp/VerbandEvKirchengemeindenDorsten/obj/Release
|
||||
/ReportImp/MVZMedikusGmbH/obj
|
||||
/ReportImp/BetreuungsbueroFrankRoehrig/obj
|
||||
/ReportImp/PassgenauUG/obj/Debug
|
||||
|
||||
19
BeWo.sln
19
BeWo.sln
@@ -419,6 +419,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetreuungsbueroFrankRoehrig
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVZMedikusGmbH", "ReportImp\MVZMedikusGmbH\MVZMedikusGmbH.csproj", "{D71875ED-CD52-43D9-B066-843E891EDA0E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PassgenauUG", "ReportImp\PassgenauUG\PassgenauUG.csproj", "{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -3158,6 +3160,22 @@ Global
|
||||
{D71875ED-CD52-43D9-B066-843E891EDA0E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{D71875ED-CD52-43D9-B066-843E891EDA0E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{D71875ED-CD52-43D9-B066-843E891EDA0E}.Release|x86.Build.0 = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -3363,6 +3381,7 @@ Global
|
||||
{CF08D1BE-588E-4A0F-8FC4-B7D6F69091B0} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{C252012D-4EE1-4262-B599-28297AE41E9C} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{D71875ED-CD52-43D9-B066-843E891EDA0E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}
|
||||
|
||||
@@ -29,46 +29,69 @@ namespace BeWo.View.Controls
|
||||
|
||||
if (c != null && info != null)
|
||||
{
|
||||
var dc = info.DienstInfoDC;
|
||||
|
||||
var right = info.DayOfWeek == DayOfWeek.Sunday || info.IsLastColumn;
|
||||
var bottom = info.IsLastRow;
|
||||
|
||||
c.Border = new Thickness(0, 0, Convert.ToDouble(right), Convert.ToDouble(bottom));
|
||||
|
||||
if (!info.IsInContractRange)
|
||||
if(info.StatusInformation == null)
|
||||
{
|
||||
c.Background = Brushes.Gray;
|
||||
c.Foreground = Brushes.Red;
|
||||
c.Text = string.Empty;
|
||||
c.ToolTip = "Kein gültiger Arbeitsvertrag";
|
||||
}
|
||||
else if (info.Reason != null)
|
||||
{
|
||||
c.Background = Brushes.White;
|
||||
c.Foreground = Brushes.Red;
|
||||
c.Text = $"{info.Reason.Description[0]}";
|
||||
c.ToolTip = $"{info.Reason.Description}";
|
||||
}
|
||||
else if (dc != null)
|
||||
{
|
||||
var bg = string.IsNullOrEmpty(dc.Farbe) ? Brushes.White : (SolidColorBrush)new BrushConverter().ConvertFrom(dc.Farbe);
|
||||
var grey = 0.2989 * bg.Color.R + 0.5870 * bg.Color.G + 0.1140 * bg.Color.B;
|
||||
var dc = info.DienstInfoDC;
|
||||
|
||||
c.Background = bg;
|
||||
c.Foreground = grey < 70 ? Brushes.White : Brushes.Black;
|
||||
c.ToolTip = new DPCtrlDienstTooltip(dc);
|
||||
var right = info.DayOfWeek == DayOfWeek.Sunday || info.IsLastColumn;
|
||||
var bottom = info.IsLastRow;
|
||||
|
||||
c.Border = new Thickness(0, 0, Convert.ToDouble(right), Convert.ToDouble(bottom));
|
||||
|
||||
if (!info.IsInContractRange)
|
||||
{
|
||||
c.Background = Brushes.Gray;
|
||||
c.Foreground = Brushes.Red;
|
||||
c.Text = string.Empty;
|
||||
c.ToolTip = "Kein gültiger Arbeitsvertrag";
|
||||
}
|
||||
else if (info.Reason != null)
|
||||
{
|
||||
c.Background = Brushes.White;
|
||||
c.Foreground = Brushes.Red;
|
||||
c.Text = $"{info.Reason.Description[0]}";
|
||||
c.ToolTip = $"{info.Reason.Description}";
|
||||
}
|
||||
else if (dc != null)
|
||||
{
|
||||
var bg = string.IsNullOrEmpty(dc.Farbe) ? Brushes.White : (SolidColorBrush)new BrushConverter().ConvertFrom(dc.Farbe);
|
||||
var grey = 0.2989 * bg.Color.R + 0.5870 * bg.Color.G + 0.1140 * bg.Color.B;
|
||||
|
||||
c.Background = bg;
|
||||
c.Foreground = grey < 70 ? Brushes.White : Brushes.Black;
|
||||
c.ToolTip = new DPCtrlDienstTooltip(dc);
|
||||
}
|
||||
else
|
||||
{
|
||||
c.Background = ((int)info.DayOfWeek % 6 == 0) ? new SolidColorBrush(ColorExtensions.FromHexString("EFEFEF")) : Brushes.White;
|
||||
c.Text = string.Empty;
|
||||
c.ToolTip = null;
|
||||
}
|
||||
|
||||
if (dc != null)
|
||||
{
|
||||
c.Text = $"{dc.Kurz}";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
c.Background = ((int)info.DayOfWeek % 6 == 0) ? new SolidColorBrush(ColorExtensions.FromHexString("EFEFEF")) : Brushes.White;
|
||||
c.Text = string.Empty;
|
||||
c.ToolTip = null;
|
||||
}
|
||||
var right = info.DayOfWeek == DayOfWeek.Sunday || info.IsLastColumn;
|
||||
c.Border = new Thickness(0, 0, Convert.ToDouble(right), 1);
|
||||
|
||||
if (dc != null)
|
||||
{
|
||||
c.Text = $"{dc.Kurz}";
|
||||
if (info.StatusInformation.BesetzungsStatus != null)
|
||||
{
|
||||
if (info.StatusInformation.BesetzungsStatus)
|
||||
{
|
||||
//var color = ServiceFacade.DoOperationsServiceSync(se => se.GetColorForStatus(info.StatusInformation.WenigerAls8Stunden));
|
||||
c.Background = Brushes.ForestGreen;
|
||||
c.ToolTip = "Dienste decken 24 Stunden ab";
|
||||
}
|
||||
else
|
||||
{
|
||||
c.Background = Brushes.IndianRed;
|
||||
c.ToolTip = "Achtung: Dienste decken nicht 24 Stunden ab";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}));
|
||||
@@ -126,6 +149,13 @@ namespace BeWo.View.Controls
|
||||
public bool IsLastRow { get; set; }
|
||||
public bool IsLastColumn { get; set; }
|
||||
public DayOfWeek DayOfWeek { get; set; }
|
||||
public StatusInformation StatusInformation { get; set; }
|
||||
}
|
||||
|
||||
public class StatusInformation
|
||||
{
|
||||
public bool BesetzungsStatus { get; set; }
|
||||
public DayOfWeek DayOfWeek { get; set; }
|
||||
public bool IsLastColumn { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,19 +24,30 @@ namespace BeWo.View.Controls
|
||||
{
|
||||
if (information != null)
|
||||
{
|
||||
switch (information.Row)
|
||||
if(information.Employee != null)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
case 2:
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 0);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
break;
|
||||
case 3:
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 1);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
break;
|
||||
switch (information.Row)
|
||||
{
|
||||
case 0:
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 0);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
break;
|
||||
case 1:
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 0);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
break;
|
||||
case 2:
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 1);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ctrl.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 1);
|
||||
ctrl.BorderLight.BorderThickness = new Thickness(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
|
||||
ctrl.Text = ctrl.DisplayMember;
|
||||
|
||||
@@ -70,49 +81,57 @@ namespace BeWo.View.Controls
|
||||
get
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
switch (EmployeeInformation.Row)
|
||||
if (EmployeeInformation.Employee != null)
|
||||
{
|
||||
case 0: return EmployeeInformation.Employee.LastNameFirstName;
|
||||
switch (EmployeeInformation.Row)
|
||||
{
|
||||
|
||||
case 1:
|
||||
case 0: return EmployeeInformation.Employee.LastNameFirstName;
|
||||
|
||||
foreach (var contract in EmployeeInformation.Contracts)
|
||||
{
|
||||
sb.Append(contract.EmploymentType?.Name);
|
||||
sb.Append('/');
|
||||
}
|
||||
case 1:
|
||||
|
||||
sb.Remove(sb.Length - 1, 1);
|
||||
foreach (var contract in EmployeeInformation.Contracts)
|
||||
{
|
||||
sb.Append(contract.EmploymentType?.Name);
|
||||
sb.Append('/');
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
sb.Remove(sb.Length - 1, 1);
|
||||
|
||||
case 2:
|
||||
return sb.ToString();
|
||||
|
||||
foreach (var contract in EmployeeInformation.Contracts)
|
||||
{
|
||||
sb.Append('(');
|
||||
case 2:
|
||||
|
||||
if (contract.EntryDate.HasValue)
|
||||
sb.Append(contract.EntryDate.Value.ToString("dd.MM"));
|
||||
else
|
||||
sb.Append("k.A.");
|
||||
foreach (var contract in EmployeeInformation.Contracts)
|
||||
{
|
||||
sb.Append('(');
|
||||
|
||||
sb.Append('-');
|
||||
if (contract.EntryDate.HasValue)
|
||||
sb.Append(contract.EntryDate.Value.ToString("dd.MM"));
|
||||
else
|
||||
sb.Append("k.A.");
|
||||
|
||||
if (contract.ContractEndDate.HasValue)
|
||||
sb.Append(contract.ContractEndDate.Value.ToString("dd.MM"));
|
||||
else
|
||||
sb.Append("unbefr.");
|
||||
sb.Append('-');
|
||||
|
||||
sb.Append(')');
|
||||
if (contract.ContractEndDate.HasValue)
|
||||
sb.Append(contract.ContractEndDate.Value.ToString("dd.MM"));
|
||||
else
|
||||
sb.Append("unbefr.");
|
||||
|
||||
sb.Append('/');
|
||||
}
|
||||
sb.Append(')');
|
||||
|
||||
sb.Remove(sb.Length - 1, 1);
|
||||
sb.Append('/');
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
sb.Remove(sb.Length - 1, 1);
|
||||
|
||||
return sb.ToString();
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Besetzungsstatus";
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -20,58 +20,62 @@ namespace BeWo.View.Controls
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
TxtMitarbeiter.Text = employeeDC.LastNameFirstName;
|
||||
|
||||
var separator = new Separator();
|
||||
|
||||
foreach (var contract in contractDCs)
|
||||
if(employeeDC != null)
|
||||
{
|
||||
var sep = new Separator();
|
||||
var txtType1 = new TextBlock();
|
||||
var txtType2 = new TextBlock();
|
||||
var txtArbeit1 = new TextBlock();
|
||||
var txtArbeit2 = new TextBlock();
|
||||
TxtMitarbeiter.Text = employeeDC.LastNameFirstName;
|
||||
|
||||
txtType1.Text = "Beschäftigungsart:";
|
||||
txtType2.Text = $"{contract.EmploymentType?.Name}";
|
||||
var separator = new Separator();
|
||||
|
||||
txtArbeit1.Text = "Vereinbarte Regelarbeitszeit:";
|
||||
|
||||
if (contract.MonthlyTotalHours != null)
|
||||
foreach (var contract in contractDCs)
|
||||
{
|
||||
txtArbeit2.Text = $"{contract.MonthlyTotalHours.Value} Std/Monat";
|
||||
var sep = new Separator();
|
||||
var txtType1 = new TextBlock();
|
||||
var txtType2 = new TextBlock();
|
||||
var txtArbeit1 = new TextBlock();
|
||||
var txtArbeit2 = new TextBlock();
|
||||
|
||||
txtType1.Text = "Beschäftigungsart:";
|
||||
txtType2.Text = $"{contract.EmploymentType?.Name}";
|
||||
|
||||
txtArbeit1.Text = "Vereinbarte Regelarbeitszeit:";
|
||||
|
||||
if (contract.MonthlyTotalHours != null)
|
||||
{
|
||||
txtArbeit2.Text = $"{contract.MonthlyTotalHours.Value} Std/Monat";
|
||||
}
|
||||
else if (contract.WeeklyTotalHours != null)
|
||||
{
|
||||
txtArbeit2.Text = $"{contract.WeeklyTotalHours.Value} Std/Woche";
|
||||
}
|
||||
else
|
||||
{
|
||||
txtArbeit2.Text = $"k.A.";
|
||||
}
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(sep);
|
||||
|
||||
Grid.SetRow(sep, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumnSpan(sep, 3);
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(txtType1);
|
||||
RootGrid.Children.Add(txtType2);
|
||||
|
||||
Grid.SetRow(txtType1, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetRow(txtType2, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumn(txtType2, 2);
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(txtArbeit1);
|
||||
RootGrid.Children.Add(txtArbeit2);
|
||||
|
||||
Grid.SetRow(txtArbeit1, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetRow(txtArbeit2, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumn(txtArbeit2, 2);
|
||||
}
|
||||
else if (contract.WeeklyTotalHours != null)
|
||||
{
|
||||
txtArbeit2.Text = $"{contract.WeeklyTotalHours.Value} Std/Woche";
|
||||
}
|
||||
else
|
||||
{
|
||||
txtArbeit2.Text = $"k.A.";
|
||||
}
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(sep);
|
||||
|
||||
Grid.SetRow(sep, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumnSpan(sep, 3);
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(txtType1);
|
||||
RootGrid.Children.Add(txtType2);
|
||||
|
||||
Grid.SetRow(txtType1, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetRow(txtType2, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumn(txtType2, 2);
|
||||
|
||||
RootGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
|
||||
RootGrid.Children.Add(txtArbeit1);
|
||||
RootGrid.Children.Add(txtArbeit2);
|
||||
|
||||
Grid.SetRow(txtArbeit1, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetRow(txtArbeit2, RootGrid.RowDefinitions.Count - 1);
|
||||
Grid.SetColumn(txtArbeit2, 2);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ namespace BeWo.View.Controls
|
||||
}
|
||||
else
|
||||
{
|
||||
c.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 0);
|
||||
c.BorderBlack.BorderThickness = new Thickness(0, 0, 1, 1);
|
||||
|
||||
c.Text = "";
|
||||
}
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
<ControlTemplate x:Key="ctrlEmp">
|
||||
<controls:DPCtrlEmployee Margin="0" Focusable="True" EmployeeInformation="{Binding Value}"/>
|
||||
</ControlTemplate>
|
||||
<ControlTemplate x:Key="ctrlStatus">
|
||||
<controls:DPCtrlStatus Margin="0" Focusable="True" DPCtrlStatusInformation="{Binding Value}"/>
|
||||
</ControlTemplate>
|
||||
|
||||
<dxg:GridColumn x:Key="gridColumn" AllowAutoFilter="False" AllowBestFit="False" AllowCellMerge="False" AllowColumnFiltering="False" AllowConditionalFormattingMenu="False"
|
||||
AllowEditing="False" AllowGrouping="False" AllowMoving="False" AllowResizing="False" AllowSearchPanel="False" AllowSorting="False" AllowUnboundExpressionEditor="False"/>
|
||||
|
||||
@@ -84,7 +82,7 @@
|
||||
<Label Grid.Column="1" Visibility="Hidden" x:Name="_TxtWohnheim" Grid.ColumnSpan="2" Margin="0,0,57,0"/>
|
||||
</Grid>
|
||||
<!--Dritte Zeile ______________________________________________________________________________________________________ -->
|
||||
<dxg:GridControl Grid.Row="3" Visibility="Hidden" x:Name="_GridControl" CustomUnboundColumnData="GridControl_CustomUnboundColumnData" SelectionMode="Cell" >
|
||||
<dxg:GridControl Grid.Row="3" Visibility="Hidden" x:Name="_GridControl" CustomUnboundColumnData="GridControl_CustomUnboundColumnData" SelectionMode="Cell">
|
||||
<!--<dxg:GridControl.Resources>
|
||||
<ControlTemplate x:Key="display_dpc">
|
||||
<controls:DienstplanerControl Margin="3" Cursor="Hand" Focusable="True" DienstplanerValue="{Binding Value}"/>
|
||||
|
||||
@@ -55,9 +55,6 @@ namespace BeWo.View.Detail.Report
|
||||
|
||||
private bool _IsControlClick;
|
||||
|
||||
private int _PosOfLastWeek = 0;
|
||||
private long? _LastEmployee = null;
|
||||
|
||||
public DienstplanerView()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -103,6 +100,8 @@ namespace BeWo.View.Detail.Report
|
||||
#region Loading
|
||||
private void InitGridControl()
|
||||
{
|
||||
_DienstEintragListe = new List<DienstZeileDC>();
|
||||
_DienstEintragListe.Add(InitStatusZeile(RefreshGrid, AuswahlMonat));
|
||||
RefreshDienste(); //Diensteintragliste setzen
|
||||
BuildGridControlColumnDays(AuswahlMonat.Year, AuswahlMonat.Month, 1);
|
||||
RefreshGrid();
|
||||
@@ -111,6 +110,12 @@ namespace BeWo.View.Detail.Report
|
||||
|
||||
private void RefreshGrid()
|
||||
{
|
||||
var days = DateTime.DaysInMonth(_AuswahlMonat.Year, _AuswahlMonat.Month);
|
||||
for (int i = 1; i <= days; i++)
|
||||
{
|
||||
RefreshStatusForDay(i);
|
||||
}
|
||||
|
||||
_GridControl.ItemsSource = null;
|
||||
_GridControl.ItemsSource = _DienstEintragListe;
|
||||
}
|
||||
@@ -122,6 +127,32 @@ namespace BeWo.View.Detail.Report
|
||||
_TxtWohnheimInfo.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
private void RefreshStatusForDay(int day)
|
||||
{
|
||||
var alleZeilen = _DienstEintragListe;
|
||||
double stundenAmTag = 0;
|
||||
|
||||
foreach(var zeile in alleZeilen)
|
||||
{
|
||||
if (zeile.DienstDict != null)
|
||||
{
|
||||
foreach(var dienst in zeile.DienstDict)
|
||||
{
|
||||
if (dienst.Key == day)
|
||||
{
|
||||
stundenAmTag += dienst.Value.DurationHours;
|
||||
if (stundenAmTag == 24)
|
||||
_DienstEintragListe[0].StatusListe[day - 1].DauerhaftBesetztStatus = true;
|
||||
else
|
||||
_DienstEintragListe[0].StatusListe[day - 1].DauerhaftBesetztStatus = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void BuildGridControlColumnDays(int year, int month, int fixedColumns)
|
||||
{
|
||||
var dayCounter = 0;
|
||||
@@ -236,8 +267,6 @@ namespace BeWo.View.Detail.Report
|
||||
|
||||
if (_WohnheimPicker.SelectedItem == null)
|
||||
return;
|
||||
_PosOfLastWeek = 0;
|
||||
_LastEmployee = null;
|
||||
AuswahlMonat = new DateTime((int)_YearPicker.SelectedItem, _MonthPicker.SelectedMonth, 1);
|
||||
|
||||
var year = _YearPicker.SelectedItem;
|
||||
@@ -253,7 +282,10 @@ namespace BeWo.View.Detail.Report
|
||||
_PopupPicker.IsOpen = false;
|
||||
|
||||
_AuswahlDienstZeileDC = _GridControl.GetRow(_GridControl.View.GetRowHandleByMouseEventArgs(e)) as DienstZeileDC;
|
||||
|
||||
|
||||
if (_AuswahlDienstZeileDC.DienstDict == null)
|
||||
return;
|
||||
|
||||
_AuswahlTag = int.Parse(_GridControl.View.GetColumnByMouseEventArgs(e).FieldName);
|
||||
|
||||
listbox_valuepicker.ItemsSource = _AlleDienste;
|
||||
@@ -265,7 +297,7 @@ namespace BeWo.View.Detail.Report
|
||||
// Popup Click
|
||||
private void Popup_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var oldDienst = _AuswahlDienstZeileDC.TryGetDienst(_AuswahlTag); //abc
|
||||
var oldDienst = TryGetDienst(_AuswahlDienstZeileDC, _AuswahlTag); //abc
|
||||
var newDienst = (DienstInfoDC)((Grid)sender).Tag;
|
||||
|
||||
_PopupPicker.IsOpen = false;
|
||||
@@ -323,23 +355,53 @@ namespace BeWo.View.Detail.Report
|
||||
switch (e.Column.Tag.ToString().Substring(0, 2))
|
||||
{
|
||||
case "DA":
|
||||
pos = int.Parse(e.Column.FieldName);
|
||||
var date = _AuswahlMonat.AddDays(pos - 1);
|
||||
|
||||
AbsenceReasonDC reason = null;
|
||||
if (_AbsenceTimesDict.ContainsKey(selZeile.Employee.EmployeeOid.Value))
|
||||
reason = _AbsenceTimesDict[selZeile.Employee.EmployeeOid.Value].FirstOrDefault(x =>
|
||||
x.Start <= date && (!x.End.HasValue || x.End >= date))?.Reason;
|
||||
|
||||
e.Value = new DPCtrlDayInformation
|
||||
if(selZeile.DienstDict != null)
|
||||
{
|
||||
DienstInfoDC = selZeile.TryGetDienst(pos), //abc
|
||||
IsLastRow = selZeile.Zeile == 2,
|
||||
DayOfWeek = date.DayOfWeek,
|
||||
IsLastColumn = pos == DateTime.DaysInMonth(AuswahlMonat.Year, AuswahlMonat.Month),
|
||||
IsInContractRange = selZeile.GetContract(pos) != null, //abc
|
||||
Reason = reason,
|
||||
};
|
||||
pos = int.Parse(e.Column.FieldName);
|
||||
var date = _AuswahlMonat.AddDays(pos - 1);
|
||||
|
||||
AbsenceReasonDC reason = null;
|
||||
if (_AbsenceTimesDict.ContainsKey(selZeile.Employee.EmployeeOid.Value))
|
||||
reason = _AbsenceTimesDict[selZeile.Employee.EmployeeOid.Value].FirstOrDefault(x =>
|
||||
x.Start <= date && (!x.End.HasValue || x.End >= date))?.Reason;
|
||||
|
||||
e.Value = new DPCtrlDayInformation
|
||||
{
|
||||
DienstInfoDC = TryGetDienst(selZeile, pos), //abc
|
||||
IsLastRow = selZeile.Zeile == 2,
|
||||
DayOfWeek = date.DayOfWeek,
|
||||
IsLastColumn = pos == DateTime.DaysInMonth(AuswahlMonat.Year, AuswahlMonat.Month),
|
||||
IsInContractRange = GetContract(selZeile, pos) != null, //abc
|
||||
Reason = reason,
|
||||
StatusInformation = null
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
pos = int.Parse(e.Column.FieldName);
|
||||
var date = _AuswahlMonat.AddDays(pos - 1);
|
||||
bool dauerhaftBesetzt = true;
|
||||
foreach (var status in selZeile.StatusListe)
|
||||
{
|
||||
if (status.Tag == pos)
|
||||
{
|
||||
dauerhaftBesetzt = status.DauerhaftBesetztStatus;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
e.Value = new DPCtrlDayInformation
|
||||
{
|
||||
IsLastColumn = pos == DateTime.DaysInMonth(AuswahlMonat.Year, AuswahlMonat.Month),
|
||||
DayOfWeek = date.DayOfWeek,
|
||||
StatusInformation = new StatusInformation
|
||||
{
|
||||
DayOfWeek = date.DayOfWeek,
|
||||
IsLastColumn = pos == DateTime.DaysInMonth(AuswahlMonat.Year, AuswahlMonat.Month),
|
||||
BesetzungsStatus = dauerhaftBesetzt
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
@@ -375,9 +437,9 @@ namespace BeWo.View.Detail.Report
|
||||
_AlleDienste = ServiceFacade.DoOperationsServiceSync(x => x.GetAllDienste()); //Verschiedene Schichten zum Zuordnen an Mitarbeiter
|
||||
_AlleDienste.Insert(0, DienstInfoDC.Platzhalter); // Leere Schicht zum Löschen von Einträgen im Dienstplan
|
||||
|
||||
_DienstEintragListe = _DienstDCListe
|
||||
.SelectMany(x => DienstZeileDC.Init(x, _AlleDienste, RefreshGrid, AuswahlMonat)) //Erstellen der 3 Zeilen pro Mitarbeiter bzw. 4 mit Status
|
||||
.ToList();
|
||||
_DienstEintragListe.AddRange(_DienstDCListe
|
||||
.SelectMany(x => Init(x, _AlleDienste, RefreshGrid, AuswahlMonat)) //Erstellen der 3 Zeilen pro Mitarbeiter
|
||||
.ToList());
|
||||
|
||||
var absence = ServiceFacade.DoOperationsServiceSync(x => x.GetAbsenceTimeVacationByWohnheim(AuswahlWohnheim.WohnheimOid, AuswahlMonat.Year, AuswahlMonat.Month));
|
||||
|
||||
@@ -446,6 +508,67 @@ namespace BeWo.View.Detail.Report
|
||||
};
|
||||
}
|
||||
|
||||
//public List<DienstInfoDC> GetDienstWoche(DienstZeileDC zeile, int sonntag) => zeile.DienstDict.Where(x => x.Key <= sonntag && sonntag - x.Key < 7).Select(x => x.Value).ToList();
|
||||
|
||||
public DienstInfoDC GetDienst(DienstZeileDC zeile, int tag) => zeile.DienstDict[tag];
|
||||
|
||||
public DienstInfoDC TryGetDienst(DienstZeileDC zeile, int tag) => zeile.DienstDict.ContainsKey(tag) ? zeile.DienstDict[tag] : null;
|
||||
|
||||
|
||||
public ContractDC GetContract(DienstZeileDC zeile, int tag) => zeile.Contracts.FirstOrDefault(x => (!x.EntryDate.HasValue ||
|
||||
x.EntryDate.Value <= zeile.Date.AddDays(tag - 1)) &&
|
||||
(!x.ContractEndDate.HasValue || x.ContractEndDate.Value >= zeile.Date.AddDays(tag - 1)));
|
||||
|
||||
public static DienstZeileDC InitStatusZeile(Action dienstDictUpdate, DateTime date)
|
||||
{
|
||||
|
||||
var days = DateTime.DaysInMonth(date.Year, date.Month);
|
||||
var zeileDC = new DienstZeileDC()
|
||||
{
|
||||
Contracts = null,
|
||||
Date = date,
|
||||
DienstDict = null,
|
||||
Employee = null,
|
||||
StatusListe = new List<BesetzungsstatusDC>(),
|
||||
Zeile = 0
|
||||
};
|
||||
for (int i = 1; i <= days; i++)
|
||||
{
|
||||
zeileDC.StatusListe.Add(new BesetzungsstatusDC()
|
||||
{
|
||||
DauerhaftBesetztStatus = false,
|
||||
Stunden = 0,
|
||||
Tag = i
|
||||
});
|
||||
}
|
||||
zeileDC.DienstDictUpdated += dienstDictUpdate;
|
||||
|
||||
return zeileDC;
|
||||
}
|
||||
public static List<DienstZeileDC> Init(DienstBlockDC eintragDC, List<DienstInfoDC> dienste, Action dienstDictUpdate, DateTime date)
|
||||
{
|
||||
var res = new List<DienstZeileDC>();
|
||||
|
||||
for (int i = 0; i < eintragDC.DienstDictArray.Length; i++)
|
||||
{
|
||||
var zeileDC = eintragDC.DienstDictArray[i];
|
||||
|
||||
var newDic = new Dictionary<int, DienstInfoDC>();
|
||||
|
||||
if (zeileDC != null)
|
||||
newDic = zeileDC.ToDictionary(k => k.Key, v => dienste.Find(x => x.Oid == v.Value));
|
||||
|
||||
var toAdd = new DienstZeileDC(eintragDC.Employee, eintragDC.Contracts, i, date, newDic);
|
||||
|
||||
toAdd.DienstDictUpdated += dienstDictUpdate;
|
||||
|
||||
res.Add(toAdd);
|
||||
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
||||
85
ReportImp/PassgenauUG/PassgenauUG.csproj
Normal file
85
ReportImp/PassgenauUG/PassgenauUG.csproj
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{87D57693-C3EB-4DD0-8C32-4C8D7BE9066E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>PassgenauUG</RootNamespace>
|
||||
<AssemblyName>2623845876_Reports</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Printing.v17.1.Core, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceInvoiceReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServiceInvoiceReport.Designer.cs">
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
<Project>{B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE}</Project>
|
||||
<Name>Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Report\Report.csproj">
|
||||
<Project>{40d8b312-ea64-49e3-a31a-5e57ed4d5654}</Project>
|
||||
<Name>Report</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Service\Service.csproj">
|
||||
<Project>{094331c3-ecee-4c89-bbfd-4c9ded89f0ef}</Project>
|
||||
<Name>Service</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Shared\Shared.csproj">
|
||||
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="ServiceInvoiceReport.resx">
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
36
ReportImp/PassgenauUG/Properties/AssemblyInfo.cs
Normal file
36
ReportImp/PassgenauUG/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("KundeXyz")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("KundeXyz")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("c1fed668-adb9-47e0-b589-1389618e1b6e")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
1
ReportImp/PassgenauUG/Properties/licenses.licx
Normal file
1
ReportImp/PassgenauUG/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
678
ReportImp/PassgenauUG/ServiceInvoiceReport.Designer.cs
generated
Normal file
678
ReportImp/PassgenauUG/ServiceInvoiceReport.Designer.cs
generated
Normal file
@@ -0,0 +1,678 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace PassgenauUG
|
||||
{
|
||||
partial class ServiceInvoiceReport
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServiceInvoiceReport));
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 0F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 42.11363F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.xrLabel10});
|
||||
this.bottomMarginBand1.HeightF = 70F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(498.1376F, 0F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(178.8624F, 59.56258F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Sparkasse Hildesheim Peine Goslar\r\nIBAN DE57 2595 0130 0056 0374 38\r\nBIC NOLADE21" +
|
||||
"HIK\r\n";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(271.3542F, 59.56258F);
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "PASSGENAU unterstützen UG (haftungsbeschränkt) \r\nGeschäftsführerin: Dipl. Päd. Ke" +
|
||||
"rstin Kunz\r\nAmtsgericht Hildesheim HRB 205502\r\n";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.lblAbrechnungszeitraum,
|
||||
this.xrLabel8,
|
||||
this.xrLabel12,
|
||||
this.xrLine1,
|
||||
this.xrPictureBox1,
|
||||
this.xrRichText2,
|
||||
this.xrRichText1,
|
||||
this.xrLabel7,
|
||||
this.xrLabel3,
|
||||
this.xrLabel5});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 636.5012F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 206.875F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(317F, 22.95831F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "[RecipientPostCodeAndTown]\r\n";
|
||||
//
|
||||
// xrLine1
|
||||
//
|
||||
this.xrLine1.LineDirection = DevExpress.XtraReports.UI.LineDirection.Vertical;
|
||||
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(450.5414F, 0F);
|
||||
this.xrLine1.Name = "xrLine1";
|
||||
this.xrLine1.SizeF = new System.Drawing.SizeF(21.45834F, 431.3194F);
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(483.1568F, 9.999997F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(166.8432F, 77.75002F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrRichText2.Font = new System.Drawing.Font("Calibri", 8F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 113.7302F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(385.4167F, 14.15569F);
|
||||
this.xrRichText2.StylePriority.UseBorderColor = false;
|
||||
this.xrRichText2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrRichText1.Font = new System.Drawing.Font("Calibri", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(471.9997F, 93.84851F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(204.8334F, 269.1516F);
|
||||
this.xrRichText1.StylePriority.UseBorderColor = false;
|
||||
this.xrRichText1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 138.0833F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(317F, 68.79167F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "[RecipientOrganisation]\r\n[RecipientContactPerson]\r\n[RecipientDivision]\r\n[Recipien" +
|
||||
"tStreet]\r\n";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel3.CanShrink = true;
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 456.8875F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(676.8331F, 20F);
|
||||
this.xrLabel3.StylePriority.UseBackColor = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Rechnung 2020 11 024 ABW für Leistungen in der Eingliederungshilfe AZ 610116359";
|
||||
this.xrLabel3.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 551.3194F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "Sehr geehrte Damen und Herren,";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(6.622738E-05F, 133.6806F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
|
||||
this.xrLabel14.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(6.622738E-05F, 162.6735F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F);
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.Text = "[CreatorName]";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.DetailReport2});
|
||||
this.DetailReport.DataMember = "ServiceInvoicePeriods";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable5});
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
//
|
||||
// xrTable5
|
||||
//
|
||||
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable5.Name = "xrTable5";
|
||||
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow23});
|
||||
this.xrTable5.SizeF = new System.Drawing.SizeF(676.8333F, 25F);
|
||||
//
|
||||
// xrTableRow23
|
||||
//
|
||||
this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell32,
|
||||
this.xrTableCell37,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell33,
|
||||
this.xrTableCell36});
|
||||
this.xrTableRow23.Name = "xrTableRow23";
|
||||
this.xrTableRow23.Weight = 1D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
this.xrTableCell32.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrTableCell32.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell32.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell32.Name = "xrTableCell32";
|
||||
this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell32.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell32.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell32.StylePriority.UseBorders = false;
|
||||
this.xrTableCell32.StylePriority.UseFont = false;
|
||||
this.xrTableCell32.StylePriority.UsePadding = false;
|
||||
this.xrTableCell32.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell32.Text = "Pos.";
|
||||
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell32.Weight = 0.49680438831176488D;
|
||||
//
|
||||
// xrTableCell37
|
||||
//
|
||||
this.xrTableCell37.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrTableCell37.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell37.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell37.Name = "xrTableCell37";
|
||||
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell37.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell37.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell37.StylePriority.UseBorders = false;
|
||||
this.xrTableCell37.StylePriority.UseFont = false;
|
||||
this.xrTableCell37.StylePriority.UsePadding = false;
|
||||
this.xrTableCell37.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell37.Text = "Menge";
|
||||
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell37.Weight = 0.50024181553806313D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrTableCell35.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell35.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell35.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell35.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell35.StylePriority.UseBorders = false;
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell35.Text = "Beschreibung";
|
||||
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell35.Weight = 0.83734769581331314D;
|
||||
//
|
||||
// xrTableCell33
|
||||
//
|
||||
this.xrTableCell33.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrTableCell33.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell33.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell33.Name = "xrTableCell33";
|
||||
this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell33.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell33.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell33.StylePriority.UseBorders = false;
|
||||
this.xrTableCell33.StylePriority.UseFont = false;
|
||||
this.xrTableCell33.StylePriority.UsePadding = false;
|
||||
this.xrTableCell33.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell33.Text = "Einzelpreis";
|
||||
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell33.Weight = 0.59602567994850508D;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
this.xrTableCell36.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrTableCell36.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell36.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell36.Name = "xrTableCell36";
|
||||
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell36.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell36.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell36.StylePriority.UseBorders = false;
|
||||
this.xrTableCell36.StylePriority.UseFont = false;
|
||||
this.xrTableCell36.StylePriority.UsePadding = false;
|
||||
this.xrTableCell36.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell36.Text = "Gesamtpreis";
|
||||
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell36.Weight = 0.568841634434301D;
|
||||
//
|
||||
// DetailReport2
|
||||
//
|
||||
this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail3,
|
||||
this.GroupFooter1});
|
||||
this.DetailReport2.DataMember = "ServiceInvoicePeriods.ServiceInvoiceItems";
|
||||
this.DetailReport2.DataSource = this.bindingSource1;
|
||||
this.DetailReport2.Level = 0;
|
||||
this.DetailReport2.Name = "DetailReport2";
|
||||
this.DetailReport2.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
//
|
||||
// Detail3
|
||||
//
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable6});
|
||||
this.Detail3.HeightF = 25F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow25});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(676.8331F, 25F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow25
|
||||
//
|
||||
this.xrTableRow25.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell40,
|
||||
this.xrTableCell42,
|
||||
this.xrTableCell43,
|
||||
this.xrTableCell44,
|
||||
this.xrTableCell45});
|
||||
this.xrTableRow25.Name = "xrTableRow25";
|
||||
this.xrTableRow25.Weight = 1D;
|
||||
//
|
||||
// xrTableCell40
|
||||
//
|
||||
this.xrTableCell40.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell40.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell40.Name = "xrTableCell40";
|
||||
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell40.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell40.StylePriority.UseBorders = false;
|
||||
this.xrTableCell40.StylePriority.UsePadding = false;
|
||||
this.xrTableCell40.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell40.Weight = 0.49680428688701506D;
|
||||
//
|
||||
// xrTableCell42
|
||||
//
|
||||
this.xrTableCell42.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell42.Name = "xrTableCell42";
|
||||
this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell42.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell42.StylePriority.UseBorders = false;
|
||||
this.xrTableCell42.StylePriority.UsePadding = false;
|
||||
this.xrTableCell42.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell42.Weight = 0.500241781729817D;
|
||||
//
|
||||
// xrTableCell43
|
||||
//
|
||||
this.xrTableCell43.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell43.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell43.Name = "xrTableCell43";
|
||||
this.xrTableCell43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell43.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell43.StylePriority.UseBorders = false;
|
||||
this.xrTableCell43.StylePriority.UsePadding = false;
|
||||
this.xrTableCell43.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell43.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell43.Weight = 0.83734775772647463D;
|
||||
//
|
||||
// xrTableCell44
|
||||
//
|
||||
this.xrTableCell44.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell44.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell44.Name = "xrTableCell44";
|
||||
this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell44.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell44.StylePriority.UseBorders = false;
|
||||
this.xrTableCell44.StylePriority.UsePadding = false;
|
||||
this.xrTableCell44.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell44.Weight = 0.59602559850337444D;
|
||||
//
|
||||
// xrTableCell45
|
||||
//
|
||||
this.xrTableCell45.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell45.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell45.Name = "xrTableCell45";
|
||||
this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell45.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell45.StylePriority.UseBorders = false;
|
||||
this.xrTableCell45.StylePriority.UsePadding = false;
|
||||
this.xrTableCell45.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell45.Weight = 0.56884111303428631D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1,
|
||||
this.xrLabel9,
|
||||
this.xrLabel6,
|
||||
this.xrLabel14,
|
||||
this.xrLabel15});
|
||||
this.GroupFooter1.HeightF = 220.8888F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorDivision")});
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.868F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(225.0001F, 23F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "xrLabel9";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Calibri", 11F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(6.622738E-05F, 53.12495F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(676.8331F, 64.74304F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Die Zusammensetzung der Stundenanzahlen entnehmen Sie bitte den beigefügten\r\nLeis" +
|
||||
"tungsnachweisen.\r\nBitte überweisen Sie den genannten Betrag auf das unten angege" +
|
||||
"bene Konto.\r\n";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(472.1666F, 373.5068F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(194.8334F, 17F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Hildesheim, [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(6.811959E-05F, 585.0482F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(676.8331F, 51.45306F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "lblAbrechnungszeitraum (im Code)";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim", "Gesamtsumme: {0}")});
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(421.1667F, 0F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(255.8333F, 25F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UsePadding = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "xrLabel1";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(5.779844E-05F, 476.8875F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8331F, 17F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "[CustomerLastName], [CustomerFirstName], [CustomerPostalCode] [CustomerTown], [Cu" +
|
||||
"stomerStreet]";
|
||||
//
|
||||
// ServiceInvoiceReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.Page1,
|
||||
this.DetailReport});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 75, 42, 70);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand Page1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable5;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell32;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell37;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell33;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell36;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable6;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow25;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell40;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell42;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell43;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell44;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell45;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLine xrLine1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
}
|
||||
}
|
||||
34
ReportImp/PassgenauUG/ServiceInvoiceReport.cs
Normal file
34
ReportImp/PassgenauUG/ServiceInvoiceReport.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace PassgenauUG
|
||||
{
|
||||
public partial class ServiceInvoiceReport : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public ServiceInvoiceReport()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
//if (start.Month == end.Month && start.Year == end.Year)
|
||||
//{
|
||||
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Monat {0:MMMM yyyy} folgende erbrachte Tätigkeiten:", start);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
//}
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit stelle ich auf Grundlage des Bescheids vom 15.09.2020 für Leistungen nach dem " +
|
||||
"Sozialgesetzbuch IX folgende Leistungen für den Monat {0:MMMM yyyy} in Rechnung:", start);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
1278
ReportImp/PassgenauUG/ServiceInvoiceReport.resx
Normal file
1278
ReportImp/PassgenauUG/ServiceInvoiceReport.resx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -84,7 +84,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "3184859776"; // Sergej Becker
|
||||
//t = "7752610643"; // BWK Gbr
|
||||
//t = "3785623125"; // Betreuwo
|
||||
t = "7130228334"; // LH Borken
|
||||
//t = "7130228334"; // LH Borken
|
||||
//t = "4209820830"; // VKM Hamm
|
||||
//t = "5700328131"; // Betreutes Wohnen St. Ludgerus Essen-Werden
|
||||
//t = "1907984777"; // Soziale Dienste Katrin Schmidt
|
||||
@@ -250,6 +250,8 @@ namespace BeWo.Service.Plugins
|
||||
//t = "4500422855"; // BeWo Nordeifel
|
||||
//t = "3565931805"; // Betreuungsbüro Frank Röhrig
|
||||
//t = "4152581290"; // MVZ Medikus GmbH (Stoffwechsel Betreutes wohnen)
|
||||
t = "2623845876"; // Passgenau Hildesheim
|
||||
|
||||
|
||||
return t;
|
||||
#else
|
||||
|
||||
19
Shared/DataContracts/BesetzungsstatusDC.cs
Normal file
19
Shared/DataContracts/BesetzungsstatusDC.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BS.Shared.DataContracts
|
||||
{
|
||||
public class BesetzungsstatusDC
|
||||
{
|
||||
[DataMember]
|
||||
public int Tag { get; set; }
|
||||
[DataMember]
|
||||
public double Stunden { get; set; }
|
||||
[DataMember]
|
||||
public bool DauerhaftBesetztStatus { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -20,8 +20,10 @@ namespace BS.Shared.DataContracts
|
||||
public DateTime Date { get; set; }
|
||||
[DataMember]
|
||||
public Dictionary<int, DienstInfoDC> DienstDict { get; set; }
|
||||
[DataMember]
|
||||
public List<BesetzungsstatusDC> StatusListe { get; set; }
|
||||
|
||||
|
||||
|
||||
public DienstZeileDC() { }
|
||||
public DienstZeileDC(EmployeeDC emp, List<ContractDC> contracts, int zeile, DateTime date, Dictionary<int, DienstInfoDC> dienste)
|
||||
{
|
||||
@@ -31,13 +33,8 @@ namespace BS.Shared.DataContracts
|
||||
Date = date;
|
||||
DienstDict = dienste ?? new Dictionary<int, DienstInfoDC>();
|
||||
}
|
||||
|
||||
|
||||
public List<DienstInfoDC> GetDienstWoche(int sonntag) => DienstDict.Where(x => x.Key <= sonntag && sonntag - x.Key < 7).Select(x => x.Value).ToList();
|
||||
|
||||
public DienstInfoDC GetDienst(int tag) => DienstDict[tag];
|
||||
|
||||
public DienstInfoDC TryGetDienst(int tag) => DienstDict.ContainsKey(tag) ? DienstDict[tag] : null;
|
||||
|
||||
public void AddDienst(int tag, DienstInfoDC dienst)
|
||||
{
|
||||
@@ -57,33 +54,9 @@ namespace BS.Shared.DataContracts
|
||||
DienstDictUpdated?.Invoke();
|
||||
}
|
||||
|
||||
public ContractDC GetContract(int tag) => Contracts.FirstOrDefault(x => (!x.EntryDate.HasValue || x.EntryDate.Value <= Date.AddDays(tag - 1)) &&
|
||||
(!x.ContractEndDate.HasValue || x.ContractEndDate.Value >= Date.AddDays(tag - 1)));
|
||||
|
||||
|
||||
|
||||
//Wird pro Mitarbeiter einmal ausgeführt
|
||||
public static List<DienstZeileDC> Init(DienstBlockDC eintragDC, List<DienstInfoDC> dienste, Action dienstDictUpdate, DateTime date)
|
||||
{
|
||||
var res = new List<DienstZeileDC>();
|
||||
|
||||
for (int i = 0; i < eintragDC.DienstDictArray.Length; i++)
|
||||
{
|
||||
var zeileDC = eintragDC.DienstDictArray[i];
|
||||
|
||||
var newDic = new Dictionary<int, DienstInfoDC>();
|
||||
|
||||
if (zeileDC != null)
|
||||
newDic = zeileDC.ToDictionary(k => k.Key, v => dienste.Find(x => x.Oid == v.Value));
|
||||
|
||||
var toAdd = new DienstZeileDC(eintragDC.Employee, eintragDC.Contracts, i, date, newDic);
|
||||
|
||||
toAdd.DienstDictUpdated += dienstDictUpdate;
|
||||
|
||||
res.Add(toAdd);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,6 +153,7 @@
|
||||
<Compile Include="DataContracts\AdditionalServiceGroupOfPeopleDC.cs" />
|
||||
<Compile Include="DataContracts\AdditionalServiceGroupOfPeopleRelationDC.cs" />
|
||||
<Compile Include="DataContracts\AdditionalServiceRegionDC.cs" />
|
||||
<Compile Include="DataContracts\BesetzungsstatusDC.cs" />
|
||||
<Compile Include="DataContracts\ConfirmationReceiptSignatureDC.cs" />
|
||||
<Compile Include="DataContracts\DienstBlockDC.cs" />
|
||||
<Compile Include="DataContracts\DienstEintragDC.cs" />
|
||||
|
||||
Reference in New Issue
Block a user