Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo

# Conflicts:
#	Service/Plugins/PluginLoader.cs
This commit is contained in:
Alexandra
2021-08-11 12:09:24 +02:00
63 changed files with 12825 additions and 524 deletions

3
.gitignore vendored
View File

@@ -538,3 +538,6 @@
/ReportImp/ZuhauseWohnenIrisThimm/obj/Debug
/ReportImp/FAMRheinSiegGbr/obj/Debug
/ReportImp/ProIntegra/obj/Release
/ReportImp/AmbulantBetreutesWohnenAstridPulm/obj/Release
/ReportImp/SozialwerkAachenerChristen/obj/Debug
/ReportImp/SicherlebenMichaelVoß/obj/Debug

View File

@@ -471,6 +471,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FAMRheinSiegGbr", "ReportIm
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HshCologne", "ReportImp\HshCologne\HshCologne.csproj", "{B9962DC8-015C-415A-A079-94BC3279E577}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SozialwerkAachenerChristen", "ReportImp\SozialwerkAachenerChristen\SozialwerkAachenerChristen.csproj", "{47A029F9-D420-48D2-BFE3-CB4988346366}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lori", "ReportImp\Lori\Lori.csproj", "{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SicherlebenMichaelVoß", "ReportImp\SicherlebenMichaelVoß\SicherlebenMichaelVoß.csproj", "{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -3626,6 +3632,54 @@ Global
{B9962DC8-015C-415A-A079-94BC3279E577}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{B9962DC8-015C-415A-A079-94BC3279E577}.Release|x86.ActiveCfg = Release|Any CPU
{B9962DC8-015C-415A-A079-94BC3279E577}.Release|x86.Build.0 = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|.NET.ActiveCfg = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|.NET.Build.0 = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|Any CPU.Build.0 = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|x86.ActiveCfg = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Debug|x86.Build.0 = Debug|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|.NET.ActiveCfg = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|.NET.Build.0 = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|Any CPU.ActiveCfg = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|Any CPU.Build.0 = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|x86.ActiveCfg = Release|Any CPU
{47A029F9-D420-48D2-BFE3-CB4988346366}.Release|x86.Build.0 = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|.NET.ActiveCfg = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|.NET.Build.0 = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|x86.ActiveCfg = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Debug|x86.Build.0 = Debug|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|.NET.ActiveCfg = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|.NET.Build.0 = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|Any CPU.Build.0 = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|x86.ActiveCfg = Release|Any CPU
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD}.Release|x86.Build.0 = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|.NET.ActiveCfg = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|.NET.Build.0 = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|x86.ActiveCfg = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Debug|x86.Build.0 = Debug|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|.NET.ActiveCfg = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|.NET.Build.0 = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|Any CPU.Build.0 = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|x86.ActiveCfg = Release|Any CPU
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -3857,6 +3911,9 @@ Global
{22E7F5F8-BB34-4243-896B-221F78837F83} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{88273E87-C5F9-4DBF-876A-296527A61B4A} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{B9962DC8-015C-415A-A079-94BC3279E577} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{47A029F9-D420-48D2-BFE3-CB4988346366} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{063ED52C-CBE2-4C6D-B0F0-66C2627911BD} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99} = {D8A691C5-146D-4613-86CC-438F02FE9106}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}

View File

@@ -334,7 +334,7 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/CalculateUrlaubstage", ReplyAction="http://tempuri.org/IEmployeeService/CalculateUrlaubstageResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/CalculateUrlaubstageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
decimal CalculateUrlaubstage(System.DateTime entryDate, int anzahlArbeitstage, int restlicheTageImJahr, System.Nullable<decimal> urlaubstageProJahr);
decimal CalculateUrlaubstage(System.DateTime entryDate, System.Nullable<System.DateTime> endDate, int anzahlArbeitstage, int restlicheTageImJahr, System.Nullable<decimal> urlaubstageProJahr);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetGeschenkteUrlaubstageForEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetGeschenkteUrlaubstageForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetGeschenkteUrlaubstageForEmployeeBeWoFaultF" +
@@ -854,9 +854,9 @@ namespace BeWo.ServiceProxy
return base.Channel.GetActiveCustomersForEmployee(employeeOid, customerFilter);
}
public decimal CalculateUrlaubstage(System.DateTime entryDate, int anzahlArbeitstage, int restlicheTageImJahr, System.Nullable<decimal> urlaubstageProJahr)
public decimal CalculateUrlaubstage(System.DateTime entryDate, System.Nullable<System.DateTime> endDate, int anzahlArbeitstage, int restlicheTageImJahr, System.Nullable<decimal> urlaubstageProJahr)
{
return base.Channel.CalculateUrlaubstage(entryDate, anzahlArbeitstage, restlicheTageImJahr, urlaubstageProJahr);
return base.Channel.CalculateUrlaubstage(entryDate, endDate, anzahlArbeitstage, restlicheTageImJahr, urlaubstageProJahr);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.GeschenkterUrlaubstagDC> GetGeschenkteUrlaubstageForEmployee(long empOid)

View File

@@ -263,34 +263,50 @@ namespace BeWo.View.Detail
try
{
//if (ViewModel.LastContract != null && ViewModel.LastContract.EmploymentType != null)
// if (ViewModel.LastContract != null && ViewModel.LastContract.EmploymentType != null)
// {
// if (ViewModel.LastContract.EmploymentType.LeaveDays != null)
// {
// var originalEmploymentType = ServiceFacade.DoEmployeeServiceSync(s => s.GetEmploymentType((long)ViewModel.LastContract.EmploymentType.EmploymentTypeOid));
// if (originalEmploymentType.LeaveDays == ViewModel.LastContract.EmploymentType.LeaveDays) // Beschäftigungsart wurde feste Zahl Urlaubstage gegeben
// if (ViewModel.LastContract.EmploymentType.LeaveDays != null) // EmploymentType hat feste Urlaubstage
// {
// var originalEmploymentType = ServiceFacade.DoEmployeeServiceSync(s => s.GetEmploymentType((long)ViewModel.LastContract.EmploymentType.EmploymentTypeOid));
// if (originalEmploymentType.LeaveDays == ViewModel.LastContract.EmploymentType.LeaveDays)
// {
// int arbeitstage = ViewModel.LastContract.WeeklyDays != null ? (int)ViewModel.LastContract.WeeklyDays : 0;
// decimal? urlaubstage = ViewModel.LastContract.EmploymentType.LeaveDays;
// ViewModel.LastContract.LeaveDays = urlaubstage;
// //if (ViewModel.LastContract.ContractEndDate.Value.Date >= new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31))
// //{
// // int restlicheTageImJahr = Convert.ToInt32((new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31) - ViewModel.LastContract.EntryDate.Value.Date).TotalDays);
// // urlaubstage = CalculateUrlaubstage((DateTime)ViewModel.LastContract.EntryDate, arbeitstage, restlicheTageImJahr, urlaubstage);
// int arbeitstage = ViewModel.LastContract.WeeklyDays != null ? (int)ViewModel.LastContract.WeeklyDays : 0;
// decimal? urlaubstage = ViewModel.LastContract.EmploymentType.LeaveDays;
// ViewModel.LastContract.LeaveDays = urlaubstage;
// if (ViewModel.LastContract.ContractEndDate.Value.Date >= new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31))
// {
// int restlicheTageImJahr = Convert.ToInt32((new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31) - ViewModel.LastContract.EntryDate.Value.Date).TotalDays);
// urlaubstage = CalculateUrlaubstage((DateTime)ViewModel.LastContract.EntryDate, null, arbeitstage, restlicheTageImJahr, urlaubstage);
// }
// else // Wenn Ende des Vertrags im gleichen Jahr vor Ende des Jahres ist
// {
// int restlicheTageImJahr = Convert.ToInt32((ViewModel.LastContract.ContractEndDate.Value.Date - ViewModel.LastContract.EntryDate.Value.Date).TotalDays);
// urlaubstage = CalculateUrlaubstage((DateTime)ViewModel.LastContract.EntryDate, ViewModel.LastContract.ContractEndDate.Value.Date, arbeitstage, restlicheTageImJahr, urlaubstage);
// }
// // // Urlaubskonto: Verbleibende Tage hier auf Urlaubstage setzen..
// //}
// }
// else // Beschäftigungsart sind keine festen Urlaubstage zugeordnet
// }
// else // Beschäftigungsart sind keine festen Urlaubstage zugeordnet
// {
// int arbeitstage = ViewModel.LastContract.WeeklyDays != null ? (int)ViewModel.LastContract.WeeklyDays : 0;
// decimal? urlaubstage = ViewModel.LastContract.LeaveDays;
// if (ViewModel.LastContract.ContractEndDate.Value.Date >= new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31))
// {
// ViewModel.LastContract.LeaveDays = ViewModel.LastContract.EmploymentType.LeaveDays;
// }
// int restlicheTageImJahr = Convert.ToInt32((new DateTime(ViewModel.LastContract.EntryDate.Value.Year, 12, 31) - ViewModel.LastContract.EntryDate.Value.Date).TotalDays);
// urlaubstage = CalculateUrlaubstage((DateTime)ViewModel.LastContract.EntryDate, null, arbeitstage, restlicheTageImJahr, urlaubstage);
// }
// else // Wenn Ende des Vertrags im gleichen Jahr vor Ende des Jahres ist
// {
// int restlicheTageImJahr = Convert.ToInt32((ViewModel.LastContract.ContractEndDate.Value.Date - ViewModel.LastContract.EntryDate.Value.Date).TotalDays);
// urlaubstage = CalculateUrlaubstage((DateTime)ViewModel.LastContract.EntryDate, ViewModel.LastContract.ContractEndDate.Value.Date, arbeitstage, restlicheTageImJahr, urlaubstage);
// }
// // Urlaubskonto: Verbleibende Tage hier auf Urlaubstage setzen..
// }
//}
if(ViewModel.IsNew)
if (ViewModel.IsNew)
{
IsDoneWithInsertOrUpdate = false;
ServiceFacade.DoEmployeeServiceAsync(s => s.InsertNewEmployee(lDataContract), ReloadViewModel);
@@ -311,9 +327,9 @@ namespace BeWo.View.Detail
}
}
private decimal CalculateUrlaubstage(DateTime entryDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstage)
private decimal CalculateUrlaubstage(DateTime entryDate, DateTime? endDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstage)
{
return ServiceFacade.DoEmployeeServiceSync(s => s.CalculateUrlaubstage(entryDate, anzahlArbeitstage, restlicheTageImJahr, urlaubstage));
return ServiceFacade.DoEmployeeServiceSync(s => s.CalculateUrlaubstage(entryDate, endDate, anzahlArbeitstage, restlicheTageImJahr, urlaubstage));
//return 0;
}
private bool ValidateContracts()

View File

@@ -648,6 +648,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbwMuenster", "ReportImp\Ab
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProIntegra", "ReportImp\ProIntegra\ProIntegra.csproj", "{7FCD3132-1656-4051-B4D8-650DEB349A61}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AmbulantBetreutesWohnenAstridPulm", "ReportImp\AmbulantBetreutesWohnenAstridPulm\AmbulantBetreutesWohnenAstridPulm.csproj", "{6AB16005-E552-4619-9E55-D752FCCAC3B0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -7807,6 +7809,30 @@ Global
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|x86.ActiveCfg = Release|Any CPU
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|x86.Build.0 = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|.NET.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|.NET.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|x86.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Debug|x86.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|.NET.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|x86.ActiveCfg = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.DebugRemote|x86.Build.0 = Debug|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|.NET.ActiveCfg = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|.NET.Build.0 = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|Any CPU.Build.0 = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|x86.ActiveCfg = Release|Any CPU
{6AB16005-E552-4619-9E55-D752FCCAC3B0}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -8129,6 +8155,7 @@ Global
{047F72F1-C8C7-4BBE-95EF-C98167D9229D} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{78CEF27A-E950-41B0-B0FD-2930D2873CE7} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{7FCD3132-1656-4051-B4D8-650DEB349A61} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{6AB16005-E552-4619-9E55-D752FCCAC3B0} = {D8A691C5-146D-4613-86CC-438F02FE9106}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}

View File

@@ -93,9 +93,9 @@ namespace BeWo.Report.DefaultReports
if(cell.Index <= DateTime.DaysInMonth(Year, Month))
{
DateTime date = new DateTime(Year, Month, cell.Index);
if (date.DayOfWeek == DayOfWeek.Sunday)
if (date.DayOfWeek == DayOfWeek.Sunday || date.DayOfWeek == DayOfWeek.Saturday)
cell.BackColor = Color.LightGray;
else if (Feiertage != null)
if (Feiertage != null)
{
if (Feiertage.Contains(date.Day))
cell.BackColor = Color.LightPink;

View File

@@ -105,12 +105,21 @@
</ItemGroup>
<ItemGroup>
<Compile Include="BWARMitarbeiterstundenkontoBerechnung.cs" />
<Compile Include="Rechnung.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Rechnung.Designer.cs">
<DependentUpon>Rechnung.cs</DependentUpon>
</Compile>
<Compile Include="InvoiceCustomerReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="InvoiceCustomerReport.Designer.cs">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
</Compile>
<Compile Include="Invoicing\AssistenzInvoiceCreation.cs" />
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
<Compile Include="Mitarbeiterstundenkonto.cs">
<SubType>Component</SubType>
</Compile>
@@ -150,6 +159,10 @@
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Rechnung.resx">
<DependentUpon>Rechnung.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="InvoiceCustomerReport.resx">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
<SubType>Designer</SubType>

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.Invoicing;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Services;
namespace BetreutesWohnenAmRheinReports.Invoicing
{
public class CustomAssistenzInvoiceCreation : InvoiceCreation
{
public override void SetInvoiceId(ServiceInvoice invoice)
{
invoice.InvoiceBase.InvoiceId = "Assistenz";
invoice.InvoiceBase.InvoiceTypeText = "Assistenzleistung";
}
public override void SetAmountAdvancePayments(ServiceInvoice invoice)
{
//do nothing
}
public override void SetAmountEquityContribution(ServiceInvoice invoice)
{
//do nothing
}
public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc)
{
if (!iServiceRecord.ServiceDescription.CategoryName.Contains("Assistenz"))
{
return null;
}
return base.CreateInvoiceItem(iServiceRecord, scap, calc);
}
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
Calculations calc, bool summaryPerMonth, bool addRateFactorToUnitCount)
{
return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, true);
}
}
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using BeWo.Service.Invoicing;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
namespace BetreutesWohnenAmRheinReports.Invoicing
{
public class CustomInvoiceFactory : InvoiceFactory
{
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
{
foreach (var list in supportConcepts2ServiceRecords.Values)
{
foreach (var sr in list)
{
var sd = sr.ServiceDescription.Category;
var ic = GetInvoiceCreatorForCategory(sd);
if (ic != null)
return ic;
}
}
return base.CreateInvoiceCreator(specificId, tenant, supportConcepts2ServiceRecords);
}
private InvoiceCreation GetInvoiceCreatorForCategory(ServiceCategoryDC sd)
{
if (sd != null && !String.IsNullOrEmpty(sd.Name))
{
String cat = sd.Name.ToLower().Trim();
if (cat.IndexOf("assistenz") >= 0)
{
return new CustomAssistenzInvoiceCreation();
}
}
return null;
}
}
}

View File

@@ -0,0 +1,62 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
using BeWo.Service.Invoicing;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using BS.Shared.Services;
namespace BetreutesWohnenAmRheinReports.Invoicing
{
public class CustomSettlementInvoiceCreation : SettlementInvoiceCreation
{
public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s)
{
var relDC = c2s.MapToNewDC();
DateTime start = si.AccountingPeriodStart.Value.Date;
DateTime end = si.AccountingPeriodEnd.Value.Date;
if (c2s.SupportConcept.Customer.TerminationDate.HasValue &&
c2s.SupportConcept.Customer.TerminationDate.Value < end)
{
end = c2s.SupportConcept.Customer.TerminationDate.Value;
}
if (end > DateTime.Now)
{
var srList = c2s.ServiceRecords;
var max = srList.Max(s => s.End);
if (max.HasValue && max < end)
{
end = max.Value;
}
}
var hourlyRatesInSpanList = relDC.CostBearer.CostRatePeriods.GetSpans(CostRatePeriodType.HourlyRate, start, end).ToList();
if (hourlyRatesInSpanList.Count > 3)
return false;
var factorInSpanList = relDC.CostBearer.CostRatePeriods.GetSpans(CostRatePeriodType.RateFactor, start, end).ToList();
if (factorInSpanList.Count > 1)
return false;
return true;
}
public override bool IsServiceRecordBillable(ServiceRecord iRecord)
{
if (iRecord.ServiceDescription.ServiceCategory.Name.Contains("Assistenz"))
{
return false;
}
return true;
}
}
}

