Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
# Conflicts: # BeWo/BeWoApp.xaml.cs # BeWo/ServiceProxy/Generated.cs
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -192,3 +192,9 @@
|
||||
/ReportImp/FortschritteEV/obj
|
||||
/ReportImp/LebenshilfeWetterau/bin
|
||||
/ReportImp/LebenshilfeWetterau/obj
|
||||
/ReportImp/Socia/bin
|
||||
/ReportImp/Socia/obj
|
||||
/ReportImp/EigentstaendigHennef/bin
|
||||
/ReportImp/EigentstaendigHennef/obj
|
||||
/ReportImp/RessourceEV/bin
|
||||
/ReportImp/RessourceEV/obj
|
||||
|
||||
67
BeWo.sln
67
BeWo.sln
@@ -1,6 +1,8 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Client", "Client", "{E7543C39-A44C-40C9-82C9-E7FAA2D9A852}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{FEB0336B-F053-40B6-92DD-7DE56AB9408A}"
|
||||
@@ -351,6 +353,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FortschritteEV", "ReportImp
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LebenshilfeWetterau", "ReportImp\LebenshilfeWetterau\LebenshilfeWetterau.csproj", "{19CE335D-0C77-497F-969D-3B17D8A49DFA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SociaKoeln", "ReportImp\Socia\SociaKoeln.csproj", "{80A09638-DCBC-46E9-96FA-C7070B40BF3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EigentstaendigHennef", "ReportImp\EigentstaendigHennef\EigentstaendigHennef.csproj", "{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RessourceEV", "ReportImp\RessourceEV\RessourceEV.csproj", "{703E37E6-1219-490D-BCBD-7258DAB4239A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -2570,19 +2578,65 @@ Global
|
||||
{19CE335D-0C77-497F-969D-3B17D8A49DFA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{19CE335D-0C77-497F-969D-3B17D8A49DFA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{19CE335D-0C77-497F-969D-3B17D8A49DFA}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A}.Release|x86.Build.0 = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}.Release|x86.Build.0 = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{3FEBB560-9275-413A-9767-BB68C44EEBC3} = {E7543C39-A44C-40C9-82C9-E7FAA2D9A852}
|
||||
{D5E53B0F-BF5A-41E8-93E2-0F32845FC729} = {E7543C39-A44C-40C9-82C9-E7FAA2D9A852}
|
||||
{094331C3-ECEE-4C89-BBFD-4C9DED89F0EF} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{D5E53B0F-BF5A-41E8-93E2-0F32845FC729} = {E7543C39-A44C-40C9-82C9-E7FAA2D9A852}
|
||||
{40D8B312-EA64-49E3-A31A-5E57ED4D5654} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{E1154C7B-BB77-4155-9854-DAD8FC5A8BC3} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{663EFCB5-9E3E-4C76-97EE-3188E072634C} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{284B02ED-114A-426C-9162-31BB6CF05589} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{6556CD8E-1142-4B3C-A17E-082C44CAB0C1} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{4A7C1019-4AAC-48D3-B445-2AADF8B76303} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{36E7D251-2F15-4589-81C2-6BDDC67F16AE} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
@@ -2717,10 +2771,12 @@ Global
|
||||
{EAD43B9B-A117-4ED1-993C-D969F70DC911} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{012458B9-D7EF-4A7F-841B-0DD5EE9DBA90} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{AC208F3D-2D64-49A8-A6EB-2EE49BABF3CA} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{663EFCB5-9E3E-4C76-97EE-3188E072634C} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{A10D7313-870C-4470-92EA-CD531D78C40B} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{A182A40F-16C4-4890-BD4C-336CB5B8F70D} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{2E4CFE97-3A0B-4170-95B1-D7EE0CA7DCAA} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{1F5D8784-4912-4D71-867F-ADE6D56C31BD} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{284B02ED-114A-426C-9162-31BB6CF05589} = {FEB0336B-F053-40B6-92DD-7DE56AB9408A}
|
||||
{4E27E4D3-C184-4E10-AE73-7600D95FCE8E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{B40CB768-8847-4D73-8AC6-EED34B6216CE} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{697CF63E-B065-491A-AEA7-909F01ECA6AB} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
@@ -2741,5 +2797,8 @@ Global
|
||||
{3FEB9C4A-BB7C-48DD-A7AE-BC9D5D00E466} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{B8AD320F-947F-4A5A-9787-348B0443A572} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{19CE335D-0C77-497F-969D-3B17D8A49DFA} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{80A09638-DCBC-46E9-96FA-C7070B40BF3A} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{703E37E6-1219-490D-BCBD-7258DAB4239A} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
@@ -200,6 +200,7 @@ namespace BeWo
|
||||
bool isZeiterfassDateNormal = false;
|
||||
bool isZeiterfassungInStdMin = false;
|
||||
int lastSelectedStundenkontoIntervall = 3;
|
||||
bool showSignatures = false;
|
||||
|
||||
AppSettings.ShowAdvisedAttendedFlag = false;
|
||||
String timeRecordingMenuName = "Zeiterfassung";
|
||||
@@ -350,7 +351,13 @@ namespace BeWo
|
||||
hideServiceRecordInsertedByAndInsertedOn = true;
|
||||
}
|
||||
|
||||
switch (_Mandator.BeWoClientType)
|
||||
val = GetSettingValue(_Mandator.Settings, "ShowSignature");
|
||||
if (val != null && val.Equals("1"))
|
||||
{
|
||||
showSignatures = true;
|
||||
}
|
||||
|
||||
switch (_Mandator.BeWoClientType)
|
||||
{
|
||||
case 1:
|
||||
//Die Kette
|
||||
@@ -411,6 +418,7 @@ namespace BeWo
|
||||
AppSettings.AnzTageZeiterfassErfolgt = anzTageZeiterfassErfolgt;
|
||||
AppSettings.TimeRecordingMenuName = timeRecordingMenuName;
|
||||
AppSettings.ShowDistanceFields = showServiceRecordsDistanceFields;
|
||||
AppSettings.ShowSignatures = showSignatures;
|
||||
AppSettings.ShowCustomerDistanceFields = showCustomerDistanceFields;
|
||||
AppSettings.ShowAdditionalService = showAdditionalService;
|
||||
AppSettings.ShowRoundedDurationInEmployeeAnalysis = showRoundedDurationInEmployeeAnalysis;
|
||||
@@ -434,8 +442,7 @@ namespace BeWo
|
||||
String url = ServerAddress.ToLower();
|
||||
|
||||
#if DEBUG
|
||||
//url = String.Format("http://localhost/Host");
|
||||
url = String.Format("http://localhost:3777/Host");
|
||||
url = String.Format("http://localhost/Host");
|
||||
//url = String.Format("app1.bewoplaner.de/service");
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1553,25 +1553,6 @@ namespace BeWo.Core
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//if (vm.ServiceRecordFormat != ServiceRecordFormate.ZeiterfassungMitEndDatum)
|
||||
//{
|
||||
|
||||
// if (vm.EndTime.Value.Day != vm.DateAndTime.Value.Day)
|
||||
// {
|
||||
// dc.End = vm.EndTime.Value;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// dc.End = dc.Start.Value.AddMinutes(Convert.ToDouble(vm.DurationSTD));
|
||||
// }
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// dc.End = dc.Start.Value.AddMinutes(Convert.ToDouble(vm.Duration)); // --> das muss doch reichen
|
||||
//}
|
||||
//##############################################
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1855,22 +1836,22 @@ namespace BeWo.Core
|
||||
}
|
||||
|
||||
//passwortlänge
|
||||
if (paswd.Length >= 6 && paswd.Length < 9)
|
||||
if (paswd.Length >= 4 && paswd.Length < 7)
|
||||
{
|
||||
punkte += 1;
|
||||
}
|
||||
|
||||
if (paswd.Length >= 9 && paswd.Length < 12)
|
||||
if (paswd.Length >= 7 && paswd.Length < 10)
|
||||
{
|
||||
punkte += 2;
|
||||
}
|
||||
|
||||
if (paswd.Length >= 12 && paswd.Length < 18)
|
||||
if (paswd.Length >= 10 && paswd.Length < 16)
|
||||
{
|
||||
punkte += 3;
|
||||
}
|
||||
|
||||
if (paswd.Length >= 18)
|
||||
if (paswd.Length >= 16)
|
||||
{
|
||||
punkte += 4;
|
||||
}
|
||||
|
||||
@@ -294,7 +294,9 @@ namespace BeWo.Core.Config
|
||||
|
||||
public bool ShowDistanceFields { get; set; }
|
||||
|
||||
public bool ShowTeamNews { get; set; }
|
||||
public bool ShowSignatures { get; set; }
|
||||
|
||||
public bool ShowTeamNews { get; set; }
|
||||
|
||||
public bool ShowMarker { get; set; }
|
||||
|
||||
|
||||
@@ -201,15 +201,15 @@
|
||||
|
||||
<!-- Region Start -->
|
||||
<Label Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" Content="Start"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="2" MaskType="DateTimeAdvancingCaret" Background="White" Height="23" MinWidth="80" Margin="3" EditValue="{Binding Controller.DisplayStartDate}" />
|
||||
<dxe:TextEdit Grid.Column="2" Grid.Row="2" MaskType="DateTime" Mask="t" MaskUseAsDisplayFormat="True" Margin="3" Height="23" EditValue ="{Binding Controller.DisplayStartTime, Converter={StaticResource TimeSpanToDateTimeConverter}}"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="2" MaskType="DateTimeAdvancingCaret" Background="White" Height="23" MinWidth="80" Margin="3" EditValue="{Binding Controller.DisplayStartDate}" x:Name="StartDate"/>
|
||||
<dxe:TextEdit Grid.Column="2" Grid.Row="2" MaskType="DateTime" Mask="t" MaskUseAsDisplayFormat="True" Margin="3" Height="23" EditValue ="{Binding Controller.DisplayStartTime, Converter={StaticResource TimeSpanToDateTimeConverter}}" x:Name="StartTime"/>
|
||||
<dxe:CheckEdit Grid.Column="3" Grid.Row="2" Content="Ganztägig" EditValue ="{Binding Controller.AllDay}" HorizontalAlignment="Right" Margin="3" />
|
||||
<!-- Endregion -->
|
||||
|
||||
<!-- Region Ende -->
|
||||
<Label Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" Content="Ende"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="3" MaskType="DateTimeAdvancingCaret" Background="White" Height="23" MinWidth="80" Margin="3" EditValue="{Binding Controller.DisplayEndDate}" />
|
||||
<dxe:TextEdit Grid.Column="2" Grid.Row="3" MaskType="DateTime" Mask="t" MaskUseAsDisplayFormat="True" Margin="3" Height="23" EditValue ="{Binding Controller.DisplayEndTime, Converter={StaticResource TimeSpanToDateTimeConverter}}"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="3" MaskType="DateTimeAdvancingCaret" Background="White" Height="23" MinWidth="80" Margin="3" EditValue="{Binding Controller.DisplayEndDate}" x:Name="EndDate"/>
|
||||
<dxe:TextEdit Grid.Column="2" Grid.Row="3" MaskType="DateTime" Mask="t" MaskUseAsDisplayFormat="True" Margin="3" Height="23" EditValue ="{Binding Controller.DisplayEndTime, Converter={StaticResource TimeSpanToDateTimeConverter}}" x:Name="EndTime"/>
|
||||
<!-- Endregion -->
|
||||
|
||||
<!-- Region Mitarbeiter -->
|
||||
@@ -232,7 +232,7 @@
|
||||
</Grid>
|
||||
</Button>
|
||||
<ListBox Grid.Column="1" Grid.Row="5" Background="{StaticResource ObjectEditBackgroundBrush}" Margin="4,0,1,4" ItemsSource="{Binding Path=SelectedEmployees, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" IsSynchronizedWithCurrentItem="True"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" Grid.ColumnSpan="3"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" Grid.ColumnSpan="3" x:Name="SelectedMitarbeiter"
|
||||
ItemContainerStyle="{DynamicResource MultiElementSelectionControlStyle}" MaxHeight="70" Height="70"
|
||||
Visibility="{Binding IsChecked, ElementName=MitarbeiterToggleButton, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<ListBox.Template>
|
||||
@@ -268,7 +268,7 @@
|
||||
</Popup>
|
||||
<ListBox Grid.Column="1" Grid.Row="7" Background="{StaticResource ObjectEditBackgroundBrush}" Margin="4,0,1,4" ItemsSource="{Binding Path=SelectedCustomers, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" IsSynchronizedWithCurrentItem="True"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" Grid.ColumnSpan="3"
|
||||
ItemContainerStyle="{DynamicResource MultiElementSelectionControlStyle}" MaxHeight="70" Height="70"
|
||||
ItemContainerStyle="{DynamicResource MultiElementSelectionControlStyle}" MaxHeight="70" Height="70" x:Name="SelectedKlient"
|
||||
Visibility="{Binding IsChecked, ElementName=KlientenToggleButton, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<ListBox.Template>
|
||||
<ControlTemplate TargetType="{x:Type ListBox}">
|
||||
@@ -320,7 +320,7 @@
|
||||
<!-- Region Notiz -->
|
||||
<Label Grid.Column="0" Grid.Row="10" VerticalAlignment="Top" Content="Notiz"/>
|
||||
<TextBox Grid.Column="1" Grid.Row="10" Grid.ColumnSpan="4" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
||||
HorizontalScrollBarVisibility="Disabled" Height="45" Margin="3" TextWrapping="Wrap"
|
||||
HorizontalScrollBarVisibility="Disabled" Height="45" Margin="3" TextWrapping="Wrap" x:Name="Notice"
|
||||
Text="{Binding Path=Controller.Description, UpdateSourceTrigger=PropertyChanged}" MaxLength="1024" />
|
||||
|
||||
<!-- Endregion -->
|
||||
@@ -370,8 +370,9 @@
|
||||
<UniformGrid Grid.Column="0" Grid.Row="14" Grid.ColumnSpan="5" Columns="3" Rows="1" HorizontalAlignment="Right">
|
||||
<Button Margin="3" Click="button_ok_Click" x:Name="OKButton" Content="OK" Height="25" Width="80" />
|
||||
<Button Margin="3" Click="button_cancel_Click" Content="Abbrechen" Height="25" Width="80" />
|
||||
<Button Margin="3" Click="button_delete_Click" x:Name="DeleteButton" Content="Löschen" Height="25" Width="80" />
|
||||
</UniformGrid>
|
||||
<!--<Button Margin="3" Click="button_CreatZeiterfassung_Click" x:Name="ZeiterfassButton" Content="Zeiterfassung" Height="25" Width="80" />-->
|
||||
<Button Margin="3" Click="button_delete_Click" x:Name="DeleteButton" Content="Löschen" Height="25" Width="80" />
|
||||
</UniformGrid>
|
||||
<!-- Endregion -->
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
@@ -11,6 +12,7 @@ using System.Windows.Input;
|
||||
using BeWo.Annotations;
|
||||
using BeWo.Scheduler.ViewModel;
|
||||
using BeWo.ServiceProxy;
|
||||
using BeWo.View;
|
||||
using BeWo.View.Search;
|
||||
|
||||
using BS.Shared;
|
||||
@@ -19,6 +21,7 @@ using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
using DevExpress.Xpf.Editors;
|
||||
using DevExpress.Xpf.Scheduler.Drawing;
|
||||
using DevExpress.Xpf.Scheduler.UI;
|
||||
using DevExpress.XtraScheduler;
|
||||
using SchedulerControl = DevExpress.Xpf.Scheduler.SchedulerControl;
|
||||
@@ -334,7 +337,74 @@ namespace BeWo.Scheduler.View
|
||||
DeleteAppointment();
|
||||
}
|
||||
|
||||
private void btnRemoveElement_Click(object sender, RoutedEventArgs e)
|
||||
|
||||
private void button_CreatZeiterfassung_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var startDate = StartDate.DateTime;
|
||||
var startTime = DateTime.Parse(StartTime.Text);
|
||||
|
||||
var endDate = EndDate.DateTime;
|
||||
var endTime = DateTime.Parse(EndTime.Text);
|
||||
|
||||
DateTime start = new DateTime(startDate.Year,startDate.Month,startDate.Day,startTime.Hour,startTime.Minute,startTime.Second);
|
||||
DateTime end = new DateTime(endDate.Year,endDate.Month,endDate.Day,endTime.Hour,endTime.Minute,endTime.Second);
|
||||
|
||||
|
||||
var employ = SelectedMitarbeiter.Items;
|
||||
var y = SelectedKlient.Items;
|
||||
|
||||
|
||||
if (y.Count == 0)
|
||||
{
|
||||
MessageBox.Show("Bitte wählen sie für die Zeiterfassung, mindestens einen Klienten aus !");
|
||||
}
|
||||
else if (y.Count == 1 && employ.Count == 0)
|
||||
{
|
||||
|
||||
long klientOid = 5;
|
||||
|
||||
foreach (var klient in y)
|
||||
{
|
||||
var s = (CompactCustomerDC) klient;
|
||||
|
||||
|
||||
klientOid = s.CustomerOid;
|
||||
}
|
||||
|
||||
var compactKlient = ServiceFacade.DoCustomerServiceSync(s => s.GetCompactCustomerDC(klientOid));
|
||||
|
||||
//Normale Buchung
|
||||
ChatDokumentationsView newView = new ChatDokumentationsView(Notice.Text, compactKlient, start, end);
|
||||
|
||||
newView.ShowDialog();
|
||||
}
|
||||
else if(y.Count != 0 && employ.Count != 0)
|
||||
{
|
||||
List<CompactCustomerDC> customerlist = new List<CompactCustomerDC>();
|
||||
List<CompactEmployeeDC> employeelist = new List<CompactEmployeeDC>();
|
||||
|
||||
foreach (var employee in employ)
|
||||
{
|
||||
var xy = (Employee2SchedulerAppointmentDC) employee;
|
||||
employeelist.Add(xy.Employee);
|
||||
}
|
||||
|
||||
foreach (var klient in y)
|
||||
{
|
||||
var s = (CompactCustomerDC) klient;
|
||||
customerlist.Add(s);
|
||||
}
|
||||
|
||||
//gruppenbuchungen
|
||||
ChatDokumentationsView newView = new ChatDokumentationsView(Notice.Text,start, end,customerlist,employeelist);
|
||||
|
||||
newView.ShowDialog();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btnRemoveElement_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var obj = ((Button) sender).Tag;
|
||||
|
||||
|
||||
@@ -3803,6 +3803,12 @@ namespace BeWo.ServiceProxy
|
||||
public interface IOperationsService
|
||||
{
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCResponse" +
|
||||
"")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCBeWoFaul" +
|
||||
"tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCRespo" +
|
||||
"nse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCBeWoF" +
|
||||
@@ -3837,6 +3843,10 @@ namespace BeWo.ServiceProxy
|
||||
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void CreateNewPerson2OrganisationRelation(long organi, BS.Shared.DataContracts.ValueListEntryDC value, long personOid, string mail, string fax, string tele, string notice);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateServiceDescriptions(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> pServiceDescriptions);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroup", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup);
|
||||
@@ -4139,12 +4149,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.EmployeeAPPCodeDC CreateNewEmployeeAPPCodeDC(long employeeOid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCResponse" +
|
||||
"")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCBeWoFaul" +
|
||||
"tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices);
|
||||
@@ -4307,6 +4311,10 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.ServiceRecordGroupDC GetServiceRecordGroup(long pGroupOid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetLastServiceRecordGroupOid", ReplyAction="http://tempuri.org/IOperationsService/GetLastServiceRecordGroupOidResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetLastServiceRecordGroupOidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
long GetLastServiceRecordGroupOid();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetSupportConceptInfosForSupportConceptOid", ReplyAction="http://tempuri.org/IOperationsService/GetSupportConceptInfosForSupportConceptOidR" +
|
||||
"esponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetSupportConceptInfosForSupportConceptOidB" +
|
||||
@@ -4420,10 +4428,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceCategories", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceCategoriesResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateServiceCategories(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceCategoryDC> pServiceCategories);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateServiceDescriptions(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> pServiceDescriptions);
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
@@ -4460,6 +4464,11 @@ namespace BeWo.ServiceProxy
|
||||
{
|
||||
}
|
||||
|
||||
public void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType)
|
||||
{
|
||||
base.Channel.UpdateIsChatActiveEmployeeAPPCodeDC(employeeOid, activeType);
|
||||
}
|
||||
|
||||
public void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate)
|
||||
{
|
||||
base.Channel.UpdateNotfallNacrichtEmployeeAPPCodeDC(employeeOid, notfallstate);
|
||||
@@ -4495,6 +4504,11 @@ namespace BeWo.ServiceProxy
|
||||
base.Channel.CreateNewPerson2OrganisationRelation(organi, value, personOid, mail, fax, tele, notice);
|
||||
}
|
||||
|
||||
public void UpdateServiceDescriptions(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> pServiceDescriptions)
|
||||
{
|
||||
base.Channel.UpdateServiceDescriptions(pServiceDescriptions);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup)
|
||||
{
|
||||
return base.Channel.UpdateServiceRecordGroup(pServiceRecordGroup);
|
||||
@@ -4810,11 +4824,6 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.CreateNewEmployeeAPPCodeDC(employeeOid);
|
||||
}
|
||||
|
||||
public void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType)
|
||||
{
|
||||
base.Channel.UpdateIsChatActiveEmployeeAPPCodeDC(employeeOid, activeType);
|
||||
}
|
||||
|
||||
public void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices)
|
||||
{
|
||||
base.Channel.DeactivateInvoices(invoices);
|
||||
@@ -5005,6 +5014,11 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.GetServiceRecordGroup(pGroupOid);
|
||||
}
|
||||
|
||||
public long GetLastServiceRecordGroupOid()
|
||||
{
|
||||
return base.Channel.GetLastServiceRecordGroupOid();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConcetInfoDC> GetSupportConceptInfosForSupportConceptOid(long supportConceptOid)
|
||||
{
|
||||
return base.Channel.GetSupportConceptInfosForSupportConceptOid(supportConceptOid);
|
||||
@@ -5129,11 +5143,6 @@ namespace BeWo.ServiceProxy
|
||||
{
|
||||
base.Channel.UpdateServiceCategories(pServiceCategories);
|
||||
}
|
||||
|
||||
public void UpdateServiceDescriptions(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> pServiceDescriptions)
|
||||
{
|
||||
base.Channel.UpdateServiceDescriptions(pServiceDescriptions);
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
@@ -5199,6 +5208,10 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis(System.Nullable<long> currentEmployeeOid, bool showOnlyRelatedSCs, bool showOnlyArchivedSCs, System.Nullable<System.DateTime> appointedDate);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2Response")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis2(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<System.DateTime> appointedDate, bool showOnlyRelatedScs, bool showOnlyExpiredScs, bool showArchivedScs);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDate", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDateResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDateBeWoFault" +
|
||||
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
@@ -5325,6 +5338,11 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.GetSupportConceptAnalysis(currentEmployeeOid, showOnlyRelatedSCs, showOnlyArchivedSCs, appointedDate);
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis2(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<System.DateTime> appointedDate, bool showOnlyRelatedScs, bool showOnlyExpiredScs, bool showArchivedScs)
|
||||
{
|
||||
return base.Channel.GetSupportConceptAnalysis2(employeeOid, teamOid, appointedDate, showOnlyRelatedScs, showOnlyExpiredScs, showArchivedScs);
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC> GetSupportConceptsWithConferenceDate(System.Nullable<long> employeeOid, System.DateTime conferenceDateUntil)
|
||||
{
|
||||
return base.Channel.GetSupportConceptsWithConferenceDate(employeeOid, conferenceDateUntil);
|
||||
|
||||
@@ -41,7 +41,8 @@ namespace BeWo.View
|
||||
protected long? loggedOnMitarbeiter;
|
||||
|
||||
private ServiceRecordVM serviceRecord;
|
||||
|
||||
|
||||
//Konstruktor für Chat
|
||||
public ChatDokumentationsView(List<KontakMessageBuilder> _listarray, long? _loggedOnMitarbeiter,long _customerPersonOid,CompactCustomerDC _compactCustomer)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -85,12 +86,8 @@ namespace BeWo.View
|
||||
|
||||
vm.DispatcherObject = this;
|
||||
|
||||
var dc = new ServiceRecordDC();
|
||||
dc.Start = firstTime;
|
||||
dc.End = lastTime;
|
||||
dc.Employee = BeWoApp.LoggedOnUser.Employee;
|
||||
dc.Customer = customerCompact;
|
||||
dc.SupportConcept = HoleHilfeplanAusListe(scList, customerCompact, firstTime, lastTime);
|
||||
|
||||
var dc = ErstelleServiceRecordDC(firstTime, lastTime, customerCompact, scList);
|
||||
|
||||
if (vm.PrototypeVM.SortedCategories != null && vm.PrototypeVM.SortedCategories.Count > 0)
|
||||
{
|
||||
@@ -111,6 +108,144 @@ namespace BeWo.View
|
||||
newView.SetSearchText("");
|
||||
}
|
||||
|
||||
CommandBindingsCloseSave(newView);
|
||||
|
||||
Popup_Content(newView);
|
||||
})));
|
||||
}
|
||||
|
||||
//Konstruktor für Kalender
|
||||
public ChatDokumentationsView( string notice, CompactCustomerDC _compactCustomer, DateTime firstTime, DateTime lastTime)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
CompactCustomerDC customerCompact = _compactCustomer;
|
||||
|
||||
Cache.GetInstance().GetActiveSupportConceptCostbearer(scList =>
|
||||
VMFactory.CreateServiceRecordVMAsync(
|
||||
BeWoApp.LoggedOnUser.Employee.EmployeeOid,
|
||||
vm => this.Dispatch(
|
||||
delegate
|
||||
{
|
||||
ServiceRecordEditView newView = new ServiceRecordEditView();
|
||||
|
||||
vm.DispatcherObject = this;
|
||||
|
||||
var dc = ErstelleServiceRecordDC(firstTime, lastTime, customerCompact, scList);
|
||||
|
||||
if (vm.PrototypeVM.SortedCategories != null && vm.PrototypeVM.SortedCategories.Count > 0)
|
||||
{
|
||||
var cat1 = vm.PrototypeVM.SortedCategories[0];
|
||||
|
||||
dc.ServiceDescription = vm.PrototypeVM.Category2Services[cat1][0];
|
||||
}
|
||||
serviceRecord = new ServiceRecordVM(dc, vm.PrototypeVM.Category2Services, vm.PrototypeVM.AllGoalCategories, vm.PrototypeVM.AllGoals);
|
||||
serviceRecord.Notice = notice;
|
||||
|
||||
newView.InitView(vm, serviceRecord, false);
|
||||
if (customerCompact != null)
|
||||
{
|
||||
newView.SetSearchText(customerCompact.LastName);
|
||||
}
|
||||
else
|
||||
{
|
||||
newView.SetSearchText("");
|
||||
}
|
||||
|
||||
|
||||
CommandBindingsCloseSave(newView);
|
||||
|
||||
Popup_Content(newView);
|
||||
})));
|
||||
}
|
||||
|
||||
//GruppenBuchung Konstruktor für Kalender
|
||||
public ChatDokumentationsView(string notice, DateTime firstTime,DateTime lastTime ,List<CompactCustomerDC> _compactCustomer, List<CompactEmployeeDC> _compactEmployee)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Width = 800;
|
||||
|
||||
CompactCustomerDC customerCompact = _compactCustomer[0];
|
||||
|
||||
Cache.GetInstance().GetActiveSupportConceptCostbearer(scList =>
|
||||
VMFactory.CreateServiceRecordVMAsync(
|
||||
BeWoApp.LoggedOnUser.Employee.EmployeeOid,
|
||||
vm => this.Dispatch(
|
||||
delegate
|
||||
{
|
||||
ServiceRecordGroupEditView newView = new ServiceRecordGroupEditView();
|
||||
|
||||
vm.DispatcherObject = this;
|
||||
|
||||
var group = new ServiceRecordGroupDC();
|
||||
|
||||
group.StartDate = firstTime;
|
||||
group.EndDate = lastTime;
|
||||
group.CustomerCount = _compactCustomer.Count;
|
||||
group.EmployeeCount = _compactEmployee.Count;
|
||||
group.Notice = notice;
|
||||
|
||||
|
||||
List<ServiceRecordDC> ServiceListRecordDC = new List<ServiceRecordDC>();
|
||||
|
||||
|
||||
foreach (var emp in _compactEmployee)
|
||||
{
|
||||
foreach (var cus in _compactCustomer)
|
||||
{
|
||||
var dcs = new ServiceRecordDC();
|
||||
dcs.Start = firstTime;
|
||||
dcs.End = lastTime;
|
||||
dcs.Employee = emp;
|
||||
dcs.Customer = cus;
|
||||
dcs.SupportConcept = HoleHilfeplanAusListe(scList, cus, firstTime, lastTime);
|
||||
dcs.GroupEmployeeCount = _compactEmployee.Count;
|
||||
dcs.GroupPersonCount = _compactCustomer.Count;
|
||||
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
dcs.ServiceRecordFormat = ServiceRecordFormate.ZeiterfassungMitEndDatum;
|
||||
}
|
||||
else if (BeWoApp.AppSettings.IsOnlyYearMonthVisible)
|
||||
{
|
||||
dcs.ServiceRecordFormat = ServiceRecordFormate.ZeiterfassungMitMonatJahr;
|
||||
}
|
||||
else
|
||||
{
|
||||
dcs.ServiceRecordFormat = ServiceRecordFormate.OriginaleZeiterfassung;
|
||||
}
|
||||
|
||||
dcs.DurationInStunden = ZeiterfassungsDauer.Minuten;
|
||||
|
||||
|
||||
if (dcs.SupportConcept.CostBearerList != null &&
|
||||
dcs.SupportConcept.CostBearerList.Count > 0)
|
||||
{
|
||||
dcs.CostBearer = dcs.SupportConcept.CostBearerList[0].Organisation;
|
||||
}
|
||||
|
||||
ServiceListRecordDC.Add(dcs);
|
||||
}
|
||||
}
|
||||
|
||||
group.ServiceRecordList = ServiceListRecordDC;
|
||||
|
||||
|
||||
if (vm.PrototypeVM.SortedCategories != null && vm.PrototypeVM.SortedCategories.Count > 0)
|
||||
{
|
||||
var cat1 = vm.PrototypeVM.SortedCategories[0];
|
||||
|
||||
ServiceListRecordDC[0].ServiceDescription = vm.PrototypeVM.Category2Services[cat1][0];
|
||||
}
|
||||
|
||||
serviceRecord = new ServiceRecordVM(ServiceListRecordDC[0], vm.PrototypeVM.Category2Services, vm.PrototypeVM.AllGoalCategories, vm.PrototypeVM.AllGoals);
|
||||
serviceRecord.Notice = notice;
|
||||
|
||||
|
||||
newView.InitView(vm, serviceRecord, group);
|
||||
|
||||
|
||||
if (newView.CommandBindings.Count == 0)
|
||||
{
|
||||
newView.CommandBindings.Add(
|
||||
@@ -136,7 +271,7 @@ namespace BeWo.View
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
newView.SaveData();
|
||||
Close();
|
||||
|
||||
@@ -147,10 +282,81 @@ namespace BeWo.View
|
||||
popup_contentChat.Child = newView;
|
||||
|
||||
popup_contentChat.Visibility = Visibility.Visible;
|
||||
|
||||
|
||||
})));
|
||||
}
|
||||
|
||||
private void CommandBindingsCloseSave(ServiceRecordEditView newView)
|
||||
{
|
||||
if (newView.CommandBindings.Count == 0)
|
||||
{
|
||||
newView.CommandBindings.Add(
|
||||
new CommandBinding(
|
||||
ApplicationCommands.Close,
|
||||
(s, e) =>
|
||||
{
|
||||
if (!newView.DoSaveCheck())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Close();
|
||||
}));
|
||||
newView.CommandBindings.Add(
|
||||
new CommandBinding(
|
||||
ApplicationCommands.Save,
|
||||
(s, e) =>
|
||||
{
|
||||
bool save = newView.IsValid();
|
||||
|
||||
if (!save)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
newView.SaveData();
|
||||
Close();
|
||||
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private ServiceRecordDC ErstelleServiceRecordDC(DateTime firstTime,DateTime lastTime, CompactCustomerDC customerCompact, List<CompactSupportConceptDC> scList)
|
||||
{
|
||||
var dc = new ServiceRecordDC();
|
||||
dc.Start = firstTime;
|
||||
dc.End = lastTime;
|
||||
dc.Employee = BeWoApp.LoggedOnUser.Employee;
|
||||
dc.Customer = customerCompact;
|
||||
dc.SupportConcept = HoleHilfeplanAusListe(scList, customerCompact, firstTime, lastTime);
|
||||
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
dc.ServiceRecordFormat = ServiceRecordFormate.ZeiterfassungMitEndDatum;
|
||||
}
|
||||
else if (BeWoApp.AppSettings.IsOnlyYearMonthVisible)
|
||||
{
|
||||
dc.ServiceRecordFormat = ServiceRecordFormate.ZeiterfassungMitMonatJahr;
|
||||
}
|
||||
else
|
||||
{
|
||||
dc.ServiceRecordFormat = ServiceRecordFormate.OriginaleZeiterfassung;
|
||||
}
|
||||
|
||||
dc.DurationInStunden = ZeiterfassungsDauer.Minuten;
|
||||
|
||||
return dc;
|
||||
}
|
||||
|
||||
private void Popup_Content( ServiceRecordEditView newView)
|
||||
{
|
||||
popup_contentChat.Child = newView;
|
||||
|
||||
popup_contentChat.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
private CompactSupportConceptDC HoleHilfeplanAusListe(List<CompactSupportConceptDC> scList, CompactCustomerDC customerCompact, DateTime firstTime, DateTime lastTime)
|
||||
{
|
||||
foreach (var sc in scList)
|
||||
@@ -167,9 +373,7 @@ namespace BeWo.View
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void RootGroupBox_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -87,20 +87,20 @@
|
||||
Grid.Column="1" Grid.Row="5" Margin="3,5,3,5" Height="23" EditValue="{Binding Path=AnzTageZeiterfassErfolgt, Converter={StaticResource Int2DecimalConverter}}" />
|
||||
|
||||
<CheckBox Margin="3,5,3,5" Content="Passwortsicherheit aktivieren" IsChecked="{Binding Path=IsPasswordSecurityActiv}" Grid.ColumnSpan="2" Grid.Row="6" />
|
||||
<CheckBox Margin="3,5,3,5" Content="Zeiterfassungsdauer mit Stunden/Minuten auswahl" IsChecked="{Binding Path=IsZeiterfassungInStdMin}" Grid.ColumnSpan="2" Grid.Row="7" />
|
||||
<!--<CheckBox Margin="3,5,3,5" Content="Zeiterfassungsdauer mit Stunden/Minuten auswahl" IsChecked="{Binding Path=IsZeiterfassungInStdMin}" Grid.ColumnSpan="2" Grid.Row="7" />-->
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Margin="3 20 3 3" Grid.Row="3" Grid.ColumnSpan="2" Header="Zeiterfassung" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<StackPanel>
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Originale Zeiterfassungs Ansicht" IsChecked="{Binding Path=IsZeiterfassDateNormal}" />
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Enddatum in Zeiterfassung aktivieren" IsChecked="{Binding Path=IsEndDateVisible}" />
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Nur Monat/Jahr in Zeiterfassung aktivieren" IsChecked="{Binding Path=IsOnlyYearMonthVisible}" />
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
<!-- <GroupBox Margin="3 20 3 3" Grid.Row="3" Grid.ColumnSpan="2" Header="Zeiterfassung" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<StackPanel>
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Originale Zeiterfassungs Ansicht" IsChecked="{Binding Path=IsZeiterfassDateNormal}" />
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Enddatum in Zeiterfassung aktivieren" IsChecked="{Binding Path=IsEndDateVisible}" />
|
||||
<RadioButton Margin="3,5,3,5" GroupName="Zeiterfassung" Content="Nur Monat/Jahr in Zeiterfassung aktivieren" IsChecked="{Binding Path=IsOnlyYearMonthVisible}" />
|
||||
</StackPanel>
|
||||
</GroupBox>-->
|
||||
|
||||
<GroupBox Margin="3 20 3 3" Grid.Row="4" Grid.ColumnSpan="2" Header="Rechnungsnummer" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<GroupBox Margin="3 20 3 3" Grid.Row="4" Grid.ColumnSpan="2" Header="Rechnungsnummer" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
|
||||
@@ -77,10 +77,8 @@
|
||||
<RowDefinition Height="Auto" MinHeight="24" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" MinHeight="24" />
|
||||
<RowDefinition Height="Auto" MinHeight="24" />
|
||||
</Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label x:Name="lblEmployee" Grid.Column="0" Grid.Row="0" Content="Mitarbeiter" />
|
||||
<uc:PopUpEdit IsReadOnly="True" x:Name="popupedit_employee"
|
||||
DeleteButtonVisibility="Collapsed" PopUpClick="popupedit_employee_PopUpClick"
|
||||
@@ -105,7 +103,7 @@
|
||||
|
||||
<!--################################################################ Start Der Grid Für Die Zeiterfassungsarten ################################################################-->
|
||||
|
||||
<!--########################################## Grid Bereich für Original / rüberkopiert von ServiceRecordView auf funktionalität und auf design prüfen #####################-->
|
||||
<!--########################################## Grid Bereich für Original #####################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" ColumnSpan="2" x:Name="GridOhneEnddatum">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -147,7 +145,7 @@
|
||||
|
||||
|
||||
|
||||
<Label Content="Dauer" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<Label Content="Dauer (min)" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_duration"
|
||||
EditValue="{Binding Path=Duration, Mode=TwoWay, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
@@ -165,7 +163,7 @@
|
||||
<!--###########################################################################################################################################################################-->
|
||||
|
||||
<!--########################################## Grid Bereich für Mit EndDatum #####################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum">
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="Label1" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -227,7 +225,7 @@
|
||||
|
||||
|
||||
<!--########################################## Grid Bereich für Jahr / Monat #####################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat">
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="Label1" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -241,148 +239,54 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Jahr" />
|
||||
<!--<dxe:DateEdit Grid.Column="3" Grid.Row="0"
|
||||
x:Name="datepicker_newDate3"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=PrototypeVM.Date}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />EditValue="{Binding Path=PrototypeVM.DurationInStunden, UpdateSourceTrigger=PropertyChanged}"-->
|
||||
|
||||
<!--Eine eigenen vm berecih für only monat und only jahr erstellen DisplayMember="Value" ValueMember="Key"-->
|
||||
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="0" Margin="3,0,3,3" x:Name="OnlyJahrData"
|
||||
EditValue="{Binding Path=OnlyYear, UpdateSourceTrigger=PropertyChanged}"
|
||||
ItemsSource="{Binding Path=JahreBinden}"
|
||||
IsTextEditable="False" />
|
||||
|
||||
<!--<Label Grid.Column="2" Grid.Row="0" Content="Uhrzeit" x:Name="StartzeitLabel3"/>
|
||||
<dxe:TextEdit Grid.Column="3" Grid.Row="0" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
||||
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
||||
EditValue="{Binding Mode=TwoWay, Path=PrototypeVM.StartTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="startTime3"
|
||||
Height="23"
|
||||
Margin="3,0,3,3"/>-->
|
||||
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="1" Content="Monat" x:Name="EndDateLabel3"/>
|
||||
<!-- <dxe:DateEdit Grid.Column="3" Grid.Row="1"
|
||||
x:Name="datepicker_newEndDate3"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=PrototypeVM.EditableEndDate}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" /> --> <!--Daraus ein auswahl feld mit allen monaten machen und alle auswahlfelder selber schreiben -->
|
||||
|
||||
<!-- DisplayMember="Value" ValueMember="Key"-->
|
||||
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="1" Margin="3,0,3,3" x:Name="OnlyMonatData"
|
||||
EditValue="{Binding Path=OnlyMonth, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsTextEditable="False"
|
||||
ItemsSource="{Binding Path=MonateBinden}"
|
||||
/>
|
||||
|
||||
|
||||
<!--<Label Grid.Column="2" Grid.Row="1" Content="Uhrzeit" />
|
||||
<dxe:TextEdit Grid.Column="3" Grid.Row="1" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
||||
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
||||
EditValue="{Binding Mode=TwoWay, Path=PrototypeVM.EndTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="endTime3"
|
||||
Height="23"
|
||||
Margin="3,0,3,3" />-->
|
||||
|
||||
<!--Hier fehlen Die duration und der bereich für die Stundenanzeige-->
|
||||
|
||||
|
||||
<Label Content="Stunden ges." Grid.Column="0" Grid.Row="2"/>
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numeric_duration3"
|
||||
EditValue="{Binding Path=DurationMonthYearGes, Mode=TwoWay, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
Height="23" Margin="3,0,3,3"/>
|
||||
|
||||
|
||||
<!--<dxe:ComboBoxEdit ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" Margin="3,0,3,3"
|
||||
EditValue="{Binding Path=PrototypeVM.DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
||||
IsTextEditable="False" />-->
|
||||
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
|
||||
<!--##########################################################################################-->
|
||||
|
||||
|
||||
<!--########################## Gefahrene Kilometer ##########################################################-->
|
||||
<!--########################## Gefahrene Kilometer 52 ##########################################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="6" ColumnSpan="2" x:Name="DauerGrid" Visibility="Visible">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="85" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="50" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" x:Name="lblDistance" HorizontalAlignment="Left"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False"
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="1" x:Name="lblDistance" HorizontalAlignment="Right" />
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" HorizontalAlignment="Right"
|
||||
AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}"
|
||||
Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
|
||||
<!--<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" Grid.ColumnSpan="2" x:Name="lblDistance" HorizontalAlignment="Right"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_distance"
|
||||
EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}" Grid.Column="2" Height="23" Margin="3,0,3,3" />-->
|
||||
Grid.Column="2" Height="23" Margin="3,0,3,3" Width="61" />
|
||||
|
||||
</Grid>
|
||||
<!--################################################################################Grid.ColumnSpan="2"#######################################-->
|
||||
|
||||
<!-- <Label Grid.Column="0" Grid.Row="5" Content="Startdatum" />
|
||||
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="5" EditValue="{val:ValidationBinding Mode=TwoWay, Path=Date}" Height="23" Margin="3,0,3,3" />-->
|
||||
<!-- ####### Neu ####### -->
|
||||
<!--<Label Grid.Column="0" Grid.Row="6" Content="Enddatum" x:Name="EndDateLabel"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="6"
|
||||
x:Name="datepicker_newEndDate"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=EditableEndDate}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="7" Content="Startzeit" />-->
|
||||
<Grid Grid.Column="1" Grid.Row="7" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="60" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="60" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor" EditValue="{Binding Mode=TwoWay, Path=StartTimeEditString, UpdateSourceTrigger=PropertyChanged}" x:Name="startTime" Height="23" Margin="3,0,3,3" />
|
||||
<Label Grid.Column="1" Content="Endzeit" />
|
||||
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor" EditValue="{Binding Mode=TwoWay, Path=EndTimeEditString, UpdateSourceTrigger=PropertyChanged}" Grid.Column="2" x:Name="endTime" Height="23" Margin="3,0,3,3" />
|
||||
</Grid>
|
||||
|
||||
|
||||
<Grid Grid.Column="0" Grid.Row="8" ColumnSpan="2" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="67" />
|
||||
<ColumnDefinition Width="83" />
|
||||
<ColumnDefinition Width="120" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Content="Dauer" Grid.Column="0" x:Name="DauerAnzeige"/>
|
||||
<dxe:SpinEdit Increment="5" MinValue="0" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_duration1" EditValue="{Binding Mode=TwoWay, Path=Duration, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" Height="23" Margin="0,0,1,3" />
|
||||
|
||||
|
||||
<Grid Column="2" Row="0" HorizontalAlignment="Right">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<!--<ColumnDefinition Width="Auto" /> PrototypeVM. das nicht -->
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<!--<Label Content="Stunden" Grid.Column="0" Margin="3,0,3,3" HorizontalAlignment="Right" />-->
|
||||
<!--<CheckBox Grid.Column="1" VerticalAlignment="Center" Margin="0,0,3,3" HorizontalAlignment="Right" IsChecked="{Binding Path=PrototypeVM.DurationInStunden, UpdateSourceTrigger=PropertyChanged}" Click="CheckMinStdSwitch_OnClick" x:Name="CheckMinStdSwitch2"/>-->
|
||||
|
||||
<dxe:ComboBoxEdit x:Name="CheckMinStdSwitch" ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="1" Margin="3,0,3,3"
|
||||
EditValue="{Binding Path=DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
||||
IsTextEditable="False" Width="94"/>
|
||||
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
<!--<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" Grid.ColumnSpan="2" x:Name="lblDistance" HorizontalAlignment="Right"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}" Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
-->
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
|
||||
@@ -193,17 +193,17 @@ namespace BeWo.View.Detail
|
||||
|
||||
var Settings = BeWoApp.AppSettings;
|
||||
|
||||
if (scv == ServiceRecordFormate.ZeiterfassungMitEndDatum/* Settings.IsEndDateVisible*/)
|
||||
if (scv == ServiceRecordFormate.ZeiterfassungMitEndDatum)
|
||||
{
|
||||
GridMitEnddatum.Visibility = Visibility.Visible;
|
||||
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
//numerictb_duration.EditValue = null; damit wird das problem nicht gelöst
|
||||
|
||||
GridMitEnddatum.Visibility = Visibility.Visible;
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
//numeric_duration3.EditValue = null;
|
||||
|
||||
// ein Bereich für istSTDMin gestzt abfrage
|
||||
|
||||
numerictb_distance.SetValue(WidthProperty,(double)59);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
lblDistance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
|
||||
if (Settings.IsZeiterfassungInStdMin || zsd == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
MinSTDMitEnd.Visibility = Visibility.Visible;
|
||||
@@ -212,33 +212,32 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
}
|
||||
else
|
||||
if (scv == ServiceRecordFormate.ZeiterfassungMitMonatJahr/*Settings.IsOnlyYearMonthVisible*/)
|
||||
if (scv == ServiceRecordFormate.ZeiterfassungMitMonatJahr)
|
||||
{
|
||||
GridMitJahrMonat.Visibility = Visibility.Visible;
|
||||
|
||||
GridMitJahrMonat.Visibility = Visibility.Visible;
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
//numerictb_duration.EditValue = null;
|
||||
|
||||
GridMitEnddatum.Visibility = Visibility.Collapsed;
|
||||
//numeric_duration.EditValue = null;
|
||||
|
||||
}else
|
||||
numerictb_distance.SetValue(WidthProperty,(double)93);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
lblDistance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Left);
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
GridOhneEnddatum.Visibility = Visibility.Visible;
|
||||
|
||||
GridMitEnddatum.Visibility = Visibility.Collapsed;
|
||||
//numeric_duration.EditValue = null;
|
||||
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
//numeric_duration3.EditValue = null;
|
||||
GridOhneEnddatum.Visibility = Visibility.Visible;
|
||||
GridMitEnddatum.Visibility = Visibility.Collapsed;
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
|
||||
// ist STDMin gestzt abfrage
|
||||
if (Settings.IsZeiterfassungInStdMin || zsd == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
MinSTDOhneEnd.Visibility = Visibility.Visible;
|
||||
MinStdDauerLabel.SetValue(Grid.ColumnProperty,0);
|
||||
numerictb_duration.SetValue(Grid.ColumnProperty,1);
|
||||
}
|
||||
numerictb_duration.SetValue(Grid.ColumnProperty,1);
|
||||
MinStdDauerLabel.Content = "Dauer";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -276,7 +275,7 @@ namespace BeWo.View.Detail
|
||||
|
||||
bool lValid = !(!_HideCustomers && selectedNode == null);
|
||||
|
||||
lValid = ValidationTrigger.Validate(rootGrid) && lValid; // das problem löst alle probleme aus.
|
||||
lValid = ValidationTrigger.Validate(rootGrid) && lValid;
|
||||
|
||||
if (lValid)
|
||||
{
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
|
||||
|
||||
|
||||
<Label Content="Dauer" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<Label Content="Dauer (min)" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_duration"
|
||||
EditValue="{Binding Path=Duration, Mode=TwoWay, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
@@ -164,7 +164,7 @@
|
||||
<!--#########################################################################################-->
|
||||
|
||||
<!--############################### Bereich mit EndDatum ####################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum">
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="Label1" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -223,7 +223,7 @@
|
||||
<!--#########################################################################################-->
|
||||
|
||||
<!--############################### Bereich Nur Jahr / Monat ################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat">
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="Label1" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -237,7 +237,7 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Jahr" />
|
||||
<!--Eine eigenen vm berecih für only monat und only jahr erstellen DisplayMember="Value" ValueMember="Key"-->
|
||||
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="0" Margin="3,0,3,3" x:Name="OnlyJahrData"
|
||||
EditValue="{Binding Path=OnlyYear, UpdateSourceTrigger=PropertyChanged}"
|
||||
ItemsSource="{Binding Path=JahreBinden}"
|
||||
@@ -245,7 +245,7 @@
|
||||
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="1" Content="Monat" x:Name="EndDateLabel3"/>
|
||||
<!-- DisplayMember="Value" ValueMember="Key"-->
|
||||
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="1" Margin="3,0,3,3" x:Name="OnlyMonatData"
|
||||
EditValue="{Binding Path=OnlyMonth, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsTextEditable="False"
|
||||
@@ -258,12 +258,6 @@
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
Height="23" Margin="3,0,3,3"/>
|
||||
|
||||
|
||||
<!--<dxe:ComboBoxEdit ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" Margin="3,0,3,3"
|
||||
EditValue="{Binding Path=PrototypeVM.DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
||||
IsTextEditable="False" />-->
|
||||
|
||||
|
||||
</Grid>
|
||||
<!--#########################################################################################-->
|
||||
|
||||
@@ -271,63 +265,22 @@
|
||||
<!--################################### Bereich für Gefahrene Kilometer ###################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="6" ColumnSpan="2" x:Name="DauerGrid" Visibility="Visible">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="50" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="60" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" x:Name="lblDistance" HorizontalAlignment="Left"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False"
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" x:Name="lblDistance" HorizontalAlignment="Right"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" HorizontalAlignment="Right"
|
||||
AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}"
|
||||
Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
Grid.Column="2" Height="23" Margin="3,0,3,3" Width="54"/>
|
||||
|
||||
</Grid>
|
||||
<!--#######################################################################################################-->
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
<Label Grid.Column="0" Grid.Row="4" Content="Startdatum" />
|
||||
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="4" EditValue="{val:ValidationBinding Mode=TwoWay, Path=Date}" Height="23" Margin="3,0,3,3" />
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="5" Content="Enddatum" x:Name="EndDateLabel"/>
|
||||
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" x:Name="datepicker_newEndDate" Grid.Column="1" Grid.Row="5" EditValue="{val:ValidationBinding Mode=TwoWay, Path=EditableEndDate}" Height="23" Margin="3,0,3,3" />
|
||||
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="6" Content="Startzeit" />
|
||||
<Grid Grid.Column="1" Grid.Row="6">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="60" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="60" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor" EditValue="{Binding Mode=TwoWay, Path=StartTimeEditString, UpdateSourceTrigger=PropertyChanged}" x:Name="startTime" Height="23" Margin="3,0,3,3" />
|
||||
<Label Grid.Column="1" Content="Endzeit" />
|
||||
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor" EditValue="{Binding Mode=TwoWay, Path=EndTimeEditString, UpdateSourceTrigger=PropertyChanged}" Grid.Column="2" x:Name="endTime" Height="23" Margin="3,0,3,3" />
|
||||
</Grid>-->
|
||||
|
||||
<!-- <Grid Grid.Column="1" Grid.Row="7">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="60" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="60" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Content="Dauer (min)" Grid.Column="1" />
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" AllowNullInput="False" x:Name="numerictb_duration" EditValue="{Binding Mode=TwoWay, Path=Duration, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}" Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" Grid.ColumnSpan="2" x:Name="lblDistance" HorizontalAlignment="Right"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}" Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
</Grid>-->
|
||||
|
||||
<!--###################################### Bis Hier hin alles umschreiben ############################################################################################-->
|
||||
|
||||
|
||||
|
||||
<CheckBox x:Name="EditOnlyThisRecord" Grid.Row="7" Visibility="Collapsed">Nur diesen Eintrag bearbeiten</CheckBox>
|
||||
</Grid>
|
||||
|
||||
@@ -280,7 +280,23 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
}
|
||||
|
||||
decimal duration = _ServiceRecordVM.Duration.Value;
|
||||
decimal duration;
|
||||
|
||||
|
||||
if (_ServiceRecordVM.ServiceRecordFormat == ServiceRecordFormate.ZeiterfassungMitEndDatum)
|
||||
{
|
||||
duration = _ServiceRecordVM.DurationSTD.Value;
|
||||
}
|
||||
else if (_ServiceRecordVM.ServiceRecordFormat == ServiceRecordFormate.ZeiterfassungMitMonatJahr)
|
||||
{
|
||||
duration = _ServiceRecordVM.DurationMonthYearGes.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
duration = _ServiceRecordVM.Duration.Value;
|
||||
}
|
||||
|
||||
|
||||
decimal lRoundedDuration = duration;
|
||||
|
||||
int personCount = multiSupportConceptControl.SelectedSupportConcepts.Count;
|
||||
@@ -359,6 +375,9 @@ namespace BeWo.View.Detail
|
||||
item.DistanceInMeter = dc.DistanceInMeter;
|
||||
item.ServiceDescription = dc.ServiceDescription;
|
||||
|
||||
item.ServiceRecordFormat = dc.ServiceRecordFormat;
|
||||
item.DurationInStunden = dc.DurationInStunden;
|
||||
|
||||
item.ServiceDescription = item.ServiceDescription ?? dc.ServiceDescription;
|
||||
|
||||
item.GroupEmployeeCount = _Group.EmployeeCount;
|
||||
@@ -380,9 +399,16 @@ namespace BeWo.View.Detail
|
||||
item.CostBearer.CostBearerOid = item.SupportConcept.CostBearerList[0].CostBearerOid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ServiceFacade.DoOperationsServiceAsync(s => s.UpdateServiceRecordGroup(_Group), UpdateViewModel);
|
||||
if (dc.GroupOid.HasValue)
|
||||
{
|
||||
ServiceFacade.DoOperationsServiceAsync(s => s.UpdateServiceRecordGroup(_Group), UpdateViewModel);
|
||||
}
|
||||
else
|
||||
{
|
||||
ServiceFacade.DoOperationsServiceAsync(s => s.InsertNewServiceRecordGroup(_Group), UpdateViewModel);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void InitSelectionList()
|
||||
@@ -663,6 +689,10 @@ namespace BeWo.View.Detail
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
|
||||
|
||||
numerictb_distance.SetValue(WidthProperty, (double)49);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
|
||||
// ein Bereich für istSTDMin gestzt abfrage | auch wenn setting nicht gesetzt sobald anzeigen falls Duration in Stunden gesetzt.
|
||||
if (Settings.IsZeiterfassungInStdMin || zsd == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
@@ -678,6 +708,9 @@ namespace BeWo.View.Detail
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
GridMitEnddatum.Visibility = Visibility.Collapsed;
|
||||
|
||||
numerictb_distance.SetValue(WidthProperty, (double)93);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
lblDistance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Left);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -691,6 +724,7 @@ namespace BeWo.View.Detail
|
||||
MinSTDOhneEnd.Visibility = Visibility.Visible;
|
||||
MinStdDauerLabel.SetValue(Grid.ColumnProperty, 0);
|
||||
numerictb_duration.SetValue(Grid.ColumnProperty, 1);
|
||||
MinStdDauerLabel.Content = "Dauer";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -131,9 +131,9 @@
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="Start" Header="Datum" ReadOnly="True" EditSettings="{dxe:DateSettings DisplayFormat=dd.MM.yyyy}"/>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="StartDate" Header="Start" ReadOnly="True" EditSettings="{dxe:DateSettings DisplayFormat=HH:mm}"/>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="EndDate" Header="Ende" ReadOnly="True" EditSettings="{dxe:DateSettings DisplayFormat=HH:mm}"/>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="RoundedDuration" Header="Dauer" ReadOnly="True" EditSettings="{dxe:TextSettings DisplayFormat=0}"/>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="RoundedDuration" Header="Dauer" ReadOnly="True" EditSettings="{dxe:TextSettings DisplayFormat=0}" x:Name="RoundedDHeader"/>
|
||||
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="DurationInStunden" Header="Art (Dauer)" ReadOnly="True" />
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="DurationInStunden" Header="Art (Dauer)" ReadOnly="True" x:Name="DurationInSTDHeader" />
|
||||
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="Customer" Header="Klient/in" ReadOnly="True" />
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="SupportConcept" Header="Hilfeplan" ReadOnly="True" />
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
using BS.Shared.DataContracts;
|
||||
@@ -22,6 +23,14 @@ namespace BeWo.View.Detail
|
||||
datagrid_ServiceRecordHistory.ItemsSource = historyList;
|
||||
GridView.BestFitColumns();
|
||||
Focus();
|
||||
|
||||
|
||||
if (!BeWoApp.AppSettings.IsEndDateVisible && !BeWoApp.AppSettings.IsOnlyYearMonthVisible)
|
||||
{
|
||||
RoundedDHeader.Header = "Minuten";
|
||||
DurationInSTDHeader.Visible = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
public class RowDetailContainerControl : ContentControl
|
||||
|
||||
@@ -610,7 +610,7 @@
|
||||
|
||||
|
||||
<!--####################################### Grid Mit Enddatum SharedSizeGroup="Label1" #######################################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum">
|
||||
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -670,10 +670,10 @@
|
||||
|
||||
|
||||
<!--##################################### Grit Ohne Enddatum ###############################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="8" ColumnSpan="2" x:Name="GridOhneEnddatum">
|
||||
<Grid Grid.Column="0" Grid.Row="8" ColumnSpan="2" x:Name="GridOhneEnddatum" >
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="62" />
|
||||
<ColumnDefinition Width="60" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition MinWidth="60" />
|
||||
</Grid.ColumnDefinitions>
|
||||
@@ -699,9 +699,9 @@
|
||||
x:Name="startTime1" Grid.Column="1" Grid.Row="1"
|
||||
Height="23"
|
||||
Margin="3,0,3,3"/>
|
||||
|
||||
|
||||
<Label Grid.Column="2" Content="Endzeit" Grid.Row="1"/>
|
||||
|
||||
|
||||
<Label Grid.Column="2" Content="Endzeit" Grid.Row="1" />
|
||||
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
||||
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
||||
EditValue="{Binding Mode=TwoWay, Path=PrototypeVM.EndTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
||||
@@ -711,7 +711,7 @@
|
||||
|
||||
|
||||
|
||||
<Label Content="Dauer" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<Label Content="Dauer (min)" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Right" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_duration"
|
||||
EditValue="{Binding Path=PrototypeVM.Duration, Mode=TwoWay, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
@@ -730,7 +730,7 @@
|
||||
|
||||
|
||||
<!--########################## Grid mit nur Jahr / Monat und feste dauer SharedSizeGroup="Label1"#####################################-->
|
||||
<Grid Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat">
|
||||
<Grid Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat" Visibility="Collapsed">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="88" />
|
||||
@@ -744,8 +744,7 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Jahr" />
|
||||
|
||||
<!--Eine eigenen vm berecih für only monat und only jahr erstellen DisplayMember="Value" ValueMember="Key"-->
|
||||
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="0" Margin="3,0,3,3" x:Name="OnlyJahrData"
|
||||
EditValue="{Binding Path=PrototypeVM.OnlyYear, UpdateSourceTrigger=PropertyChanged}"
|
||||
ItemsSource="{Binding Path=PrototypeVM.JahreBinden}"
|
||||
@@ -753,44 +752,36 @@
|
||||
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="1" Content="Monat" x:Name="EndDateLabel3"/>
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="1" Margin="3,0,3,3" x:Name="OnlyMonatData"
|
||||
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="1" Margin="3,0,3,3" x:Name="OnlyMonatData"
|
||||
EditValue="{Binding Path=PrototypeVM.OnlyMonth, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsTextEditable="False"
|
||||
ItemsSource="{Binding Path=PrototypeVM.MonateBinden}" />
|
||||
|
||||
<!--Hier fehlen Die duration und der bereich für die Stundenanzeige-->
|
||||
|
||||
<Label Content="Stunden ges." Grid.Column="0" Grid.Row="2"/>
|
||||
|
||||
<Label Content="Stunden ges." Grid.Column="0" Grid.Row="2"/>
|
||||
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numeric_duration3"
|
||||
EditValue="{Binding Path=PrototypeVM.DurationMonthYearGes, Mode=TwoWay, Converter={StaticResource Int2DecimalConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
Grid.Column="3" Grid.Row="2"
|
||||
Height="23" Margin="3,0,3,3"/>
|
||||
|
||||
|
||||
<!--<dxe:ComboBoxEdit ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" Margin="3,0,3,3"
|
||||
EditValue="{Binding Path=PrototypeVM.DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
||||
IsTextEditable="False" />-->
|
||||
|
||||
|
||||
|
||||
</Grid>
|
||||
<!--###########################################################################################################################################-->
|
||||
|
||||
<!--########################## Gefahrene Kilometer ##########################################################-->
|
||||
<!--###########################################################################################################################################-->
|
||||
|
||||
<!--########################## Gefahrene Kilometer ############### -->
|
||||
|
||||
<Grid Grid.Column="0" Grid.Row="9" ColumnSpan="2" x:Name="DauerGrid" Visibility="Visible">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="50" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="65" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" x:Name="lblDistance" HorizontalAlignment="Left"/>
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False"
|
||||
AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=PrototypeVM.DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}"
|
||||
Grid.Column="2" Height="23" Margin="3,0,3,3" />
|
||||
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="0" x:Name="lblDistance" HorizontalAlignment="Right" />
|
||||
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False" Width="57" HorizontalAlignment="Right"
|
||||
AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=PrototypeVM.DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}"
|
||||
Grid.Column="3" Height="23" Margin="3,0,3,3" />
|
||||
</Grid>
|
||||
<!--################################################################################Grid.ColumnSpan="2"#######################################-->
|
||||
|
||||
@@ -1041,14 +1032,14 @@
|
||||
</dxg:GridColumn>
|
||||
|
||||
<!--############## Header von Minuten auf Dauer Gewechselt #################################-->
|
||||
<dxg:GridColumn FieldName="RoundedDuration" AllowEditing="False" Header="Dauer" Width="65">
|
||||
<dxg:GridColumn FieldName="RoundedDuration" AllowEditing="False" Header="Dauer" x:Name="RoundedDHeader" Width="65">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:TextEditSettings DisplayFormat="0.##"></dxe:TextEditSettings>
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
|
||||
<!--###############################################################################################-->
|
||||
<dxg:GridColumn FieldName="DurationInStunden" AllowEditing="False" Header="Art (Dauer)" Width="65">
|
||||
<dxg:GridColumn FieldName="DurationInStunden" AllowEditing="False" Header="Art (Dauer)" Width="65" x:Name="DutationInSTDHeader">
|
||||
|
||||
</dxg:GridColumn>
|
||||
<!--###############################################################################################-->
|
||||
@@ -1071,6 +1062,19 @@
|
||||
<dxg:GridColumn FieldName="EmployeeName" AllowEditing="False" Header="Angelegt für" />
|
||||
<dxg:GridColumn FieldName="InsUser" AllowEditing="False" Header="Angelegt von" x:Name="InsertedByColumn" />
|
||||
<dxg:GridColumn FieldName="InsertedOn" AllowEditing="False" Header="Angelegt am" x:Name="InsertedOnColumn" ></dxg:GridColumn>
|
||||
|
||||
|
||||
<!--########################## gridcolumn with checkbox IsChecked="{Binding Path=EditValue}" ##########################################-->
|
||||
<dxg:GridColumn FieldName="IsUnterschrift" Header="Unterschrift" AllowEditing="False" Width="70" Visible="False" x:Name="UnterschriftenHeader" >
|
||||
<dxg:GridColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</dxg:GridColumn.CellTemplate>
|
||||
</dxg:GridColumn>
|
||||
|
||||
<!--##############################################################################################-->
|
||||
|
||||
</dxg:GridControl.Columns>
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView x:Name="srTableView"
|
||||
|
||||
@@ -252,6 +252,10 @@ namespace BeWo.View.Detail
|
||||
|
||||
var Settings = BeWoApp.AppSettings;
|
||||
|
||||
if (BeWoApp.AppSettings.ShowSignatures)
|
||||
{
|
||||
UnterschriftenHeader.Visible = true;
|
||||
}
|
||||
|
||||
if (Settings.IsOnlyYearMonthVisible)
|
||||
{
|
||||
@@ -260,14 +264,19 @@ namespace BeWo.View.Detail
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
|
||||
EndDatumHeader.Visible = false;
|
||||
|
||||
}else
|
||||
|
||||
numerictb_distance.SetValue(WidthProperty, (double)81);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
lblDistance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Left);
|
||||
}
|
||||
else
|
||||
if (Settings.IsEndDateVisible)
|
||||
{
|
||||
GridMitEnddatum.Visibility = Visibility.Visible;
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
GridOhneEnddatum.Visibility = Visibility.Collapsed;
|
||||
|
||||
|
||||
if (Settings.IsZeiterfassungInStdMin)
|
||||
{
|
||||
MinSTDMitEnd.Visibility = Visibility.Visible;
|
||||
@@ -276,18 +285,28 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
|
||||
EndDatumHeader.Visible = true;
|
||||
}
|
||||
|
||||
numerictb_distance.SetValue(WidthProperty, (double)47);
|
||||
numerictb_distance.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Right);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
GridMitEnddatum.Visibility = Visibility.Collapsed;
|
||||
GridMitJahrMonat.Visibility = Visibility.Collapsed;
|
||||
GridOhneEnddatum.Visibility = Visibility.Visible;
|
||||
|
||||
//Collapse Zeit art und ändere namen von Dauer aufs originale zurück.
|
||||
RoundedDHeader.Header = "Minuten";
|
||||
DutationInSTDHeader.Visible = false;
|
||||
|
||||
|
||||
if (Settings.IsZeiterfassungInStdMin)
|
||||
{
|
||||
MinSTDOhneEnd.Visibility = Visibility.Visible;
|
||||
MinStdDauerLabel.SetValue(Grid.ColumnProperty, 0);
|
||||
numerictb_duration.SetValue(Grid.ColumnProperty, 1);
|
||||
MinStdDauerLabel.Content = "Dauer";
|
||||
}
|
||||
|
||||
EndDatumHeader.Visible = false;
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
<!-- ########################################### Achtung Schloss ################################################################################################## -->
|
||||
<TextBlock x:Name="txtPasswortSchloss" VerticalAlignment="Center" Margin="5,3,3,3" Foreground="Black" ToolTip="Hinweise zum Datenschutz">
|
||||
<Hyperlink RequestNavigate="LinkNewDatenschutz_OnRequestNavigate" NavigateUri="https://www.beyondsoft.de/datenschutz_beyondsoft.html" Foreground="Black" TextDecorations="None">
|
||||
<Hyperlink RequestNavigate="LinkNewDatenschutz_OnRequestNavigate" NavigateUri="http://news.bewoplaner.de/?NewsType=3" Foreground="Black" TextDecorations="None" x:Name="HyperlinkZuPasswortsicherheit">
|
||||
<TextBlock x:Name="PasswortSchloss" Text="" HorizontalAlignment="Center" Foreground="OrangeRed" FontSize="12" VerticalAlignment="Center" />
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
|
||||
@@ -109,6 +109,10 @@ namespace BeWo.View
|
||||
//PreparePanels();
|
||||
InitPanels(null);
|
||||
|
||||
|
||||
HyperlinkZuPasswortsicherheit.NavigateUri = new Uri("http://news.bewoplaner.de/?NewsType=3&NewsCount=1&NewsOID=373457455");
|
||||
|
||||
|
||||
#if DEBUG
|
||||
txtChangePassword.Visibility = Visibility.Visible;
|
||||
#else
|
||||
|
||||
@@ -127,27 +127,24 @@ namespace BeWo.View
|
||||
|
||||
private string letztespw = "";
|
||||
private bool retschalter = false;
|
||||
|
||||
private int distanz = 0;
|
||||
private void NeuesPwBox_OnPasswordChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
//Führe hier die passwort überprüfung durch
|
||||
|
||||
string s = NeuesPwBox.Password; //(string) sender;
|
||||
string s = NeuesPwBox.Password;
|
||||
|
||||
|
||||
if (s.Length < letztespw.Length)
|
||||
retschalter = true;
|
||||
|
||||
if(!letztespw.Equals(s))
|
||||
{
|
||||
retschalter = true;
|
||||
distanz = letztespw.Length - s.Length;
|
||||
}
|
||||
|
||||
if (!letztespw.Equals(s))
|
||||
letztespw = s;
|
||||
|
||||
ZeigePasswortStrength(NeuesPwBox.Password.Length);
|
||||
|
||||
GetPasswortStrength(NeuesPwBox.Password.Length);
|
||||
|
||||
//NeuesPwBox.Password.Equals("/[!§$%&\/\(\)=?,;.:\-_#'+*@°^²³€µ~\[\]\{\}\\]/)");
|
||||
|
||||
|
||||
|
||||
var fehlermeldung = string.Empty;
|
||||
//textblock_editFailures.Foreground = new SolidColorBrush(Color.FromRgb(255, 72, 0));
|
||||
|
||||
@@ -165,7 +162,7 @@ namespace BeWo.View
|
||||
bool schalter = false;
|
||||
List<int> letztewerte = new List<int>();
|
||||
|
||||
private void GetPasswortStrength(int text)
|
||||
private void ZeigePasswortStrength(int text)
|
||||
{
|
||||
int i = 0;
|
||||
letzterwert = 0;
|
||||
@@ -173,10 +170,22 @@ namespace BeWo.View
|
||||
|
||||
if (retschalter == true)
|
||||
{
|
||||
score -= letztewerte.Last();
|
||||
if (distanz == 1)
|
||||
{
|
||||
score -= letztewerte.Last();
|
||||
letztewerte.RemoveAt(letztewerte.Count - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int s = 0; s < distanz; s++)
|
||||
{
|
||||
score -= letztewerte.Last();
|
||||
letztewerte.RemoveAt(letztewerte.Count - 1);
|
||||
}
|
||||
}
|
||||
|
||||
retschalter = false;
|
||||
|
||||
letztewerte.RemoveAt(letztewerte.Count - 1);
|
||||
//letzterwert = 0;
|
||||
}
|
||||
else
|
||||
@@ -210,8 +219,6 @@ namespace BeWo.View
|
||||
schalter = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//Zahlen und Buchstaben
|
||||
if (NeuesPwBox.Password.Any(x => zahlen.Contains(x)))
|
||||
{
|
||||
@@ -322,31 +329,31 @@ namespace BeWo.View
|
||||
|
||||
// ########################################### PasswortStärke Bereich ##########################
|
||||
//Sehr Schwach
|
||||
if (score <= 60)
|
||||
if (score <= 15)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
|
||||
//Schwach
|
||||
if (score >= 61 && score <= 100)
|
||||
if (score >= 16 && score <= 55)
|
||||
{
|
||||
i = 1;
|
||||
}
|
||||
|
||||
//Mittelmäßig
|
||||
if (score >= 101 && score <= 140)
|
||||
if (score >= 56 && score <= 115)
|
||||
{
|
||||
i = 2;
|
||||
}
|
||||
|
||||
//Stark
|
||||
if (score >= 141 && score <= 180)
|
||||
if (score >= 116 && score <= 155)
|
||||
{
|
||||
i = 3;
|
||||
}
|
||||
|
||||
//Sehr Stark
|
||||
if (score >= 181 )
|
||||
if (score >= 156 )
|
||||
{
|
||||
i = 4;
|
||||
}
|
||||
@@ -362,14 +369,15 @@ namespace BeWo.View
|
||||
letzterwert = 0;
|
||||
|
||||
}else{
|
||||
switch (i)
|
||||
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
switch (i)
|
||||
{
|
||||
|
||||
case 0:
|
||||
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.Red);
|
||||
passwortprüfer.Content = "Passwortstärke: Sehr schwach";
|
||||
|
||||
@@ -377,18 +385,13 @@ namespace BeWo.View
|
||||
|
||||
case 1:
|
||||
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.Orange);
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.OrangeRed);
|
||||
passwortprüfer.Content = "Passwortstärke: Schwach";
|
||||
|
||||
break;
|
||||
|
||||
case 2:
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.Yellow);
|
||||
passwortprüfer.Content = "Passwortstärke: Mittel";
|
||||
|
||||
@@ -396,9 +399,6 @@ namespace BeWo.View
|
||||
|
||||
case 3:
|
||||
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.Green);
|
||||
passwortprüfer.Content = "Passwortstärke: Stark";
|
||||
|
||||
@@ -406,9 +406,6 @@ namespace BeWo.View
|
||||
|
||||
case 4:
|
||||
|
||||
if (passwortprüfer.Visibility != Visibility.Visible)
|
||||
passwortprüfer.Visibility = Visibility.Visible;
|
||||
|
||||
passwortprüfer.Foreground = new SolidColorBrush(Colors.Green);
|
||||
passwortprüfer.Content = "Passwortstärke: Sehr stark";
|
||||
|
||||
|
||||
@@ -190,6 +190,8 @@ namespace BeWo.ViewModel
|
||||
|
||||
private int? _DurationMonthYearGes;
|
||||
|
||||
private bool _isUnterschrift;
|
||||
|
||||
private string[] _MonateBinden = {"Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"};
|
||||
|
||||
#endregion
|
||||
@@ -548,17 +550,7 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
rd = (rd*Category.Percentage)/100;
|
||||
}
|
||||
|
||||
//?? Keine ahnung weis nicht ??
|
||||
//if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
//{
|
||||
// rd = rd/60;
|
||||
// Duration = Duration/60;
|
||||
// DurationSTD = DurationSTD/60;
|
||||
// DurationMonthYearGes = DurationMonthYearGes/60;
|
||||
//}
|
||||
|
||||
// hier abfrage + statt durationstd , duration
|
||||
|
||||
if(_ServiceRecordFormat == ServiceRecordFormate.ZeiterfassungMitEndDatum) {
|
||||
|
||||
var strResult = _GroupOid != null ? String.Format("{0} ({0})", rd) : String.Format("{0} ({1})", DurationSTD, rd);
|
||||
@@ -802,60 +794,6 @@ namespace BeWo.ViewModel
|
||||
else
|
||||
EndTime = null;
|
||||
}
|
||||
|
||||
//was wird hiernochmal gemacht ??
|
||||
//var start = StartTime.Value;
|
||||
|
||||
////var diff = EndTime.Value.Subtract(start);
|
||||
//var diff = neuerwert.Subtract(start);
|
||||
|
||||
////Soll das doch lieber der Timecheck durchführen ??
|
||||
//if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
//{
|
||||
// if (_Date.Value.Date == _EditableEndDate.Value.Date)
|
||||
// {
|
||||
|
||||
// if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
// {
|
||||
// if (diff.Hours > 0 || diff.Minutes > 0) // hier noch etwas genauer abfragen/ was ist wenn stunden ausgewählt und nur 30 min
|
||||
// {
|
||||
// DurationSTD = (int)diff.TotalHours;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// StartTime = neuerwert;
|
||||
// DurationSTD = 0;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// if (diff.Minutes > 0 || diff.Hours > 0)
|
||||
// {
|
||||
// DurationSTD = (int) diff.TotalMinutes;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// StartTime = neuerwert;
|
||||
// DurationSTD = 0;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
|
||||
//}else{
|
||||
|
||||
// if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
// {
|
||||
|
||||
// DurationSTD = (int)diff.TotalHours;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// DurationSTD = (int)diff.TotalMinutes;
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -864,7 +802,6 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
get {
|
||||
|
||||
//unnötige abfrage,
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
return _EditableEndDate;
|
||||
@@ -875,17 +812,14 @@ namespace BeWo.ViewModel
|
||||
|
||||
set
|
||||
{
|
||||
//eigentlich unnötig aber erstma drinne lassen zur zusätzlichen überprüfung
|
||||
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
|
||||
{
|
||||
if (AreDifferent(_EditableEndDate, value))
|
||||
{
|
||||
//das enddatum wird gleich gesetzt wenn das startdatum größer ist.
|
||||
{
|
||||
if (value < Date)
|
||||
{
|
||||
_EditableEndDate = Date;
|
||||
//Date = value;
|
||||
_EditableEndDate = Date;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -903,9 +837,7 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
_DurationSTD = (int)x.TotalHours;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
FirePropertyChanged(PropertyName_EditableEndDate);
|
||||
FirePropertyChanged(PropertyName_DurationSTD);
|
||||
TimeCheckForDurationSTD();
|
||||
@@ -944,7 +876,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
if (_EndTime != null)
|
||||
{
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
if (_StartTime.Value.Date == null)
|
||||
{
|
||||
@@ -1039,6 +971,21 @@ namespace BeWo.ViewModel
|
||||
set { _SignatureOid = value; }
|
||||
}
|
||||
|
||||
public bool IsUnterschrift
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_SignatureOid != null) {
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
set { _isUnterschrift = value; }
|
||||
}
|
||||
|
||||
public int? GroupPersonCount
|
||||
{
|
||||
get { return _GroupPersonCount; }
|
||||
@@ -1483,34 +1430,35 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
Duration = (int) diff.TotalMinutes;
|
||||
Duration = (int) diff.TotalHours;
|
||||
}
|
||||
else
|
||||
{
|
||||
Duration = (int)diff.TotalHours;
|
||||
Duration = (int)diff.TotalMinutes;
|
||||
}
|
||||
FirePropertyChanged(PropertyName_Duration);
|
||||
TimeCheck();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
{
|
||||
if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
EndTime = _StartTime.Value.AddHours(DurationSTD.Value);
|
||||
}else{
|
||||
EndTime = _StartTime.Value.AddMinutes(DurationSTD.Value);
|
||||
}
|
||||
}else{
|
||||
if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
EndTime = _StartTime.Value.AddHours(Duration.Value);
|
||||
}else{
|
||||
EndTime = _StartTime.Value.AddMinutes(Duration.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// if (BeWoApp.AppSettings.IsEndDateVisible)
|
||||
// {
|
||||
// if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
// {
|
||||
// EndTime = _StartTime.Value.AddHours(DurationSTD.Value);
|
||||
// }else{
|
||||
// EndTime = _StartTime.Value.AddMinutes(DurationSTD.Value);
|
||||
// }
|
||||
// }else{
|
||||
// if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
// {
|
||||
// EndTime = _StartTime.Value.AddHours(Duration.Value);
|
||||
// }else{
|
||||
// EndTime = _StartTime.Value.AddMinutes(Duration.Value);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
FirePropertyChanged(PropertyName_StartTime);
|
||||
@@ -1627,7 +1575,6 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public ServiceRecordFormate? ServiceRecordFormat
|
||||
{
|
||||
get{ return _ServiceRecordFormat; }
|
||||
@@ -1643,7 +1590,6 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
//################### Binden des Wertes über die VM ###########################
|
||||
public string OnlyMonth
|
||||
{
|
||||
get
|
||||
@@ -1718,8 +1664,7 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//###############################################################################
|
||||
|
||||
|
||||
[Validation(ValidationRule = ValidationRules.GreaterThanOrEqualZero)]
|
||||
public int? DurationSTD
|
||||
@@ -1897,7 +1842,7 @@ namespace BeWo.ViewModel
|
||||
copy.GroupPersonCount = GroupPersonCount;
|
||||
copy.GroupOid = GroupOid;
|
||||
copy.GroupRoundedDuration = GroupRoundedDuration;
|
||||
|
||||
copy.SignatureOid = SignatureOid;
|
||||
|
||||
copy.DurationInStunden = DurationInStunden;
|
||||
copy.ServiceRecordFormat = ServiceRecordFormat;
|
||||
@@ -1926,21 +1871,18 @@ namespace BeWo.ViewModel
|
||||
#region Methods
|
||||
|
||||
protected override void InitByDataContract(ServiceRecordDC pDataContract)
|
||||
{
|
||||
//Testen
|
||||
{
|
||||
if (pDataContract.ServiceDescription != null)
|
||||
{
|
||||
// Hier läd er die sachen in die View
|
||||
{
|
||||
if (pDataContract.ServiceRecordFormat == ServiceRecordFormate.OriginaleZeiterfassung || pDataContract.ServiceRecordFormat == null)
|
||||
{
|
||||
|
||||
_Date = pDataContract.Start.Value;
|
||||
_StartTime = pDataContract.Start.Value;
|
||||
|
||||
//einfach nur sicherheitshalber dass der wert nicht null ist und es nicht zu unerwarteten fehlermeldungen kommt.
|
||||
_EditableEndDate = pDataContract.End.Value;
|
||||
|
||||
if (pDataContract.DurationInStunden == ZeiterfassungsDauer.Stunden /*&& BeWoApp.AppSettings.IsZeiterfassungInStdMin*/) // die bewoapp abfrage ist glaub ich nicht nötig
|
||||
if (pDataContract.DurationInStunden == ZeiterfassungsDauer.Stunden )
|
||||
{
|
||||
_Duration = (int)(pDataContract.End.Value - pDataContract.Start.Value).TotalHours;
|
||||
|
||||
@@ -1963,8 +1905,8 @@ namespace BeWo.ViewModel
|
||||
_StartTime = pDataContract.Start.Value;
|
||||
_EndTime = pDataContract.End.Value;
|
||||
_EditableEndDate = pDataContract.End.Value;
|
||||
//?? villeicht bei enddate das datum von end übergeben
|
||||
if (pDataContract.DurationInStunden == ZeiterfassungsDauer.Stunden /*&& BeWoApp.AppSettings.IsZeiterfassungInStdMin*/)
|
||||
|
||||
if (pDataContract.DurationInStunden == ZeiterfassungsDauer.Stunden )
|
||||
{
|
||||
_DurationSTD = (int) (pDataContract.End.Value - pDataContract.Start.Value).TotalHours;
|
||||
}
|
||||
@@ -2017,7 +1959,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
_DurationInStunden = pDataContract.DurationInStunden;
|
||||
_ServiceRecordFormat = pDataContract.ServiceRecordFormat;
|
||||
|
||||
_SignatureOid = pDataContract.SignatureOid;
|
||||
|
||||
if (pDataContract.Goals != null)
|
||||
{
|
||||
@@ -2047,7 +1989,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
private ServiceRecordDC CopyToDataContract(ServiceRecordDC pDataContract)
|
||||
{
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible )
|
||||
if (BeWoApp.AppSettings.IsEndDateVisible )
|
||||
{
|
||||
pDataContract.Start = _Date;
|
||||
pDataContract.End = _EditableEndDate;
|
||||
@@ -2179,10 +2121,14 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
duration = _Duration.Value;
|
||||
}
|
||||
|
||||
|
||||
StoreDirtyInformation(
|
||||
AreDifferent(DataContract.End, (_Date.Value + _StartTime.Value.TimeOfDay).AddMinutes(duration)) ||
|
||||
AreDifferent(DataContract.Start,_Date.Value + _StartTime.Value.TimeOfDay), "TIME");
|
||||
AreDifferent(DataContract.Start,_Date.Value + _StartTime.Value.TimeOfDay), "TIME");
|
||||
|
||||
EndTime = StartTime.Value.AddMinutes(duration);
|
||||
|
||||
FirePropertyChanged(PropertyName_EndTime);
|
||||
}
|
||||
|
||||
private void TimeCheckMonatJahr()
|
||||
@@ -2202,8 +2148,7 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
|
||||
private void TimeCheckForDurationSTD()
|
||||
{
|
||||
//setzte duration
|
||||
{
|
||||
var duration = 0;
|
||||
if (_DurationSTD.HasValue)
|
||||
{
|
||||
@@ -2211,11 +2156,7 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
|
||||
//####################### ich glaub das wars ##########################
|
||||
//Wenn man zuerst die Startdaten auswählt und dann im nachhinein die Uhrzeit setzt dann setzt sich das datum zurück.
|
||||
//Einmal Fixen und je nachdem behalten.
|
||||
|
||||
// Umbaumaßnahmen zeigen erste positive ergebnisse
|
||||
if (_DurationInStunden == ZeiterfassungsDauer.Minuten) // Minuten übergeben // wird das nicht wieder ein wenig komplex
|
||||
if (_DurationInStunden == ZeiterfassungsDauer.Minuten)
|
||||
{
|
||||
if (_StartTime != null && _EndTime != null)
|
||||
{
|
||||
@@ -2265,8 +2206,6 @@ namespace BeWo.ViewModel
|
||||
_EndTime = _EndTime.Value.AddMinutes(duration);
|
||||
}
|
||||
|
||||
|
||||
|
||||
_Date = new DateTime(_Date.Value.Year, _Date.Value.Month, _Date.Value.Day, _StartTime.Value.Hour, _StartTime.Value.Minute, _StartTime.Value.Second);
|
||||
_EditableEndDate = new DateTime(_EndTime.Value.Year, _EndTime.Value.Month, _EndTime.Value.Day, _EndTime.Value.Hour, _EndTime.Value.Minute, _EndTime.Value.Second);
|
||||
|
||||
@@ -2277,11 +2216,10 @@ namespace BeWo.ViewModel
|
||||
|
||||
_DurationSTD = duration;
|
||||
}
|
||||
else if (_DurationInStunden == ZeiterfassungsDauer.Stunden) // Stunden übergeben
|
||||
else if (_DurationInStunden == ZeiterfassungsDauer.Stunden)
|
||||
{
|
||||
if (_StartTime != null && _EndTime != null)
|
||||
{
|
||||
//Villeicht hier von der Startzeit die duration einfügen um den enddatum anzupassen
|
||||
{
|
||||
_StartTime = new DateTime(_Date.Value.Year, _Date.Value.Month, _Date.Value.Day,
|
||||
_StartTime.Value.Hour, _StartTime.Value.Minute, _StartTime.Value.Second);
|
||||
|
||||
@@ -2329,20 +2267,15 @@ namespace BeWo.ViewModel
|
||||
_EndTime = _EndTime.Value.AddHours(duration);
|
||||
}
|
||||
|
||||
|
||||
|
||||
_Date = new DateTime(_Date.Value.Year, _Date.Value.Month, _Date.Value.Day, _StartTime.Value.Hour, _StartTime.Value.Minute, _StartTime.Value.Second);
|
||||
_EditableEndDate = new DateTime(_EndTime.Value.Year, _EndTime.Value.Month, _EndTime.Value.Day, _EndTime.Value.Hour, _EndTime.Value.Minute, _EndTime.Value.Second);
|
||||
|
||||
|
||||
var diff = EditableEndDate.Value.Subtract(_Date.Value);
|
||||
duration = (int)diff.TotalHours;
|
||||
|
||||
|
||||
_DurationSTD = duration;
|
||||
}
|
||||
|
||||
|
||||
FirePropertyChanged(PropertyName_DurationSTD);
|
||||
FirePropertyChanged(PropertyName_StartTime);
|
||||
FirePropertyChanged(PropertyName_EndTime);
|
||||
|
||||
90
ReportImp/EigentstaendigHennef/EigentstaendigHennef.csproj
Normal file
90
ReportImp/EigentstaendigHennef/EigentstaendigHennef.csproj
Normal file
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{0F408C44-8D84-4A58-9E3A-C6DE30DC0AF2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>EigentstaendigHennef</RootNamespace>
|
||||
<AssemblyName>4595275645_Reports</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.Data.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReport.Designer.cs">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
<Project>{b0d73e3d-4ae7-4024-93a6-db1f46d7ccee}</Project>
|
||||
<Name>Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Report\Report.csproj">
|
||||
<Project>{40d8b312-ea64-49e3-a31a-5e57ed4d5654}</Project>
|
||||
<Name>Report</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Service\Service.csproj">
|
||||
<Project>{094331c3-ecee-4c89-bbfd-4c9ded89f0ef}</Project>
|
||||
<Name>Service</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Shared\Shared.csproj">
|
||||
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
36
ReportImp/EigentstaendigHennef/Properties/AssemblyInfo.cs
Normal file
36
ReportImp/EigentstaendigHennef/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("EigentstaendigHennef")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EigentstaendigHennef")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
|
||||
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("0f408c44-8d84-4a58-9e3a-c6de30dc0af2")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
1
ReportImp/EigentstaendigHennef/Properties/licenses.licx
Normal file
1
ReportImp/EigentstaendigHennef/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
721
ReportImp/EigentstaendigHennef/ServicesOverviewReport.Designer.cs
generated
Normal file
721
ReportImp/EigentstaendigHennef/ServicesOverviewReport.Designer.cs
generated
Normal file
@@ -0,0 +1,721 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace EigenstaendigHennef
|
||||
{
|
||||
partial class Stundenzettel
|
||||
{
|
||||
/// <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();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.xrTableCell15 = 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.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = 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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
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.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableServiceRecords1});
|
||||
this.Detail.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.Detail.HeightF = 40F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableServiceRecords1
|
||||
//
|
||||
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
|
||||
this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(639F, 40F);
|
||||
this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseBorders = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseFont = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableRow2.Weight = 1.25D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Datum";
|
||||
this.xrTableCell3.Weight = 0.39017468958638912D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Uhrzeit\r\nvon ....... bis";
|
||||
this.xrTableCell1.Weight = 0.73157753951005167D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "Anzahl Minuten";
|
||||
this.xrTableCell11.Weight = 0.43650793161349166D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1});
|
||||
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.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.Detail1.HeightF = 20F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
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.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(639.0004F, 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.xrTableCell15});
|
||||
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", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
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.Weight = 0.20202016548853449D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")});
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 0.37878780750339269D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")});
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UsePadding = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "xrTableCell15";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell15.Weight = 0.2260105976923599D;
|
||||
//
|
||||
// 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.xrLabel10,
|
||||
this.xrLabel2,
|
||||
this.xrLabel29,
|
||||
this.xrLabel26,
|
||||
this.xrLabel25,
|
||||
this.xrLabel24,
|
||||
this.xrLabel23,
|
||||
this.xrLabel22,
|
||||
this.xrLabel21,
|
||||
this.xrLabel9,
|
||||
this.xrLabel18,
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 323.3334F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel29
|
||||
//
|
||||
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
|
||||
this.xrLabel29.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(311.5835F, 248.5001F);
|
||||
this.xrLabel29.Name = "xrLabel29";
|
||||
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel29.SizeF = new System.Drawing.SizeF(363.4166F, 18F);
|
||||
this.xrLabel29.StylePriority.UseBorders = false;
|
||||
this.xrLabel29.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel26
|
||||
//
|
||||
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")});
|
||||
this.xrLabel26.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(181.3751F, 173.9583F);
|
||||
this.xrLabel26.Name = "xrLabel26";
|
||||
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel26.SizeF = new System.Drawing.SizeF(213.6249F, 58.625F);
|
||||
this.xrLabel26.StylePriority.UseBorders = false;
|
||||
this.xrLabel26.StylePriority.UseFont = false;
|
||||
this.xrLabel26.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel26.Text = "xrLabel26";
|
||||
this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel25
|
||||
//
|
||||
this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.xrLabel25.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(181.3751F, 155.9584F);
|
||||
this.xrLabel25.Name = "xrLabel25";
|
||||
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel25.SizeF = new System.Drawing.SizeF(213.6249F, 18F);
|
||||
this.xrLabel25.StylePriority.UseBorders = false;
|
||||
this.xrLabel25.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel24
|
||||
//
|
||||
this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")});
|
||||
this.xrLabel24.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(181.3751F, 137.9584F);
|
||||
this.xrLabel24.Name = "xrLabel24";
|
||||
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel24.SizeF = new System.Drawing.SizeF(213.6249F, 17.99997F);
|
||||
this.xrLabel24.StylePriority.UseBorders = false;
|
||||
this.xrLabel24.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel23
|
||||
//
|
||||
this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")});
|
||||
this.xrLabel23.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(181.3751F, 119.9584F);
|
||||
this.xrLabel23.Name = "xrLabel23";
|
||||
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel23.SizeF = new System.Drawing.SizeF(213.6249F, 18.00001F);
|
||||
this.xrLabel23.StylePriority.UseBorders = false;
|
||||
this.xrLabel23.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel22.Font = new System.Drawing.Font("Arial Narrow", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(419.9999F, 23.54167F);
|
||||
this.xrLabel22.Multiline = true;
|
||||
this.xrLabel22.Name = "xrLabel22";
|
||||
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel22.SizeF = new System.Drawing.SizeF(257.0001F, 72.50002F);
|
||||
this.xrLabel22.StylePriority.UseBorders = false;
|
||||
this.xrLabel22.StylePriority.UseFont = false;
|
||||
this.xrLabel22.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel22.Text = "Ambulantes\r\n Betreutes\r\n Wohnen\r\nfür Menschen mit Behinderung\r\n\r" +
|
||||
"\n";
|
||||
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel21
|
||||
//
|
||||
this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Year", "Jahr: {0}")});
|
||||
this.xrLabel21.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(168F, 284.5F);
|
||||
this.xrLabel21.Name = "xrLabel21";
|
||||
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel21.SizeF = new System.Drawing.SizeF(225F, 18F);
|
||||
this.xrLabel21.StylePriority.UseBorders = false;
|
||||
this.xrLabel21.StylePriority.UseFont = false;
|
||||
this.xrLabel21.Text = "xrLabel21";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Month", "Monat: {0}")});
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 284.5F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(155.2083F, 18F);
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "xrLabel9";
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 248.5001F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(288F, 18F);
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.Text = "Verantwortliche/r Mitarbeiter/in:";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 173.9583F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(181.3752F, 58.625F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Bewilligte Fachleistungsstunden / wöchentl.:";
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 155.9584F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(181.3752F, 18F);
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.Text = "Aktenzeichen: ";
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 137.9584F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(181.3752F, 17.99997F);
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.Text = "Vorname Klient / in:";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 119.9584F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(181.3752F, 18F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "Name Klient / in:";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 81.04169F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(395F, 15F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "Eigenständig Hans Georg Roth, Reutherstr. 1 a-c, 53773 Hennef";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// 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.Font = new System.Drawing.Font("Times New Roman", 9.75F);
|
||||
this.topMarginBand1.HeightF = 90F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
this.topMarginBand1.StylePriority.UseFont = false;
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.xrLabel8,
|
||||
this.xrLabel7,
|
||||
this.xrLabel6,
|
||||
this.xrLabel5,
|
||||
this.xrLabel4,
|
||||
this.xrLabel3});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 185F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel11.BorderWidth = 2;
|
||||
this.xrLabel11.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(458.9999F, 59.99997F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(180F, 48F);
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "[fieldBillableFLS!0.##] x 1,2 = [fieldAbrechenbareFLS!0.##] Std.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(96.00016F, 59.99997F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(363F, 48.21F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.Text = "2. Summe der abzurechnenden Leistungen\r\n(= Summe 1 x 1,2)\r\n";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(419.9999F, 167F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(197F, 17.99997F);
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Unterschrift Klient/in";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(170F, 167F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(216.8751F, 17.99997F);
|
||||
this.xrLabel6.StylePriority.UseBorders = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Unterschrift Mitarbeiter/in";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 167F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(117F, 17.99997F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "Datum";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel4.BorderWidth = 2;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(459F, 0F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(180F, 60F);
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UsePadding = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.Text = "[TotalFLMBillable] = [fieldBillableFLS!0.##] Stunden";
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(95.99991F, 0F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(363F, 60F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "1. Summe der unmittelbaren \r\nBetreuungsleistungen (\"face-to-face\"\r\nbzw. \"ear-to-e" +
|
||||
"ar\")";
|
||||
//
|
||||
// fieldAbrechenbareMinuten
|
||||
//
|
||||
this.fieldAbrechenbareMinuten.DataMember = "Services";
|
||||
this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)";
|
||||
this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten";
|
||||
//
|
||||
// fieldBillableFLS
|
||||
//
|
||||
this.fieldBillableFLS.Expression = "[TotalFLMBillable] / 60";
|
||||
this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldBillableFLS.Name = "fieldBillableFLS";
|
||||
//
|
||||
// fieldAbrechenbareFLS
|
||||
//
|
||||
this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable] / 60) * 1.2";
|
||||
this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial Narrow", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(419.9999F, 96.04171F);
|
||||
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(257.0001F, 136.5416F);
|
||||
this.xrLabel2.StylePriority.UseBorders = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.Text = "Hans Georg Roth\r\nDiplom Sozialpädagoge\r\nReutherstraße 1a-c, 53773 Hennef\r\nTel:\t02" +
|
||||
"242 90 44 996\r\nFax:\t02242 90 44 997\r\nMobil: \t0173 82 82 320\r\nbewoeigenstaendig@g" +
|
||||
"mail.com\r\n";
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Arial Narrow", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(419.9999F, 0F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(257.0001F, 23.54167F);
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.Text = "Eigenständig";
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// Stundenzettel
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldAbrechenbareMinuten,
|
||||
this.fieldBillableFLS,
|
||||
this.fieldAbrechenbareFLS});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleStartDate,
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 75, 90, 30);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.SnapGridSize = 9F;
|
||||
this.Version = "13.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
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 xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel21;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel29;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel26;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel25;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel24;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel23;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel22;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
}
|
||||
}
|
||||
44
ReportImp/EigentstaendigHennef/ServicesOverviewReport.cs
Normal file
44
ReportImp/EigentstaendigHennef/ServicesOverviewReport.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace EigenstaendigHennef
|
||||
{
|
||||
public partial class Stundenzettel : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public Stundenzettel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
double minuten = 0;
|
||||
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
||||
{
|
||||
if (s.IsBillable)
|
||||
{
|
||||
if (s.ServiceCategory.IndexOf("Freizeitassistenz") < 0)
|
||||
{
|
||||
servicesBillable.Add(s);
|
||||
minuten += s.Minutes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pRO.TotalFLMBillable = minuten;
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
123
ReportImp/EigentstaendigHennef/ServicesOverviewReport.resx
Normal file
123
ReportImp/EigentstaendigHennef/ServicesOverviewReport.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>21, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
36
ReportImp/RessourceEV/Properties/AssemblyInfo.cs
Normal file
36
ReportImp/RessourceEV/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("RessourceEV")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("RessourceEV")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
|
||||
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("703e37e6-1219-490d-bcbd-7258dab4239a")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
1
ReportImp/RessourceEV/Properties/licenses.licx
Normal file
1
ReportImp/RessourceEV/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
90
ReportImp/RessourceEV/RessourceEV.csproj
Normal file
90
ReportImp/RessourceEV/RessourceEV.csproj
Normal file
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{703E37E6-1219-490D-BCBD-7258DAB4239A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>RessourceEV</RootNamespace>
|
||||
<AssemblyName>7381352241_Reports</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.Data.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReport.Designer.cs">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
<Project>{b0d73e3d-4ae7-4024-93a6-db1f46d7ccee}</Project>
|
||||
<Name>Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Report\Report.csproj">
|
||||
<Project>{40d8b312-ea64-49e3-a31a-5e57ed4d5654}</Project>
|
||||
<Name>Report</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Service\Service.csproj">
|
||||
<Project>{094331c3-ecee-4c89-bbfd-4c9ded89f0ef}</Project>
|
||||
<Name>Service</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Shared\Shared.csproj">
|
||||
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
681
ReportImp/RessourceEV/ServicesOverviewReport.Designer.cs
generated
Normal file
681
ReportImp/RessourceEV/ServicesOverviewReport.Designer.cs
generated
Normal file
@@ -0,0 +1,681 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace RessourceEV
|
||||
{
|
||||
partial class Stundenzettel
|
||||
{
|
||||
/// <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();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.xrTableCell15 = 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.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = 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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
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.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableServiceRecords1});
|
||||
this.Detail.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.Detail.HeightF = 40F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableServiceRecords1
|
||||
//
|
||||
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
|
||||
this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(639F, 40F);
|
||||
this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseBorders = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseFont = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableRow2.Weight = 1.25D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Datum";
|
||||
this.xrTableCell3.Weight = 0.39017468958638912D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "Anzahl Minuten";
|
||||
this.xrTableCell11.Weight = 0.43650793161349166D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1});
|
||||
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.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.Detail1.HeightF = 20F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
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.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(639.0004F, 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.xrTableCell15});
|
||||
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", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
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.Weight = 0.20202016548853449D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")});
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UsePadding = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "xrTableCell15";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell15.Weight = 0.2260105976923599D;
|
||||
//
|
||||
// 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.xrLabel29,
|
||||
this.xrLabel26,
|
||||
this.xrLabel25,
|
||||
this.xrLabel24,
|
||||
this.xrLabel23,
|
||||
this.xrLabel22,
|
||||
this.xrLabel21,
|
||||
this.xrLabel9,
|
||||
this.xrLabel18,
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 280F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel29
|
||||
//
|
||||
this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
|
||||
this.xrLabel29.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(313.5834F, 200.9167F);
|
||||
this.xrLabel29.Name = "xrLabel29";
|
||||
this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel29.SizeF = new System.Drawing.SizeF(363.4166F, 18F);
|
||||
this.xrLabel29.StylePriority.UseBorders = false;
|
||||
this.xrLabel29.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel26
|
||||
//
|
||||
this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")});
|
||||
this.xrLabel26.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(313.5834F, 164.9167F);
|
||||
this.xrLabel26.Name = "xrLabel26";
|
||||
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel26.SizeF = new System.Drawing.SizeF(363.4166F, 18F);
|
||||
this.xrLabel26.StylePriority.UseBorders = false;
|
||||
this.xrLabel26.StylePriority.UseFont = false;
|
||||
this.xrLabel26.Text = "xrLabel26";
|
||||
//
|
||||
// xrLabel25
|
||||
//
|
||||
this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.xrLabel25.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(313.5834F, 146.9167F);
|
||||
this.xrLabel25.Name = "xrLabel25";
|
||||
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel25.SizeF = new System.Drawing.SizeF(363.4166F, 18F);
|
||||
this.xrLabel25.StylePriority.UseBorders = false;
|
||||
this.xrLabel25.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel24
|
||||
//
|
||||
this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")});
|
||||
this.xrLabel24.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(313.5834F, 128.9167F);
|
||||
this.xrLabel24.Name = "xrLabel24";
|
||||
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel24.SizeF = new System.Drawing.SizeF(363.4166F, 18F);
|
||||
this.xrLabel24.StylePriority.UseBorders = false;
|
||||
this.xrLabel24.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel23
|
||||
//
|
||||
this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")});
|
||||
this.xrLabel23.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(313.5834F, 110.9167F);
|
||||
this.xrLabel23.Name = "xrLabel23";
|
||||
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel23.SizeF = new System.Drawing.SizeF(363.4166F, 17.99999F);
|
||||
this.xrLabel23.StylePriority.UseBorders = false;
|
||||
this.xrLabel23.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel22.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 36.00003F);
|
||||
this.xrLabel22.Multiline = true;
|
||||
this.xrLabel22.Name = "xrLabel22";
|
||||
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel22.SizeF = new System.Drawing.SizeF(637.0001F, 56.16665F);
|
||||
this.xrLabel22.StylePriority.UseBorders = false;
|
||||
this.xrLabel22.StylePriority.UseFont = false;
|
||||
this.xrLabel22.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel22.Text = "VIVA A VIDA „Lebe das Leben“\r\nSoziale Dienstleistungen \r\nDipl. Sozialpädagogin Al" +
|
||||
"tamira Fischer u. Dipl. Sozialarbeiterin Annette Wächter - Tasic GbR\r\n";
|
||||
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrLabel21
|
||||
//
|
||||
this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Year", "Jahr: {0}")});
|
||||
this.xrLabel21.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(170F, 236.9167F);
|
||||
this.xrLabel21.Name = "xrLabel21";
|
||||
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel21.SizeF = new System.Drawing.SizeF(225F, 18F);
|
||||
this.xrLabel21.StylePriority.UseBorders = false;
|
||||
this.xrLabel21.StylePriority.UseFont = false;
|
||||
this.xrLabel21.Text = "xrLabel21";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Month", "Monat: {0}")});
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 236.9167F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(155.2083F, 18F);
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "xrLabel9";
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 200.9167F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(288F, 18F);
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.Text = "Verantwortliche/r Mitarbeiter/in:";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 164.9167F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(311.5835F, 18F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Bewilligte Fachleistungsstunden / wöchentl.:";
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 146.9167F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(311.5835F, 18F);
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.Text = "Aktenzeichen: ";
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 128.9167F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(311.5835F, 18F);
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.Text = "Vorname Klient / in:";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(1.999919F, 110.9167F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(311.5835F, 17.99999F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "Name Klient / in:";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(639F, 25F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel1.Text = "Quittierungsbeleg über direkte Betreuungsleistungen";
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// 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.Font = new System.Drawing.Font("Times New Roman", 9.75F);
|
||||
this.topMarginBand1.HeightF = 90F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
this.topMarginBand1.StylePriority.UseFont = false;
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.xrLabel8,
|
||||
this.xrLabel7,
|
||||
this.xrLabel6,
|
||||
this.xrLabel5,
|
||||
this.xrLabel4,
|
||||
this.xrLabel3});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 185F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel11.BorderWidth = 2;
|
||||
this.xrLabel11.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(458.9999F, 59.99997F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(180F, 48F);
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "[fieldBillableFLS!0.##] x 1,2 = [fieldAbrechenbareFLS!0.##] Std.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(96.00016F, 59.99997F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(363F, 48.21F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.Text = "2. Summe der abzurechnenden Leistungen\r\n(= Summe 1 x 1,2)\r\n";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(419.9999F, 167F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(197F, 17.99997F);
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Unterschrift Klient/in";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(170F, 167F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(216.8751F, 17.99997F);
|
||||
this.xrLabel6.StylePriority.UseBorders = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Unterschrift Mitarbeiter/in";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 167F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(117F, 17.99997F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "Datum";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel4.BorderWidth = 2;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(459F, 0F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(180F, 60F);
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UsePadding = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.Text = "[TotalFLMBillable] = [fieldBillableFLS!0.##] Stunden";
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(95.99991F, 0F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(363F, 60F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "1. Summe der unmittelbaren \r\nBetreuungsleistungen (\"face-to-face\"\r\nbzw. \"ear-to-e" +
|
||||
"ar\")";
|
||||
//
|
||||
// fieldAbrechenbareMinuten
|
||||
//
|
||||
this.fieldAbrechenbareMinuten.DataMember = "Services";
|
||||
this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)";
|
||||
this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten";
|
||||
//
|
||||
// fieldBillableFLS
|
||||
//
|
||||
this.fieldBillableFLS.Expression = "[TotalFLMBillable] / 60";
|
||||
this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldBillableFLS.Name = "fieldBillableFLS";
|
||||
//
|
||||
// fieldAbrechenbareFLS
|
||||
//
|
||||
this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable] / 60) * 1.2";
|
||||
this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS";
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Uhrzeit\r\nvon ....... bis";
|
||||
this.xrTableCell1.Weight = 0.73157753951005167D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")});
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 0.37878780750339269D;
|
||||
//
|
||||
// Stundenzettel
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldAbrechenbareMinuten,
|
||||
this.fieldBillableFLS,
|
||||
this.fieldAbrechenbareFLS});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleStartDate,
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 75, 90, 30);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.SnapGridSize = 9F;
|
||||
this.Version = "13.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
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 xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel21;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel29;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel26;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel25;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel24;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel23;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel22;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
|
||||
}
|
||||
}
|
||||
44
ReportImp/RessourceEV/ServicesOverviewReport.cs
Normal file
44
ReportImp/RessourceEV/ServicesOverviewReport.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RessourceEV
|
||||
{
|
||||
public partial class Stundenzettel : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public Stundenzettel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
double minuten = 0;
|
||||
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
||||
{
|
||||
if (s.IsBillable)
|
||||
{
|
||||
if (s.ServiceCategory.IndexOf("Freizeitassistenz") < 0)
|
||||
{
|
||||
servicesBillable.Add(s);
|
||||
minuten += s.Minutes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pRO.TotalFLMBillable = minuten;
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
123
ReportImp/RessourceEV/ServicesOverviewReport.resx
Normal file
123
ReportImp/RessourceEV/ServicesOverviewReport.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>21, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
36
ReportImp/Socia/Properties/AssemblyInfo.cs
Normal file
36
ReportImp/Socia/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("Socia")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Socia")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
|
||||
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("80a09638-dcbc-46e9-96fa-c7070b40bf3a")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
1
ReportImp/Socia/Properties/licenses.licx
Normal file
1
ReportImp/Socia/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
812
ReportImp/Socia/ServicesOverviewReport.Designer.cs
generated
Normal file
812
ReportImp/Socia/ServicesOverviewReport.Designer.cs
generated
Normal file
@@ -0,0 +1,812 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace SociaKoeln
|
||||
{
|
||||
partial class Stundenzettel
|
||||
{
|
||||
/// <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(Stundenzettel));
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = 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.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableServiceRecords1});
|
||||
this.Detail.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.Detail.HeightF = 48.33336F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableServiceRecords1
|
||||
//
|
||||
this.xrTableServiceRecords1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrTableServiceRecords1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableServiceRecords1.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
|
||||
this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
|
||||
this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(677F, 48.33336F);
|
||||
this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseBorders = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseFont = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UsePadding = false;
|
||||
this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomJustify;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell18,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell22});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.StylePriority.UsePadding = false;
|
||||
this.xrTableRow2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableRow2.Weight = 1.25D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Datum:";
|
||||
this.xrTableCell3.Weight = 0.13125402800507882D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.Text = "Uhrzeit:";
|
||||
this.xrTableCell1.Weight = 0.15511838142571485D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Multiline = true;
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.Text = "LVR:";
|
||||
this.xrTableCell4.Weight = 0.13423706642483974D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "jobcenter:";
|
||||
this.xrTableCell11.Weight = 0.16667752415850176D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.Text = "Sonstiges:";
|
||||
this.xrTableCell6.Weight = 0.18068212698496622D;
|
||||
//
|
||||
// xrTableCell22
|
||||
//
|
||||
this.xrTableCell22.Name = "xrTableCell22";
|
||||
this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell22.StylePriority.UseFont = false;
|
||||
this.xrTableCell22.StylePriority.UsePadding = false;
|
||||
this.xrTableCell22.Text = "Bemerkung:";
|
||||
this.xrTableCell22.Weight = 0.31845617247489777D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1});
|
||||
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.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
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.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable3.Font = new System.Drawing.Font("Open Sans", 10F);
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow6});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(677F, 25F);
|
||||
this.xrTable3.StylePriority.UseBorders = false;
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.StylePriority.UsePadding = false;
|
||||
this.xrTable3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow6
|
||||
//
|
||||
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell24,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell23});
|
||||
this.xrTableRow6.Name = "xrTableRow6";
|
||||
this.xrTableRow6.StylePriority.UsePadding = false;
|
||||
this.xrTableRow6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableRow6.Weight = 1.25D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
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.Weight = 0.066754602032091548D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDateMinutes", "{0:HH:mm}")});
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell2.Weight = 0.078891814482809686D;
|
||||
//
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSQualified", "{0:HH:mm}")});
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell24.StylePriority.UsePadding = false;
|
||||
this.xrTableCell24.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell24.Text = "xrTableCell24";
|
||||
this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell24.Weight = 0.063720280256205575D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.068271771317293464D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UsePadding = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell15.Weight = 0.084770655956989D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell7.Weight = 0.09189333309488254D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")});
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell23.StylePriority.UsePadding = false;
|
||||
this.xrTableCell23.Text = "xrTableCell23";
|
||||
this.xrTableCell23.Weight = 0.16196394665731825D;
|
||||
//
|
||||
// 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.xrTable2,
|
||||
this.xrPictureBox1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.ReportHeader.HeightF = 396.25F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// 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 System.Drawing.Font("Open Sans", 10F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 314.6273F);
|
||||
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.xrTableRow1,
|
||||
this.xrTableRow9,
|
||||
this.xrTableRow10,
|
||||
this.xrTableRow11});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(346.3749F, 81.62275F);
|
||||
this.xrTable2.StylePriority.UseBackColor = false;
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
this.xrTable2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell25});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.7020057142634788D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Font = new System.Drawing.Font("Open Sans", 10F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "Monat:";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell9.Weight = 0.54924688231041519D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Month")});
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell25.Weight = 0.551497038716967D;
|
||||
//
|
||||
// xrTableRow9
|
||||
//
|
||||
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell27});
|
||||
this.xrTableRow9.Name = "xrTableRow9";
|
||||
this.xrTableRow9.Weight = 0.7020057142634788D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.Text = "Geschäftspartnernr.:";
|
||||
this.xrTableCell26.Weight = 0.54924688231041519D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.Text = "xrTableCell27";
|
||||
this.xrTableCell27.Weight = 0.551497038716967D;
|
||||
//
|
||||
// xrTableRow10
|
||||
//
|
||||
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell29});
|
||||
this.xrTableRow10.Name = "xrTableRow10";
|
||||
this.xrTableRow10.Weight = 0.7020057142634788D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Text = "Klient:";
|
||||
this.xrTableCell28.Weight = 0.54924688231041519D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Text = "xrTableCell29";
|
||||
this.xrTableCell29.Weight = 0.551497038716967D;
|
||||
//
|
||||
// xrTableRow11
|
||||
//
|
||||
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell30,
|
||||
this.xrTableCell31});
|
||||
this.xrTableRow11.Name = "xrTableRow11";
|
||||
this.xrTableRow11.Weight = 0.7020057142634788D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Text = "Mitarbeiter:";
|
||||
this.xrTableCell30.Weight = 0.54924688231041519D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")});
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Weight = 0.551497038716967D;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(172.8334F, 34.62798F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(326.2409F, 211.235F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// 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.Font = new System.Drawing.Font("Times New Roman", 9.75F);
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
this.topMarginBand1.StylePriority.UseFont = false;
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1,
|
||||
this.xrTable1,
|
||||
this.xrLabel6,
|
||||
this.xrLabel4,
|
||||
this.xrLabel3,
|
||||
this.xrLabel7,
|
||||
this.xrLabel5});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportFooter.HeightF = 197.375F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new System.Drawing.Font("Open Sans", 10F);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 9.999974F);
|
||||
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.xrTableRow3});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(440F, 20.40569F);
|
||||
this.xrTable1.StylePriority.UseBackColor = false;
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell17,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 0.7020057142634788D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "Total >>>";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell8.Weight = 0.21304723968286143D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSQualified")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Weight = 0.16570335412895743D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.Weight = 0.16570340830967198D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.16570340711247916D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Weight = 0.16570340711247911D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Weight = 0.16570338845364452D;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(320.625F, 179.375F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(158.9583F, 17.99995F);
|
||||
this.xrLabel6.StylePriority.UseBorders = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Mitarbeiter:";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(503.8752F, 179.375F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(143.3333F, 17.99995F);
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = "Klient";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 106.375F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(128.3333F, 17.99996F);
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Unterschriften:";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(153.3333F, 179.375F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(146.6667F, 17.99995F);
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "Geschäftsleitung:";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 179.375F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(128.3333F, 17.99995F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "Ort, Datum";
|
||||
//
|
||||
// fieldAbrechenbareMinuten
|
||||
//
|
||||
this.fieldAbrechenbareMinuten.DataMember = "Services";
|
||||
this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)";
|
||||
this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten";
|
||||
//
|
||||
// fieldBillableFLS
|
||||
//
|
||||
this.fieldBillableFLS.Expression = "[TotalFLMBillable] / 60";
|
||||
this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldBillableFLS.Name = "fieldBillableFLS";
|
||||
//
|
||||
// fieldAbrechenbareFLS
|
||||
//
|
||||
this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable] / 60) * 1.2";
|
||||
this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS";
|
||||
//
|
||||
// fieldGruppe
|
||||
//
|
||||
this.fieldGruppe.DataMember = "Services";
|
||||
this.fieldGruppe.Expression = "Iif([CustomerCount] < 2, \'\', ToStr([CustomerCount]) + \' Teilnehmer\')";
|
||||
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldGruppe.Name = "fieldGruppe";
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.Text = "FL-Std.:";
|
||||
this.xrTableCell18.Weight = 0.12528792741305389D;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Open Sans", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 161.375F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(128.3333F, 17.99996F);
|
||||
this.xrLabel1.StylePriority.UseBorders = false;
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "[InvoiceDate]";
|
||||
//
|
||||
// Stundenzettel
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldAbrechenbareMinuten,
|
||||
this.fieldBillableFLS,
|
||||
this.fieldAbrechenbareFLS,
|
||||
this.fieldGruppe});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.formattingRuleStartDate,
|
||||
this.formattingRuleServiceDesc,
|
||||
this.formattingRuleCostBearer,
|
||||
this.formattingRuleEmployeeName});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 75, 50, 30);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.SnapGridSize = 9F;
|
||||
this.Version = "13.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
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.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldGruppe;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
}
|
||||
}
|
||||
52
ReportImp/Socia/ServicesOverviewReport.cs
Normal file
52
ReportImp/Socia/ServicesOverviewReport.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SociaKoeln
|
||||
{
|
||||
public partial class Stundenzettel : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public Stundenzettel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
DateTime dt;
|
||||
TimeSpan tspan;
|
||||
double d;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
||||
{
|
||||
if (s.IsBillable)
|
||||
{
|
||||
if (s.IsGroup)
|
||||
{
|
||||
s.ServiceCategoryAbbr = "G";
|
||||
}
|
||||
else
|
||||
{
|
||||
s.ServiceCategoryAbbr = "E";
|
||||
}
|
||||
servicesBillable.Add(s);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
1062
ReportImp/Socia/ServicesOverviewReport.resx
Normal file
1062
ReportImp/Socia/ServicesOverviewReport.resx
Normal file
File diff suppressed because it is too large
Load Diff
767
ReportImp/Socia/SettlementReport.Designer.cs
generated
Normal file
767
ReportImp/Socia/SettlementReport.Designer.cs
generated
Normal file
@@ -0,0 +1,767 @@
|
||||
namespace SociaKoeln
|
||||
{
|
||||
partial class Spitzabrechnung
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText15 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText15)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel5,
|
||||
this.xrTable1,
|
||||
this.xrLabel8,
|
||||
this.xrLabel7,
|
||||
this.xrLabel6,
|
||||
this.xrLabel4,
|
||||
this.lblAdresse,
|
||||
this.xrRichText15,
|
||||
this.xrPictureBox1});
|
||||
this.ReportHeader.HeightF = 579.5834F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Open Sans", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(1.608801F, 405.2083F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(447.558F, 27.08331F);
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[Salutation1] [CustomerFirstName]";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTable1.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(1.608785F, 291.6666F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow10,
|
||||
this.xrTableRow11});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(222.9746F, 44.79169F);
|
||||
this.xrTable1.StylePriority.UseBorderColor = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow10
|
||||
//
|
||||
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow10.Name = "xrTableRow10";
|
||||
this.xrTableRow10.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "Aktenzeichen:";
|
||||
this.xrTableCell13.Weight = 0.48611484606970534D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Weight = 0.5138849647591649D;
|
||||
//
|
||||
// xrTableRow11
|
||||
//
|
||||
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell18,
|
||||
this.xrTableCell19});
|
||||
this.xrTableRow11.Name = "xrTableRow11";
|
||||
this.xrTableRow11.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.Text = "Projekt:";
|
||||
this.xrTableCell18.Weight = 0.3450300677160193D;
|
||||
//
|
||||
// xrTableCell19
|
||||
//
|
||||
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AccountingPeriod")});
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.Weight = 0.65496974311285094D;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(224.5834F, 291.6667F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(224.5833F, 44.79166F);
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "[InvoiceDate]\r\n[Seitenanzahl muss hierhin!]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(1.608721F, 452.0833F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(447.558F, 117.5F);
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "[Notice]";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Open Sans", 11.25F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 363.5417F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(447.558F, 28.125F);
|
||||
this.xrLabel6.StylePriority.UseBorders = false;
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Betreff: [Hier muss noch der inhalt von betreff hin] ";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BorderColor = System.Drawing.Color.OrangeRed;
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Open Sans", 8F);
|
||||
this.xrLabel4.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 132.7083F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(224.5833F, 18.75F);
|
||||
this.xrLabel4.StylePriority.UseBorderColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UseForeColor = false;
|
||||
this.xrLabel4.Text = "socia · Venloer Str. 227-231 · 50823 Köln";
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblAdresse.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 163.9583F);
|
||||
this.lblAdresse.Multiline = true;
|
||||
this.lblAdresse.Name = "lblAdresse";
|
||||
this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAdresse.SizeF = new System.Drawing.SizeF(447.558F, 89.58336F);
|
||||
this.lblAdresse.StylePriority.UseBorders = false;
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
this.lblAdresse.Text = "[CustomerName] \r\n[CustomerStreet]\r\n\r\n[CustomerTown]";
|
||||
//
|
||||
// xrRichText15
|
||||
//
|
||||
this.xrRichText15.Font = new System.Drawing.Font("Open Sans", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrRichText15.LocationFloat = new DevExpress.Utils.PointFloat(488.4585F, 132.7083F);
|
||||
this.xrRichText15.Name = "xrRichText15";
|
||||
this.xrRichText15.SerializableRtfString = resources.GetString("xrRichText15.SerializableRtfString");
|
||||
this.xrRichText15.SizeF = new System.Drawing.SizeF(233.5415F, 322.2917F);
|
||||
this.xrRichText15.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(488.4585F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(208.5414F, 132.7083F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel3,
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportFooter.HeightF = 209.375F;
|
||||
this.ReportFooter.KeepTogether = true;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 181.25F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(282.4999F, 28.125F);
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "[CreatorName]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 137.5F);
|
||||
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(282.4999F, 43.75F);
|
||||
this.xrLabel2.StylePriority.UseBorders = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(677.5583F, 100F);
|
||||
this.xrLabel1.StylePriority.UseBorders = false;
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "[Notice]";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.HeightF = 0F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupHeader2});
|
||||
this.DetailReport.DataMember = "InvoiceItems";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable5});
|
||||
this.Detail1.HeightF = 20F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable5
|
||||
//
|
||||
this.xrTable5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable5.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable5.Name = "xrTable5";
|
||||
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow14});
|
||||
this.xrTable5.SizeF = new System.Drawing.SizeF(677.5583F, 20F);
|
||||
this.xrTable5.StylePriority.UseBorderColor = false;
|
||||
this.xrTable5.StylePriority.UseBorders = false;
|
||||
this.xrTable5.StylePriority.UseFont = false;
|
||||
this.xrTable5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrTableRow14
|
||||
//
|
||||
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell17,
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell38,
|
||||
this.xrTableCell39});
|
||||
this.xrTableRow14.Name = "xrTableRow14";
|
||||
this.xrTableRow14.Weight = 0.083039317476454683D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemPeriodStart", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell17.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell17.StylePriority.UseBorders = false;
|
||||
this.xrTableCell17.StylePriority.UseFont = false;
|
||||
this.xrTableCell17.StylePriority.UsePadding = false;
|
||||
this.xrTableCell17.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell17.Text = "xrTableCell17";
|
||||
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell17.Weight = 0.07995485782695444D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemPeriodEnd", "{0:dd.MM.yyyy}")});
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell23.StylePriority.UseBorders = false;
|
||||
this.xrTableCell23.StylePriority.UsePadding = false;
|
||||
this.xrTableCell23.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell23.Text = "xrTableCell23";
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell23.Weight = 0.079954853410013654D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitCount", "{0:0.00}")});
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
|
||||
this.xrTableCell35.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell35.StylePriority.UseBorders = false;
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell35.Text = "xrTableCell35";
|
||||
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell35.Weight = 0.11549034859391105D;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitDescription")});
|
||||
this.xrTableCell38.Name = "xrTableCell38";
|
||||
this.xrTableCell38.StylePriority.UseBorders = false;
|
||||
this.xrTableCell38.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell38.Text = "Einzelpreis";
|
||||
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell38.Weight = 0.14214196217270578D;
|
||||
//
|
||||
// xrTableCell39
|
||||
//
|
||||
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")});
|
||||
this.xrTableCell39.Name = "xrTableCell39";
|
||||
this.xrTableCell39.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 2, 0, 0, 100F);
|
||||
this.xrTableCell39.StylePriority.UseBorders = false;
|
||||
this.xrTableCell39.StylePriority.UsePadding = false;
|
||||
this.xrTableCell39.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell39.Text = "xrTableCell39";
|
||||
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell39.Weight = 0.18439219485560091D;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable7});
|
||||
this.GroupHeader2.HeightF = 20F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// xrTable7
|
||||
//
|
||||
this.xrTable7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable7.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable7.Name = "xrTable7";
|
||||
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow12});
|
||||
this.xrTable7.SizeF = new System.Drawing.SizeF(677.5583F, 20F);
|
||||
this.xrTable7.StylePriority.UseBorderColor = false;
|
||||
this.xrTable7.StylePriority.UseBorders = false;
|
||||
this.xrTable7.StylePriority.UseFont = false;
|
||||
this.xrTable7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrTableRow12
|
||||
//
|
||||
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell20,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell30,
|
||||
this.xrTableCell31});
|
||||
this.xrTableRow12.Name = "xrTableRow12";
|
||||
this.xrTableRow12.Weight = 0.083039317476454683D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell16.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell16.StylePriority.UseBorders = false;
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.StylePriority.UsePadding = false;
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.Text = "Von";
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell16.Weight = 0.07995485782695444D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.StylePriority.UseBorders = false;
|
||||
this.xrTableCell20.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell20.Text = "Bis";
|
||||
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell20.Weight = 0.079954853410013654D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 3, 0, 0, 100F);
|
||||
this.xrTableCell28.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell28.StylePriority.UseBorders = false;
|
||||
this.xrTableCell28.StylePriority.UseFont = false;
|
||||
this.xrTableCell28.StylePriority.UsePadding = false;
|
||||
this.xrTableCell28.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell28.Text = "Stunden";
|
||||
this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell28.Weight = 0.11549034859391105D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.StylePriority.UseBorders = false;
|
||||
this.xrTableCell30.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell30.Text = "Stundensatz";
|
||||
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell30.Weight = 0.14214196217270578D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 2, 0, 0, 100F);
|
||||
this.xrTableCell31.StylePriority.UseBorders = false;
|
||||
this.xrTableCell31.StylePriority.UsePadding = false;
|
||||
this.xrTableCell31.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell31.Text = "Betrag";
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell31.Weight = 0.18439219485560091D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable4});
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
this.xrTable4.Font = new System.Drawing.Font("Open Sans", 11F);
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.000033F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow31,
|
||||
this.xrTableRow33,
|
||||
this.xrTableRow36});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(677.5583F, 60F);
|
||||
this.xrTable4.StylePriority.UseBorderColor = false;
|
||||
this.xrTable4.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow31
|
||||
//
|
||||
this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell49,
|
||||
this.xrTableCell50});
|
||||
this.xrTableRow31.Name = "xrTableRow31";
|
||||
this.xrTableRow31.Weight = 0.1D;
|
||||
//
|
||||
// xrTableCell49
|
||||
//
|
||||
this.xrTableCell49.Name = "xrTableCell49";
|
||||
this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell49.StylePriority.UseBorders = false;
|
||||
this.xrTableCell49.StylePriority.UseFont = false;
|
||||
this.xrTableCell49.StylePriority.UsePadding = false;
|
||||
this.xrTableCell49.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell49.Text = "Summe:";
|
||||
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell49.Weight = 0.69366729496326074D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountRecordedFLSString")});
|
||||
this.xrTableCell50.Name = "xrTableCell50";
|
||||
this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell50.StylePriority.UseBorders = false;
|
||||
this.xrTableCell50.StylePriority.UseFont = false;
|
||||
this.xrTableCell50.StylePriority.UsePadding = false;
|
||||
this.xrTableCell50.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell50.Text = "[AmountRecordedFLSString]";
|
||||
this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell50.Weight = 0.30633270503673909D;
|
||||
//
|
||||
// xrTableRow33
|
||||
//
|
||||
this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell52,
|
||||
this.xrTableCell53});
|
||||
this.xrTableRow33.Name = "xrTableRow33";
|
||||
this.xrTableRow33.Weight = 0.1D;
|
||||
//
|
||||
// xrTableCell52
|
||||
//
|
||||
this.xrTableCell52.Name = "xrTableCell52";
|
||||
this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell52.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell52.StylePriority.UseBorders = false;
|
||||
this.xrTableCell52.StylePriority.UseFont = false;
|
||||
this.xrTableCell52.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell52.Text = "./.Vorauszahlung:";
|
||||
this.xrTableCell52.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell52.Weight = 0.69366721294211242D;
|
||||
//
|
||||
// xrTableCell53
|
||||
//
|
||||
this.xrTableCell53.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrTableCell53.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountAdvancedPayments")});
|
||||
this.xrTableCell53.Name = "xrTableCell53";
|
||||
this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell53.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell53.StylePriority.UseBorders = false;
|
||||
this.xrTableCell53.StylePriority.UseFont = false;
|
||||
this.xrTableCell53.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell53.Weight = 0.30633278705788769D;
|
||||
//
|
||||
// xrTableRow36
|
||||
//
|
||||
this.xrTableRow36.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell57,
|
||||
this.xrTableCell58});
|
||||
this.xrTableRow36.Name = "xrTableRow36";
|
||||
this.xrTableRow36.Weight = 0.099999999999999992D;
|
||||
//
|
||||
// xrTableCell57
|
||||
//
|
||||
this.xrTableCell57.Name = "xrTableCell57";
|
||||
this.xrTableCell57.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell57.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell57.StylePriority.UseBorders = false;
|
||||
this.xrTableCell57.StylePriority.UseFont = false;
|
||||
this.xrTableCell57.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell57.Text = "zu zahlen / zu erstatten:";
|
||||
this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell57.Weight = 0.69366721294211242D;
|
||||
//
|
||||
// xrTableCell58
|
||||
//
|
||||
this.xrTableCell58.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Double;
|
||||
this.xrTableCell58.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrTableCell58.BorderWidth = 3;
|
||||
this.xrTableCell58.Name = "xrTableCell58";
|
||||
this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell58.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell58.StylePriority.UseBorderDashStyle = false;
|
||||
this.xrTableCell58.StylePriority.UseBorders = false;
|
||||
this.xrTableCell58.StylePriority.UseBorderWidth = false;
|
||||
this.xrTableCell58.StylePriority.UseFont = false;
|
||||
this.xrTableCell58.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell58.Text = "[Claim]";
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.30633278705788769D;
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.ReportHeader,
|
||||
this.ReportFooter,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupHeader1,
|
||||
this.DetailReport,
|
||||
this.GroupFooter1});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 20, 100, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "13.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText15)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow31;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow33;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell52;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell53;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow36;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell58;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable7;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable5;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText15;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
}
|
||||
}
|
||||
253
ReportImp/Socia/SettlementReport.cs
Normal file
253
ReportImp/Socia/SettlementReport.cs
Normal file
@@ -0,0 +1,253 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraPrinting.Native;
|
||||
|
||||
namespace SociaKoeln
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public Spitzabrechnung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientStreet);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientPostCodeAndTown);
|
||||
}
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
bool isDefaultSpitzabrechnung = false;
|
||||
|
||||
if (String.IsNullOrEmpty(pRO.Notice))
|
||||
{
|
||||
//lblNotice.Visible = false;
|
||||
}
|
||||
pRO.ApprovedFLS = pRO.ApprovedFLS.Replace("FLS", "").Trim();
|
||||
|
||||
if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count == 1)
|
||||
{
|
||||
var ii = pRO.InvoiceItems[0];
|
||||
if ((ii.ItemDescription == "Spitzabrechung" || ii.ItemDescription == "Spitzabrechnung") && ii.GrossAmountTotal == null && ii.RateFactor == null)
|
||||
{
|
||||
isDefaultSpitzabrechnung = true;
|
||||
}
|
||||
}
|
||||
if (!isDefaultSpitzabrechnung)
|
||||
{
|
||||
if (pRO.DifferentHourlyRateCount > 0 && pRO.HourlyRateNew.HasValue)
|
||||
{
|
||||
isDefaultSpitzabrechnung = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (isDefaultSpitzabrechnung)
|
||||
{
|
||||
//UpdateAbrechnungsFelder(pRO);
|
||||
|
||||
pRO.InvoiceItems = CreateDefaultSpitzabrechnungInvoiceItems(pRO);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pRO.InvoiceItems != null)
|
||||
{
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS {3}x {4:c}",
|
||||
ii.ItemPeriodStart, ii.ItemPeriodEnd,
|
||||
ii.UnitCount, ii.RateFactor == 0 ? "" : "x " + pRO.RateFactorText2 + " ",
|
||||
ii.AmountPerUnit);
|
||||
}
|
||||
}
|
||||
var id = GetCustomerId(pRO);
|
||||
if (id == "LWLNEU")
|
||||
{
|
||||
pRO.RateFactorText = null;
|
||||
pRO.RateFactorText2 = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private String GetCustomerId(SettlementRO pRO)
|
||||
{
|
||||
var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
return cb2sc.CostBearer.ID;
|
||||
}
|
||||
|
||||
private IList<InvoiceItemDC> CreateDefaultSpitzabrechnungInvoiceItems(SettlementRO pRO)
|
||||
{
|
||||
|
||||
IList<InvoiceItemDC> itemList = new List<InvoiceItemDC>();
|
||||
if (pRO.DifferentHourlyRateCount == 3)
|
||||
{
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3),
|
||||
|
||||
ItemPeriodStart = DateTime.Parse(pRO.AccountingStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.HourlyRate3EndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatz3,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRate3),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatz3 * pRO.RateFactor * pRO.HourlyRate3
|
||||
});
|
||||
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
|
||||
ItemPeriodStart = DateTime.Parse(pRO.HourlyRateOldStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.HourlyRateOldEndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatzAlt,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRateOld),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * pRO.RateFactor * pRO.HourlyRateOld
|
||||
});
|
||||
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
|
||||
ItemPeriodStart = DateTime.Parse(pRO.HourlyRateNewStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.AccountingEndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatzAktuell,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRateNew),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
|
||||
});
|
||||
|
||||
}
|
||||
else if (pRO.DifferentHourlyRateCount == 2)
|
||||
{
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
|
||||
ItemPeriodStart = DateTime.Parse(pRO.AccountingStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.HourlyRateOldEndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatzAlt,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRateOld),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld
|
||||
});
|
||||
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
|
||||
ItemPeriodStart = DateTime.Parse(pRO.HourlyRateNewStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.AccountingEndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatzAktuell,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRateNew),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
|
||||
});
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
itemList.Add(new InvoiceItemDC
|
||||
{
|
||||
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
|
||||
pRO.AccountingStartDateString, pRO.AccountingEndDateString,
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
|
||||
ItemPeriodStart = DateTime.Parse(pRO.AccountingStartDateString),
|
||||
ItemPeriodEnd = DateTime.Parse(pRO.AccountingEndDateString),
|
||||
UnitCount = pRO.GeleisteteFLSMitStundensatzAktuell,
|
||||
UnitDescription = String.Format("{1:c}{0}", pRO.RateFactor == 1 ? " x " : pRO.RateFactorText2, pRO.HourlyRateNew),
|
||||
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return itemList;
|
||||
}
|
||||
|
||||
private void UpdateAbrechnungsFelder(SettlementRO pRO)
|
||||
{
|
||||
if (pRO.DifferentHourlyRateCount == 3)
|
||||
{
|
||||
//Erbrachte Leistungen (FLS) - bis [HourlyRateOldEndDateString] à [HourlyRateOldString] €
|
||||
|
||||
pRO.Abrechnungstext1 = String.Format("{0} bis {1}",
|
||||
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString);
|
||||
|
||||
pRO.Abrechnungstext1 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3);
|
||||
|
||||
//[AccountingStartDateString] - [HourlyRate3EndDateString] sind [RecordedFLSWithHourlyRate3String] Std. x [HourlyRate3String] € =";
|
||||
|
||||
pRO.Betrag1 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatz3 * (decimal)pRO.RateFactor * pRO.HourlyRate3);
|
||||
|
||||
|
||||
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
|
||||
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString);
|
||||
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
|
||||
|
||||
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
|
||||
|
||||
|
||||
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
|
||||
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
|
||||
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
|
||||
|
||||
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
|
||||
}
|
||||
else if (pRO.DifferentHourlyRateCount == 2)
|
||||
{
|
||||
|
||||
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
|
||||
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString);
|
||||
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
|
||||
|
||||
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
|
||||
|
||||
|
||||
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
|
||||
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
|
||||
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
|
||||
|
||||
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
|
||||
}
|
||||
else
|
||||
{
|
||||
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
|
||||
pRO.AccountingStartDateString, pRO.AccountingEndDateString);
|
||||
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
|
||||
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
|
||||
|
||||
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
177
ReportImp/Socia/SettlementReport.resx
Normal file
177
ReportImp/Socia/SettlementReport.resx
Normal file
File diff suppressed because one or more lines are too long
BIN
ReportImp/Socia/Socia.png
Normal file
BIN
ReportImp/Socia/Socia.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
101
ReportImp/Socia/SociaKoeln.csproj
Normal file
101
ReportImp/Socia/SociaKoeln.csproj
Normal file
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{80A09638-DCBC-46E9-96FA-C7070B40BF3A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SociaKoeln</RootNamespace>
|
||||
<AssemblyName>3549726254_Reports</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Host\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.Data.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraReports.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReport.Designer.cs">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport.Designer.cs">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport.resx">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
<Project>{b0d73e3d-4ae7-4024-93a6-db1f46d7ccee}</Project>
|
||||
<Name>Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Report\Report.csproj">
|
||||
<Project>{40d8b312-ea64-49e3-a31a-5e57ed4d5654}</Project>
|
||||
<Name>Report</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Service\Service.csproj">
|
||||
<Project>{094331c3-ecee-4c89-bbfd-4c9ded89f0ef}</Project>
|
||||
<Name>Service</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Shared\Shared.csproj">
|
||||
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
BIN
ReportImp/Socia/Socia_Logo_Schwarz.png
Normal file
BIN
ReportImp/Socia/Socia_Logo_Schwarz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -43,7 +43,9 @@ namespace BeWo.Service.Configuration
|
||||
|
||||
public bool ShowDistanceFields { get; set; }
|
||||
|
||||
public bool ShowCustomerDistanceFields { get; set; }
|
||||
public bool ShowSignatures { get; set; }
|
||||
|
||||
public bool ShowCustomerDistanceFields { get; set; }
|
||||
|
||||
public bool ShowAdditionalService { get; set; }
|
||||
|
||||
@@ -65,6 +67,7 @@ namespace BeWo.Service.Configuration
|
||||
bool isZeiterfassDateNormal = true;
|
||||
bool isZeiterfassungInStdMin = true;
|
||||
bool showServiceRecordsDistanceFields = false;
|
||||
bool showSignatures = false;
|
||||
bool showCustomerDistanceFields = false;
|
||||
bool showAdditionalService = false;
|
||||
bool showRoundedDurationInEmployeeAnalysis = true;
|
||||
@@ -185,6 +188,12 @@ namespace BeWo.Service.Configuration
|
||||
printerSettingsUsePaperKind = true;
|
||||
}
|
||||
|
||||
val = GetSettingValue(mandator.Settings, "ShowSignatures");
|
||||
if (val != null && val.Equals("1"))
|
||||
{
|
||||
showSignatures = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -198,6 +207,7 @@ namespace BeWo.Service.Configuration
|
||||
settings.HilfeplanAuslaufAuswahl = hilfeplanAuslaufAuswahl;
|
||||
settings.AnzTageZeiterfassErfolgt = anzTageZeiterfassErfolgt;
|
||||
settings.ShowDistanceFields = showServiceRecordsDistanceFields;
|
||||
settings.ShowSignatures = showSignatures;
|
||||
settings.ShowCustomerDistanceFields = showCustomerDistanceFields;
|
||||
settings.ShowAdditionalService = showAdditionalService;
|
||||
settings.ShowRoundedDurationInEmployeeAnalysis = showRoundedDurationInEmployeeAnalysis;
|
||||
|
||||
@@ -139,7 +139,9 @@ namespace BeWo.Service.Plugins
|
||||
//t = "7062943632"; // ABW Elsebrock
|
||||
//t = "3956369664"; // LH Wetterau
|
||||
//t = "3984525482"; //API Berlin
|
||||
t = "9975231461"; // Selwo
|
||||
//t = "9975231461"; // Selwo
|
||||
t = "3549726254"; // Socia Köln
|
||||
|
||||
return t;
|
||||
#else
|
||||
if (MultitenancyOperationContextExt.Current != null)
|
||||
|
||||
@@ -165,6 +165,11 @@ namespace BeWo.Service.ServiceContracts
|
||||
[OperationContract]
|
||||
ServiceRecordGroupDC GetServiceRecordGroup(long pGroupOid);
|
||||
|
||||
|
||||
[FaultContract(typeof (BeWoFault))]
|
||||
[OperationContract]
|
||||
long GetLastServiceRecordGroupOid();
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
List<SupportConcetInfoDC> GetSupportConceptInfosForSupportConceptOid(long supportConceptOid);
|
||||
|
||||
@@ -1029,6 +1029,15 @@ namespace BeWo.Service.ServiceImplementations
|
||||
}
|
||||
}
|
||||
|
||||
public long GetLastServiceRecordGroupOid()
|
||||
{
|
||||
var sc = DAOFactory.GenericDAO.GetAllActiveAndArchived<ServiceRecordGroup>();
|
||||
|
||||
long x = sc.Last().Oid.Value;
|
||||
|
||||
return x;
|
||||
}
|
||||
|
||||
public List<SupportConcetInfoDC> GetSupportConceptInfosForSupportConceptOid(long supportConceptOid)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user