Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo
Konfilkte behoben
This commit is contained in:
@@ -115,8 +115,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LebenshilfeEssenReports", "
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MuellestumpeReports", "ReportImp\MuellestumpeReports\MuellestumpeReports.csproj", "{9145848B-880B-495D-A528-61830A30AB4D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchillingerReports", "ReportImp\SchillingerReports\SchillingerReports.csproj", "{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WigonetzReports", "ReportImp\WigonetzReports\WigonetzReports.csproj", "{2EDF987E-ABA8-4840-90FB-4B364BA8D19A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SigncomReports", "ReportImp\SigncomReports\SigncomReports.csproj", "{79D48DBF-DBD5-4CCB-B643-3DD3C5F4ADF0}"
|
||||
@@ -1006,6 +1004,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FabiansDatenbank", "ReportI
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VereinZurIntegrationChemnitz", "ReportImp\VereinZurIntegrationChemnitz\VereinZurIntegrationChemnitz.csproj", "{EA969934-60A6-459F-A07C-1CF537ED775E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BEWODIREKTGmbH", "ReportImp\BEWODIREKTGmbH\BEWODIREKTGmbH.csproj", "{B549B705-DA0C-40A6-85D9-27D6852BC991}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -2101,28 +2101,6 @@ Global
|
||||
{9145848B-880B-495D-A528-61830A30AB4D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{9145848B-880B-495D-A528-61830A30AB4D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{9145848B-880B-495D-A528-61830A30AB4D}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|.NET.ActiveCfg = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|.NET.Build.0 = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|Any CPU.ActiveCfg = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|Any CPU.Build.0 = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|Mixed Platforms.ActiveCfg = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|Mixed Platforms.Build.0 = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|x86.ActiveCfg = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.DebugRemote|x86.Build.0 = DebugRemote|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{2EDF987E-ABA8-4840-90FB-4B364BA8D19A}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{2EDF987E-ABA8-4840-90FB-4B364BA8D19A}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{2EDF987E-ABA8-4840-90FB-4B364BA8D19A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
@@ -12344,6 +12322,30 @@ Global
|
||||
{EA969934-60A6-459F-A07C-1CF537ED775E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{EA969934-60A6-459F-A07C-1CF537ED775E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{EA969934-60A6-459F-A07C-1CF537ED775E}.Release|x86.Build.0 = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|.NET.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|x86.ActiveCfg = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.DebugRemote|x86.Build.0 = Debug|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -12397,7 +12399,6 @@ Global
|
||||
{F0F719F9-916F-4C22-AC0F-B3237AD5B5FC} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{48C4F2FB-0251-47B5-8CB8-268AD2020D76} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{9145848B-880B-495D-A528-61830A30AB4D} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{5B55F33D-F348-4ABA-AC5E-0826BE1A6EC9} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{2EDF987E-ABA8-4840-90FB-4B364BA8D19A} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{79D48DBF-DBD5-4CCB-B643-3DD3C5F4ADF0} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{F2CF1C5C-74F7-47D7-983F-30172B5C0BBC} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
@@ -12841,6 +12842,7 @@ Global
|
||||
{D80E7BBD-F017-4FBB-B3D3-5AD9F43C418D} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{2B6F428D-8F97-4638-AF6B-907CB98D9869} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{EA969934-60A6-459F-A07C-1CF537ED775E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{B549B705-DA0C-40A6-85D9-27D6852BC991} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}
|
||||
|
||||
@@ -3600,11 +3600,11 @@ namespace BeWoPlanerMobil.Controllers
|
||||
[Authorize]
|
||||
public ActionResult RedirectToDevExpressScheduler()
|
||||
{
|
||||
#if DEBUG
|
||||
//#if DEBUG
|
||||
return RedirectToActionPermanent("DevExpressScheduler", "DevExpressScheduler");
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
return RedirectToMain();
|
||||
//return RedirectToMain();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1236,9 +1236,38 @@ namespace BeWo.Report.ReportObjects
|
||||
//do nothing
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verknüpft einen bereits verarbeiteten ("alten") Record mit seinem Zeit-Span und
|
||||
/// seiner Einfüge-Reihenfolge. Der Span wird gecacht (statt pro Paar neu berechnet) und
|
||||
/// bei In-Place-Korrekturen des Records aktualisiert; der Index stellt die exakte
|
||||
/// Verarbeitungsreihenfolge wieder her, wenn Kandidaten aus mehreren Tages-Buckets stammen.
|
||||
/// </summary>
|
||||
private sealed class OverlapEntry
|
||||
{
|
||||
public readonly StundenkontoServiceRecord Record;
|
||||
public readonly DateTimeSpan Span;
|
||||
public readonly int Index;
|
||||
|
||||
public OverlapEntry(StundenkontoServiceRecord record, DateTimeSpan span, int index)
|
||||
{
|
||||
Record = record;
|
||||
Span = span;
|
||||
Index = index;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void CorrectOverlappingTimes(IList<StundenkontoServiceRecord> serviceRecords)
|
||||
{
|
||||
List<StundenkontoServiceRecord> oldRecords = new List<StundenkontoServiceRecord>();
|
||||
// Tages-Index über bereits verarbeitete Records. Zwei Records können sich nur
|
||||
// überlappen, wenn sich ihre Zeitintervalle schneiden - und damit teilen sie
|
||||
// mindestens einen Kalendertag. Statt jeden neuen Record gegen ALLE alten zu
|
||||
// prüfen (O(n²)), vergleichen wir ihn nur gegen die Records der Tage, die sein
|
||||
// Span berührt. Da Korrekturen Intervalle ausschließlich verkleinern (Start wandert
|
||||
// nach vorne, Ende bleibt), ist die Ausdehnung bei der Registrierung eine sichere
|
||||
// Obermenge - es kann nie eine neue Überlappung entstehen. Durch Iteration in
|
||||
// Einfüge-Reihenfolge (Index) bleibt das Ergebnis bit-identisch zur alten Version.
|
||||
var oldRecordsByDay = new Dictionary<DateTime, List<OverlapEntry>>();
|
||||
int insertionIndex = 0;
|
||||
|
||||
foreach (var newRecord in serviceRecords)
|
||||
{
|
||||
@@ -1264,34 +1293,19 @@ namespace BeWo.Report.ReportObjects
|
||||
EndDateTime = newRecord.Start.AddMinutes((double)minuten)
|
||||
};
|
||||
|
||||
foreach (var oldRecord in oldRecords)
|
||||
foreach (var oldEntry in CollectOverlapCandidates(oldRecordsByDay, newSpan))
|
||||
{
|
||||
var oldRecord = oldEntry.Record;
|
||||
if (!CorrectOverlappingTime(oldRecord, newRecord))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var oldSpan = new DateTimeSpan
|
||||
{
|
||||
StartDateTime = oldRecord.Start,
|
||||
EndDateTime = oldRecord.Start.AddMinutes((double)oldRecord.RoundedDuration)
|
||||
};
|
||||
if (oldRecord.GroupRoundedDuration.HasValue)
|
||||
{
|
||||
oldSpan.EndDateTime = oldRecord.Start.AddMinutes((double)oldRecord.GroupRoundedDuration);
|
||||
}
|
||||
// Gecachter Span; wird bei der Korrektur unten in-place mit oldRecord synchron gehalten.
|
||||
var oldSpan = oldEntry.Span;
|
||||
|
||||
if (oldSpan.Overlaps(newSpan))
|
||||
{
|
||||
DateTime start = newSpan.StartDateTime;
|
||||
if (oldSpan.StartDateTime > start)
|
||||
start = oldSpan.StartDateTime;
|
||||
|
||||
DateTime end = newSpan.EndDateTime;
|
||||
|
||||
if (oldSpan.EndDateTime < end)
|
||||
end = oldSpan.EndDateTime;
|
||||
|
||||
|
||||
|
||||
if (newSpan.StartDateTime >= oldSpan.StartDateTime)
|
||||
{
|
||||
newSpan.StartDateTime = oldSpan.EndDateTime;
|
||||
@@ -1337,8 +1351,84 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
}
|
||||
}
|
||||
oldRecords.Add(newRecord);
|
||||
|
||||
// newRecord wird zum "alten" Record: in alle Tages-Buckets seiner (ggf. bereits
|
||||
// gekürzten) Ausdehnung einsortieren. newSpan ist zugleich der gecachte Span.
|
||||
RegisterOldRecord(oldRecordsByDay, new OverlapEntry(newRecord, newSpan, insertionIndex++));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sammelt alle bereits verarbeiteten Records, deren Tag der übergebene Span berührt, in
|
||||
/// exakter Einfüge-Reihenfolge. Der häufigste Fall (Record innerhalb eines Tages) wird ohne
|
||||
/// Zwischenliste/Sortierung bedient; nur bei tagesübergreifenden Spans werden mehrere Buckets
|
||||
/// zusammengeführt, dedupliziert und nach Einfüge-Index sortiert.
|
||||
/// </summary>
|
||||
private static IEnumerable<OverlapEntry> CollectOverlapCandidates(
|
||||
Dictionary<DateTime, List<OverlapEntry>> oldRecordsByDay, DateTimeSpan newSpan)
|
||||
{
|
||||
DateTime firstDay = newSpan.StartDateTime.Date;
|
||||
DateTime lastDay = newSpan.EndDateTime.Date;
|
||||
if (lastDay < firstDay)
|
||||
{
|
||||
lastDay = firstDay;
|
||||
}
|
||||
|
||||
if (firstDay == lastDay)
|
||||
{
|
||||
// Ein Bucket ist bereits in Einfüge-Reihenfolge -> direkt verwenden.
|
||||
List<OverlapEntry> bucket;
|
||||
if (oldRecordsByDay.TryGetValue(firstDay, out bucket))
|
||||
{
|
||||
return bucket;
|
||||
}
|
||||
return System.Linq.Enumerable.Empty<OverlapEntry>();
|
||||
}
|
||||
|
||||
var candidates = new List<OverlapEntry>();
|
||||
var seen = new HashSet<int>();
|
||||
for (DateTime day = firstDay; day <= lastDay; day = day.AddDays(1))
|
||||
{
|
||||
List<OverlapEntry> bucket;
|
||||
if (!oldRecordsByDay.TryGetValue(day, out bucket))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
foreach (var entry in bucket)
|
||||
{
|
||||
// Ein tagesübergreifender Record steht in mehreren Buckets -> nur einmal prüfen.
|
||||
if (seen.Add(entry.Index))
|
||||
{
|
||||
candidates.Add(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
candidates.Sort((a, b) => a.Index.CompareTo(b.Index));
|
||||
return candidates;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Registriert einen Record in allen Tages-Buckets, die seine Ausdehnung berührt.
|
||||
/// </summary>
|
||||
private static void RegisterOldRecord(
|
||||
Dictionary<DateTime, List<OverlapEntry>> oldRecordsByDay, OverlapEntry entry)
|
||||
{
|
||||
DateTime firstDay = entry.Span.StartDateTime.Date;
|
||||
DateTime lastDay = entry.Span.EndDateTime.Date;
|
||||
if (lastDay < firstDay)
|
||||
{
|
||||
lastDay = firstDay;
|
||||
}
|
||||
|
||||
for (DateTime day = firstDay; day <= lastDay; day = day.AddDays(1))
|
||||
{
|
||||
List<OverlapEntry> bucket;
|
||||
if (!oldRecordsByDay.TryGetValue(day, out bucket))
|
||||
{
|
||||
bucket = new List<OverlapEntry>();
|
||||
oldRecordsByDay[day] = bucket;
|
||||
}
|
||||
bucket.Add(entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -66,6 +66,12 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegEinzelunterschrift.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegEinzelunterschrift.Designer.cs">
|
||||
<DependentUpon>QuittierungsbelegEinzelunterschrift.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Quittierungsbeleg.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -78,6 +84,12 @@
|
||||
<Compile Include="ServiceInvoiceReport.Designer.cs">
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ServiceRecordListReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServiceRecordListReport.Designer.cs">
|
||||
<DependentUpon>ServiceRecordListReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service\CustomAccountingService.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -104,6 +116,10 @@
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuittierungsbelegEinzelunterschrift.resx">
|
||||
<DependentUpon>QuittierungsbelegEinzelunterschrift.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Quittierungsbeleg.resx">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -112,6 +128,10 @@
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServiceRecordListReport.resx">
|
||||
<DependentUpon>ServiceRecordListReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.DefaultReports;
|
||||
using BeWo.Report.ReportObjects;
|
||||
@@ -97,8 +98,16 @@ namespace AwoIntegrationsGGmbH
|
||||
}
|
||||
|
||||
XtraReport report = null;
|
||||
report = AddReportToReport<Quittierungsbeleg>(report, flsRo);
|
||||
report = AddReportToReport<Quittierungsbeleg>(report, assiRo);
|
||||
if (ro.StartDate > new DateTime(2026, 07, 31))
|
||||
{
|
||||
report = AddReportToReport<QuittierungsbelegEinzel>(report, flsRo);
|
||||
report = AddReportToReport<QuittierungsbelegEinzel>(report, assiRo);
|
||||
}
|
||||
else
|
||||
{
|
||||
report = AddReportToReport<Quittierungsbeleg>(report, flsRo);
|
||||
report = AddReportToReport<Quittierungsbeleg>(report, assiRo);
|
||||
}
|
||||
|
||||
if (report == null)
|
||||
report = new XtraReport();
|
||||
|
||||
921
ReportImp/AwoIntegrationsGGmbH/QuittierungsbelegEinzelunterschrift.Designer.cs
generated
Normal file
921
ReportImp/AwoIntegrationsGGmbH/QuittierungsbelegEinzelunterschrift.Designer.cs
generated
Normal file
@@ -0,0 +1,921 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
partial class QuittierungsbelegEinzel
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components;
|
||||
|
||||
/// <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(QuittierungsbelegEinzel));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBetreuungsart = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblQuali = 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.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.MinutesAlsStunden = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Expanded = false;
|
||||
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;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupHeader1});
|
||||
this.DetailReport.DataMember = "Services";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable3});
|
||||
this.Detail1.HeightF = 20F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow6});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(747F, 20F);
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableRow6
|
||||
//
|
||||
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell16});
|
||||
this.xrTableRow6.Name = "xrTableRow6";
|
||||
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableRow6.Weight = 1D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate")});
|
||||
this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell13.StylePriority.UseBorders = false;
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.StylePriority.UsePadding = false;
|
||||
this.xrTableCell13.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell13.Text = "xrTableCell13";
|
||||
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell13.TextFormatString = "{0:dd.}";
|
||||
this.xrTableCell13.Weight = 0.044611311750671678D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDateMinutes")});
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.TextFormatString = "{0:HH:mm}";
|
||||
this.xrTableCell2.Weight = 0.083815186973114117D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EndDateMinutes")});
|
||||
this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UseBorders = false;
|
||||
this.xrTableCell7.StylePriority.UseFont = false;
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell7.TextFormatString = "{0:HH:mm}";
|
||||
this.xrTableCell7.Weight = 0.083815089273566346D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")});
|
||||
this.xrTableCell8.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell8.StylePriority.UseBorders = false;
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UsePadding = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell8.Weight = 0.0743522958679138D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.MinutesAlsStunden")});
|
||||
this.xrTableCell11.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseBorders = false;
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UsePadding = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell11.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell11.Weight = 0.091926318832847548D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeLastName")});
|
||||
this.xrTableCell14.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell14.StylePriority.UseBorders = false;
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell14.Weight = 0.14059330861462982D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")});
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell9.Weight = 0.34293293774883005D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupHeader1.HeightF = 35F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(747F, 35F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell15});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow1.StylePriority.UseBorders = false;
|
||||
this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableRow1.Weight = 1.75D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Tag";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Weight = 0.064218551375434724D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "von";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell3.Weight = 0.12065312022897816D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell4.Multiline = true;
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "bis";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell4.Weight = 0.12065312718064225D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell5.Multiline = true;
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "FTF";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.10703099665945995D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Arbeitszeit";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.13232922409439637D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell12.StylePriority.UseBorders = false;
|
||||
this.xrTableCell12.StylePriority.UseFont = false;
|
||||
this.xrTableCell12.StylePriority.UsePadding = false;
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "Mitarbeiter/in";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell12.Weight = 0.19265579460259721D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.Text = "Bemerkung";
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell6.Weight = 0.50338672937390772D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// formattingRuleStartDate
|
||||
//
|
||||
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
|
||||
this.formattingRuleStartDate.DataMember = "ServicesDouble";
|
||||
this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.formattingRuleStartDate.Name = "formattingRuleStartDate";
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel34,
|
||||
this.xrLabel33,
|
||||
this.xrLabel41,
|
||||
this.xrLabel37,
|
||||
this.xrLabel38,
|
||||
this.lblBetreuungsart,
|
||||
this.xrLabel40,
|
||||
this.xrLabel29,
|
||||
this.xrLabel30,
|
||||
this.xrLabel31,
|
||||
this.lblQuali,
|
||||
this.xrLabel28,
|
||||
this.xrLabel27,
|
||||
this.xrLabel26,
|
||||
this.xrLabel25});
|
||||
this.ReportHeader.HeightF = 191.4583F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel34
|
||||
//
|
||||
this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.xrLabel34.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(474.2085F, 156.7085F);
|
||||
this.xrLabel34.Multiline = true;
|
||||
this.xrLabel34.Name = "xrLabel34";
|
||||
this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel34.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.xrLabel34.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel33
|
||||
//
|
||||
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 84.58341F);
|
||||
this.xrLabel33.Multiline = true;
|
||||
this.xrLabel33.Name = "xrLabel33";
|
||||
this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel33.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.xrLabel33.Text = "Kostenträger";
|
||||
//
|
||||
// xrLabel41
|
||||
//
|
||||
this.xrLabel41.LocationFloat = new DevExpress.Utils.PointFloat(100F, 74.08339F);
|
||||
this.xrLabel41.Multiline = true;
|
||||
this.xrLabel41.Name = "xrLabel41";
|
||||
this.xrLabel41.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel41.SizeF = new System.Drawing.SizeF(279.3611F, 19.87502F);
|
||||
this.xrLabel41.Text = "[CustomerPostalCode] [CustomerCity]";
|
||||
//
|
||||
// xrLabel37
|
||||
//
|
||||
this.xrLabel37.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 136.8335F);
|
||||
this.xrLabel37.Multiline = true;
|
||||
this.xrLabel37.Name = "xrLabel37";
|
||||
this.xrLabel37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel37.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.xrLabel37.Text = "Mittelbindungsnummer";
|
||||
//
|
||||
// xrLabel38
|
||||
//
|
||||
this.xrLabel38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Costbearer")});
|
||||
this.xrLabel38.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel38.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 104.4584F);
|
||||
this.xrLabel38.Multiline = true;
|
||||
this.xrLabel38.Name = "xrLabel38";
|
||||
this.xrLabel38.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel38.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.xrLabel38.StylePriority.UseFont = false;
|
||||
this.xrLabel38.Text = "Bezirksamt Mitte";
|
||||
//
|
||||
// lblBetreuungsart
|
||||
//
|
||||
this.lblBetreuungsart.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblBetreuungsart.LocationFloat = new DevExpress.Utils.PointFloat(474.2085F, 54.20837F);
|
||||
this.lblBetreuungsart.Multiline = true;
|
||||
this.lblBetreuungsart.Name = "lblBetreuungsart";
|
||||
this.lblBetreuungsart.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblBetreuungsart.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.lblBetreuungsart.StylePriority.UseFont = false;
|
||||
this.lblBetreuungsart.StylePriority.UseTextAlignment = false;
|
||||
this.lblBetreuungsart.Text = "SPFH";
|
||||
this.lblBetreuungsart.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel40
|
||||
//
|
||||
this.xrLabel40.LocationFloat = new DevExpress.Utils.PointFloat(474.2085F, 34.33335F);
|
||||
this.xrLabel40.Multiline = true;
|
||||
this.xrLabel40.Name = "xrLabel40";
|
||||
this.xrLabel40.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel40.SizeF = new System.Drawing.SizeF(219.7917F, 19.87502F);
|
||||
this.xrLabel40.Text = "Art des Einsatzes";
|
||||
//
|
||||
// xrLabel29
|
||||
//
|
||||
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(100F, 34.33335F);
|
||||
this.xrLabel29.Multiline = true;
|
||||
this.xrLabel29.Name = "xrLabel29";
|
||||
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel29.SizeF = new System.Drawing.SizeF(279.3611F, 19.87502F);
|
||||
//
|
||||
// xrLabel30
|
||||
//
|
||||
this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerStreet")});
|
||||
this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(100F, 54.20844F);
|
||||
this.xrLabel30.Multiline = true;
|
||||
this.xrLabel30.Name = "xrLabel30";
|
||||
this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel30.SizeF = new System.Drawing.SizeF(279.3611F, 19.87503F);
|
||||
//
|
||||
// xrLabel31
|
||||
//
|
||||
this.xrLabel31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
|
||||
this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(100F, 104.4584F);
|
||||
this.xrLabel31.Multiline = true;
|
||||
this.xrLabel31.Name = "xrLabel31";
|
||||
this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel31.SizeF = new System.Drawing.SizeF(279.3611F, 19.87502F);
|
||||
//
|
||||
// lblQuali
|
||||
//
|
||||
this.lblQuali.LocationFloat = new DevExpress.Utils.PointFloat(100F, 136.8335F);
|
||||
this.lblQuali.Multiline = true;
|
||||
this.lblQuali.Name = "lblQuali";
|
||||
this.lblQuali.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblQuali.SizeF = new System.Drawing.SizeF(279.3611F, 19.87501F);
|
||||
//
|
||||
// xrLabel28
|
||||
//
|
||||
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(0F, 136.8335F);
|
||||
this.xrLabel28.Multiline = true;
|
||||
this.xrLabel28.Name = "xrLabel28";
|
||||
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel28.SizeF = new System.Drawing.SizeF(100F, 19.87502F);
|
||||
this.xrLabel28.Text = "Qualifikation";
|
||||
//
|
||||
// xrLabel27
|
||||
//
|
||||
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.4584F);
|
||||
this.xrLabel27.Multiline = true;
|
||||
this.xrLabel27.Name = "xrLabel27";
|
||||
this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel27.SizeF = new System.Drawing.SizeF(100F, 19.87502F);
|
||||
this.xrLabel27.Text = "MitarbeiterIn";
|
||||
//
|
||||
// xrLabel26
|
||||
//
|
||||
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(0F, 54.20844F);
|
||||
this.xrLabel26.Multiline = true;
|
||||
this.xrLabel26.Name = "xrLabel26";
|
||||
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel26.SizeF = new System.Drawing.SizeF(100F, 19.87502F);
|
||||
this.xrLabel26.Text = "Anschrift";
|
||||
//
|
||||
// xrLabel25
|
||||
//
|
||||
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.33335F);
|
||||
this.xrLabel25.Multiline = true;
|
||||
this.xrLabel25.Name = "xrLabel25";
|
||||
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel25.SizeF = new System.Drawing.SizeF(100F, 19.87502F);
|
||||
this.xrLabel25.Text = "Familie";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel2.ForeColor = System.Drawing.Color.Black;
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 157.7083F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(556.8793F, 25F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UseForeColor = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.Text = "Stundennachweis";
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// formattingRuleServiceDesc
|
||||
//
|
||||
this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]";
|
||||
this.formattingRuleServiceDesc.DataMember = "ServicesDouble";
|
||||
this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc";
|
||||
//
|
||||
// formattingRuleCostBearer
|
||||
//
|
||||
this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]";
|
||||
this.formattingRuleCostBearer.DataMember = "ServicesDouble";
|
||||
this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.formattingRuleCostBearer.Name = "formattingRuleCostBearer";
|
||||
//
|
||||
// formattingRuleEmployeeName
|
||||
//
|
||||
this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]";
|
||||
this.formattingRuleEmployeeName.DataMember = "ServicesDouble";
|
||||
this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel24,
|
||||
this.xrLabel2,
|
||||
this.xrPictureBox3});
|
||||
this.topMarginBand1.HeightF = 217.7083F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// xrLabel24
|
||||
//
|
||||
this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel24.ForeColor = System.Drawing.Color.Black;
|
||||
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(0F, 182.7083F);
|
||||
this.xrLabel24.Multiline = true;
|
||||
this.xrLabel24.Name = "xrLabel24";
|
||||
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel24.SizeF = new System.Drawing.SizeF(556.8793F, 25F);
|
||||
this.xrLabel24.StylePriority.UseFont = false;
|
||||
this.xrLabel24.StylePriority.UseForeColor = false;
|
||||
this.xrLabel24.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel24.Text = "Abrechnungsmonat [Month] [Year]";
|
||||
this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrPictureBox3
|
||||
//
|
||||
this.xrPictureBox3.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox3.ImageSource"));
|
||||
this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(556.8793F, 14.16666F);
|
||||
this.xrPictureBox3.Name = "xrPictureBox3";
|
||||
this.xrPictureBox3.SizeF = new System.Drawing.SizeF(190.1207F, 203.5417F);
|
||||
this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 67.29164F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel3,
|
||||
this.xrLabel17,
|
||||
this.xrPictureBox1,
|
||||
this.lblUnterschriftMitarbeiter,
|
||||
this.xrLabel1});
|
||||
this.GroupFooter1.HeightF = 97.5001F;
|
||||
this.GroupFooter1.KeepTogether = true;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(212F, 20F);
|
||||
this.xrLabel3.StylePriority.UseBackColor = false;
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UsePadding = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:0.00}";
|
||||
this.xrLabel3.Summary = xrSummary1;
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeSignatureDate", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(360.6991F, 35.95835F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(136.8289F, 35.50002F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "EmployeeSignature")});
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(498.028F, 35.95835F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.Scripts.OnBeforePrint = "xrPictureBox1_BeforePrint";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(199.3611F, 35.50002F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// lblUnterschriftMitarbeiter
|
||||
//
|
||||
this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblUnterschriftMitarbeiter.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(360.6991F, 71.45837F);
|
||||
this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
|
||||
this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(336.6944F, 19.99998F);
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBackColor = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseBorders = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseFont = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UsePadding = false;
|
||||
this.lblUnterschriftMitarbeiter.StylePriority.UseTextAlignment = false;
|
||||
this.lblUnterschriftMitarbeiter.Text = "Datum, verantwortliche/r Mitarbeiter/in";
|
||||
this.lblUnterschriftMitarbeiter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.MinutesAlsStunden")});
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(212F, 0F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(67.99998F, 20F);
|
||||
this.xrLabel1.StylePriority.UseBackColor = false;
|
||||
this.xrLabel1.StylePriority.UseBorders = false;
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UsePadding = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
xrSummary2.FormatString = "{0:0.00}";
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrLabel1.Summary = xrSummary2;
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// fieldKontaktArt
|
||||
//
|
||||
this.fieldKontaktArt.DataMember = "Services";
|
||||
this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')";
|
||||
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldKontaktArt.Name = "fieldKontaktArt";
|
||||
//
|
||||
// MinutesAlsStunden
|
||||
//
|
||||
this.MinutesAlsStunden.DataMember = "Services";
|
||||
this.MinutesAlsStunden.Expression = "[Minutes] / 60";
|
||||
this.MinutesAlsStunden.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.MinutesAlsStunden.Name = "MinutesAlsStunden";
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UsePadding = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "Unterschrift Klient/in";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell15.Weight = 0.21274795387136466D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.picSignature});
|
||||
this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell16.Multiline = true;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrTableCell16.StylePriority.UseBorders = false;
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.StylePriority.UsePadding = false;
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell16.Weight = 0.147791448784927D;
|
||||
//
|
||||
// picSignature
|
||||
//
|
||||
this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
|
||||
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.picSignature.Name = "picSignature";
|
||||
this.picSignature.SizeF = new System.Drawing.SizeF(109.3246F, 20F);
|
||||
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
this.picSignature.StylePriority.UseBorders = false;
|
||||
this.picSignature.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.picSignature_BeforePrint);
|
||||
//
|
||||
// QuittierungsbelegEinzel
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupFooter1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldKontaktArt,
|
||||
this.MinutesAlsStunden});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleStartDate,
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(50F, 30F, 217.7083F, 67.29164F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate;
|
||||
private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc;
|
||||
private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer;
|
||||
private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel24;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel25;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel29;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel30;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel31;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblQuali;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel28;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel27;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel26;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel38;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBetreuungsart;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel40;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel41;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel33;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.CalculatedField MinutesAlsStunden;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel34;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel37;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblUnterschriftMitarbeiter;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
public partial class QuittierungsbelegEinzel : XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public QuittierungsbelegEinzel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
ServicesOverviewRO.CreateSignatureString(sd);
|
||||
|
||||
// abklären, wann facetoface ja ist und wann nein
|
||||
sd.Notice5 = "Nein";
|
||||
if (sd.ServiceDescription.ToLower().Contains("face") || sd.ServiceDescription.ToLower().StartsWith("co"))
|
||||
{
|
||||
sd.Notice5 = "Ja";
|
||||
}
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
}
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
if (pRO.CostBearer2SupportConceptList != null)
|
||||
{
|
||||
SetzeBetreuungsAngaben(pRO.CostBearer2SupportConceptList);
|
||||
}
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void SetzeBetreuungsAngaben(IList<CostBearer2SupportConcept> costBearer2SupportConceptList)
|
||||
{
|
||||
var cb2sc = costBearer2SupportConceptList[0];
|
||||
var customer = cb2sc.SupportConcept.Customer;
|
||||
|
||||
foreach (var c2o in customer.Employee2CustomerList)
|
||||
{
|
||||
foreach (var v2o in c2o.ValueList)
|
||||
{
|
||||
if (v2o.Entry.SystemEntryID.HasValue && v2o.Entry.SystemEntryID.Value == SystemEntryID.EmployeeRoleMainAttendant
|
||||
&& c2o.Employee != null && c2o.Employee.ValueList != null && c2o.Employee.ValueList.Count > 0)
|
||||
{
|
||||
var quali = c2o.Employee.ValueList.Where(v => v.Entry.Type == ValueListEntryType.StaffQualificationsType).FirstOrDefault();
|
||||
if (quali != null)
|
||||
{
|
||||
lblQuali.Text = quali.Entry.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Angaben zur Betreuungsart / Hilfeart
|
||||
string angabe = "";
|
||||
var betreuungsarten = customer.ValueList.Where(v2o => v2o.Entry.Type == ValueListEntryType.CustomerCareType).ToList();
|
||||
if (betreuungsarten != null && betreuungsarten.Count > 0)
|
||||
{
|
||||
foreach (var art in betreuungsarten)
|
||||
{
|
||||
Match match = Regex.Match(art.Entry.Value, @"\(([^)]*)\)");
|
||||
|
||||
if (match.Success)
|
||||
{
|
||||
if (angabe != "")
|
||||
{
|
||||
angabe += ", ";
|
||||
}
|
||||
angabe += match.Groups[1].Value.Trim();
|
||||
}
|
||||
}
|
||||
lblBetreuungsart.Text = angabe;
|
||||
}
|
||||
}
|
||||
|
||||
private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs 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);
|
||||
System.Drawing.Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
{
|
||||
xrBox.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using(var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return System.Drawing.Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
593
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.Designer.cs
generated
Normal file
593
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.Designer.cs
generated
Normal file
@@ -0,0 +1,593 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoIntegrationsGGmbH
|
||||
{
|
||||
partial class Leistungen
|
||||
{
|
||||
/// <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.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.formattingRuleGoalsInvisible = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGoalCaption = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.fieldGoalCaption = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
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.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).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;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.RoundedDuration", "{0:0.##}")});
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell3.Weight = 0.54761925522161992D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.Start", "{0:dd/MM/yyyy}")});
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "xrTableCell1";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell1.Weight = 0.68027200504225116D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow1.FormattingRules.Add(this.formattingRuleGoalsInvisible);
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.StylePriority.UseBorders = false;
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.TimeRange")});
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell2.Weight = 0.68027221264482329D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.Notice")});
|
||||
this.xrTableCell4.Multiline = true;
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "xrTableCell4";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell4.Weight = 2.5051022484188987D;
|
||||
//
|
||||
// formattingRuleGoalsInvisible
|
||||
//
|
||||
this.formattingRuleGoalsInvisible.Condition = "Len([Goals]) == 0";
|
||||
this.formattingRuleGoalsInvisible.DataMember = "ServiceRecordDetailList";
|
||||
this.formattingRuleGoalsInvisible.Formatting.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.formattingRuleGoalsInvisible.Name = "formattingRuleGoalsInvisible";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow3});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(1017F, 50F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell11,
|
||||
this.cellGoalCaption,
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 1D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.CanShrink = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Weight = 0.68027200504225116D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.CanShrink = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Weight = 0.6802722126448234D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.CanShrink = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Weight = 0.54761925522161992D;
|
||||
//
|
||||
// cellGoalCaption
|
||||
//
|
||||
this.cellGoalCaption.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellGoalCaption.CanShrink = true;
|
||||
this.cellGoalCaption.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.fieldGoalCaption")});
|
||||
this.cellGoalCaption.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.cellGoalCaption.Name = "cellGoalCaption";
|
||||
this.cellGoalCaption.StylePriority.UseBorders = false;
|
||||
this.cellGoalCaption.StylePriority.UseFont = false;
|
||||
this.cellGoalCaption.StylePriority.UseTextAlignment = false;
|
||||
this.cellGoalCaption.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellGoalCaption.Weight = 1.1431403127657309D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell12.CanShrink = true;
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.Goals")});
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseBorders = false;
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell12.Weight = 3.8670635612643496D;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.Detail1.HeightF = 50F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupHeader1});
|
||||
this.DetailReport.DataMember = "ServiceRecordDetailList";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 1;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.GroupHeader1.HeightF = 25F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.RepeatEveryPage = true;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceRecordListRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 73.00002F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(1017F, 25F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "[CustomerFirstName] [CustomerLastName]";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(1017F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Dokumentation";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 29.00001F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(390.4999F, 6.00001F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(626.4999F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 6.00001F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(270F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// fieldGoalCaption
|
||||
//
|
||||
this.fieldGoalCaption.DataMember = "ServiceRecordDetailList";
|
||||
this.fieldGoalCaption.Expression = "IIf(Len([Goals]) > 0, \'Ziele:\', \'\')";
|
||||
this.fieldGoalCaption.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldGoalCaption.Name = "fieldGoalCaption";
|
||||
//
|
||||
// DetailReport1
|
||||
//
|
||||
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail2});
|
||||
this.DetailReport1.DataMember = "Statistics";
|
||||
this.DetailReport1.DataSource = this.bindingSource1;
|
||||
this.DetailReport1.Level = 0;
|
||||
this.DetailReport1.Name = "DetailReport1";
|
||||
//
|
||||
// Detail2
|
||||
//
|
||||
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel6,
|
||||
this.xrLabel5,
|
||||
this.xrLabel4,
|
||||
this.xrLabel3});
|
||||
this.Detail2.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.Detail2.HeightF = 130.2083F;
|
||||
this.Detail2.MultiColumn.ColumnCount = 5;
|
||||
this.Detail2.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown;
|
||||
this.Detail2.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnCount;
|
||||
this.Detail2.Name = "Detail2";
|
||||
this.Detail2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Statistics.Text4")});
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.99995F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(204.1667F, 23F);
|
||||
this.xrLabel6.Text = "xrLabel6";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Statistics.Text3")});
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.99997F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(204.1667F, 23F);
|
||||
this.xrLabel5.Text = "xrLabel5";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Statistics.Text2")});
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.99999F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(204.1667F, 23F);
|
||||
this.xrLabel4.Text = "xrLabel4";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Statistics.Text1")});
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(204.1667F, 23F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "xrLabel3";
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(1017F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell13});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "Datum";
|
||||
this.xrTableCell5.Weight = 0.68027210884353728D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Uhrzeit";
|
||||
this.xrTableCell6.Weight = 0.68027210884353717D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Minuten";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell7.Weight = 0.54761904761904756D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "Arbeitsart / FLS";
|
||||
this.xrTableCell8.Weight = 2.5051020408163267D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Multiline = true;
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "Dokumentation / Aktennotiz";
|
||||
this.xrTableCell13.Weight = 2.5051020408163267D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseBorders = false;
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.Text = "[ServiceRecord.Notice2]";
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell14.Weight = 2.5051016256111822D;
|
||||
//
|
||||
// Leistungen
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.DetailReport1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldGoalCaption});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleGoalsInvisible});
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 50F);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.Title,
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "23.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellGoalCaption;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.FormattingRule formattingRuleGoalsInvisible;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldGoalCaption;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail2;
|
||||
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.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
}
|
||||
}
|
||||
20
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.cs
Normal file
20
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace AwoIntegrationsGGmbH
|
||||
{
|
||||
public partial class Leistungen : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServiceRecordListRO>
|
||||
{
|
||||
public Leistungen()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceRecordListRO pRO)
|
||||
{
|
||||
if (pRO.Statistics == null || pRO.Statistics.Count == 0)
|
||||
Detail2.Visible = false;
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.resx
Normal file
120
ReportImp/AwoIntegrationsGGmbH/ServiceRecordListReport.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -4,7 +4,7 @@
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{C1FED668-ADB9-47E0-B589-1389618E1B6E}</ProjectGuid>
|
||||
<ProjectGuid>{B549B705-DA0C-40A6-85D9-27D6852BC991}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>BEWODIREKTGmbH</RootNamespace>
|
||||
|
||||
@@ -33,17 +33,43 @@ namespace DomizielAnsbach
|
||||
for (int i = listLength - 1; i >= 0; i--)
|
||||
{
|
||||
var sc = pRO.SupportConceptFinanceList[i];
|
||||
if (sc.Costbearer2Supportconcept.ApprovalPeriodList != null &&
|
||||
sc.Costbearer2Supportconcept.ApprovalPeriodList[0].ServiceCategory == null ||
|
||||
if (sc.Costbearer2Supportconcept.ApprovalPeriodList != null && sc.Costbearer2Supportconcept.ApprovalPeriodList[0].ServiceCategory == null ||
|
||||
sc.Costbearer2Supportconcept.ApprovalPeriodList[0].ServiceCategory.Name != "Zuverdienst - Arbeitszeit")
|
||||
pRO.SupportConceptFinanceList.Remove(sc);
|
||||
}
|
||||
pRO.SupportConceptFinanceList = pRO.SupportConceptFinanceList.GroupBy(s => s.Costbearer2Supportconcept.SupportConcept.Customer.CustomerOid).Select(g => g.FirstOrDefault()).ToList();
|
||||
var extendedEndByRo = new Dictionary<FinanceRO.SupportConceptFinanceRO, DateTime?>();
|
||||
pRO.SupportConceptFinanceList = pRO.SupportConceptFinanceList
|
||||
.GroupBy(s => s.Costbearer2Supportconcept.SupportConcept.Customer.CustomerOid)
|
||||
.Select(g =>
|
||||
{
|
||||
// Pro Kunde nur eine Zeile/ein Block (wie bisher). Hat ein Kunde aber mehrere aufeinanderfolgende HPs,
|
||||
// wird die frueheste Zuordnung als Repraesentant genommen und das spaeteste EndDate aller Zuordnungen als effektives Ende gemerkt.
|
||||
var ordered = g.OrderBy(s => s.Costbearer2Supportconcept.StartDate).ToList();
|
||||
var rep = ordered.First();
|
||||
if (ordered.Count > 1)
|
||||
{
|
||||
if (ordered.Any(s => !s.Costbearer2Supportconcept.EndDate.HasValue))
|
||||
{
|
||||
extendedEndByRo[rep] = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
extendedEndByRo[rep] = ordered.Max(s => s.Costbearer2Supportconcept.EndDate);
|
||||
}
|
||||
}
|
||||
return rep;
|
||||
})
|
||||
.ToList();
|
||||
|
||||
listLength = pRO.SupportConceptFinanceList.Count;
|
||||
for (int i = 0; i < listLength; i++)
|
||||
{
|
||||
var sc = pRO.SupportConceptFinanceList[i];
|
||||
DateTime? scEndDate;
|
||||
if (!extendedEndByRo.TryGetValue(sc, out scEndDate))
|
||||
{
|
||||
scEndDate = sc.Costbearer2Supportconcept.EndDate;
|
||||
}
|
||||
DateTime periodEnd = DateTime.MinValue;
|
||||
cCount += 1;
|
||||
bool firstRow = true;
|
||||
@@ -52,7 +78,7 @@ namespace DomizielAnsbach
|
||||
if (sc.Costbearer2Supportconcept.SupportConcept.Customer.Oid.HasValue)
|
||||
c = DAOFactory.GenericDAO.LoadByID<Customer>(sc.Costbearer2Supportconcept.SupportConcept.Customer.Oid.Value);
|
||||
|
||||
if (sc.Costbearer2Supportconcept.EndDate >= start && sc.Costbearer2Supportconcept.StartDate <= end)
|
||||
if (scEndDate >= start && sc.Costbearer2Supportconcept.StartDate <= end)
|
||||
{
|
||||
if (sc.Costbearer2Supportconcept.StartDate <= start)
|
||||
monthStart = start;
|
||||
@@ -81,7 +107,7 @@ namespace DomizielAnsbach
|
||||
|
||||
var ro = new FinanceRO.SupportConceptFinanceRO();
|
||||
ro.CustomerName = sc.CustomerName;
|
||||
if (ro.CustomerName.Contains("Rohloff"))
|
||||
if (ro.CustomerName.Contains("Gruber"))
|
||||
{
|
||||
int tuao = 1;
|
||||
}
|
||||
@@ -97,7 +123,7 @@ namespace DomizielAnsbach
|
||||
ro.ApprovedHours = GetVertraglicheZeit(c, periodEnd, monthStart);
|
||||
}
|
||||
|
||||
if (ro.ApprovedHours == 0 && sc.Costbearer2Supportconcept.EndDate < monthEnd && krankEnd <= monthEnd)
|
||||
if (ro.ApprovedHours == 0 && scEndDate < monthEnd && krankEnd <= monthEnd)
|
||||
{
|
||||
break;
|
||||
}
|
||||
@@ -115,12 +141,20 @@ namespace DomizielAnsbach
|
||||
{
|
||||
if (periodEnd == DateTime.MinValue)
|
||||
periodEnd = monthEnd;
|
||||
if (sc.Costbearer2Supportconcept.EndDate.HasValue && sc.Costbearer2Supportconcept.EndDate > monthStart && periodEnd > sc.Costbearer2Supportconcept.EndDate) // falls direkt im ersten Monat wieder beendet wird
|
||||
periodEnd = sc.Costbearer2Supportconcept.EndDate.Value;
|
||||
if (scEndDate.HasValue && scEndDate > monthStart && periodEnd > scEndDate) // falls direkt im ersten Monat wieder beendet wird
|
||||
{
|
||||
periodEnd = scEndDate.Value;
|
||||
}
|
||||
ro.Custom2 = String.Format("{0:dd.MM.yyyy}", periodEnd);
|
||||
}
|
||||
else
|
||||
{
|
||||
ro.Custom2 = String.Format("{0:dd.MM.yyyy}", monthEnd);
|
||||
if (scEndDate.HasValue && scEndDate > monthStart && scEndDate < monthEnd)
|
||||
{
|
||||
ro.Custom2 = String.Format("{0:dd.MM.yyyy}", scEndDate.Value);
|
||||
}
|
||||
}
|
||||
|
||||
if (firstRow == true)
|
||||
{
|
||||
|
||||
@@ -62,10 +62,17 @@ namespace HwHilfswerkInklusionUndTeilhabe
|
||||
{
|
||||
return true;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
if (item.ServiceDescription != null && item.ServiceDescription.Category!= null)
|
||||
{
|
||||
|
||||
if (item.ServiceDescription.CategoryName.ToLower().Contains("arbeitszeit"))
|
||||
=======
|
||||
if (item.ServiceDescription != null && item.ServiceDescription.Category != null)
|
||||
{
|
||||
|
||||
if (item.ServiceDescription.Category.Name == "Arbeitszeit")
|
||||
>>>>>>> 82765e6b7c6b726aea079aeaf483fb52efd179d2
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace KommMit.Alt
|
||||
this.xrLabel3,
|
||||
this.xrLabel2});
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 357.4165F;
|
||||
this.ReportHeader.HeightF = 365.4165F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
@@ -213,10 +213,10 @@ namespace KommMit.Alt
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(448.9585F, 136.4584F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(448.9601F, 159.4167F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(201.0417F, 23.95834F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(201.04F, 20F);
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "xrLabel1";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
@@ -234,7 +234,7 @@ namespace KommMit.Alt
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001192093F, 332.4165F);
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001192093F, 340.4165F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow10});
|
||||
@@ -339,7 +339,7 @@ namespace KommMit.Alt
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 285.4167F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 304.4167F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -349,7 +349,7 @@ namespace KommMit.Alt
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 252.4167F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 271.4167F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -363,7 +363,7 @@ namespace KommMit.Alt
|
||||
this.xrLabel4.CanShrink = true;
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 202.4167F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 221.4167F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -379,7 +379,7 @@ namespace KommMit.Alt
|
||||
this.xrLabel3.CanShrink = true;
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 185.4167F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 204.4167F);
|
||||
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);
|
||||
@@ -394,7 +394,7 @@ namespace KommMit.Alt
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 160.4167F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 179.4167F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F);
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
ReportImp/KomMitBewo/KommMitBriefpapier2026.jpg
Normal file
BIN
ReportImp/KomMitBewo/KommMitBriefpapier2026.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
File diff suppressed because one or more lines are too long
@@ -498,7 +498,7 @@ namespace KommMit.Alt
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(403.9792F, 190.0208F);
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(403.9792F, 241.0208F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -621,7 +621,7 @@ namespace KommMit
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(403.9792F, 145.0208F);
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(403.9792F, 196.0208F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -113,7 +113,7 @@
|
||||
this.lblAdresseLeverkusen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAdresseLeverkusen.SizeF = new System.Drawing.SizeF(350.8352F, 12.58334F);
|
||||
this.lblAdresseLeverkusen.StylePriority.UseFont = false;
|
||||
this.lblAdresseLeverkusen.Text = "NOUS Soziale Dienste GmbH · Friedrich-Ebert-Str. 120 · 51373 Leverkusen\r\n";
|
||||
this.lblAdresseLeverkusen.Text = "NOUS Soziale Dienste GmbH · Dönhoffstraße 5 · 51373 Leverkusen\r\n";
|
||||
//
|
||||
// pbLeverkusen
|
||||
//
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
</data>
|
||||
<data name="lblNOUS.Text" xml:space="preserve">
|
||||
<value>NOUS – Soziale Dienste GmbH
|
||||
Friedrich-Ebert-Str. 120
|
||||
Dönhoffstraße 5
|
||||
51373 Leverkusen
|
||||
Tel: 0221 . 96 61 79 88
|
||||
Fax: 0221 . 96 61 79 89
|
||||
|
||||
@@ -29,11 +29,12 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -104,7 +105,6 @@
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
@@ -130,6 +130,14 @@
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// pbLeverkusen
|
||||
//
|
||||
this.pbLeverkusen.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pbLeverkusen.ImageSource"));
|
||||
this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(480.6252F, 10.00001F);
|
||||
this.pbLeverkusen.Name = "pbLeverkusen";
|
||||
this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F);
|
||||
this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
@@ -870,14 +878,6 @@
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// pbLeverkusen
|
||||
//
|
||||
this.pbLeverkusen.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pbLeverkusen.ImageSource"));
|
||||
this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(480.6252F, 10.00001F);
|
||||
this.pbLeverkusen.Name = "pbLeverkusen";
|
||||
this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F);
|
||||
this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -30,12 +30,14 @@ namespace Nous
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -108,15 +110,13 @@ namespace Nous
|
||||
this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -136,6 +136,23 @@ namespace Nous
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.55563F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(393.1529F, 29.16666F);
|
||||
this.xrRichText1.StylePriority.UseFont = false;
|
||||
//
|
||||
// pbLeverkusen
|
||||
//
|
||||
this.pbLeverkusen.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pbLeverkusen.ImageSource"));
|
||||
this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(480.6252F, 29.72231F);
|
||||
this.pbLeverkusen.Name = "pbLeverkusen";
|
||||
this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F);
|
||||
this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -919,23 +936,6 @@ namespace Nous
|
||||
this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell60.Weight = 0.16397432767427886D;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.55563F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(393.1529F, 29.16666F);
|
||||
this.xrRichText1.StylePriority.UseFont = false;
|
||||
//
|
||||
// pbLeverkusen
|
||||
//
|
||||
this.pbLeverkusen.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pbLeverkusen.ImageSource"));
|
||||
this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(480.6252F, 29.72231F);
|
||||
this.pbLeverkusen.Name = "pbLeverkusen";
|
||||
this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F);
|
||||
this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -960,13 +960,13 @@ namespace Nous
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -7,6 +7,7 @@ using BeWo.Service.Plugins;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
using DevExpress.Data.Helpers;
|
||||
@@ -24,6 +25,43 @@ namespace SBBMainzReports.Invoicing
|
||||
// nur wenn ein Kontingent bewilligt wurde, wird es nach Zeiterfassung abgerechnet
|
||||
|
||||
bool bienen_ = false;
|
||||
private DateTime? accountingPeriodStart = null;
|
||||
private DateTime? accountingPeriodEnd = null;
|
||||
|
||||
public override void SetInvoiceBaseData(int invoiceCounter, ServiceInvoice invoice, CostBearer costBearer, DateTimeSpan invoicePeriod,
|
||||
IList<CompactSupportConceptDC> supportConceptList)
|
||||
{
|
||||
if (invoicePeriod != null)
|
||||
{
|
||||
accountingPeriodStart = invoicePeriod.StartDate;
|
||||
accountingPeriodEnd = invoicePeriod.EndDate;
|
||||
}
|
||||
base.SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConceptList);
|
||||
}
|
||||
|
||||
public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC supportConcept, List<ServiceRecordDC> serviceRecords)
|
||||
{
|
||||
// auch nicht bewilligte abrechnen
|
||||
if (!supportConcept.IsDeleted && !supportConcept.IsArchived)
|
||||
{
|
||||
var invoice = new ServiceInvoice();
|
||||
var supportConceptList = new List<CompactSupportConceptDC> { supportConcept };
|
||||
|
||||
SetSenderInformation(invoice);
|
||||
SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConceptList);
|
||||
SetSingleInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConcept);
|
||||
SetRecipientInformation(invoice, costBearer);
|
||||
SetServiceInvoicePeriods(invoice, invoice.InvoiceBase.CostBearer2SupportConcept, invoicePeriod, serviceRecords);
|
||||
SetServiceInvoicePeriodAmounts(invoice);
|
||||
SetAmountAdvancePayments(invoice);
|
||||
SetAmountEquityContribution(invoice);
|
||||
|
||||
return invoice;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public override void SetInvoiceItems(ServiceInvoice invoice,
|
||||
ServiceInvoicePeriod serviceInvoicePeriod,
|
||||
SupportConceptApprovalPeriodDC supportConceptApprovalPeriod,
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace AICore.Context.Summary.Function
|
||||
internal ServiceRecordDocumantationFCS(IEnumerable<ServiceRecordContextEntry> serviceRecords, CustomerNavigationContextEntry customer, string costBearer, string supportConcept, string dokutext)
|
||||
: base()
|
||||
{
|
||||
//Context = serviceRecords;
|
||||
Context = serviceRecords;
|
||||
ServiceRecords = serviceRecords;
|
||||
Customer = customer;
|
||||
CostBearer = costBearer;
|
||||
|
||||
@@ -26,7 +26,5 @@ namespace AICore.Context.Summary.Navigation
|
||||
CostBearer = costBearer;
|
||||
SupportConcept = supportConcept;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,26 +28,11 @@ namespace AICore.Context.SummaryParser
|
||||
|
||||
public override string Parse(AiActionType actionType, BaseContextSummary context)
|
||||
{
|
||||
if (context is null || context.Context is null)
|
||||
if (context is null)
|
||||
return string.Empty;
|
||||
|
||||
var sb = new StringBuilder();
|
||||
|
||||
if (context.Context is IEnumerable<BaseContextEntry> values)
|
||||
{
|
||||
sb.AppendLine($"<Context>");
|
||||
sb.AppendLine(ToCsvString(values));
|
||||
sb.AppendLine($"</Context>");
|
||||
return sb.ToString();
|
||||
}
|
||||
else if (context.Context is BaseContextEntry value)
|
||||
{
|
||||
sb.AppendLine($"<Context>");
|
||||
sb.AppendLine(ToCsvString(value));
|
||||
sb.AppendLine($"</Context>");
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
if (context is ServiceRecordNavigationCS summary)
|
||||
{
|
||||
sb.AppendLine($"<Hilfeplan>");
|
||||
@@ -92,6 +77,21 @@ namespace AICore.Context.SummaryParser
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
if (context.Context is IEnumerable<BaseContextEntry> values)
|
||||
{
|
||||
sb.AppendLine($"<Context>");
|
||||
sb.AppendLine(ToCsvString(values));
|
||||
sb.AppendLine($"</Context>");
|
||||
return sb.ToString();
|
||||
}
|
||||
else if (context.Context is BaseContextEntry value)
|
||||
{
|
||||
sb.AppendLine($"<Context>");
|
||||
sb.AppendLine(ToCsvString(value));
|
||||
sb.AppendLine($"</Context>");
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
throw BeWoNotImplementedException.CreateFromEnum(actionType);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace AICore.Prompt.SystemPrompts
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("### **Daten**");
|
||||
|
||||
if (context?.Context is null)
|
||||
if (context is null)
|
||||
{
|
||||
sb.AppendLine("Dir wurden keine Daten bereitgestellt.");
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace AICore.Prompt.SystemPrompts
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("### **Daten**");
|
||||
|
||||
if (context?.Context is null)
|
||||
if (context is null)
|
||||
{
|
||||
sb.AppendLine("Dir wurden keine Daten bereitgestellt.");
|
||||
}
|
||||
|
||||
@@ -66,7 +66,11 @@ namespace BeWo.Service.Reporting.Straffaelligenhilfe
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (statistik == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
statistik.StartDate = this.StartDate;
|
||||
statistik.EndDate = this.EndDate;
|
||||
statistik.ProcessCustomerVermittlungArbeit(customer, cva);
|
||||
|
||||
Reference in New Issue
Block a user