View File

@@ -0,0 +1,639 @@
using BeWo.Report.ReportObjects;
namespace BeWo.BetreutesWohnenAmRheinReports
{
partial class Rechnung
{
/// <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);
}
#region Designer generated code
/// <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(Rechnung));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).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;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable1.SizeF = new System.Drawing.SizeF(666.9976F, 25F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.xrTableCell7,
this.xrTableCell9,
this.xrTableCell14,
this.xrTableCell10,
this.xrTableCell12});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 1D;
//
// xrTableCell6
//
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.AccountingPeriodStart", "{0:dd.MM.yyyy}")});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell6.Weight = 1D;
//
// xrTableCell7
//
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.AccountingPeriodEnd", "{0:dd.MM.yyyy}")});
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell7.StylePriority.UseBorders = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell7.Weight = 1D;
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.ServiceDescription")});
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "xrTableCell9";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell9.Weight = 2.4035392027126012D;
//
// xrTableCell14
//
this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.HourlyRate", "{0:c}")});
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell14.StylePriority.UseBorders = false;
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell14.Weight = 0.79187219021072119D;
//
// xrTableCell10
//
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.UnitCount", "{0:0.##}")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell10.StylePriority.UseBorders = false;
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell10.Weight = 0.60573861702003251D;
//
// xrTableCell12
//
this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.NetAmount", "{0:c}")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
this.xrTableCell12.StylePriority.UseBorders = false;
this.xrTableCell12.StylePriority.UsePadding = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell12.Weight = 0.97034822156309952D;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1,
this.xrRichText1,
this.xrLabel1,
this.lblAdresse,
this.xrTable3,
this.xrLabel6,
this.xrLabel5,
this.xrLabel4,
this.xrLabel3,
this.xrLabel2});
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
this.ReportHeader.HeightF = 579.9999F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(513.9999F, 0F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(200F, 142F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrRichText1
//
this.xrRichText1.Font = new System.Drawing.Font("Verdana", 10F);
this.xrRichText1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(116)))), ((int)(((byte)(4)))));
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(476.0401F, 164F);
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(216.5F, 213F);
this.xrRichText1.StylePriority.UseFont = false;
this.xrRichText1.StylePriority.UseForeColor = false;
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(514F, 383F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(178.54F, 17F);
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "xrLabel1";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// lblAdresse
//
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 183F);
this.lblAdresse.Multiline = true;
this.lblAdresse.Name = "lblAdresse";
this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblAdresse.SizeF = new System.Drawing.SizeF(387.8333F, 131F);
this.lblAdresse.StylePriority.UseFont = false;
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 554.9999F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable3.SizeF = new System.Drawing.SizeF(666.9976F, 25F);
this.xrTable3.StylePriority.UseFont = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15,
this.xrTableCell16,
this.xrTableCell17,
this.xrTableCell18,
this.xrTableCell19,
this.xrTableCell20});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell15
//
this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell15.StylePriority.UseBorders = false;
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Text = "Von";
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell15.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell16.StylePriority.UseBorders = false;
this.xrTableCell16.StylePriority.UsePadding = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "Bis";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 1D;
//
// xrTableCell17
//
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.Text = "Posten";
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell17.Weight = 2.4035382732502888D;
//
// xrTableCell18
//
this.xrTableCell18.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell18.StylePriority.UseBorders = false;
this.xrTableCell18.StylePriority.UsePadding = false;
this.xrTableCell18.StylePriority.UseTextAlignment = false;
this.xrTableCell18.Text = "Satz";
this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell18.Weight = 0.79187219021069233D;
//
// xrTableCell19
//
this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.StylePriority.UsePadding = false;
this.xrTableCell19.StylePriority.UseTextAlignment = false;
this.xrTableCell19.Text = "Anzahl";
this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell19.Weight = 0.6057395464823736D;
//
// xrTableCell20
//
this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell20.StylePriority.UseBorders = false;
this.xrTableCell20.StylePriority.UsePadding = false;
this.xrTableCell20.StylePriority.UseTextAlignment = false;
this.xrTableCell20.Text = "Betrag";
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell20.Weight = 0.97034760192150038D;
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 508F);
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(666.9999F, 23.25F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.Text = "Für den Betreuungszeitraum [AccountingPeriod] berechnen wir folgende Leistungen :" +
"\r\n";
//
// xrLabel5
//
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 475F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(581.4177F, 17.00003F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = "Sehr geehrte Damen und Herren,";
//
// xrLabel4
//
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
this.xrLabel4.CanShrink = true;
this.xrLabel4.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 417F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(650F, 17F);
this.xrLabel4.StylePriority.UseBackColor = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "Aktenzeichen: [CustomerReferenceNumber]";
this.xrLabel4.WordWrap = false;
//
// xrLabel3
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.CanShrink = true;
this.xrLabel3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 400F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "Abrechnung über Betreuungsleistungen";
this.xrLabel3.WordWrap = false;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.CanShrink = true;
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 383F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(497.9167F, 17F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]";
this.xrLabel2.WordWrap = false;
//
// ruleRateFactorNull
//
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel8,
this.xrLabel10,
this.xrLabel12,
this.lblNotice,
this.xrTable4});
this.ReportFooter.Font = new System.Drawing.Font("Verdana", 10F);
this.ReportFooter.HeightF = 247.5417F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel8
//
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 75F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(677F, 18.04168F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.Text = "[Notice]";
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 155.5417F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen";
//
// xrLabel12
//
this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 230.5417F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(292F, 17.00002F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "[CreatorFirstName] [CreatorLastName]";
//
// lblNotice
//
this.lblNotice.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Italic);
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 46.54166F);
this.lblNotice.Name = "lblNotice";
this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 17F);
this.lblNotice.StylePriority.UseFont = false;
this.lblNotice.Text = "Abschließende Bemerkungen:";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(571.4175F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable4.SizeF = new System.Drawing.SizeF(95.58F, 25F);
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 1D;
//
// xrTableCell23
//
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell23.BorderWidth = 2F;
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim")});
this.xrTableCell23.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
this.xrTableCell23.StylePriority.UseBorders = false;
this.xrTableCell23.StylePriority.UseBorderWidth = false;
this.xrTableCell23.StylePriority.UseFont = false;
this.xrTableCell23.StylePriority.UsePadding = false;
this.xrTableCell23.StylePriority.UseTextAlignment = false;
this.xrTableCell23.Text = "[TotalClaim]";
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell23.Weight = 3.3504577868335117D;
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 20F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 50F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// DetailReport1
//
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail2,
this.DetailReport2});
this.DetailReport1.DataMember = "ServiceInvoicePeriods";
this.DetailReport1.DataSource = this.bindingSource1;
this.DetailReport1.Level = 0;
this.DetailReport1.Name = "DetailReport1";
//
// Detail2
//
this.Detail2.HeightF = 0F;
this.Detail2.Name = "Detail2";
//
// DetailReport2
//
this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail3});
this.DetailReport2.DataMember = "ServiceInvoicePeriods.ServiceInvoiceItems";
this.DetailReport2.DataSource = this.bindingSource1;
this.DetailReport2.Level = 0;
this.DetailReport2.Name = "DetailReport2";
//
// Detail3
//
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.Detail3.Font = new System.Drawing.Font("Verdana", 9.75F);
this.Detail3.HeightF = 25F;
this.Detail3.Name = "Detail3";
this.Detail3.StylePriority.UseFont = false;
//
// Rechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader,
this.ReportFooter,
this.topMarginBand1,
this.bottomMarginBand1,
this.DetailReport1});
this.DataSource = this.bindingSource1;
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new System.Drawing.Printing.Margins(75, 38, 20, 50);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel lblNotice;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRTable xrTable4;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
private DevExpress.XtraReports.UI.DetailBand Detail2;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
private DevExpress.XtraReports.UI.DetailBand Detail3;
}
}

View File

@@ -0,0 +1,91 @@
using System;
using System.Text;
using BeWo.Report;
using BeWo.Report.ReportObjects;
namespace BeWo.BetreutesWohnenAmRheinReports
{
public partial class Rechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServiceInvoiceRO>
{
public Rechnung()
{
InitializeComponent();
}
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
if (!String.IsNullOrEmpty(pRO.Notice))
{
lblNotice.Visible = false;
}
StringBuilder sb = new StringBuilder();
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation))
{
sb.AppendLine(pRO.RecipientOrganisation);
}
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
{
sb.AppendLine(pRO.RecipientContactPerson);
}
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
{
sb.AppendLine(pRO.RecipientDivision);
}
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
{
sb.AppendLine(pRO.RecipientStreet);
}
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
{
sb.AppendLine(pRO.RecipientPostCodeAndTown);
}
lblAdresse.Text = sb.ToString();
decimal hourlyRate = 0;
decimal rateFactor = 1;
decimal hours = 0;
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0)
{
foreach (var p in pRO.ServiceInvoicePeriods)
{
if (p.ServiceInvoiceItems != null && p.ServiceInvoiceItems.Count > 0)
{
foreach (var i in p.ServiceInvoiceItems)
{
if (i.HourlyRate.HasValue)
{
hourlyRate = i.HourlyRate.Value;
if (!String.IsNullOrEmpty(i.RateFactor))
{
var rfStr = i.RateFactor.Replace("%", "").Replace(",00", "").Trim();
int rfInt = 0;
Int32.TryParse(rfStr, out rfInt);
rateFactor = (100m + rfInt) / 100m;
}
}
if (i.Hours.HasValue)
hours += i.Hours.Value;
}
}
}
}
hours *= rateFactor;
if (!String.IsNullOrEmpty(pRO.CustomerSalutation) && pRO.CustomerSalutation.ToLower() == "herr")
pRO.CustomerSalutation = "Herrn";
this.bindingSource1.DataSource = pRO;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -46,6 +46,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellTelefon = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.lblBewilligtEinheit = new DevExpress.XtraReports.UI.XRLabel();
@@ -81,7 +82,6 @@ namespace BewegtSystemischeBeratung
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -266,6 +266,10 @@ namespace BewegtSystemischeBeratung
this.GroupHeader1.Name = "GroupHeader1";
this.GroupHeader1.RepeatEveryPage = true;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -311,7 +315,7 @@ namespace BewegtSystemischeBeratung
this.lblBewilligtEinheit.Multiline = true;
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(72.91666F, 25F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(168.75F, 25F);
this.lblBewilligtEinheit.StylePriority.UseFont = false;
this.lblBewilligtEinheit.StylePriority.UseTextAlignment = false;
this.lblBewilligtEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -658,10 +662,6 @@ namespace BewegtSystemischeBeratung
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldGruppe.Name = "fieldGruppe";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// Leistungsnachweis
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {

View File

@@ -9,6 +9,7 @@ using BeWo.Report.ReportObjects;
using BeWo.Report;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using BewegtSystemischeBeratung.Invoicing;
using BeWo.Service.DCEntityMapper;
@@ -81,40 +82,76 @@ namespace BewegtSystemischeBeratung
}
}
List<ServicesOverviewRO.ServiceDetail> alleFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
List<ServicesOverviewRO.ServiceDetail> fahrzeitenOhneFls = new List<ServicesOverviewRO.ServiceDetail>();
List<ServicesOverviewRO.ServiceDetail> alleNichtFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
Dictionary<int, ServicesOverviewRO.ServiceDetail> tag2Detail = new Dictionary<int, ServicesOverviewRO.ServiceDetail>();
List<ServicesOverviewRO.ServiceDetail> services = new List<ServicesOverviewRO.ServiceDetail>();
foreach (ServicesOverviewRO.ServiceDetail s in servicesBillable)
{
if (!s.ServiceDescription.Contains("Fahr"))
{
services.Add(s);
if (!tag2Detail.ContainsKey(s.StartDate.Day))
{
tag2Detail.Add(s.StartDate.Day, s);
}
}
}
foreach (ServicesOverviewRO.ServiceDetail s in servicesBillable)
{
if (s.ServiceDescription.Contains("Fahr"))
{
if (tag2Detail.ContainsKey(s.StartDate.Day))
{
tag2Detail[s.StartDate.Day].Notice5 = s.Notice5;
}
else
{
services.Add(s);
}
alleFahrzeiten.Add(s);
}
else
{
alleNichtFahrzeiten.Add(s);
}
}
pRO.Services = services;
foreach (var sdFahr in alleFahrzeiten)
{
List<ServicesOverviewRO.ServiceDetail> alleFahrzeitenAmTag = new List<ServicesOverviewRO.ServiceDetail>();
foreach (var sdFls in alleNichtFahrzeiten)
{
if (sdFls.StartDate.Date == sdFahr.StartDate.Date && String.IsNullOrEmpty(sdFls.Notice5))
{
alleFahrzeitenAmTag.Add(sdFls);
}
}
if (alleFahrzeitenAmTag.Count > 0)
{
ServicesOverviewRO.ServiceDetail sdFlsAmTag = null;
foreach (var sd in alleFahrzeitenAmTag)
{
if (sd.StartDate > sdFahr.StartDate && sdFlsAmTag == null)
{
sdFlsAmTag = sd;
}
}
if (sdFlsAmTag == null)
{
sdFlsAmTag = alleFahrzeitenAmTag[0];
}
if (sdFlsAmTag != null)
{
sdFlsAmTag.Notice5 = String.Format("{0:0.00}", sdFahr.Minutes / 60);
}
}
else
{
fahrzeitenOhneFls.Add(sdFahr);
}
}
foreach (var sd in fahrzeitenOhneFls)
{
services.Add(sd);
}
foreach (var sd in alleNichtFahrzeiten)
{
services.Add(sd);
}
pRO.Services = services.OrderBy(s => s.StartDate).ToList();
}

View File

@@ -48,6 +48,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellTelefon = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.lblBewilligtEinheit = new DevExpress.XtraReports.UI.XRLabel();
@@ -83,7 +84,7 @@ namespace BewegtSystemischeBeratung
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -123,7 +124,8 @@ namespace BewegtSystemischeBeratung
this.xrTableCell10,
this.xrTableCell6,
this.xrTableCell8,
this.xrTableCell4});
this.xrTableCell4,
this.xrTableCell2});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow2.StylePriority.UseTextAlignment = false;
@@ -169,7 +171,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Leistung";
this.xrTableCell4.Weight = 1.0242085557017784D;
this.xrTableCell4.Weight = 0.780349376142226D;
//
// DetailReport
//
@@ -286,6 +288,10 @@ namespace BewegtSystemischeBeratung
this.GroupHeader1.Name = "GroupHeader1";
this.GroupHeader1.RepeatEveryPage = true;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -331,7 +337,7 @@ namespace BewegtSystemischeBeratung
this.lblBewilligtEinheit.Multiline = true;
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(72.91666F, 25F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(195.8334F, 25F);
this.lblBewilligtEinheit.StylePriority.UseFont = false;
this.lblBewilligtEinheit.StylePriority.UseTextAlignment = false;
this.lblBewilligtEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -678,9 +684,13 @@ namespace BewegtSystemischeBeratung
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldGruppe.Name = "fieldGruppe";
//
// bindingSource1
// xrTableCell2
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.Text = "xrTableCell2";
this.xrTableCell2.Weight = 0.24385918111121055D;
//
// LeistungsnachweisMitUhrzeit
//
@@ -771,5 +781,6 @@ namespace BewegtSystemischeBeratung
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.XRLabel lblBewilligtEinheit;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
}
}

View File

@@ -9,6 +9,7 @@ using BeWo.Report.ReportObjects;
using BeWo.Report;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using BewegtSystemischeBeratung.Invoicing;
using BeWo.Service.DCEntityMapper;
@@ -114,7 +115,7 @@ namespace BewegtSystemischeBeratung
}
}
pRO.Services = services;
pRO.Services = services.OrderBy(s => s.StartDate).ToList();
}

View File

@@ -372,7 +372,7 @@ namespace BewegtSystemischeBeratung
this.lblBewilligtEinheit.Multiline = true;
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(72.91666F, 25F);
this.lblBewilligtEinheit.SizeF = new System.Drawing.SizeF(224.3056F, 25F);
this.lblBewilligtEinheit.StylePriority.UseFont = false;
this.lblBewilligtEinheit.StylePriority.UseTextAlignment = false;
this.lblBewilligtEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;

View File

@@ -208,8 +208,8 @@ namespace BewegtSystemischeBeratung
this.xrLabel2.StylePriority.UseBorders = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Rechnungsnummer: [InvoiceNumber] (bei Zahlung unbedingt angeben)\r\nGeschäftszeiche" +
"n: [CustomerReferenceNumber]";
this.xrLabel2.Text = "Rechnungsnummer: [InvoiceNumber] (bei Zahlung unbedingt angeben)\r\nAktenzeichen: [" +
"CustomerReferenceNumber]";
//
// xrLabel1
//
@@ -593,7 +593,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell44.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.HourlyRate", "{0:0.00}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.HourlyRate", "{0:c}")});
this.xrTableCell44.Name = "xrTableCell44";
this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell44.StylePriority.UseBorderColor = false;
@@ -608,7 +608,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell45.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.NetAmount", "{0:0.00}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.NetAmount", "{0:c}")});
this.xrTableCell45.Name = "xrTableCell45";
this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrTableCell45.StylePriority.UseBorderColor = false;
@@ -633,7 +633,7 @@ namespace BewegtSystemischeBeratung
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable1.SizeF = new System.Drawing.SizeF(680F, 30F);
this.xrTable1.SizeF = new System.Drawing.SizeF(680F, 25F);
this.xrTable1.StylePriority.UseBorderColor = false;
//
// xrTableRow2
@@ -642,7 +642,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell6,
this.xrTableCell10});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1.2D;
this.xrTableRow2.Weight = 1D;
//
// xrTableCell6
//
@@ -654,6 +654,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Gesamtbetrag";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell6.Weight = 1.9497783312275783D;
//
// xrTableCell10
@@ -668,7 +669,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell10.StylePriority.UseForeColor = false;
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell10.Weight = 1.0635154686101911D;
//
// xrLabel6

View File

@@ -18,7 +18,7 @@ namespace BewegtSystemischeBeratung
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
pRO.GrossClaim = pRO.GrossClaim.Replace("€", "").Trim();
//pRO.GrossClaim = pRO.GrossClaim.Replace("€", "").Trim();
StringBuilder sb = new StringBuilder();
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation))

View File

@@ -60,6 +60,7 @@
</Compile>
<Compile Include="MitarbeiterstundenkontoBerechnung.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Service\CustomCustomerService.cs" />
<Compile Include="Statistics\FizHofServiceRecordStatisticFactory.cs" />
<Compile Include="Teamstundenkonto.cs">
<SubType>Component</SubType>
@@ -91,6 +92,7 @@
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Teamstundenkonto.resx">
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -0,0 +1,82 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.Plugins;
using BS.Shared;
using BS.Shared.DataContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace FizHof.Service
{
public class CustomCustomerService : CustomerService
{
public override long InsertNewCustomer(CustomerDC pCustomerDc)
{
var cOid = base.InsertNewCustomer(pCustomerDc);
// HIERACHIE LEVEL - 1 -
var folder_01 = CreateBeWoFolder("Gesundheit", cOid, null);
var folder_02 = CreateBeWoFolder("Rechtl. Betreuung", cOid, null);
var folder_03 = CreateBeWoFolder("Justiz (außer rechtl. Betreuung)", cOid, null);
var folder_04 = CreateBeWoFolder("Leistungsträger", cOid, null);
var folder_05 = CreateBeWoFolder("Wohnen", cOid, null);
var folder_06 = CreateBeWoFolder("Bank", cOid, null);
var folder_07 = CreateBeWoFolder("Einkommen (außer Arbeit)", cOid, null);
var folder_08 = CreateBeWoFolder("Arbeit", cOid, null);
var folder_09 = CreateBeWoFolder("Familie", cOid, null);
var folder_10 = CreateBeWoFolder("Sonstiges", cOid, null);
return cOid;
}
private BeWoFolder CreateBeWoFolder(string name, long? cOid, long? parentOid)
{
BeWoFolder f = new BeWoFolder();
f.Name = name;
f.ObjectOid = cOid;
f.ObjectTid = TableID.Customer;
f.ParentBeWoFolderOid = parentOid;
DAOFactory.GenericDAO.Insert(f);
return f;
}
private void CreateSubFolder(string[] vs, BeWoFolder folder)
{
foreach (var foldername in vs)
{
CreateBeWoFolder(foldername, folder.ObjectOid, folder.ParentBeWoFolderOid);
}
}
private void SaveHierarchie(List<Folder> folderList, long cOid, long? parentOid)
{
foreach (var item in folderList)
{
var f = CreateBeWoFolder(item.Name, cOid, parentOid);
SaveHierarchie(item.Subfolder, cOid, f.Oid);
}
}
}
public class Folder
{
public Folder(String name)
{
Name = name;
Subfolder = new List<Folder>();
}
public String Name { get; set; }
public List<Folder> Subfolder { get; set; }
}
}

View File

@@ -255,7 +255,11 @@ namespace Humanitas
{
if (c2si.Oid != c2s.Oid && c2si.CostBearer.Oid == c2s.CostBearer.Oid)
{
if (c2si.EndDate.HasValue && c2si.EndDate.Value == thisDate.AddDays(-1))
if (thisDate > DateTime.MinValue)
{
thisDate = thisDate.AddDays(-1);
}
if (c2si.EndDate.HasValue && c2si.EndDate.Value == thisDate)
{
return false;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,617 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BS.Shared;
using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
namespace LebenshilfeFrankfurtOder
{
public partial class AnwesenheitFerien : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<AdditionalServiceBookingRO>
{
public AnwesenheitFerien()
{
InitializeComponent();
}
//public void SetReportDataSource(AdditionalServiceBookingRO pRO)
//{
// if (customerOids != null)
// {
// List<AdditionalServiceBookingRow> newRows = new List<AdditionalServiceBookingRow>();
// var rows = pRO.Rows;
// foreach (var row in rows)
// {
// if (row.CustomerDC != null && customerOids.Contains(row.CustomerDC.Oid.Value))
// {
// newRows.Add(row);
// }
// }
// pRO.Rows = newRows;
// }
// SetReportDataSource(pRO);
//}
public void SetReportDataSource(AdditionalServiceBookingRO pRO)
{
SetCellColor(pRO);
var qro = CreatAnwesenheitRo(pRO);
//<= 3 Abwesenheit = voller Tagessatz, ab 4 TAge gesamte Abwesenheit mit geringeren Kostensatz abrechnen
bindingSource1.DataSource = qro;
}
private void SetCellColor(AdditionalServiceBookingRO pRo)
{
DateTime dt = new DateTime(pRo.Year, pRo.MonthInt, 1);
DateTime end = dt.AddMonths(1);
while (dt < end)
{
if (dt.DayOfWeek == DayOfWeek.Saturday || dt.DayOfWeek == DayOfWeek.Sunday)
{
rowHeader.Cells[dt.Day].BackColor = Color.DarkGray;
rowDetail.Cells[dt.Day].BackColor = Color.DarkGray;
}
dt = dt.AddDays(1);
}
}
private AnwesenheitRO CreatAnwesenheitRo(AdditionalServiceBookingRO pRo)
{
AnwesenheitRO newRo = new AnwesenheitRO();
newRo.Rows = new List<AnwesenheitCustomerRO>();
newRo.Datum = new DateTime(pRo.Year, pRo.MonthInt, 1);
Dictionary<int, int> countDict = new Dictionary<int, int>();
foreach (var row in pRo.Rows)
{
var cRo = CreateAnwesenheitCustomerRo(newRo.Datum, row, countDict);
newRo.Rows.Add(cRo);
//long cb2scOid = (long)row.;
//var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(cb2scOid);
//if ((!cb2sc.StartDate.HasValue || cb2sc.StartDate.Value < newRo.Datum.AddMonths(1)) &&
// (!cb2sc.EndDate.HasValue || cb2sc.EndDate.Value >= newRo.Datum))
//{
// var cRo = CreateAnwesenheitCustomerRo(newRo.Datum, cb2sc);
// newRo.Rows.Add(cRo);
//}
}
SetzeSummen(newRo.Datum, countDict);
return newRo;
}
private void SetzeSummen(DateTime monat, Dictionary<int, int> countDict)
{
DateTime dt = monat;
DateTime end = monat.AddMonths(1);
while (dt < end)
{
String summe = "";
if (countDict.ContainsKey(dt.Day) && countDict[dt.Day] > 0)
{
summe = String.Format("{0}", countDict[dt.Day]);
}
if (dt.Day == 1)
{
cellSumme1.Text = summe;
}
else if (dt.Day == 2)
{
cellSumme2.Text = summe;
}
else if (dt.Day == 3)
{
cellSumme3.Text = summe;
}
else if (dt.Day == 4)
{
cellSumme4.Text = summe;
}
else if (dt.Day == 5)
{
cellSumme5.Text = summe;
}
else if (dt.Day == 6)
{
cellSumme6.Text = summe;
}
else if (dt.Day == 7)
{
cellSumme7.Text = summe;
}
else if (dt.Day == 8)
{
cellSumme8.Text = summe;
}
else if (dt.Day == 9)
{
cellSumme9.Text = summe;
}
else if (dt.Day == 10)
{
cellSumme10.Text = summe;
}
else if (dt.Day == 11)
{
cellSumme11.Text = summe;
}
else if (dt.Day == 12)
{
cellSumme12.Text = summe;
}
else if (dt.Day == 13)
{
cellSumme13.Text = summe;
}
else if (dt.Day == 14)
{
cellSumme14.Text = summe;
}
else if (dt.Day == 15)
{
cellSumme15.Text = summe;
}
else if (dt.Day == 16)
{
cellSumme16.Text = summe;
}
else if (dt.Day == 17)
{
cellSumme17.Text = summe;
}
else if (dt.Day == 18)
{
cellSumme18.Text = summe;
}
else if (dt.Day == 19)
{
cellSumme19.Text = summe;
}
else if (dt.Day == 20)
{
cellSumme20.Text = summe;
}
else if (dt.Day == 21)
{
cellSumme21.Text = summe;
}
else if (dt.Day == 22)
{
cellSumme22.Text = summe;
}
else if (dt.Day == 23)
{
cellSumme23.Text = summe;
}
else if (dt.Day == 24)
{
cellSumme24.Text = summe;
}
else if (dt.Day == 25)
{
cellSumme25.Text = summe;
}
else if (dt.Day == 26)
{
cellSumme26.Text = summe;
}
else if (dt.Day == 27)
{
cellSumme27.Text = summe;
}
else if (dt.Day == 28)
{
cellSumme28.Text = summe;
}
else if (dt.Day == 29)
{
cellSumme29.Text = summe;
}
else if (dt.Day == 30)
{
cellSumme30.Text = summe;
}
else if (dt.Day == 31)
{
cellSumme31.Text = summe;
}
dt = dt.AddDays(1);
}
}
private AnwesenheitCustomerRO CreateAnwesenheitCustomerRo(DateTime datum, AdditionalServiceBookingRow row, Dictionary<int, int> countDict)
{
AnwesenheitCustomerRO ro = new AnwesenheitCustomerRO();
ro.CustomerFirstname = row.CustomerDC.FirstName;
ro.CustomerLastname = row.CustomerDC.LastName;
InitRowAttendance(ro, row);
CalculateCountInfo(datum, ro, countDict);
return ro;
}
private void CalculateCountInfo(DateTime monat, AnwesenheitCustomerRO cRo, Dictionary<int, int> countDict)
{
DateTime dt = monat;
DateTime end = monat.AddMonths(1);
while (dt < end)
{
if (!countDict.ContainsKey(dt.Day))
{
countDict.Add(dt.Day, 0);
}
CalculateCountInfoForDay(dt, cRo, countDict);
dt = dt.AddDays(1);
}
}
private void CalculateCountInfoForDay(DateTime dt, AnwesenheitCustomerRO cRo, Dictionary<int, int> countDict)
{
if (dt.Day == 1)
{
CalculateCountInfoForDay(1, cRo.AttendanceOnDay1, countDict);
}
else if (dt.Day == 2)
{
CalculateCountInfoForDay(2, cRo.AttendanceOnDay2, countDict);
}
else if (dt.Day == 3)
{
CalculateCountInfoForDay(3, cRo.AttendanceOnDay3, countDict);
}
else if (dt.Day == 4)
{
CalculateCountInfoForDay(4, cRo.AttendanceOnDay4, countDict);
}
else if (dt.Day == 5)
{
CalculateCountInfoForDay(5, cRo.AttendanceOnDay5, countDict);
}
else if (dt.Day == 6)
{
CalculateCountInfoForDay(6, cRo.AttendanceOnDay6, countDict);
}
else if (dt.Day == 7)
{
CalculateCountInfoForDay(7, cRo.AttendanceOnDay7, countDict);
}
else if (dt.Day == 8)
{
CalculateCountInfoForDay(8, cRo.AttendanceOnDay8, countDict);
}
else if (dt.Day == 9)
{
CalculateCountInfoForDay(9, cRo.AttendanceOnDay9, countDict);
}
else if (dt.Day == 10)
{
CalculateCountInfoForDay(10, cRo.AttendanceOnDay10, countDict);
}
else if (dt.Day == 11)
{
CalculateCountInfoForDay(11, cRo.AttendanceOnDay11, countDict);
}
else if (dt.Day == 12)
{
CalculateCountInfoForDay(12, cRo.AttendanceOnDay12, countDict);
}
else if (dt.Day == 13)
{
CalculateCountInfoForDay(13, cRo.AttendanceOnDay13, countDict);
}
else if (dt.Day == 14)
{
CalculateCountInfoForDay(14, cRo.AttendanceOnDay14, countDict);
}
else if (dt.Day == 15)
{
CalculateCountInfoForDay(15, cRo.AttendanceOnDay15, countDict);
}
else if (dt.Day == 16)
{
CalculateCountInfoForDay(16, cRo.AttendanceOnDay16, countDict);
}
else if (dt.Day == 17)
{
CalculateCountInfoForDay(17, cRo.AttendanceOnDay17, countDict);
}
else if (dt.Day == 18)
{
CalculateCountInfoForDay(18, cRo.AttendanceOnDay18, countDict);
}
else if (dt.Day == 19)
{
CalculateCountInfoForDay(19, cRo.AttendanceOnDay19, countDict);
}
else if (dt.Day == 20)
{
CalculateCountInfoForDay(20, cRo.AttendanceOnDay20, countDict);
}
else if (dt.Day == 21)
{
CalculateCountInfoForDay(21, cRo.AttendanceOnDay21, countDict);
}
else if (dt.Day == 22)
{
CalculateCountInfoForDay(22, cRo.AttendanceOnDay22, countDict);
}
else if (dt.Day == 23)
{
CalculateCountInfoForDay(23, cRo.AttendanceOnDay23, countDict);
}
else if (dt.Day == 24)
{
CalculateCountInfoForDay(24, cRo.AttendanceOnDay24, countDict);
}
else if (dt.Day == 25)
{
CalculateCountInfoForDay(25, cRo.AttendanceOnDay25, countDict);
}
else if (dt.Day == 26)
{
CalculateCountInfoForDay(26, cRo.AttendanceOnDay26, countDict);
}
else if (dt.Day == 27)
{
CalculateCountInfoForDay(27, cRo.AttendanceOnDay27, countDict);
}
else if (dt.Day == 28)
{
CalculateCountInfoForDay(28, cRo.AttendanceOnDay28, countDict);
}
else if (dt.Day == 29)
{
CalculateCountInfoForDay(29, cRo.AttendanceOnDay29, countDict);
}
else if (dt.Day == 30)
{
CalculateCountInfoForDay(30, cRo.AttendanceOnDay30, countDict);
}
else if (dt.Day == 31)
{
CalculateCountInfoForDay(31, cRo.AttendanceOnDay31, countDict);
}
}
private void CalculateCountInfoForDay(int day, string attendanceOnDay, Dictionary<int, int> countDict)
{
if (attendanceOnDay == "x")
{
countDict[day]++;
}
}
private void InitRowAttendance(AnwesenheitCustomerRO row, AdditionalServiceBookingRow asRow)
{
row.AttendanceOnDay1 = GetInitValue(asRow.AttendanceOnDay1);
row.AttendanceOnDay2 = GetInitValue(asRow.AttendanceOnDay2);
row.AttendanceOnDay3 = GetInitValue(asRow.AttendanceOnDay3);
row.AttendanceOnDay4 = GetInitValue(asRow.AttendanceOnDay4);
row.AttendanceOnDay5 = GetInitValue(asRow.AttendanceOnDay5);
row.AttendanceOnDay6 = GetInitValue(asRow.AttendanceOnDay6);
row.AttendanceOnDay7 = GetInitValue(asRow.AttendanceOnDay7);
row.AttendanceOnDay8 = GetInitValue(asRow.AttendanceOnDay8);
row.AttendanceOnDay9 = GetInitValue(asRow.AttendanceOnDay9);
row.AttendanceOnDay10 = GetInitValue(asRow.AttendanceOnDay10);
row.AttendanceOnDay11 = GetInitValue(asRow.AttendanceOnDay11);
row.AttendanceOnDay12 = GetInitValue(asRow.AttendanceOnDay12);
row.AttendanceOnDay13 = GetInitValue(asRow.AttendanceOnDay13);
row.AttendanceOnDay14 = GetInitValue(asRow.AttendanceOnDay14);
row.AttendanceOnDay15 = GetInitValue(asRow.AttendanceOnDay15);
row.AttendanceOnDay16 = GetInitValue(asRow.AttendanceOnDay16);
row.AttendanceOnDay17 = GetInitValue(asRow.AttendanceOnDay17);
row.AttendanceOnDay18 = GetInitValue(asRow.AttendanceOnDay18);
row.AttendanceOnDay19 = GetInitValue(asRow.AttendanceOnDay19);
row.AttendanceOnDay20 = GetInitValue(asRow.AttendanceOnDay20);
row.AttendanceOnDay21 = GetInitValue(asRow.AttendanceOnDay21);
row.AttendanceOnDay22 = GetInitValue(asRow.AttendanceOnDay22);
row.AttendanceOnDay23 = GetInitValue(asRow.AttendanceOnDay23);
row.AttendanceOnDay24 = GetInitValue(asRow.AttendanceOnDay24);
row.AttendanceOnDay25 = GetInitValue(asRow.AttendanceOnDay25);
row.AttendanceOnDay26 = GetInitValue(asRow.AttendanceOnDay26);
row.AttendanceOnDay27 = GetInitValue(asRow.AttendanceOnDay27);
row.AttendanceOnDay28 = GetInitValue(asRow.AttendanceOnDay28);
row.AttendanceOnDay29 = GetInitValue(asRow.AttendanceOnDay29);
row.AttendanceOnDay30 = GetInitValue(asRow.AttendanceOnDay30);
row.AttendanceOnDay31 = GetInitValue(asRow.AttendanceOnDay31);
}
private string GetInitValue(string val)
{
if (val == "P")
{
return "x";
}
return val;
}
private void SetInfo(DateTime dt, AnwesenheitCustomerRO row, string val)
{
if (dt.Day == 1)
{
row.AttendanceOnDay1 = GetNewCellValue(val, row.AttendanceOnDay1);
}
else if (dt.Day == 2)
{
row.AttendanceOnDay2 = val;
}
else if (dt.Day == 3)
{
row.AttendanceOnDay3 = val;
}
else if (dt.Day == 4)
{
row.AttendanceOnDay4 = val;
}
else if (dt.Day == 5)
{
row.AttendanceOnDay5 = val;
}
else if (dt.Day == 6)
{
row.AttendanceOnDay6 = val;
}
else if (dt.Day == 7)
{
row.AttendanceOnDay7 = val;
}
else if (dt.Day == 8)
{
row.AttendanceOnDay8 = val;
}
else if (dt.Day == 9)
{
row.AttendanceOnDay9 = val;
}
else if (dt.Day == 10)
{
row.AttendanceOnDay10 = val;
}
else if (dt.Day == 11)
{
row.AttendanceOnDay11 = val;
}
else if (dt.Day == 12)
{
row.AttendanceOnDay12 = val;
}
else if (dt.Day == 13)
{
row.AttendanceOnDay13 = val;
}
else if (dt.Day == 14)
{
row.AttendanceOnDay14 = val;
}
else if (dt.Day == 15)
{
row.AttendanceOnDay15 = val;
}
else if (dt.Day == 16)
{
row.AttendanceOnDay16 = val;
}
else if (dt.Day == 17)
{
row.AttendanceOnDay17 = val;
}
else if (dt.Day == 18)
{
row.AttendanceOnDay18 = val;
}
else if (dt.Day == 19)
{
row.AttendanceOnDay19 = val;
}
else if (dt.Day == 20)
{
row.AttendanceOnDay20 = val;
}
else if (dt.Day == 21)
{
row.AttendanceOnDay21 = val;
}
else if (dt.Day == 22)
{
row.AttendanceOnDay22 = val;
}
else if (dt.Day == 23)
{
row.AttendanceOnDay23 = val;
}
else if (dt.Day == 24)
{
row.AttendanceOnDay24 = val;
}
else if (dt.Day == 25)
{
row.AttendanceOnDay25 = val;
}
else if (dt.Day == 26)
{
row.AttendanceOnDay26 = val;
}
else if (dt.Day == 27)
{
row.AttendanceOnDay27 = val;
}
else if (dt.Day == 28)
{
row.AttendanceOnDay28 = val;
}
else if (dt.Day == 29)
{
row.AttendanceOnDay29 = val;
}
else if (dt.Day == 30)
{
row.AttendanceOnDay30 = val;
}
else if (dt.Day == 31)
{
row.AttendanceOnDay31 = val;
}
}
private string GetNewCellValue(string newval, string oldval)
{
//if (newval == "U")
//{
// if (oldval != "I")
// {
// return "AH";
// }
//}
//if (newval == "K")
//{
// if (oldval != "I")
// {
// return "AK";
// }
//}
return newval;
}
}
}

View File

@@ -0,0 +1,363 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAeQAAACPCAIAAACkiD+DAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAW
JQAAFiUBSVIk8AAANolJREFUeF7tXb9rHMnW/f4FJYYHjhxssPAiJ4INXuJkwaBIgQ0GRZMIDI6cGAyO
HNggcDSJQCAnSgQCRQp2waBokgXBbjKJQKBIieGl7zvn3Fs1rVFXd89Mz0hj34NoqqtuV92u0Zw5fetH
/9//AoFAIPDg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CZfqrF9XIWfrw/Hpn7GkJRAIPGisiKwzTr6NJWktSJ2V9UTzKm0qm9yqTMjtFNT2pTQ0m57R
ka5l2hJpZY2KJitfkDnYO7O3PrpbgUAg8LCxarI2XN98B2sfn49Bmrufz37/cErNu7X/7O2RCWeKYhwh
kCWBKZ+rMWvlSKRb9DnN8dg5BMuzKAWvUYkFsgdfzgaf/wQ7j8bXJ7E0PBAIrBvuh6xrARq1BHj84+EI
PA56HXz50wh9sPdt58vZ671vSD97fTT4fLYL/t07Oz2/BPkOj/96vXf27vAc137YH+FnAInr6+/j2Ko0
EAj8EHhAZB0IBAKBEoKsA4FAYA0QZB0IBAJrgCDrQCAQWAMEWQcCgcAaIMg6EAgEHjz+97//BwybjWVe
nf3EAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -141,7 +141,7 @@ namespace LebenshilfeFrankfurtOder
{
var cat = s.ServiceCategory.ToLower().Replace(" ", "");
if (cat.Contains("hortangebot"))
if (cat.Contains("hortangebot") && !s.ServiceDescription.Contains("Ferien"))
{
s.Notice = ro.CustomerName;
hortRo.Services.Add(s);
@@ -166,7 +166,7 @@ namespace LebenshilfeFrankfurtOder
ServicesOverviewRO verRo = CopyFromRO(ro);
ServicesOverviewRO abwRo = CopyFromRO(ro);
ServicesOverviewRO efhRo = CopyFromRO(ro);
ServicesOverviewRO hortRo = CopyFromRO(ro);
//ServicesOverviewRO hortRo = CopyFromRO(ro);
if (ro.Services != null)
{
@@ -261,11 +261,11 @@ namespace LebenshilfeFrankfurtOder
efhRo.Services.Add(s);
efhRo.Services.AddRange(newServices);
}
else if (cat.Contains("hortangebot"))
{
hortRo.Services.Add(s);
hortRo.Services.AddRange(newServices);
}
//else if (cat.Contains("hortangebot"))
//{
// hortRo.Services.Add(s);
// hortRo.Services.AddRange(newServices);
//}
}
}
@@ -275,7 +275,7 @@ namespace LebenshilfeFrankfurtOder
report = AddReportToReport(report, new LeistungsnachweisEntlastungsleistungen(), entRo);
report = AddReportToReport(report, new LeistungsnachweisAbw(), abwRo);
report = AddReportToReport(report, new AnwesenheitslisteSchulbegleitung(), efhRo);
report = AddReportToReport(report, new LeistungsnachweisHortbetreuung(), hortRo);
//report = AddReportToReport(report, new LeistungsnachweisHortbetreuung(), hortRo);
//report = AddReportToReport(report, eingliederungshilfe);
@@ -366,8 +366,12 @@ namespace LebenshilfeFrankfurtOder
report = new AnwesenheitWohnstaette();
}
else if (region.AdditionalService.Name.ToLower().Contains("ferien"))
{
report = new AnwesenheitFerien();
if (report == null)
}
if (report == null)
{
report = new AdditionalServiceBookingReport();
}
@@ -896,8 +900,25 @@ namespace LebenshilfeFrankfurtOder
seite1.Pages.AddRange(qb.Pages);
// Anhang Anwesenheitsliste Ferien aus "Ergänzende Dienste"
Monat monat;
Enum.TryParse(ro.AccountingPeriodStart.Month.ToString(), out monat);
var region = DAOFactory.GenericDAO.LoadByID<AdditionalServiceRegion>(22); //OID für Ferienbetreuung
var asbro = AdditionalServiceBookingRO.Create(region, monat, ro.AccountingPeriodStart.Year);
var anhang2 = new AnwesenheitFerien();
invoiceReport = seite1;
anhang2.SetReportDataSource(asbro);
anhang2.CreateDocument();
seite1.Pages.AddRange(anhang2.Pages);
invoiceReport = seite1;
}
else
@@ -1051,8 +1072,28 @@ namespace LebenshilfeFrankfurtOder
if (sd.ServiceRecordOid > 0)
{
var sr = DAOFactory.GenericDAO.LoadByID<ServiceRecord>(sd.ServiceRecordOid);
var srDc = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(sr);
sList.Add(srDc);
bool add = sr.CostBearer2SupportConceptOid == c2s.Oid;
if (ro.CostBearer2SupportConceptList.Count == 1)
{
add = true;
}
if (sd.ServiceCategory.Contains("Hortangebot"))
{
add = true;
}
if (add)
{
var srDc = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(sr);
sList.Add(srDc);
}
else
{
int tset = 0;
}
}
}
supportConcepts2ServiceRecords.Add(flatSc, sList);

View File

@@ -294,7 +294,7 @@ namespace LebenshilfeFrankfurtOder.Invoicing
{
return "11";
}
if (id == "RechnungFud" || id == "RechnungFudPrivat" || id == "RechnungEinzelfallhilfe" || id == "RechnungHort")
if (id == "RechnungFud" || id == "RechnungFudPrivat" || id == "RechnungEinzelfallhilfe" || id == "RechnungHort" || id == "RechnungHortPrivat")
{
return "22";
}

View File

@@ -24,6 +24,7 @@ namespace LebenshilfeFrankfurtOder.Invoicing
{
private Dictionary<String, decimal> category2Tagessatz = null;
private Dictionary<String, String> category2ServiceDescription = null;
private List<ServiceInvoice> privatRechnungen = null;
private String alleKlienten = "";
@@ -42,8 +43,9 @@ namespace LebenshilfeFrankfurtOder.Invoicing
var sortedScs = supportConcepts2ServiceRecords.Keys.OrderBy(s => !String.IsNullOrEmpty(s.Customer.DebitorNumber) ? s.Customer.DebitorNumber : "zzzzz").ToList();
privatRechnungen = null;
foreach (var sc in sortedScs)
foreach (var sc in sortedScs)
{
var serviceRecords = supportConcepts2ServiceRecords[sc];
@@ -51,7 +53,7 @@ namespace LebenshilfeFrankfurtOder.Invoicing
{
var costBearer = DAOFactory.GenericDAO.LoadByID<CostBearer>(sc.CostBearerList[0].CostBearerOid);
var privatRechnungen = CreatePrivatRechnungen(invoiceCounter, costBearer, invoicePeriod, sc, serviceRecords);
privatRechnungen = CreatePrivatRechnungen(invoiceCounter, costBearer, invoicePeriod, sc, serviceRecords);
if (privatRechnungen != null)
{
@@ -102,7 +104,7 @@ namespace LebenshilfeFrankfurtOder.Invoicing
{
if (eigenanteil > 0)
{
ServiceInvoice invoice = CreatePrivatRechnung(invoiceCounter, costBearer, invoicePeriod, sc, serviceRecords, eigenanteil);
ServiceInvoice invoice = CreatePrivatRechnung(invoiceCounter, costBearer, invoicePeriod, sc, c, eigenanteil);
if (invoice != null)
{
list.Add(invoice);
@@ -119,28 +121,48 @@ namespace LebenshilfeFrankfurtOder.Invoicing
return list;
}
private ServiceInvoice CreatePrivatRechnung(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC sc, List<ServiceRecordDC> serviceRecords, decimal eigenanteil)
private ServiceInvoice CreatePrivatRechnung(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC sc, Customer customer, decimal eigenanteil)
{
var invoice = base.CreateSingleInvoice(invoiceCounter, costBearer, invoicePeriod, sc, new List<ServiceRecordDC>());
invoice.InvoiceBase.InvoiceId = "RechnungHortPrivat";
if (invoice.InvoiceBase.CostBearer2SupportConcept != null)
if (customer.Person.InvoiceAddress != null)
{
var cust = invoice.InvoiceBase.CostBearer2SupportConcept.SupportConcept.Customer;
if (cust.Person.InvoiceAddress != null)
{
invoice.InvoiceBase.RecipientAddress = cust.Person.InvoiceAddress.CopyToNew();
}
else if (cust.Person.Address != null)
{
invoice.InvoiceBase.RecipientAddress = cust.Person.Address.CopyToNew();
}
invoice.InvoiceBase.RecipientPersonFirstName = cust.Person.FirstName;
invoice.InvoiceBase.RecipientPersonLastName = cust.Person.LastName;
invoice.InvoiceBase.RecipientAddress = customer.Person.InvoiceAddress.CopyToNew();
}
else if (customer.Person.Address != null)
{
invoice.InvoiceBase.RecipientAddress = customer.Person.Address.CopyToNew();
}
invoice.InvoiceBase.RecipientPersonFirstName = customer.Person.FirstName;
invoice.InvoiceBase.RecipientPersonLastName = customer.Person.LastName;
invoice.ServiceInvoicePeriodList = new List<ServiceInvoicePeriod>();
var sip = new ServiceInvoicePeriod
{
Start = invoicePeriod.StartDateTime,
End = invoicePeriod.EndDateTime
};
sip.Notice = customer.Person.FirstNameLastName;
var ii = new InvoiceItem();
ii.AmountPerUnit = eigenanteil;
ii.UnitCount = 1;
ii.AmountTotal = ii.AmountPerUnit * ii.UnitCount;
ii.ItemPeriodStart = invoicePeriod.StartDateTime;
ii.ItemPeriodEnd = invoicePeriod.EndDateTime;
ii.RateFactor = null;
ii.GrossAmountTotal = ii.AmountTotal;
ii.UnitDescription = String.Format("{0}", customer.Oid);
ii.ItemDescription = "Eigenanteil";
ii.Notice = customer.Person.FirstNameLastName;
sip.InvoiceItemList.Add(ii);
invoice.ServiceInvoicePeriodList.Add(sip);
SetServiceInvoicePeriodAmounts(invoice);
return invoice;
}
@@ -155,9 +177,23 @@ namespace LebenshilfeFrankfurtOder.Invoicing
SupportConceptApprovalPeriodDC supportConceptApprovalPeriod, CostBearer2SupportConcept cb2sc,
DateTimeSpan invoicePeriod, List<ServiceRecordDC> serviceRecords)
{
base.SetInvoiceItems(invoice, serviceInvoicePeriod, supportConceptApprovalPeriod, cb2sc, invoicePeriod, serviceRecords);
List<ServiceRecordDC> serviceRecordsInPeriod = serviceRecords.Where(
i =>
{
bool valid = i.Start.Value.InBetween(serviceInvoicePeriod.Start.Value,
serviceInvoicePeriod.End.Value, true);
serviceInvoicePeriod.Notice = alleKlienten;
if (valid && serviceInvoicePeriod.SupportConceptApprovalPeriod != null && serviceInvoicePeriod.SupportConceptApprovalPeriod.ServiceCategory != null)
valid = serviceInvoicePeriod.SupportConceptApprovalPeriod.ServiceCategory.Oid ==
i.ServiceDescription.Category.ServiceCategoryOid;
return valid;
}).ToList();
Calculations calc = PluginLoader.FindClass<Calculations>(_SpecificID) ?? Calculations.GetInstance(_SpecificID);
var itemList = CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, serviceInvoicePeriod.SupportConceptApprovalPeriod, calc);
serviceInvoicePeriod.InvoiceItemList.AddRange(itemList);
serviceInvoicePeriod.Notice = alleKlienten;
}
public override IList<InvoiceItem> CreateInvoiceItems(List<ServiceRecordDC> serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
@@ -168,38 +204,144 @@ namespace LebenshilfeFrankfurtOder.Invoicing
var list = new List<InvoiceItem>();
foreach (ServiceRecordDC iServiceRecord in serviceRecordsInPeriod)
{
InvoiceItem invoiceItem = CreateInvoiceItem(iServiceRecord, scap, calc);
if (invoiceItem != null)
if (!iServiceRecord.ServiceDescription.Name.Contains("Ferien"))
{
invoiceItem.Notice = iServiceRecord.ServiceDescription.Name;
list.Add(invoiceItem);
if (iServiceRecord.Customer != null && !String.IsNullOrEmpty(iServiceRecord.Customer.Name))
InvoiceItem invoiceItem = CreateInvoiceItem(iServiceRecord, scap, calc);
if (invoiceItem != null)
{
invoiceItem.Notice = iServiceRecord.ServiceDescription.Name;
list.Add(invoiceItem);
String name = iServiceRecord.Customer.Name;
if (!alleKlienten.Contains(name))
if (iServiceRecord.Customer != null && !String.IsNullOrEmpty(iServiceRecord.Customer.Name))
{
if (alleKlienten.Length > 0)
String ersterBuchstabe = "";
if (!String.IsNullOrEmpty(iServiceRecord.Customer.FirstName) &&
iServiceRecord.Customer.FirstName.Length > 0)
{
alleKlienten += ", ";
ersterBuchstabe = iServiceRecord.Customer.FirstName.Substring(0, 1);
}
alleKlienten += name;
}
}
String name = String.Format("{0}. {1}", ersterBuchstabe, iServiceRecord.Customer.LastName);
//if (alleKlienten.Contains())
if (!alleKlienten.Contains(name))
{
if (alleKlienten.Length > 0)
{
alleKlienten += ", ";
}
alleKlienten += name;
}
}
//if (alleKlienten.Contains())
}
}
}
var hortItems = ErstelleHortItems(list, invoicePeriod.StartDate, invoicePeriod.EndDate);
var ferienItem = ErstelleFerienItem(invoicePeriod.StartDate, invoicePeriod.EndDate);
if (ferienItem != null)
{
hortItems.Add(ferienItem);
}
if (privatRechnungen != null)
{
var ii = CreateEigenanteilsItem(privatRechnungen);
if (ii != null)
{
hortItems.Add(ii);
}
}
return hortItems;
}
private InvoiceItem ErstelleFerienItem(DateTime start, DateTime end)
{
var bookings = DAOFactory.SearchDAO.GetAdditionalServiceBookings(22, start, end);
Dictionary<int, int> dayCount = new Dictionary<int, int>();
foreach (var ab in bookings)
{
bool nimmtTeil = false;
foreach (var c2a in ab.Customer2AddServiceBookings)
{
if (c2a.Participated)
{
nimmtTeil = true;
}
}
if (nimmtTeil)
{
if (!dayCount.ContainsKey(ab.StartDate.Value.Day))
{
dayCount.Add(ab.StartDate.Value.Day, 0);
}
dayCount[ab.StartDate.Value.Day]++;
}
}
if (dayCount.Count > 0)
{
var ii = new InvoiceItem();
ii.AmountPerUnit = FrankfurtOderHelper.PREIS_HORT_FERIENBETREUUNG;
ii.UnitCount = dayCount.Count;
ii.AmountTotal = ii.AmountPerUnit * ii.UnitCount;
ii.ItemPeriodStart = start;
ii.ItemPeriodEnd = end;
ii.RateFactor = null;
ii.GrossAmountTotal = ii.AmountTotal;
ii.UnitDescription = "Tage";
ii.ItemDescription = "Ferien";
ii.Notice = "Ferien";
return ii;
}
return null;
}
private InvoiceItem CreateEigenanteilsItem(List<ServiceInvoice> serviceInvoices)
{
DateTime start = DateTime.MinValue;
DateTime ende = DateTime.MaxValue;
decimal amount = 0;
InvoiceItem ii = null;
foreach (var si in serviceInvoices)
{
amount += si.GetTotalClaim() ?? 0;
start = si.InvoiceBase.AccountingPeriodStart.Value;
ende = si.InvoiceBase.AccountingPeriodEnd.Value;
}
if (amount > 0)
{
amount *= -1;
ii = new InvoiceItem();
ii.AmountPerUnit = amount;
ii.UnitCount = 1;
ii.AmountTotal = ii.AmountPerUnit * ii.UnitCount;
ii.ItemPeriodStart = start;
ii.ItemPeriodEnd = ende;
ii.RateFactor = null;
ii.GrossAmountTotal = ii.AmountTotal;
ii.UnitDescription = "Eigenanteil";
ii.ItemDescription = "Eigenanteil";
}
return ii;
}
private IList<InvoiceItem> ErstelleHortItems(IList<InvoiceItem> items, DateTime start, DateTime end)
{
var hortItems = new List<InvoiceItem>();

View File

@@ -50,6 +50,12 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AnwesenheitRO.cs" />
<Compile Include="AnwesenheitFerien.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="AnwesenheitFerien.Designer.cs">
<DependentUpon>AnwesenheitFerien.cs</DependentUpon>
</Compile>
<Compile Include="AnwesenheitWohnstaette.cs">
<SubType>Component</SubType>
</Compile>
@@ -123,6 +129,12 @@
<Compile Include="RechnungFud.Designer.cs">
<DependentUpon>RechnungFud.cs</DependentUpon>
</Compile>
<Compile Include="RechnungHortPrivat.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="RechnungHortPrivat.Designer.cs">
<DependentUpon>RechnungHortPrivat.cs</DependentUpon>
</Compile>
<Compile Include="RechnungHort.cs">
<SubType>Component</SubType>
</Compile>
@@ -183,6 +195,10 @@
<Compile Include="Utils\FrankfurtOderHelper.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AnwesenheitFerien.resx">
<DependentUpon>AnwesenheitFerien.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="AnwesenheitWohnstaette.resx">
<DependentUpon>AnwesenheitWohnstaette.cs</DependentUpon>
</EmbeddedResource>
@@ -222,6 +238,10 @@
<DependentUpon>RechnungFud.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="RechnungHortPrivat.resx">
<DependentUpon>RechnungHortPrivat.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="RechnungHort.resx">
<DependentUpon>RechnungHort.cs</DependentUpon>
<SubType>Designer</SubType>

View File

@@ -76,6 +76,8 @@ namespace LebenshilfeFrankfurtOder
this.GroupHeader3 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleUnterschriftNichtLetzteZeile = new DevExpress.XtraReports.UI.FormattingRule();
this.ruleLetzteZeile = new DevExpress.XtraReports.UI.FormattingRule();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -311,6 +313,9 @@ namespace LebenshilfeFrankfurtOder
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeNameCommaSeparated")});
this.xrTableCell10.FormattingRules.Add(this.ruleUnterschriftNichtLetzteZeile);
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
@@ -319,6 +324,7 @@ namespace LebenshilfeFrankfurtOder
// xrTableCell19
//
this.xrTableCell19.CanGrow = false;
this.xrTableCell19.FormattingRules.Add(this.ruleUnterschriftNichtLetzteZeile);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
this.xrTableCell19.StylePriority.UsePadding = false;
@@ -550,6 +556,17 @@ namespace LebenshilfeFrankfurtOder
this.xrLabel4.Text = "Monat: [Month] [Year]";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// ruleUnterschriftNichtLetzteZeile
//
this.ruleUnterschriftNichtLetzteZeile.Condition = "Not [IstSonntag]";
this.ruleUnterschriftNichtLetzteZeile.DataMember = "Services";
this.ruleUnterschriftNichtLetzteZeile.Formatting.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
this.ruleUnterschriftNichtLetzteZeile.Name = "ruleUnterschriftNichtLetzteZeile";
//
// ruleLetzteZeile
//
this.ruleLetzteZeile.Name = "ruleLetzteZeile";
//
// LeistungsnachweisHortbetreuung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -568,7 +585,9 @@ namespace LebenshilfeFrankfurtOder
this.formattingRuleStartDate,
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.formattingRuleEmployeeName,
this.ruleUnterschriftNichtLetzteZeile,
this.ruleLetzteZeile});
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(90, 49, 97, 50);
this.PageHeight = 827;
@@ -628,5 +647,7 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.FormattingRule ruleUnterschriftNichtLetzteZeile;
private DevExpress.XtraReports.UI.FormattingRule ruleLetzteZeile;
}
}

View File

@@ -38,6 +38,52 @@ namespace LebenshilfeFrankfurtOder
}
DateTime lastDate = DateTime.MinValue;
int kindCount = 1;
for (int i = 0; i < pRO.Services.Count; i++)
{
var current = pRO.Services[i];
bool isFirst = true;
if (lastDate.Date < current.StartDate.Date)
{
isFirst = true;
}
else
{
isFirst = false;
}
if (isFirst)
{
kindCount = 1;
}
lastDate = current.StartDate.Date;
bool isLast = true;
if (i < pRO.Services.Count - 1)
{
var next = pRO.Services[i + 1];
if (next.StartDate.Date == current.StartDate.Date)
{
isLast = false;
kindCount++;
}
}
if (isLast)
{
current.EmployeeNameCommaSeparated = String.Format("{0}", kindCount);
}
else
{
current.EmployeeNameCommaSeparated = "";
}
current.IstSamstag = isFirst;
current.IstSonntag = isLast;
}
//cellStundenGesamt.Text = String.Format("{0:0.00}", minutes / 60);
//cellStundenInklFac.Text = String.Format("{0:0.00}", (minutes / 60) / 0.7);

View File

@@ -32,6 +32,29 @@ namespace LebenshilfeFrankfurtOder
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RechnungHort));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
this.cellFaelligkeit = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.lblKlienten = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
@@ -101,7 +124,7 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.lblGesamt = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -111,7 +134,7 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellEigenanteil = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -124,29 +147,7 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
this.cellFaelligkeit = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -163,6 +164,7 @@ namespace LebenshilfeFrankfurtOder
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel30,
this.xrLabel7,
this.xrLabel9,
this.xrLabel11,
@@ -201,15 +203,290 @@ namespace LebenshilfeFrankfurtOder
this.xrLabel1,
this.xrPictureBox1,
this.lblAdresse});
this.ReportHeader.HeightF = 769.4445F;
this.ReportHeader.HeightF = 767.9166F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel7
//
this.xrLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(410F, 174.8611F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Bearbeiter:";
//
// xrLabel9
//
this.xrLabel9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(410F, 194.8611F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "Durchwahl:";
//
// xrLabel11
//
this.xrLabel11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(410F, 214.8611F);
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.Text = "e-mail:";
//
// xrLabel10
//
this.xrLabel10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(410F, 234.8611F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(151.9999F, 20F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.StylePriority.UsePadding = false;
this.xrLabel10.Text = "Institutionskennzeichen";
//
// xrLabel13
//
this.xrLabel13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(410F, 254.8612F);
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "e-mail:";
//
// xrLabel12
//
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(500F, 174.8611F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Rabea Preuß";
//
// xrLabel14
//
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(500F, 194.8611F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel14.StylePriority.UseFont = false;
this.xrLabel14.Text = "0335 280510 31";
//
// xrLabel15
//
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(500F, 214.8611F);
this.xrLabel15.Name = "xrLabel15";
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel15.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel15.StylePriority.UseFont = false;
this.xrLabel15.Text = "rabea.preuss@lebenshilfe-ffo.de";
//
// xrLabel16
//
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(500F, 254.8611F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.Text = "info@lebenshilfe-ffo.de";
//
// xrLabel17
//
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(562.0004F, 234.8611F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.SizeF = new System.Drawing.SizeF(145.2098F, 20F);
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.StylePriority.UsePadding = false;
this.xrLabel17.Text = "(IK) 501205613";
//
// xrLabel18
//
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(500F, 274.8611F);
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.Text = "www.lebenshilfe-ffo.de";
//
// xrLabel20
//
this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
this.xrLabel20.CanGrow = false;
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 314.8611F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.Text = "IK-Nummer:";
//
// xrLabel19
//
this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel19.CanGrow = false;
this.xrLabel19.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 334.8612F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel19.StylePriority.UseBorders = false;
this.xrLabel19.StylePriority.UseFont = false;
this.xrLabel19.Text = "Versichertennr:";
//
// xrLabel21
//
this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel21.CanGrow = false;
this.xrLabel21.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 354.8612F);
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel21.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel21.StylePriority.UseBorders = false;
this.xrLabel21.StylePriority.UseFont = false;
this.xrLabel21.Text = "Kunden-Nr.:";
//
// xrLabel22
//
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel22.CanGrow = false;
this.xrLabel22.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 374.8612F);
this.xrLabel22.Name = "xrLabel22";
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel22.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel22.StylePriority.UseBorders = false;
this.xrLabel22.StylePriority.UseFont = false;
this.xrLabel22.Text = "Rechnungs-Nr.:";
//
// xrLabel23
//
this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel23.CanGrow = false;
this.xrLabel23.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 394.8612F);
this.xrLabel23.Name = "xrLabel23";
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel23.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel23.StylePriority.UseBorders = false;
this.xrLabel23.StylePriority.UseFont = false;
this.xrLabel23.Text = "Rechnungsdatum:";
//
// xrLabel24
//
this.xrLabel24.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel24.CanGrow = false;
this.xrLabel24.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 414.8612F);
this.xrLabel24.Name = "xrLabel24";
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel24.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel24.StylePriority.UseBorders = false;
this.xrLabel24.StylePriority.UseFont = false;
this.xrLabel24.Text = "Fälligkeit:";
//
// cellFaelligkeit
//
this.cellFaelligkeit.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.cellFaelligkeit.CanGrow = false;
this.cellFaelligkeit.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cellFaelligkeit.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 414.8612F);
this.cellFaelligkeit.Name = "cellFaelligkeit";
this.cellFaelligkeit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.cellFaelligkeit.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.cellFaelligkeit.StylePriority.UseBorders = false;
this.cellFaelligkeit.StylePriority.UseFont = false;
this.cellFaelligkeit.StylePriority.UseTextAlignment = false;
this.cellFaelligkeit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel29
//
this.xrLabel29.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel29.CanGrow = false;
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel29.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 394.8612F);
this.xrLabel29.Name = "xrLabel29";
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel29.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel29.StylePriority.UseBorders = false;
this.xrLabel29.StylePriority.UseFont = false;
this.xrLabel29.StylePriority.UseTextAlignment = false;
this.xrLabel29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel28
//
this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel28.CanGrow = false;
this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrLabel28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 374.8612F);
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel28.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel28.StylePriority.UseBorders = false;
this.xrLabel28.StylePriority.UseFont = false;
this.xrLabel28.StylePriority.UseTextAlignment = false;
this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel27
//
this.xrLabel27.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel27.CanGrow = false;
this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrganisationDebitorNumber")});
this.xrLabel27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 354.8612F);
this.xrLabel27.Name = "xrLabel27";
this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel27.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel27.StylePriority.UseBorders = false;
this.xrLabel27.StylePriority.UseFont = false;
this.xrLabel27.StylePriority.UseTextAlignment = false;
this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel26
//
this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel26.CanGrow = false;
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
this.xrLabel26.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 334.8612F);
this.xrLabel26.Name = "xrLabel26";
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel26.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel26.StylePriority.UseBorders = false;
this.xrLabel26.StylePriority.UseFont = false;
this.xrLabel26.StylePriority.UseTextAlignment = false;
this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel25
//
this.xrLabel25.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrLabel25.CanGrow = false;
this.xrLabel25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 314.8611F);
this.xrLabel25.Name = "xrLabel25";
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel25.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel25.StylePriority.UseBorders = false;
this.xrLabel25.StylePriority.UseFont = false;
this.xrLabel25.StylePriority.UseTextAlignment = false;
this.xrLabel25.Text = "501205613";
this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel5
//
this.xrLabel5.CanGrow = false;
this.xrLabel5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(70F, 520F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(70.00002F, 512.3611F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(606.4998F, 19.99994F);
@@ -219,8 +496,8 @@ namespace LebenshilfeFrankfurtOder
//
// lblKlienten
//
this.lblKlienten.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblKlienten.LocationFloat = new DevExpress.Utils.PointFloat(175.5432F, 550F);
this.lblKlienten.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblKlienten.LocationFloat = new DevExpress.Utils.PointFloat(175.5432F, 542.3611F);
this.lblKlienten.Multiline = true;
this.lblKlienten.Name = "lblKlienten";
this.lblKlienten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -231,7 +508,7 @@ namespace LebenshilfeFrankfurtOder
// xrTable3
//
this.xrTable3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 669.4445F);
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 667.9166F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
@@ -555,7 +832,7 @@ namespace LebenshilfeFrankfurtOder
//
this.xrLabel32.CanGrow = false;
this.xrLabel32.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(70F, 550F);
this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(70.00002F, 542.3611F);
this.xrLabel32.Name = "xrLabel32";
this.xrLabel32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel32.SizeF = new System.Drawing.SizeF(105.5432F, 19.99994F);
@@ -588,7 +865,7 @@ namespace LebenshilfeFrankfurtOder
//
this.xrLabel4.CanGrow = false;
this.xrLabel4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(69.99973F, 492.6389F);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(69.99975F, 485F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(606.5F, 20F);
@@ -705,7 +982,8 @@ namespace LebenshilfeFrankfurtOder
//
// xrTableCell8
//
this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseBorders = false;
@@ -897,7 +1175,7 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell11,
this.xrTableCell15,
this.xrTableCell16,
this.xrTableCell17});
this.lblGesamt});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.10000000000000003D;
//
@@ -938,19 +1216,17 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.39999999999999991D;
//
// xrTableCell17
// lblGesamt
//
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseBorderColor = false;
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell17.Weight = 0.20999999999999996D;
this.lblGesamt.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
this.lblGesamt.Name = "lblGesamt";
this.lblGesamt.StylePriority.UseBorderColor = false;
this.lblGesamt.StylePriority.UseBorders = false;
this.lblGesamt.StylePriority.UseFont = false;
this.lblGesamt.StylePriority.UsePadding = false;
this.lblGesamt.StylePriority.UseTextAlignment = false;
this.lblGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.lblGesamt.Weight = 0.20999999999999996D;
//
// xrTableRow4
//
@@ -1004,7 +1280,7 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell20,
this.xrTableCell21,
this.xrTableCell22,
this.xrTableCell23});
this.cellEigenanteil});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.10000000000000003D;
//
@@ -1032,15 +1308,15 @@ namespace LebenshilfeFrankfurtOder
this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell22.Weight = 0.39999999999999991D;
//
// xrTableCell23
// cellEigenanteil
//
this.xrTableCell23.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseBorders = false;
this.xrTableCell23.StylePriority.UseTextAlignment = false;
this.xrTableCell23.Text = "0,00 €";
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell23.Weight = 0.20999999999999996D;
this.cellEigenanteil.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.cellEigenanteil.Name = "cellEigenanteil";
this.cellEigenanteil.StylePriority.UseBorders = false;
this.cellEigenanteil.StylePriority.UseTextAlignment = false;
this.cellEigenanteil.Text = "0,00 €";
this.cellEigenanteil.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.cellEigenanteil.Weight = 0.20999999999999996D;
//
// xrTableRow11
//
@@ -1157,280 +1433,16 @@ namespace LebenshilfeFrankfurtOder
this.xrLabel2.Text = "Bitte überweisen Sie den Rechnungsbetrag unter Angabe der Kunden-Nr., der Rechnun" +
"gs-Nr. und des\r\nVerwendungszwecks auf das unten angegebene Konto.";
//
// xrLabel7
// xrLabel30
//
this.xrLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(410F, 174.8611F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Bearbeiter:";
//
// xrLabel9
//
this.xrLabel9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(410F, 194.8611F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "Durchwahl:";
//
// xrLabel11
//
this.xrLabel11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(410F, 214.8611F);
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.Text = "e-mail:";
//
// xrLabel10
//
this.xrLabel10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(410F, 234.8611F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(151.9999F, 20F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.StylePriority.UsePadding = false;
this.xrLabel10.Text = "Institutionskennzeichen";
//
// xrLabel13
//
this.xrLabel13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(410F, 254.8612F);
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(90F, 20F);
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "e-mail:";
//
// xrLabel12
//
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(500F, 174.8611F);
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Rabea Preuß";
//
// xrLabel14
//
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(500F, 194.8611F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel14.StylePriority.UseFont = false;
this.xrLabel14.Text = "0335 280510 31";
//
// xrLabel15
//
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(500F, 214.8611F);
this.xrLabel15.Name = "xrLabel15";
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel15.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel15.StylePriority.UseFont = false;
this.xrLabel15.Text = "rabea.preuss@lebenshilfe-ffo.de";
//
// xrLabel16
//
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(500F, 254.8611F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.Text = "info@lebenshilfe-ffo.de";
//
// xrLabel17
//
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(562.0004F, 234.8611F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.SizeF = new System.Drawing.SizeF(145.2098F, 20F);
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.StylePriority.UsePadding = false;
this.xrLabel17.Text = "(IK) 501205613";
//
// xrLabel18
//
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(500F, 274.8611F);
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(207.2103F, 20F);
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.Text = "www.lebenshilfe-ffo.de";
//
// xrLabel20
//
this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
this.xrLabel20.CanGrow = false;
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 314.8611F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.Text = "IK-Nummer:";
//
// xrLabel19
//
this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel19.CanGrow = false;
this.xrLabel19.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 334.8612F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel19.StylePriority.UseBorders = false;
this.xrLabel19.StylePriority.UseFont = false;
this.xrLabel19.Text = "Versichertennr:";
//
// xrLabel21
//
this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel21.CanGrow = false;
this.xrLabel21.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 354.8612F);
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel21.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel21.StylePriority.UseBorders = false;
this.xrLabel21.StylePriority.UseFont = false;
this.xrLabel21.Text = "Kunden-Nr.:";
//
// xrLabel22
//
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel22.CanGrow = false;
this.xrLabel22.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 374.8612F);
this.xrLabel22.Name = "xrLabel22";
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel22.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel22.StylePriority.UseBorders = false;
this.xrLabel22.StylePriority.UseFont = false;
this.xrLabel22.Text = "Rechnungs-Nr.:";
//
// xrLabel23
//
this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Left;
this.xrLabel23.CanGrow = false;
this.xrLabel23.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 394.8612F);
this.xrLabel23.Name = "xrLabel23";
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel23.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel23.StylePriority.UseBorders = false;
this.xrLabel23.StylePriority.UseFont = false;
this.xrLabel23.Text = "Rechnungsdatum:";
//
// xrLabel24
//
this.xrLabel24.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel24.CanGrow = false;
this.xrLabel24.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(410.0003F, 414.8612F);
this.xrLabel24.Name = "xrLabel24";
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel24.SizeF = new System.Drawing.SizeF(119.1895F, 20F);
this.xrLabel24.StylePriority.UseBorders = false;
this.xrLabel24.StylePriority.UseFont = false;
this.xrLabel24.Text = "Fälligkeit:";
//
// cellFaelligkeit
//
this.cellFaelligkeit.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.cellFaelligkeit.CanGrow = false;
this.cellFaelligkeit.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cellFaelligkeit.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 414.8612F);
this.cellFaelligkeit.Name = "cellFaelligkeit";
this.cellFaelligkeit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.cellFaelligkeit.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.cellFaelligkeit.StylePriority.UseBorders = false;
this.cellFaelligkeit.StylePriority.UseFont = false;
this.cellFaelligkeit.StylePriority.UseTextAlignment = false;
this.cellFaelligkeit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel29
//
this.xrLabel29.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel29.CanGrow = false;
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel29.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 394.8612F);
this.xrLabel29.Name = "xrLabel29";
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel29.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel29.StylePriority.UseBorders = false;
this.xrLabel29.StylePriority.UseFont = false;
this.xrLabel29.StylePriority.UseTextAlignment = false;
this.xrLabel29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel28
//
this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel28.CanGrow = false;
this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrLabel28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 374.8612F);
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel28.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel28.StylePriority.UseBorders = false;
this.xrLabel28.StylePriority.UseFont = false;
this.xrLabel28.StylePriority.UseTextAlignment = false;
this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel27
//
this.xrLabel27.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel27.CanGrow = false;
this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrganisationDebitorNumber")});
this.xrLabel27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 354.8612F);
this.xrLabel27.Name = "xrLabel27";
this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel27.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel27.StylePriority.UseBorders = false;
this.xrLabel27.StylePriority.UseFont = false;
this.xrLabel27.StylePriority.UseTextAlignment = false;
this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel26
//
this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel26.CanGrow = false;
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
this.xrLabel26.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 334.8612F);
this.xrLabel26.Name = "xrLabel26";
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel26.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel26.StylePriority.UseBorders = false;
this.xrLabel26.StylePriority.UseFont = false;
this.xrLabel26.StylePriority.UseTextAlignment = false;
this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel25
//
this.xrLabel25.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrLabel25.CanGrow = false;
this.xrLabel25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(529.1898F, 314.8611F);
this.xrLabel25.Name = "xrLabel25";
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel25.SizeF = new System.Drawing.SizeF(167.3101F, 20F);
this.xrLabel25.StylePriority.UseBorders = false;
this.xrLabel25.StylePriority.UseFont = false;
this.xrLabel25.StylePriority.UseTextAlignment = false;
this.xrLabel25.Text = "501205613";
this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrLabel30.CanGrow = false;
this.xrLabel30.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(175F, 562.361F);
this.xrLabel30.Name = "xrLabel30";
this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel30.SizeF = new System.Drawing.SizeF(521.499F, 19.99994F);
this.xrLabel30.StylePriority.UseFont = false;
this.xrLabel30.Text = "Ferien: siehe Anwesenheitsliste";
//
// RechnungHort
//
@@ -1488,7 +1500,7 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell lblGesamt;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
@@ -1498,7 +1510,7 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
private DevExpress.XtraReports.UI.XRTableCell cellEigenanteil;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
@@ -1577,5 +1589,6 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.XRLabel xrLabel27;
private DevExpress.XtraReports.UI.XRLabel xrLabel26;
private DevExpress.XtraReports.UI.XRLabel xrLabel25;
private DevExpress.XtraReports.UI.XRLabel xrLabel30;
}
}

View File

@@ -89,6 +89,7 @@ namespace LebenshilfeFrankfurtOder
decimal gesamt2 = 0;
decimal gesamt3 = 0;
decimal gesamt5 = 0;
decimal eigenanteil = 0;
if (pRO.ServiceInvoicePeriods != null)
{
@@ -122,14 +123,25 @@ namespace LebenshilfeFrankfurtOder
gesamt3 = ii.NetAmount ?? 0;
}
}
else if (ii.ServiceDescription.Contains("Ferien"))
{
anzahl5 = ii.UnitCount ?? 0;
betrag5 = ii.AmountPerUnit ?? betrag5;
gesamt5 = ii.NetAmount ?? 0;
}
else if (ii.ServiceDescription.Contains("Eigenanteil"))
{
eigenanteil += ii.NetAmount ?? 0;
}
}
}
}
lblKlienten.Text = klientenNamen;
lblKlienten.Text = String.Format("Hort: {0}", klientenNamen);
pRO.OrganisationDebitorNumber = GetKundennummer(pRO);
@@ -159,6 +171,8 @@ namespace LebenshilfeFrankfurtOder
cellGesamt4.Text = "";
cellGesamt5.Text = String.Format("{0:c}", gesamt5);
cellEigenanteil.Text = String.Format("{0:c}", eigenanteil);
lblGesamt.Text = String.Format("{0:c}", gesamt1 + gesamt2 + gesamt3 + gesamt5);
this.bindingSource1.DataSource = pRO;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,165 @@
using System;
using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared;
using BS.Shared.Core;
using DevExpress.XtraReports.UI;
using LebenshilfeFrankfurtOder.Utils;
namespace LebenshilfeFrankfurtOder
{
[IDSpecificClass(Identifier = "RechnungHortPrivat")]
public partial class RechnungHortPrivat : XtraReport, IBeWoReport<ServiceInvoiceRO>
{
public RechnungHortPrivat()
{
this.InitializeComponent();
}
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))
{
pRO.SenderContactPersonMail = pRO.SenderContactPersonMail.Replace("E-Mail:", "").Trim();
}
if (!String.IsNullOrEmpty(pRO.SenderContactPersonPhone))
{
pRO.SenderContactPersonPhone = pRO.SenderContactPersonPhone.Replace("Tel.:", "").Trim();
//lblPhoneBearbeiter.Text = pRO.SenderContactPersonPhone;
}
if (!String.IsNullOrEmpty(pRO.SenderContactPersonFax))
{
pRO.SenderContactPersonFax = pRO.SenderContactPersonFax.Replace("Fax:", "").Trim();
}
if (!String.IsNullOrEmpty(pRO.SenderContactPerson))
{
//lblBearbeiter.Text = pRO.SenderContactPerson;
}
StringBuilder sb = new StringBuilder();
if (String.IsNullOrEmpty(pRO.RecipientContactPerson))
{
pRO.RecipientContactPerson = GetContactPerson(pRO);
}
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
{
sb.AppendLine(pRO.RecipientContactPerson);
}
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
{
sb.AppendLine(pRO.RecipientStreet);
}
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
{
sb.AppendLine(pRO.RecipientPostCodeAndTown);
}
lblAdresse.Text = sb.ToString();
pRO.Notice = "";
cellFaelligkeit.Text = String.Format("{0:dd.MM.yyyy}", pRO.InvoiceDateTime.Value.AddDays(14));
foreach (var sip in pRO.ServiceInvoicePeriods)
{
foreach (var ii in sip.ServiceInvoiceItems)
{
pRO.CustomerName = ii.Notice;
}
}
lblKlienten.Text = pRO.CustomerName;
pRO.OrganisationDebitorNumber = GetKundennummer(pRO);
SetzeDebitorNumber(pRO);
this.bindingSource1.DataSource = pRO;
}
private void SetzeDebitorNumber(ServiceInvoiceRO pRo)
{
if (String.IsNullOrEmpty(pRo.DebitorNumber))
{
foreach (var sip in pRo.ServiceInvoicePeriods)
{
foreach (var ii in sip.ServiceInvoiceItems)
{
long oid = 0;
if (!String.IsNullOrEmpty(ii.UnitDescription) && Int64.TryParse(ii.UnitDescription, out oid))
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(oid);
pRo.DebitorNumber = c.DebitorNumber;
}
}
}
}
}
private string GetContactPerson(ServiceInvoiceRO pRo)
{
String ap = "";
if (pRo.ServiceInvoicePeriods != null)
{
foreach (var sip in pRo.ServiceInvoicePeriods)
{
if (sip.CostBearer2SupportConcept != null &&
sip.CostBearer2SupportConcept.CostBearerContactPerson != null)
{
ap = "";
if (sip.CostBearer2SupportConcept.CostBearerContactPerson.Sex.HasValue &&
sip.CostBearer2SupportConcept.CostBearerContactPerson.Sex.Value == Sex.Male)
{
ap = "Herr ";
}
else if (sip.CostBearer2SupportConcept.CostBearerContactPerson.Sex.HasValue &&
sip.CostBearer2SupportConcept.CostBearerContactPerson.Sex.Value == Sex.Female)
{
ap = "Frau ";
}
ap += sip.CostBearer2SupportConcept.CostBearerContactPerson.FirstName;
if (ap.Length > 0)
{
ap += " ";
}
ap += sip.CostBearer2SupportConcept.CostBearerContactPerson.LastName;
}
}
}
return ap;
}
private string GetKundennummer(ServiceInvoiceRO pRo)
{
if (pRo.ServiceInvoicePeriods != null)
{
foreach (var sip in pRo.ServiceInvoicePeriods)
{
if (sip.CostBearer2SupportConcept != null)
{
if (!String.IsNullOrEmpty(sip.CostBearer2SupportConcept.CostBearer.Organisation.DebitorNumber))
{
return sip.CostBearer2SupportConcept.CostBearer.Organisation.DebitorNumber;
}
}
}
}
return "";
}
}
}

View File

@@ -0,0 +1,214 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAK4AAACjCAIAAACc8LJnAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAd
hwAAHYcBj+XxZQAAE69JREFUeF7tnQuUTdUfxxvvvBljNJUSTXmG3lSkRSkqoaiQ3o+lt96hSEpW7+it
sqSn9CDFoIWKKI8iqzE0vWRk5DnGzP7/ft3f/7r3N/eeu89+nHNmnM/6Lmsw97f3Oed7z9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94wIsMSw4fjz2PHKuajT6nLLsNl1BF98AGWBdqyhWpyQBFEK0SJ
7aDDzx99JCZN2q9hw/DtzsCBYsQITEIDP190EZrmxBP3/06klw/6+mv864wZmEMDfli1iv49JEqgrRDi
JaEVQojQCiH/IcT/AAprFzch0QTwAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -80,7 +80,7 @@ namespace LebenshilfeFrankfurtOder.Service
}
}
else if (ib.InvoiceId == "RechnungHort")
else if (ib.InvoiceId == "RechnungHort" || ib.InvoiceId == "RechnungHortPrivat")
{
dc.CustomerFirstName = "";
dc.CustomerLastName = "";

View File

@@ -31,6 +31,8 @@ namespace Lori
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
@@ -42,6 +44,7 @@ namespace Lori
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
@@ -51,9 +54,6 @@ namespace Lori
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -80,6 +80,42 @@ namespace Lori
this.Detail.StylePriority.UseFont = false;
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel4
//
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 434.6042F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel4.SizeF = new System.Drawing.SizeF(663.5623F, 81.58331F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = resources.GetString("xrLabel4.Text");
//
// xrLabel3
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel3.BorderWidth = 2F;
this.xrLabel3.CanShrink = true;
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal", "{0:0.00}")});
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 162.2709F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(198.4372F, 41.35419F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseBorders = false;
this.xrLabel3.StylePriority.UseBorderWidth = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrLabel3.WordWrap = false;
//
// xrLine1
//
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 575.0834F);
@@ -200,6 +236,14 @@ namespace Lori
this.topMarginBand1.HeightF = 140.9375F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.31253F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(198.4372F, 120.625F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 50F;
@@ -240,7 +284,8 @@ namespace Lori
this.lblAdresseLori.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.lblAdresseLori.SizeF = new System.Drawing.SizeF(309.1667F, 108.25F);
this.lblAdresseLori.StylePriority.UseFont = false;
this.lblAdresseLori.Text = "Lori GbR\r\nAmbulant Betreutes Wohnen\r\nMastholter Str. 306\r\n59558 Lippstadt\r\n";
this.lblAdresseLori.Text = "Lori GmbH & Co. KG\r\nAmbulant Betreutes Wohnen\r\nMastholter Str. 306\r\n59558 Lippsta" +
"dt\r\n";
//
// ortDatum
//
@@ -303,50 +348,6 @@ namespace Lori
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(717.0001F, 40.00003F);
//
// xrLabel3
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel3.BorderWidth = 2F;
this.xrLabel3.CanShrink = true;
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal", "{0:0.00}")});
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 162.2709F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(198.4372F, 41.35419F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseBorders = false;
this.xrLabel3.StylePriority.UseBorderWidth = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrLabel3.WordWrap = false;
//
// xrLabel4
//
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 434.6042F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel4.SizeF = new System.Drawing.SizeF(663.5623F, 81.58331F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = resources.GetString("xrLabel4.Text");
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.31253F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(198.4372F, 120.625F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);

View File

@@ -476,7 +476,7 @@ namespace Lori.Alt
this.lblAdresseLori.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.lblAdresseLori.SizeF = new System.Drawing.SizeF(309.1667F, 108.25F);
this.lblAdresseLori.StylePriority.UseFont = false;
this.lblAdresseLori.Text = "LORI GbR\r\nMastholter Straße 306\r\n59558 Lippstadt";
this.lblAdresseLori.Text = "LORI GmbH & Co. KG \r\nMastholter Straße 306\r\n59558 Lippstadt";
//
// xrLabel19
//

View 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")]

View File

@@ -0,0 +1 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,222 @@
using System;
using System.Collections.Generic;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
namespace BeWo.Report.DefaultReports.Alt
{
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
{
public Spitzabrechnung()
{
InitializeComponent();
}
public void SetReportDataSource(SettlementRO pRO)
{
bool isDefaultSpitzabrechnung = false;
if (String.IsNullOrEmpty(pRO.Notice))
{
lblNotice.Visible = false;
}
if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count == 1)
{
var ii = pRO.InvoiceItems[0];
if ((ii.ItemDescription == "Spitzabrechung" || ii.ItemDescription == "Spitzabrechnung") && ii.GrossAmountTotal == null && ii.RateFactor == null)
{
isDefaultSpitzabrechnung = true;
}
}
if (!isDefaultSpitzabrechnung)
{
if (pRO.DifferentHourlyRateCount > 0 && pRO.HourlyRateNew.HasValue)
{
isDefaultSpitzabrechnung = true;
}
}
if (isDefaultSpitzabrechnung)
{
//UpdateAbrechnungsFelder(pRO);
pRO.InvoiceItems = CreateDefaultSpitzabrechnungInvoiceItems(pRO);
}
else
{
var id = GetCustomerId(pRO);
if (id == "LWLNEU")
{
pRO.RateFactorText = null;
pRO.RateFactorText2 = null;
if (pRO.InvoiceItems != null)
{
foreach (var ii in pRO.InvoiceItems)
{
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS x {3:c}",
ii.ItemPeriodStart, ii.ItemPeriodEnd, ii.UnitCount, ii.AmountPerUnit);
}
}
}
else
{
if (pRO.InvoiceItems != null)
{
foreach (var ii in pRO.InvoiceItems)
{
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS {3}x {4:c}",
ii.ItemPeriodStart, ii.ItemPeriodEnd,
ii.UnitCount, ii.RateFactor == 0 ? "" : "x " + pRO.RateFactorText2 + " ",
ii.AmountPerUnit);
}
}
}
}
this.bindingSource1.DataSource = pRO;
}
private String GetCustomerId(SettlementRO pRO)
{
var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
return cb2sc.CostBearer.ID;
}
private IList<InvoiceItemDC> CreateDefaultSpitzabrechnungInvoiceItems(SettlementRO pRO)
{
IList<InvoiceItemDC> itemList = new List<InvoiceItemDC>();
if (pRO.DifferentHourlyRateCount == 3)
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString,
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatz3 * pRO.RateFactor * pRO.HourlyRate3
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString,
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * pRO.RateFactor * pRO.HourlyRateOld
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
else if (pRO.DifferentHourlyRateCount == 2)
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString,
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
else
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
return itemList;
}
private void UpdateAbrechnungsFelder(SettlementRO pRO)
{
if (pRO.DifferentHourlyRateCount == 3)
{
//Erbrachte Leistungen (FLS) - bis [HourlyRateOldEndDateString] à [HourlyRateOldString] €
pRO.Abrechnungstext1 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString);
pRO.Abrechnungstext1 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3);
//[AccountingStartDateString] - [HourlyRate3EndDateString] sind [RecordedFLSWithHourlyRate3String] Std. x [HourlyRate3String] € =";
pRO.Betrag1 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatz3 * (decimal)pRO.RateFactor * pRO.HourlyRate3);
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString);
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
else if (pRO.DifferentHourlyRateCount == 2)
{
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString);
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
else
{
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
}
}
}

File diff suppressed because one or more lines are too long

View 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>{1CABA7E2-9F5F-41B2-B1E8-12AEA610AE99}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>KundeXyz</RootNamespace>
<AssemblyName>1566251835_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="SettlementReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SettlementReport.Designer.cs">
<DependentUpon>SettlementReport.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="SettlementReport.resx">
<DependentUpon>SettlementReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View 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")]

View File

@@ -0,0 +1 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,188 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text.RegularExpressions;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared.Core;
using DevExpress.XtraReports.UI;
namespace SozialwerkAachenerChristen
{
public partial class Quittierungsbeleg : XtraReport, IBeWoReport<ServicesOverviewRO>
{
public Quittierungsbeleg()
{
InitializeComponent();
}
public void SetReportDataSource(ServicesOverviewRO pRO)
{
// Get calling method name
//StackTrace stackTrace = new StackTrace();
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
bool hatGruppen = false;
//if (pRO == null)
// return;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
foreach (var sd in pRO.Services)
{
if (sd.IsBillable)
{
ServicesOverviewRO.CreateSignatureString(sd);
if (sd.IsGroup)
{
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
hatGruppen = true;
}
servicesBillable.Add(sd);
}
}
pRO.Services = servicesBillable;
}
if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
{
lblHatAbwesenheiten.Text = "X";
}
if (!hatGruppen)
{
lblHatGruppen.Text = "X";
}
ErstelleAbwesenheitenTabelle(pRO);
bindingSource1.DataSource = pRO;
}
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
{
if (pRo.Abwesenheiten != null)
{
int newRows = 0;
int index = 1;
foreach (var at in pRo.Abwesenheiten)
{
DevExpress.XtraReports.UI.XRTableRow row = null;
if (index < xrTableAbwesenheiten.Rows.Count)
{
row = xrTableAbwesenheiten.Rows[index];
}
else
{
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
newRows++;
}
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
int? days = null;
if (at.End.HasValue)
{
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
}
else
{
row.Cells[1].Text = "unbekannt";
}
row.Cells[2].Text = String.Format("{0:0}", days);
index++;
}
if (newRows > 0)
{
lblUnterschriftKlient.Top += newRows * 20;
lblUnterschriftMitarbeiter.Top += newRows * 20;
}
}
}
// TODO: Wie anzeigen? Alle?
private void EmployeeSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;
if(sender is XRPictureBox pictureBox)
{
var base64String = pictureBox.Tag as string;
if(!string.IsNullOrWhiteSpace(base64String))
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binaryData = Convert.FromBase64String(base64Data);
var image = ByteArrayToImage(binaryData);
pictureBox.Image = image;
}
else
{
pictureBox.Image = null;
}
}
}
// TODO: Wie anzeigen? Alle?
// TODO: Visibile der Datumstextboxen auf true setzen!
private void CustomerSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
return;
if(sender is XRPictureBox pictureBox)
{
var base64String = pictureBox.Tag as string;
if(!string.IsNullOrWhiteSpace(base64String))
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binaryData = Convert.FromBase64String(base64Data);
var image = ByteArrayToImage(binaryData);
pictureBox.Image = image;
}
else
{
pictureBox.Image = null;
}
}
}
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
//var test = this.GetCurrent
string base64String = xrBox.Tag as string;
if (!String.IsNullOrWhiteSpace(base64String))
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binData = Convert.FromBase64String(base64Data);
Image img = ByteArrayToImage(binData);
xrBox.Image = Utils.CropImage(img);
}
else
{
xrBox.Image = null;
}
}
public Image ByteArrayToImage(byte[] byteArrayIn)
{
using(var memoryStream = new MemoryStream(byteArrayIn))
{
return Image.FromStream(memoryStream);
}
}
}
}

View File

@@ -0,0 +1,332 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>21, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAmkAAAB5CAYAAABiOLZgAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAALUlJREFUeF7tnT/0FcUVx/3TRNIoNmqaSJpgCqIplDRGUxhpCDRoGtSGQKNWKOfE
mEKlCdoEbSA2QRqQBqTB2ITYYGggadAmmEZMI9qov5zPyxvPvn13dufPndl5P+7nnHsS+e3bnZ2dnfnu
vXdmblozDMMwDMMwmsNEmmEYhmEYRoOYSDMMwzAMw2gQE2mGYRiGYRgNYiLNMAzDMAyjQUykGYZhGIZh
NEhRkfaf//xn7a9//evae++9t/b73//+O3vzzTfX/vnPf86PMgzDMAzDMPqoizSEGSLsF7/4xdpNN900
aD/84Q/X3n333fkvDcMwDMMwDIeaSPvHP/6x9utf/1oUY2OGoOP3hmEYhmEYxv/JFmk54qxr3/ve99b+
/ve/z89qGIaPJ554Yu23v/2tvS+GYRjrnGSR9tVXX80GCklwpRrhz//+97/zKxhGHT755JNZ7uQqeHPJ
5bz55psX3pnnnnvOPNGFoF1gJojDYWxw9YYZ9XH54DFGG//222/nZ1gNuM8PPvhg1v+1Vnbqs1u/qdom
SaQxUPz0pz9dEFhaRujTMErDy/3aa6/NRE63/d1+++1rTz31VLOiB0HWLW/XfvzjH88m5tiknHyef/55
sY4feuihlRvIasE7dccddyzVGVGSjz76aH5UHm+99ZZ4jRaN9/HSpUvzkudx9uzZtXvvvVe8jrbxvB5+
+OG1X/3qV2svvfTS2jvvvLP2+eefz0vSBnxY33nnnUtl371799o333wzP2oaGDvuuuuupbI5i83DjxZp
f/7zn2cDmXRxLTOvgFEKvm4IF0rtrm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ZrzklytkQ3d25M
pMSwHkVaV3xz3ZZFGs/1vvvumz0DjbCnC3lqetNaEWmIUBfOHtq3E0qJtB/96Eez63/xxRfzf/GzSiKN
Z8V9EZ6nTZpIMwxjUtx2TXRMsSFENkanA5M2SHceLwa0GJywGFoGBDHJMSzZEbqdFDC4+ViPIg2cWGHW
rFvCpEWRBnhT8YAxQObOzGSAdRuQU+8+z2wfnpWPVkQaECLmnLwnQyHiEJE2dM99qFfnRVtPEwe6uH6N
j1cTaYZhTIqbqZmyPASih86aQbW7dEXX25WyajnbUlEmn/Dh/MzGQlxyHOsc8d90qG7AoWz8N8KEbV8o
49A91hBpDBQcR7lCzDd4xog06oFnwf2zfRC/CxFpCOCYsiKwJGJEGrjjWTA29ln0oUwu5Mv9M9uVMBbl
defmmPfee292Xdfurly5Mvtbn5ZEGrjjc/fu/MlPfjJ73tQ5deQm+bj2x/vGvbNMipvcU2sJDp4b9dFt
a0Pme2diRBr3y3Xpv1yUIQQTaYZhqOM63RiPVBe3UG13T06Xr5a6npmbPTomHBEgLu9tzAj5Dd1jDZHW
L9OY4UWQyhMj0oA9HrvXDxFp3XKEmjQAx4o0+PnPfz47X6wY8kGyfX8lfckQKggp34dFayINMeEW7vX9
JkSkHThwQFy4VjLqCLEf4+nMEWlSGYYMMSYRI9KAPqx73hBMpBmGYRiGYTSIiTTDMAzDMIwGMZFmGIZh
GIbRICbSDMMwDMMwGsREmmEYhmEYRnOsrf0PM+EOZvxr+4gAAAAASUVORK5CYII=
</value>
</data>
<data name="xrRichText3.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAE0AbwBuAHQAcwBlAHIAcgBhAHQAOwB9AH0AewBcAGMAbwBsAG8AcgB0AGIAbAAg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bABcAGYAMgBcAGYAcwAyADgAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA==</value>
</data>
<data name="xrRichText2.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0A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QBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A</value>
</data>
<data name="xrRichText1.SerializableRtfString" xml:space="preserve">
<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0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
</data>
</root>

View 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>{47A029F9-D420-48D2-BFE3-CB4988346366}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>KundeXyz</RootNamespace>
<AssemblyName>9388871209_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="Quittierungsbeleg.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Quittierungsbeleg.Designer.cs">
<DependentUpon>Quittierungsbeleg.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="Quittierungsbeleg.resx">
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -103,7 +103,7 @@ namespace VaroSozialagentur.Invoicing
var crp = crlist.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, invoicePeriod.StartDate);
if(crp != null && crp.CostRateValue.HasValue)
if (crp != null && crp.CostRateValue.HasValue)
{
int count = 0;
foreach (var sr in serviceRecordsInPeriod)

View File

@@ -97,7 +97,7 @@ namespace BeWo.Service.Plugins
//t = "8561513464"; // Caritasverband Wuppertal/Solingen
//t = "2727001973"; // SD Julia Schönberg
//t = "5653806613"; // Feid und Kollegen
//t = "3830114427"; // FiZ Familie im Zentrum Hof
t = "3830114427"; // FiZ Familie im Zentrum Hof
//t = "7138297573"; // Tagwerk betreutes wohnen
//t = "1008896531"; // BeWo Auxilio
//t = "9383760246"; // Die Kette
@@ -179,12 +179,12 @@ namespace BeWo.Service.Plugins
//t = "2331203795"; // BeWo für dich
//t = "5426234256"; // SKM Leverkusen
//t = "4137042939"; // MLG Lebengestalten / Haus Müllestumpe
//t = "5260936181"; // LORI
t = "5260936181"; // LORI
//t = "1931553444"; // HIBA
//t = "7185338722"; // BeWo Walz & Paiva
//t = "3196643272"; // Betreutes Wohnen Lisa Wöll
//t = "3432911735"; // Caritas Günzburg - Neu Ulm
//t = "2591682148"; // Humanitas
t = "2591682148"; // Humanitas
//t = "9805564204"; // LeWo Aachen
//t = "7215356798"; // Triathlon
//t = "3664416736"; // LH Mönchengladbach
@@ -283,6 +283,8 @@ namespace BeWo.Service.Plugins
//t = "9430188510"; // Pro INTEGRA
//t = "4820371076"; // Zuhause Wohnen Iris Thimm
//t = "1078667960"; // FAM Rhein-Sieg Gbr
//t = "9388871209"; // Sozialwerk Aachener Christen e.V.
t = "1566251835"; // Sicherleben Michael Voß
return t;
#else

View File

@@ -117,7 +117,7 @@ namespace BeWo.Service.Plugins
List<FerienDC> list = new List<FerienDC>();
if (bundesland.ToLower() == "nrw")
{
{
list.Add(new FerienDC() { Name = "Sommerferien 2014", Start = new DateTime(2014, 7, 7), Ende = new DateTime(2014, 8, 19) });
list.Add(new FerienDC() { Name = "Herbstferien 2014", Start = new DateTime(2014, 10, 6), Ende = new DateTime(2014, 10, 18) });
list.Add(new FerienDC() { Name = "Weihnachtsferien 2014", Start = new DateTime(2014, 12, 22), Ende = new DateTime(2015, 1, 6) });
@@ -254,9 +254,35 @@ namespace BeWo.Service.Plugins
anzGeschenkteTage += item.AnzahlTage;
}
}
if (contract.EmploymentType.LeaveDays != null)
contract.LeaveDays = contract.EmploymentType.LeaveDays;
tmp.Urlaubsanspruch += contract.LeaveDays + anzGeschenkteTage ?? 0;
tmp.Resturlaub = tmp.Urlaubsanspruch;
int arbeitstage = contract.WeeklyDays != null ? (int)contract.WeeklyDays : 0;
DateTime? endDate = contract.ContractEndDate == null ? new DateTime(year, 12, 31) : contract.ContractEndDate;
var t = emp;
if (contract.EntryDate.Value.Year == i)
{
if (endDate >= new DateTime(contract.EntryDate.Value.Year, 12, 31))
{
int restlicheTageImJahr = Convert.ToInt32((new DateTime(contract.EntryDate.Value.Year, 12, 31) - contract.EntryDate.Value.Date).TotalDays);
tmp.Resturlaub = CalcCorrectNumberOfLeaveDaysForSpecialContractSituation((DateTime)contract.EntryDate, null, arbeitstage, restlicheTageImJahr, contract.LeaveDays);
}
else // Wenn Ende des Vertrags im gleichen Jahr vor Ende des Jahres ist
{
int restlicheTageImJahr = Convert.ToInt32((contract.ContractEndDate.Value.Date - contract.EntryDate.Value.Date).TotalDays);
tmp.Resturlaub = CalcCorrectNumberOfLeaveDaysForSpecialContractSituation((DateTime)contract.EntryDate, contract.ContractEndDate.Value.Date, arbeitstage, restlicheTageImJahr, contract.LeaveDays);
}
}
if (endDate.Value.Year == i)
{
int restlicheTageImJahr = Convert.ToInt32(((DateTime)endDate - new DateTime(i, 1, 1)).TotalDays);
tmp.Resturlaub = CalcCorrectNumberOfLeaveDaysForSpecialContractSituation((DateTime)contract.EntryDate, endDate, arbeitstage, restlicheTageImJahr, contract.LeaveDays);
}
}
}
}
@@ -291,7 +317,7 @@ namespace BeWo.Service.Plugins
yearFiller++;
}
var current = konten[absYear];
var start = DateTimeExtensions.GetMax(absence.Start, new DateTime(absYear, 1, 1));
@@ -306,7 +332,7 @@ namespace BeWo.Service.Plugins
{
var firstEnd = (DateTime)DateTimeExtensions.GetMin(end, expiration);
var dauerVorjahr = (decimal)(firstEnd - absence.Start.Value).Days + 1;
var bucheVorjahr = Math.Min(current.ResturlaubVorjahr, dauerVorjahr);
current.ResturlaubVorjahr -= bucheVorjahr;
@@ -329,6 +355,68 @@ namespace BeWo.Service.Plugins
}
}
private decimal CalcCorrectNumberOfLeaveDaysForSpecialContractSituation(DateTime entryDate, DateTime? endDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstageProJahr)
{
decimal urlaubstage = 0;
if (urlaubstageProJahr == null)
urlaubstageProJahr = 0m;
if (entryDate.Day == 1 && entryDate.Month == 1 || entryDate.Day == 2 && entryDate.Month == 1) //Erster Tag im Jahr
{
//Prüfen, ob Enddatum Ende des Jahres oder früher ist
if (endDate == null)
{
if (anzahlArbeitstage < 5) // weniger als 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 5m * anzahlArbeitstage;
else
{
if (anzahlArbeitstage == 5) // 5 Tage
urlaubstage = (decimal)urlaubstageProJahr;
else if (anzahlArbeitstage == 6) // 6 Tage
urlaubstage = (decimal)urlaubstageProJahr;
}
}
else
{
if (anzahlArbeitstage < 5) // weniger als 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 5m * anzahlArbeitstage;
else
{
if (anzahlArbeitstage == 5) // 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
else if (anzahlArbeitstage == 6) // 6 Tage
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
}
}
}
else if (/*entryDate.Day > 1 && */anzahlArbeitstage < 5) // Mitten im Jahr, weniger als 5 Tage
{
urlaubstage = (decimal)urlaubstageProJahr / 5m * 3m / 365m * restlicheTageImJahr;
}
else if (/*entryDate.Day > 1 && */anzahlArbeitstage >= 5) // Mitten im Jahr, 5 oder 6 Tage
{
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
}
// Runden
if (urlaubstage - (int)urlaubstage <= 0.1m)
{
urlaubstage = Math.Round(urlaubstage, MidpointRounding.AwayFromZero);
}
else if (urlaubstage - (int)urlaubstage <= 0.5m)
{
decimal digits = urlaubstage - (int)urlaubstage;
urlaubstage = urlaubstage - digits + 0.5m;
}
else if (urlaubstage - (int)urlaubstage <= 1.0m)
{
urlaubstage = Math.Ceiling(urlaubstage);
}
return urlaubstage;
}
private decimal BerechneAnzahlUrlaubstage(Employee emp, AbsenceTime absence, int year)
{
if (absence.Start.HasValue)
@@ -348,7 +436,7 @@ namespace BeWo.Service.Plugins
end = maxend;
}
while (start <= end)
{
if (start.DayOfWeek != DayOfWeek.Saturday && start.DayOfWeek != DayOfWeek.Sunday && !IstFeiertag(start))

View File

@@ -422,7 +422,7 @@ namespace BeWo.Service.ServiceContracts
[FaultContract(typeof(BeWoFault))]
[OperationContract]
decimal CalculateUrlaubstage(DateTime entryDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstageProJahr);
decimal CalculateUrlaubstage(DateTime entryDate, DateTime? endDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstageProJahr);
[FaultContract(typeof(BeWoFault))]
[OperationContract]

View File

@@ -1874,8 +1874,8 @@ namespace BeWo.Service.ServiceImplementations
}
}
public decimal CalculateUrlaubstage(DateTime entryDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstageProJahr)
{
public decimal CalculateUrlaubstage(DateTime entryDate, DateTime? endDate, int anzahlArbeitstage, int restlicheTageImJahr, decimal? urlaubstageProJahr) // Enddatum in die Parameterliste
{
try
{
decimal urlaubstage = 0;
@@ -1884,21 +1884,38 @@ namespace BeWo.Service.ServiceImplementations
if (entryDate.Day == 1 && entryDate.Month == 1 || entryDate.Day == 2 && entryDate.Month == 1) //Erster Tag im Jahr
{
if (anzahlArbeitstage < 5) // weniger als 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 5m * anzahlArbeitstage;
//Prüfen, ob Enddatum Ende des Jahres oder früher ist
if(endDate == null)
{
if (anzahlArbeitstage < 5) // weniger als 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 5m * anzahlArbeitstage;
else
{
if (anzahlArbeitstage == 5) // 5 Tage
urlaubstage = (decimal)urlaubstageProJahr;
else if (anzahlArbeitstage == 6) // 6 Tage
urlaubstage = (decimal)urlaubstageProJahr;
}
}
else
{
if (anzahlArbeitstage == 5) // 5 Tage
urlaubstage = (decimal)urlaubstageProJahr;
else if (anzahlArbeitstage == 6) // 6 Tage
urlaubstage = (decimal)urlaubstageProJahr;
if (anzahlArbeitstage < 5) // weniger als 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 5m * anzahlArbeitstage;
else
{
if (anzahlArbeitstage == 5) // 5 Tage
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
else if (anzahlArbeitstage == 6) // 6 Tage
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
}
}
}
else if (entryDate.Day > 1 && anzahlArbeitstage < 5) // Mitten im Monat, weniger als 5 Tage
else if (/*entryDate.Day > 1 && */anzahlArbeitstage < 5) // Mitten im Jahr, weniger als 5 Tage
{
urlaubstage = (decimal)urlaubstageProJahr / 5m * 3m / 365m * restlicheTageImJahr;
}
else if (entryDate.Day > 1 && anzahlArbeitstage >= 5) // Mitten im Monat, 5 oder 6 Tage
else if (/*entryDate.Day > 1 && */anzahlArbeitstage >= 5) // Mitten im Jahr, 5 oder 6 Tage
{
urlaubstage = (decimal)urlaubstageProJahr / 365m * restlicheTageImJahr;
}