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

This commit is contained in:
2025-12-02 14:16:37 +01:00
41 changed files with 2572 additions and 502 deletions

View File

@@ -43,12 +43,12 @@
<TargetCulture>de-DE</TargetCulture>
<ProductName>BeWoPlaner</ProductName>
<PublisherName>ownSoft GmbH</PublisherName>
<MinimumRequiredVersion>2.0.1.281</MinimumRequiredVersion>
<MinimumRequiredVersion>2.0.1.282</MinimumRequiredVersion>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<TrustUrlParameters>true</TrustUrlParameters>
<ApplicationRevision>282</ApplicationRevision>
<ApplicationRevision>283</ApplicationRevision>
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
@@ -3029,392 +3029,392 @@
<ItemGroup>
<PublishFile Include="Blacklight.Wpf.Controls">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Charts.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Data.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Data.v23.2.Linq">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Office.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.PivotGrid.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Printing.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.RichEdit.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.RichEdit.v23.2.Export">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Sparkline.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Utils.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Accordion.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Charts.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Core.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Docking.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Grid.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Grid.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Layout.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Mvvm.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Printing.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Printing.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Ribbon.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Scheduler.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2013.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraBars.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraCharts.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraEditors.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraNavBar.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraPivotGrid.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraPrinting.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraReports.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Reporting">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraTreeList.v23.2">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
</ItemGroup>

View File

@@ -353,9 +353,17 @@ namespace BeWo.View
{
return;
}
drag = treeview.GetDataItemUnderMouse<BeWoFolderVM>(e) ?? datagrid_documents.GetRow(datagrid_documents.View.GetRowHandleByMouseEventArgs(e));
_MouseDownPosition = e.GetPosition(this);
var pos = e.GetPosition(treeview);
bool hatAbstand = pos.X < treeview.ActualWidth - 20 || pos.X > treeview.ActualWidth;
if (hatAbstand)
{
drag = treeview.GetDataItemUnderMouse<BeWoFolderVM>(e) ?? datagrid_documents.GetRow(datagrid_documents.View.GetRowHandleByMouseEventArgs(e));
_MouseDownPosition = e.GetPosition(this);
}
}
private void treeview_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)

View File

@@ -137,7 +137,7 @@
FontSize="13"
Foreground="#FFFFFF"
Initialized="btn_xRechnung_Initialized"
ToolTip="xRechnung erstellen" />
ToolTip="E-Rechnung erstellen" />
<Button
x:Name="btn_edit"
Width="20"

View File

@@ -387,7 +387,10 @@ namespace BeWo.View.Detail
stundenplanView.ViewModel = value.Arbeitszeiten;
stundenplanView.RefreshView();
}
if (tabitem_schuldienst.Content != null && tabitem_schuldienst.Content is SchulbegleitenderDienstCustomerView sdView)
{
sdView.ViewModel = value;
}
_saveInProgress = false;
OnPropertyChanged(nameof(ViewModel));

View File

@@ -24,7 +24,7 @@ namespace BeWo.View.Detail
_Parent = parent;
ViewModel = parent.MandatorVM;
if (BeWoApp.LoggedOnUser.HasRight(BS.Shared.UserRightType.ChatAdminSettings) && BeWoApp.AppSettings.ShowOwnChatSettings)
if (BeWoApp.LoggedOnUser.HasRight(BS.Shared.UserRightType.ChatAdminSettings))
{
var url = ServiceFacade.DoOperationsServiceSync(s => s.GetOwnChatSettingsUrl());
HyperlinkOwnChatSettings.NavigateUri = new Uri(url);

View File

@@ -90,7 +90,6 @@ namespace BeWo.ViewModel
{IsSbdRight, BeWoApp.Mandator.AllowSbd},
{IsResourceRight, BeWoApp.AppSettings.ShowRessources},
{IsChatRight, BeWoApp.AppSettings.ShowOwnChat},
{IsChatSettingsRight, BeWoApp.AppSettings.ShowOwnChatSettings},
{IsHiddenRight, false},
{IsMedicationRight, BeWoApp.AppSettings.IsMedicationAllowed},
{IsPivotGridRight, BeWoApp.AppSettings.ShowPivotGrid},
@@ -191,13 +190,8 @@ namespace BeWo.ViewModel
}
private static bool IsChatRight(UserRightType userRightType)
{
if (userRightType == UserRightType.ChatSettings)
return true;
return false;
}
private static bool IsChatSettingsRight(UserRightType userRightType)
{
if (userRightType == UserRightType.ChatAdminSettings)
if (userRightType == UserRightType.ChatSettings
|| userRightType == UserRightType.ChatAdminSettings)
return true;
return false;
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UseIISExpress>false</UseIISExpress>
@@ -28,16 +28,21 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>http://localhost/BeWoPlanerMobil/</StartPageUrl>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>C:\Program Files\Google\Chrome\Application\chrome.exe</ExternalProgram>
<StartExternalURL>http://localhost/BeWoPlanerMobil/Login/demo</StartExternalURL>
<StartCmdLineArguments>--auto-open-devtools-for-tabs</StartCmdLineArguments>
<StartWorkingDirectory>C:\Program Files (x86)\IIS Express</StartWorkingDirectory>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>True</EnableENC>
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
</WebProjectProperties>

View File

@@ -158,6 +158,8 @@ namespace BeWoPlanerMobil.Models
public bool HasRightToRateGoals => CheckRight(UserRightType.BewertenInZeiterfassung);
public bool HasRightToChangePassword => CheckRight(UserRightType.UserView_AllowChangePassword) || CheckRight(UserRightType.AllowChangeOwnPassword);
public bool HasRightToEditCustomers => CheckRight(UserRightType.CustomerView_Edit);
public bool HasRightMitarbeiterstundenkontoViewAll => CheckRight(UserRightType.Mitarbeiterstundenkonto_ViewAll);

View File

@@ -380,12 +380,12 @@
</button>
</li>
}
<li class="nav-item">
<button class="btn btn-link text-light no-underline" type="button" onclick="printLocalStorage()">
<i class="fab fa-firefox-browser text-bewo-dev"></i>
Speicher auslesen
</button>
<button class="btn btn-link text-light no-underline" type="button" onclick="printLocalStorage()">
<i class="fab fa-firefox-browser text-bewo-dev"></i>
Speicher auslesen
</button>
</li>
using (Html.BeginForm("RedirectToDevTools", "Main", FormMethod.Post))
@@ -471,13 +471,15 @@
</button>
</li>
<li class="nav-item">
<button class="btn btn-link text-light no-underline" onclick="showChangePasswordPopup()">
<i class="fas fa-lock text-danger"></i>
Passwort &auml;ndern
</button>
</li>
@if (Model.HasRightToChangePassword)
{
<li class="nav-item">
<button class="btn btn-link text-light no-underline" onclick="showChangePasswordPopup()">
<i class="fas fa-lock text-danger"></i>
Passwort &auml;ndern
</button>
</li>
}
<li class="nav-item">
@using (Html.BeginForm("Logout", "Main", FormMethod.Post, new { id = "normal-logout-form" }))
{

View File

@@ -13,6 +13,7 @@ namespace BeWo.Data.Models.XRechnung
public string Date { get; set; }
public string Currency { get; set; }
public string Notice { get; set; }
public string CancellationNumber { get; set; }
public XRInvoicePeriod Period { get; set; }
public XRInvoicePayment Payment { get; set; }

View File

@@ -8,11 +8,11 @@ namespace BeWo.Data.Models.XRechnung
{
public class XRPosition
{
public int Quantity { get; set; }
public decimal Quantity { get; set; }
public string QuantityType { get; set; }
public string Text { get; set; }
public int Net { get; set; }
public int NetTotal { get; set; }
public decimal Net { get; set; }
public decimal NetTotal { get; set; }
public decimal Tax { get; set; }
public decimal TaxSum { get; set; }
public string TaxType { get; set; }

View File

@@ -0,0 +1,685 @@
using BeWo.Report.ReportObjects;
namespace BeWo.Report.DefaultReports
{
partial class FLSSollIstReport
{
/// <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();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupFooter3 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.fieldDifferenzWoche1 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche2 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche3 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche4 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzGesamt = new DevExpress.XtraReports.UI.CalculatedField();
this.formattingRuleDiffNegativ = new DevExpress.XtraReports.UI.FormattingRule();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableCell1
//
this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.Name")});
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseBorderColor = false;
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.Text = "xrTableCell1";
this.xrTableCell1.Weight = 6.9183673469387754D;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1D;
//
// xrTable1
//
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(560F, 25F);
this.xrTable1.StylePriority.UseBorders = false;
this.xrTable1.StylePriority.UsePadding = false;
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.Detail1.HeightF = 69.66665F;
this.Detail1.KeepTogether = true;
this.Detail1.KeepTogetherWithDetailReports = true;
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1,
this.DetailReport1});
this.DetailReport.DataMember = "RootObjectList";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// DetailReport1
//
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail2,
this.GroupHeader2,
this.GroupFooter3});
this.DetailReport1.DataMember = "RootObjectList.Groups";
this.DetailReport1.DataSource = this.bindingSource1;
this.DetailReport1.Level = 0;
this.DetailReport1.Name = "DetailReport1";
//
// Detail2
//
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4});
this.Detail2.HeightF = 25F;
this.Detail2.Name = "Detail2";
//
// xrTable4
//
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow4});
this.xrTable4.SizeF = new System.Drawing.SizeF(500F, 25F);
this.xrTable4.StylePriority.UseBorders = false;
this.xrTable4.StylePriority.UsePadding = false;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell9,
this.xrTableCell13,
this.xrTableCell4});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 1D;
//
// xrTableCell3
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.Groups.Name", "{0:dd/MM/yyyy}")});
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.Weight = 1.3605442176870746D;
//
// xrTableCell9
//
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell9.TextFormatString = "{0:0.00}";
this.xrTableCell9.Weight = 0.68027210884353728D;
//
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.Groups.IstGesamt")});
this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrTableCell13.Multiline = true;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell13.StylePriority.UseFont = false;
this.xrTableCell13.StylePriority.UsePadding = false;
this.xrTableCell13.StylePriority.UseTextAlignment = false;
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell13.TextFormatString = "{0:0.00}";
this.xrTableCell13.Weight = 0.6802721088435375D;
//
// xrTableCell4
//
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
this.xrTableCell4.Multiline = true;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell4.Weight = 0.6802721088435375D;
//
// GroupHeader2
//
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.GroupHeader2.HeightF = 25F;
this.GroupHeader2.Name = "GroupHeader2";
this.GroupHeader2.RepeatEveryPage = true;
//
// xrTable2
//
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(500F, 25F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.StylePriority.UsePadding = false;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell7,
this.xrTableCell12,
this.xrTableCell2});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1D;
//
// xrTableCell5
//
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Text = "Mitarbeiter/in";
this.xrTableCell5.Weight = 1.3605442176870746D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Soll";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell7.Weight = 0.6802721088435375D;
//
// xrTableCell12
//
this.xrTableCell12.Multiline = true;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell12.StylePriority.UsePadding = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "Ist";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell12.Weight = 0.68027210884353739D;
//
// xrTableCell2
//
this.xrTableCell2.Multiline = true;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Diff.";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell2.Weight = 0.6802721088435375D;
//
// GroupFooter3
//
this.GroupFooter3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3});
this.GroupFooter3.HeightF = 25F;
this.GroupFooter3.Name = "GroupFooter3";
//
// xrTable3
//
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable3.SizeF = new System.Drawing.SizeF(500F, 25F);
this.xrTable3.StylePriority.UseBorders = false;
this.xrTable3.StylePriority.UseFont = false;
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.xrTableCell8,
this.xrTableCell10,
this.xrTableCell11});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1D;
//
// xrTableCell6
//
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Text = "Summe";
this.xrTableCell6.Weight = 1.3605442176870746D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.SollGesamt")});
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell8.StylePriority.UsePadding = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell8.TextFormatString = "{0:0.00}";
this.xrTableCell8.Weight = 0.6802721088435375D;
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.IstGesamt")});
this.xrTableCell10.Multiline = true;
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell10.TextFormatString = "{0:0.00}";
this.xrTableCell10.Weight = 0.68027210884353739D;
//
// xrTableCell11
//
this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.DifferenzSollIstGesamt")});
this.xrTableCell11.FormattingRules.Add(this.formattingRuleDiffNegativ);
this.xrTableCell11.Multiline = true;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell11.StylePriority.UsePadding = false;
this.xrTableCell11.StylePriority.UseTextAlignment = false;
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell11.TextFormatString = "{0:0.00}";
this.xrTableCell11.Weight = 0.6802721088435375D;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrLabel4,
this.xrLabel3,
this.xrLabel2,
this.xrLabel1});
this.ReportHeader.HeightF = 50F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel5
//
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(175F, 25F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(17F, 25F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "-";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportEndDate", "{0:dd/MM/yyyy}")});
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(192.0001F, 25F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(367.9999F, 25F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "xrLabel4";
//
// xrLabel3
//
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportStartDate", "{0:dd/MM/yyyy}")});
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(83F, 25F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(92F, 25F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "xrLabel3";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel2
//
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(83F, 25F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Zeitraum:";
//
// xrLabel1
//
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.SizeF = new System.Drawing.SizeF(560F, 25F);
this.xrLabel1.StyleName = "Title";
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "Auswertung über geleistete Fachleistungsstunden";
//
// pageFooterBand1
//
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.pageFooterBand1.HeightF = 48F;
this.pageFooterBand1.Name = "pageFooterBand1";
//
// xrPageInfo2
//
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(606.9999F, 25F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(100F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
//
// xrPageInfo1
//
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(7.999878F, 25F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(262.0001F, 23F);
this.xrPageInfo1.StyleName = "PageInfo";
this.xrPageInfo1.StylePriority.UseFont = false;
//
// Title
//
this.Title.BackColor = System.Drawing.Color.White;
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.Title.BorderWidth = 1F;
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
this.Title.ForeColor = System.Drawing.Color.Black;
this.Title.Name = "Title";
//
// FieldCaption
//
this.FieldCaption.BackColor = System.Drawing.Color.White;
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.FieldCaption.BorderWidth = 1F;
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
this.FieldCaption.Name = "FieldCaption";
//
// PageInfo
//
this.PageInfo.BackColor = System.Drawing.Color.White;
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.PageInfo.BorderWidth = 1F;
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
this.PageInfo.ForeColor = System.Drawing.Color.Black;
this.PageInfo.Name = "PageInfo";
//
// DataField
//
this.DataField.BackColor = System.Drawing.Color.White;
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.DataField.BorderWidth = 1F;
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
this.DataField.Name = "DataField";
//
// fieldFLS
//
this.fieldFLS.DataMember = "FLSReportGroups";
this.fieldFLS.Expression = "[TotalFLM] / 60";
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldFLS.Name = "fieldFLS";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 50F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 50F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// fieldDifferenzWoche1
//
this.fieldDifferenzWoche1.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche1.Expression = "[Ist] - [Soll]";
this.fieldDifferenzWoche1.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche1.Name = "fieldDifferenzWoche1";
//
// fieldDifferenzWoche2
//
this.fieldDifferenzWoche2.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche2.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche2.Name = "fieldDifferenzWoche2";
//
// fieldDifferenzWoche3
//
this.fieldDifferenzWoche3.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche3.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche3.Name = "fieldDifferenzWoche3";
//
// fieldDifferenzWoche4
//
this.fieldDifferenzWoche4.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche4.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche4.Name = "fieldDifferenzWoche4";
//
// fieldDifferenzGesamt
//
this.fieldDifferenzGesamt.DataMember = "RootObjectList.Groups";
this.fieldDifferenzGesamt.Expression = "[IstGesamt] - [SollGesamt]";
this.fieldDifferenzGesamt.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzGesamt.Name = "fieldDifferenzGesamt";
//
// formattingRuleDiffNegativ
//
this.formattingRuleDiffNegativ.Condition = "[DifferenzSollIstGesamt] < 0";
this.formattingRuleDiffNegativ.DataMember = "RootObjectList";
this.formattingRuleDiffNegativ.Formatting.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.formattingRuleDiffNegativ.Name = "formattingRuleDiffNegativ";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FLSSollIstReportRO);
//
// FLSSollIstReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.DetailReport,
this.ReportHeader,
this.pageFooterBand1,
this.topMarginBand1,
this.bottomMarginBand1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.fieldFLS,
this.fieldDifferenzWoche1,
this.fieldDifferenzWoche2,
this.fieldDifferenzWoche3,
this.fieldDifferenzWoche4,
this.fieldDifferenzGesamt});
this.DataSource = this.bindingSource1;
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.formattingRuleDiffNegativ});
this.Margins = new DevExpress.Drawing.DXMargins(60F, 60F, 50F, 50F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.Title,
this.FieldCaption,
this.PageInfo,
this.DataField});
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).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.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRControlStyle Title;
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
private DevExpress.XtraReports.UI.XRControlStyle DataField;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
private DevExpress.XtraReports.UI.DetailBand Detail2;
private DevExpress.XtraReports.UI.XRTable xrTable4;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche1;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche2;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche3;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche4;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzGesamt;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter3;
private DevExpress.XtraReports.UI.FormattingRule formattingRuleDiffNegativ;
}
}

View File

@@ -0,0 +1,33 @@
using System;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report.ReportObjects;
using BeWo.Report;
namespace BeWo.Report.DefaultReports
{
public partial class FLSSollIstReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<FLSSollIstReportRO>
{
public FLSSollIstReport()
{
InitializeComponent();
}
public void SetReportDataSource(FLSSollIstReportRO pRO)
{
//foreach (var group in pRO.FLSReportGroups)
//{
// foreach (var sr in group.ServiceRecords)
// {
// if (!sr.DistanceInMeter.HasValue && sr.ServiceRecordOid.HasValue)
// {
// var srBO = DAOFactory.GenericDAO.LoadByID<ServiceRecord>(sr.ServiceRecordOid.Value);
// sr.DistanceInMeter = srBO.DistanceInMeter;
// }
// }
//}
this.bindingSource1.DataSource = pRO;
}
}
}

View File

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

View File

@@ -0,0 +1,734 @@
using BeWo.Report.ReportObjects;
namespace BeWo.Report.DefaultReports
{
partial class FLSSollIstWeeklyReport
{
/// <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();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTableData = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRowData = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRowHeader1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRowHeader2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.fieldDifferenzWoche1 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche2 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche3 = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldDifferenzWoche4 = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTableGesamt = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRowGesamt = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableGesamt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableCell1
//
this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.Name")});
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseBorderColor = false;
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.Text = "xrTableCell1";
this.xrTableCell1.Weight = 6.9183673469387754D;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1D;
//
// xrTable1
//
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(560F, 25F);
this.xrTable1.StylePriority.UseBorders = false;
this.xrTable1.StylePriority.UsePadding = false;
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.Detail1.HeightF = 69.66665F;
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1,
this.DetailReport1});
this.DetailReport.DataMember = "RootObjectList";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// DetailReport1
//
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail2,
this.GroupHeader2,
this.GroupFooter1,
this.GroupHeader1});
this.DetailReport1.DataMember = "RootObjectList.Groups";
this.DetailReport1.DataSource = this.bindingSource1;
this.DetailReport1.Level = 0;
this.DetailReport1.Name = "DetailReport1";
//
// Detail2
//
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTableData});
this.Detail2.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
this.Detail2.HeightF = 25F;
this.Detail2.Name = "Detail2";
this.Detail2.StylePriority.UseFont = false;
//
// xrTableData
//
this.xrTableData.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableData.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTableData.Name = "xrTableData";
this.xrTableData.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRowData});
this.xrTableData.SizeF = new System.Drawing.SizeF(410F, 25F);
this.xrTableData.StylePriority.UseBorders = false;
this.xrTableData.StylePriority.UsePadding = false;
//
// xrTableRowData
//
this.xrTableRowData.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell9,
this.xrTableCell13,
this.xrTableCell4});
this.xrTableRowData.Name = "xrTableRowData";
this.xrTableRowData.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
this.xrTableRowData.StylePriority.UsePadding = false;
this.xrTableRowData.StylePriority.UseTextAlignment = false;
this.xrTableRowData.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableRowData.Weight = 1D;
//
// xrTableCell3
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.Groups.Name", "{0:dd/MM/yyyy}")});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell3.Weight = 1.3605442176870746D;
//
// xrTableCell9
//
this.xrTableCell9.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StylePriority.UseBackColor = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Tag = "0_Soll";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell9.Weight = 0.47619047619047611D;
this.xrTableCell9.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// xrTableCell13
//
this.xrTableCell13.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.StylePriority.UseBackColor = false;
this.xrTableCell13.StylePriority.UseFont = false;
this.xrTableCell13.StylePriority.UsePadding = false;
this.xrTableCell13.StylePriority.UseTextAlignment = false;
this.xrTableCell13.Tag = "0_Ist";
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell13.Weight = 0.47619047619047616D;
this.xrTableCell13.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Tag = "0_Diff";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell4.Weight = 0.47619047619047628D;
this.xrTableCell4.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// GroupHeader2
//
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTableHeader});
this.GroupHeader2.HeightF = 50F;
this.GroupHeader2.Name = "GroupHeader2";
this.GroupHeader2.RepeatEveryPage = true;
//
// xrTableHeader
//
this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTableHeader.Name = "xrTableHeader";
this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRowHeader1,
this.xrTableRowHeader2});
this.xrTableHeader.SizeF = new System.Drawing.SizeF(410F, 50F);
this.xrTableHeader.StylePriority.UseBorders = false;
this.xrTableHeader.StylePriority.UseFont = false;
this.xrTableHeader.StylePriority.UsePadding = false;
//
// xrTableRowHeader1
//
this.xrTableRowHeader1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19,
this.xrTableCell20});
this.xrTableRowHeader1.Name = "xrTableRowHeader1";
this.xrTableRowHeader1.StylePriority.UseTextAlignment = false;
this.xrTableRowHeader1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableRowHeader1.Weight = 1D;
//
// xrTableCell19
//
this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell19.Multiline = true;
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.Weight = 1.3605442176870746D;
//
// xrTableCell20
//
this.xrTableCell20.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell20.Multiline = true;
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseBackColor = false;
this.xrTableCell20.StylePriority.UsePadding = false;
this.xrTableCell20.StylePriority.UseTextAlignment = false;
this.xrTableCell20.Text = "KW 1";
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell20.Weight = 1.4285714285714288D;
//
// xrTableRowHeader2
//
this.xrTableRowHeader2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell7,
this.xrTableCell12,
this.xrTableCell2});
this.xrTableRowHeader2.Name = "xrTableRowHeader2";
this.xrTableRowHeader2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
this.xrTableRowHeader2.StylePriority.UsePadding = false;
this.xrTableRowHeader2.StylePriority.UseTextAlignment = false;
this.xrTableRowHeader2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableRowHeader2.Weight = 1D;
//
// xrTableCell5
//
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Mitarbeiter/in";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell5.Weight = 1.3605442176870746D;
//
// xrTableCell7
//
this.xrTableCell7.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseBackColor = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Soll";
this.xrTableCell7.Weight = 0.47619047619047633D;
//
// xrTableCell12
//
this.xrTableCell12.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell12.Multiline = true;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.StylePriority.UseBackColor = false;
this.xrTableCell12.StylePriority.UsePadding = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "Ist";
this.xrTableCell12.Weight = 0.47619047619047616D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Diff.";
this.xrTableCell2.Weight = 0.47619047619047639D;
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTableGesamt});
this.GroupFooter1.HeightF = 25F;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
//
// GroupHeader1
//
this.GroupHeader1.HeightF = 0F;
this.GroupHeader1.Level = 1;
this.GroupHeader1.Name = "GroupHeader1";
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrLabel4,
this.xrLabel3,
this.xrLabel2,
this.xrLabel1});
this.ReportHeader.HeightF = 50F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel5
//
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(175F, 25F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(17F, 25F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "-";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportEndDate", "{0:dd/MM/yyyy}")});
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(192.0001F, 25F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(367.9999F, 25F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "xrLabel4";
//
// xrLabel3
//
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportStartDate", "{0:dd/MM/yyyy}")});
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(83F, 25F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(92F, 25F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "xrLabel3";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel2
//
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(83F, 25F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Zeitraum:";
//
// xrLabel1
//
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.SizeF = new System.Drawing.SizeF(560F, 25F);
this.xrLabel1.StyleName = "Title";
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "Auswertung über geleistete Fachleistungsstunden";
//
// pageFooterBand1
//
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.pageFooterBand1.HeightF = 48F;
this.pageFooterBand1.Name = "pageFooterBand1";
//
// xrPageInfo2
//
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(900F, 25F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(140F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
//
// xrPageInfo1
//
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(7.999878F, 25F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(192.0001F, 23F);
this.xrPageInfo1.StyleName = "PageInfo";
this.xrPageInfo1.StylePriority.UseFont = false;
//
// Title
//
this.Title.BackColor = System.Drawing.Color.White;
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.Title.BorderWidth = 1F;
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
this.Title.ForeColor = System.Drawing.Color.Black;
this.Title.Name = "Title";
//
// FieldCaption
//
this.FieldCaption.BackColor = System.Drawing.Color.White;
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.FieldCaption.BorderWidth = 1F;
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
this.FieldCaption.Name = "FieldCaption";
//
// PageInfo
//
this.PageInfo.BackColor = System.Drawing.Color.White;
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.PageInfo.BorderWidth = 1F;
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
this.PageInfo.ForeColor = System.Drawing.Color.Black;
this.PageInfo.Name = "PageInfo";
//
// DataField
//
this.DataField.BackColor = System.Drawing.Color.White;
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.DataField.BorderWidth = 1F;
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
this.DataField.Name = "DataField";
//
// fieldFLS
//
this.fieldFLS.DataMember = "FLSReportGroups";
this.fieldFLS.Expression = "[TotalFLM] / 60";
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldFLS.Name = "fieldFLS";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 50F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 50F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// fieldDifferenzWoche1
//
this.fieldDifferenzWoche1.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche1.Expression = "[Ist] - [Soll]";
this.fieldDifferenzWoche1.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche1.Name = "fieldDifferenzWoche1";
//
// fieldDifferenzWoche2
//
this.fieldDifferenzWoche2.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche2.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche2.Name = "fieldDifferenzWoche2";
//
// fieldDifferenzWoche3
//
this.fieldDifferenzWoche3.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche3.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche3.Name = "fieldDifferenzWoche3";
//
// fieldDifferenzWoche4
//
this.fieldDifferenzWoche4.DataMember = "RootObjectList.Groups";
this.fieldDifferenzWoche4.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldDifferenzWoche4.Name = "fieldDifferenzWoche4";
//
// xrTableGesamt
//
this.xrTableGesamt.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
this.xrTableGesamt.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTableGesamt.Name = "xrTableGesamt";
this.xrTableGesamt.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRowGesamt});
this.xrTableGesamt.SizeF = new System.Drawing.SizeF(410F, 25F);
this.xrTableGesamt.StylePriority.UseBorders = false;
this.xrTableGesamt.StylePriority.UseFont = false;
this.xrTableGesamt.StylePriority.UsePadding = false;
//
// xrTableRowGesamt
//
this.xrTableRowGesamt.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableRowGesamt.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell11,
this.xrTableCell14,
this.xrTableCell15});
this.xrTableRowGesamt.Name = "xrTableRowGesamt";
this.xrTableRowGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
this.xrTableRowGesamt.StylePriority.UseBorders = false;
this.xrTableRowGesamt.StylePriority.UsePadding = false;
this.xrTableRowGesamt.StylePriority.UseTextAlignment = false;
this.xrTableRowGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableRowGesamt.Weight = 1D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
this.xrTableCell10.StylePriority.UseBorders = false;
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "Gesamt";
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell10.Weight = 1.3605442176870746D;
//
// xrTableCell11
//
this.xrTableCell11.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StylePriority.UseBackColor = false;
this.xrTableCell11.StylePriority.UseBorders = false;
this.xrTableCell11.StylePriority.UsePadding = false;
this.xrTableCell11.StylePriority.UseTextAlignment = false;
this.xrTableCell11.Tag = "0_Soll_Gesamt";
this.xrTableCell11.Weight = 0.47619047619047633D;
this.xrTableCell11.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// xrTableCell14
//
this.xrTableCell14.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell14.Multiline = true;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseBackColor = false;
this.xrTableCell14.StylePriority.UseBorders = false;
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.Tag = "0_Ist_Gesamt";
this.xrTableCell14.Weight = 0.47619047619047616D;
this.xrTableCell14.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// xrTableCell15
//
this.xrTableCell15.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseBackColor = false;
this.xrTableCell15.StylePriority.UseBorders = false;
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Tag = "0_Diff_Gesamt";
this.xrTableCell15.Weight = 0.47619047619047639D;
this.xrTableCell15.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FLSSollIstReportRO);
//
// FLSSollIstWeeklyReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.DetailReport,
this.ReportHeader,
this.pageFooterBand1,
this.topMarginBand1,
this.bottomMarginBand1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.fieldFLS,
this.fieldDifferenzWoche1,
this.fieldDifferenzWoche2,
this.fieldDifferenzWoche3,
this.fieldDifferenzWoche4});
this.DataSource = this.bindingSource1;
this.Landscape = true;
this.Margins = new DevExpress.Drawing.DXMargins(60F, 60F, 50F, 50F);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.Title,
this.FieldCaption,
this.PageInfo,
this.DataField});
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableData)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableGesamt)).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.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRControlStyle Title;
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
private DevExpress.XtraReports.UI.XRControlStyle DataField;
private DevExpress.XtraReports.UI.XRTable xrTableHeader;
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
private DevExpress.XtraReports.UI.DetailBand Detail2;
private DevExpress.XtraReports.UI.XRTable xrTableData;
private DevExpress.XtraReports.UI.XRTableRow xrTableRowData;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche2;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche3;
private DevExpress.XtraReports.UI.CalculatedField fieldDifferenzWoche4;
private DevExpress.XtraReports.UI.XRTable xrTableGesamt;
private DevExpress.XtraReports.UI.XRTableRow xrTableRowGesamt;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
}
}

View File

@@ -0,0 +1,224 @@
using System;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report.ReportObjects;
using BeWo.Report;
using System.Collections.Generic;
using DevExpress.XtraReports.UI;
using System.Linq;
namespace BeWo.Report.DefaultReports
{
public partial class FLSSollIstWeeklyReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<FLSSollIstReportRO>
{
public FLSSollIstWeeklyReport()
{
InitializeComponent();
}
public void SetReportDataSource(FLSSollIstReportRO pRO)
{
var wochen = new List<FLSSollIstReportRO.FLSSollIstWochenSummen>();
if (pRO.RootObjectList.Count > 0)
{
if (pRO.RootObjectList[0].Groups.Count > 0)
{
wochen = pRO.RootObjectList[0].Groups[0].WochenSummen;
}
}
CreateTableCells(wochen);
this.bindingSource1.DataSource = pRO;
}
private void CreateTableCells(List<FLSSollIstReportRO.FLSSollIstWochenSummen> wochen)
{
xrTableHeader.BeginInit();
xrTableData.BeginInit();
xrTableGesamt.BeginInit();
for (int i = 0; i < wochen.Count; i++)
{
if (i > 0)
{
AddSpalten(i, false);
}
xrTableRowHeader1.Cells[xrTableRowHeader1.Cells.Count - 1].Text = String.Format("KW {0}", wochen[i].KalenderWoche);
}
//Add Gesamtsummen
AddSpalten(0, true);
xrTableRowHeader1.Cells[xrTableRowHeader1.Cells.Count - 1].Text = "Gesamt";
xrTableGesamt.EndInit();
xrTableData.EndInit();
xrTableHeader.EndInit();
}
private void AddSpalten(int index, bool gesamt)
{
var backcolor = System.Drawing.Color.White;
if (index % 2 == 0)
{
backcolor = System.Drawing.Color.Gainsboro;
}
if (gesamt)
{
backcolor = System.Drawing.Color.Wheat;
}
xrTableHeader.WidthF += 210;
xrTableData.WidthF += 210;
xrTableGesamt.WidthF += 210;
if (xrTableHeader.WidthF >= PageWidth)
{
PaperKind = DevExpress.Drawing.Printing.DXPaperKind.Custom;
PageWidth += 210;
}
var cell = xrTableRowHeader1.Cells[xrTableRowHeader1.Cells.Count - 1];
xrTableRowHeader1.Cells.Add(new XRTableCell { Weight = cell.Weight, BackColor = backcolor });
xrTableRowHeader2.Cells.Add(new XRTableCell { Weight = xrTableRowHeader2.Cells[xrTableRowHeader2.Cells.Count - 1].Weight, Text = "Soll", BackColor = backcolor });
xrTableRowHeader2.Cells.Add(new XRTableCell { Weight = xrTableRowHeader2.Cells[xrTableRowHeader2.Cells.Count - 1].Weight, Text = "Ist", BackColor = backcolor });
xrTableRowHeader2.Cells.Add(new XRTableCell { Weight = xrTableRowHeader2.Cells[xrTableRowHeader2.Cells.Count - 1].Weight, Text = "Diff.", BackColor = backcolor });
xrTableRowData.Cells.Add(new XRTableCell { Weight = xrTableRowData.Cells[xrTableRowData.Cells.Count - 1].Weight, Tag = String.Format("{0}_Soll", index), BackColor = backcolor });
xrTableRowData.Cells.Add(new XRTableCell { Weight = xrTableRowData.Cells[xrTableRowData.Cells.Count - 1].Weight, Tag = String.Format("{0}_Ist", index), BackColor = backcolor });
xrTableRowData.Cells.Add(new XRTableCell { Weight = xrTableRowData.Cells[xrTableRowData.Cells.Count - 1].Weight, Tag = String.Format("{0}_Diff", index), BackColor = backcolor });
xrTableRowGesamt.Cells.Add(new XRTableCell { Weight = xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].Weight, Tag = String.Format("{0}_Soll_Gesamt", index), BackColor = backcolor });
xrTableRowGesamt.Cells.Add(new XRTableCell { Weight = xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].Weight, Tag = String.Format("{0}_Ist_Gesamt", index), BackColor = backcolor });
xrTableRowGesamt.Cells.Add(new XRTableCell { Weight = xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].Weight, Tag = String.Format("{0}_Diff_Gesamt", index), BackColor = backcolor });
xrTableRowData.Cells[xrTableRowData.Cells.Count - 1].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
xrTableRowData.Cells[xrTableRowData.Cells.Count - 2].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
xrTableRowData.Cells[xrTableRowData.Cells.Count - 3].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 2].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 3].BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.DataCell_BeforePrint);
if (gesamt)
{
xrTableRowData.Cells[xrTableRowData.Cells.Count - 1].Tag += "_Summe";
xrTableRowData.Cells[xrTableRowData.Cells.Count - 2].Tag += "_Summe";
xrTableRowData.Cells[xrTableRowData.Cells.Count - 3].Tag += "_Summe";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].Tag += "_Summe";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 2].Tag += "_Summe";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 3].Tag += "_Summe";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.DifferenzSollIstGesamt")});
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 1].TextFormatString = "{0:0.00}";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 2].DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.IstGesamt")});
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 2].TextFormatString = "{0:0.00}";
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 3].DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RootObjectList.SollGesamt")});
xrTableRowGesamt.Cells[xrTableRowGesamt.Cells.Count - 3].TextFormatString = "{0:0.00}";
}
}
private void DataCell_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e)
{
XRTableCell cell = sender as XRTableCell;
// Zugriff auf das aktuelle Datenobjekt
var group = cell.Report.GetCurrentRow() as FLSSollIstReportRO.FLSSollIstReportGroupRO;
var tag = "";
if (cell.Tag != null)
{
tag = cell.Tag.ToString();
}
var indexStr = "";
if (tag.IndexOf("_") > 0)
{
indexStr = tag.Substring(0, tag.IndexOf("_"));
}
cell.ForeColor = System.Drawing.Color.Black;
//Im Tag wird der Wochenindex gespeichert
if (group != null && tag != null && Int32.TryParse(indexStr, out var idx))
{
if (idx >= 0 && idx < group.WochenSummen.Count)
{
var ws = group.WochenSummen[idx];
//Prüfe Summen Spalte (letzte Spalte)
if (tag.Contains("Summe"))
{
if (tag.Contains("Gesamt"))
{
if (cell.Text.StartsWith("-"))
{
cell.ForeColor = System.Drawing.Color.Red;
}
}
else if (tag.Contains("Ist"))
{
cell.Text = String.Format("{0:0.00}", group.WochenSummen.Sum(w => w.IstStunden));
}
}
else
{
if (tag.Contains("Gesamt"))
{
if (tag.Contains("Ist"))
{
cell.Text = String.Format("{0:0.00}", ws.IstStunden);
}
else if (tag.Contains("Soll"))
{
cell.Text = String.Format("{0:0.00}", ws.SollStunden);
}
else if (tag.Contains("Diff"))
{
cell.Text = String.Format("{0:0.00}", ws.Differenz);
if (ws.Differenz < 0)
{
cell.ForeColor = System.Drawing.Color.Red;
}
}
}
else if (tag.Contains("Ist"))
{
cell.Text = String.Format("{0:0.00}", ws.IstStunden);
}
}
}
}
//if (rowObj is DayDetail myRow && myRow.Date != null)
//{
// var date = myRow.Date;
// XRTableRow row = cell.Parent as XRTableRow;
// System.Drawing.Color backColor = System.Drawing.Color.Transparent;
// if (date.DayOfWeek == DayOfWeek.Saturday || date.DayOfWeek == DayOfWeek.Sunday)
// backColor = System.Drawing.Color.LightSteelBlue;
// if (vs.IstFeiertag(date))
// backColor = System.Drawing.Color.Yellow;
// foreach (XRTableCell c in row.Cells)
// c.BackColor = backColor;
//}
}
}
}

View File

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

View File

@@ -7,7 +7,7 @@ using DevExpress.XtraReports.UI;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
using BS.Shared.Core;
namespace BeWo.Report.DefaultReports
{
@@ -59,6 +59,7 @@ namespace BeWo.Report.DefaultReports
if ((!az.GueltigVon.HasValue || az.GueltigVon <= DateTime.Now) &&
(!az.GueltigBis.HasValue || az.GueltigBis >= DateTime.Now) && az.Eintraege != null)
{
SortiereArbeitszeiten(az.Eintraege);
foreach (var e in az.Eintraege)
{
AddArbeitszeit(e);
@@ -68,6 +69,18 @@ namespace BeWo.Report.DefaultReports
}
}
private void SortiereArbeitszeiten(List<ArbeitszeitEintragDC> zeiten)
{
zeiten.Sort(
(a, b) =>
{
var at1 = DateTimeUtils.GetAssistanceTimeComparisonDateTime(a.UhrzeitVon, a.UhrzeitBis, DateTime.Now.Date.AddDays((int)a.DayOfWeek));
var at2 = DateTimeUtils.GetAssistanceTimeComparisonDateTime(b.UhrzeitVon, b.UhrzeitBis, DateTime.Now.Date.AddDays((int)b.DayOfWeek));
return at1.Start.CompareTo(at2.Start);
});
}
private void AddArbeitszeit(ArbeitszeitEintragDC ae)
{
XRTableRow newRow = tableBetreuungszeiten.InsertRowBelow(tableBetreuungszeiten.Rows[tableBetreuungszeiten.Rows.Count - 1]);

View File

@@ -193,6 +193,18 @@
<Compile Include="DefaultReports\BudgetnachweisDigga.Designer.cs">
<DependentUpon>BudgetnachweisDigga.cs</DependentUpon>
</Compile>
<Compile Include="DefaultReports\FLSSollIstReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="DefaultReports\FLSSollIstReport.Designer.cs">
<DependentUpon>FLSSollIstReport.cs</DependentUpon>
</Compile>
<Compile Include="DefaultReports\FLSSollIstWeeklyReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="DefaultReports\FLSSollIstWeeklyReport.Designer.cs">
<DependentUpon>FLSSollIstWeeklyReport.cs</DependentUpon>
</Compile>
<Compile Include="DefaultReports\Invoices\GkvBegleitzettel.cs">
<SubType>Component</SubType>
</Compile>
@@ -553,6 +565,7 @@
</Compile>
<Compile Include="ReportObjects\AbwesenheitsPrintRO.cs" />
<Compile Include="ReportObjects\BudgetnachweisAnhangDiggaRO.cs" />
<Compile Include="ReportObjects\FLSSollIstReportRO.cs" />
<Compile Include="ReportObjects\GkvAbrechnungRO.cs" />
<Compile Include="ReportObjects\LwvKASpitzabrechnungRO.cs" />
<Compile Include="ReportObjects\BudgetnachweisAnhangRO.cs" />
@@ -627,6 +640,14 @@
<DependentUpon>BudgetnachweisDigga.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DefaultReports\FLSSollIstReport.resx">
<DependentUpon>FLSSollIstReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DefaultReports\FLSSollIstWeeklyReport.resx">
<DependentUpon>FLSSollIstWeeklyReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DefaultReports\Invoices\GkvBegleitzettel.resx">
<DependentUpon>GkvBegleitzettel.cs</DependentUpon>
<SubType>Designer</SubType>

View File

@@ -397,6 +397,8 @@ namespace BeWo.Report.ReportObjects
}
// "Frei pro Woche" aus der Zeiterfassungsstatistik hinzufügen
var stats = new ServiceRecordStatisticFactory().CreateSupportConceptStatisticsImpl(cb2sc.Oid.Value, EndDate);
scDC.FreiProWocheDurchschnittUberGesamtZeitraum = Math.Round(stats.MinutesFreePerWeekAverage / 60, 2, MidpointRounding.AwayFromZero);
if (stats.PeriodStatistics != null && stats.PeriodStatistics.Any(s => s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == scap.Oid))
{
var stat = stats.PeriodStatistics.First(s => s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == scap.Oid);
@@ -410,6 +412,7 @@ namespace BeWo.Report.ReportObjects
{
scDC.FreiProWoche *= anteil.AnteilAnBetreuung / 100;
scDC.FreiProMonat *= anteil.AnteilAnBetreuung / 100;
scDC.FreiProWocheDurchschnittUberGesamtZeitraum *= anteil.AnteilAnBetreuung / 100;
}
// Minutenwert aus der Bewilligung einbeziehen
else
@@ -419,6 +422,7 @@ namespace BeWo.Report.ReportObjects
{
scDC.FreiProWoche *= anteil.AnteilAnBetreuung / minProWoche;
scDC.FreiProMonat *= anteil.AnteilAnBetreuung / minProWoche;
scDC.FreiProWocheDurchschnittUberGesamtZeitraum *= anteil.AnteilAnBetreuung / minProWoche;
}
}
}

View File

@@ -0,0 +1,195 @@
using System;
using System.Collections.Generic;
using System.Linq;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
namespace BeWo.Report.ReportObjects
{
public class FLSSollIstReportRO
{
public DateTime? ReportEndDate { get; set; }
public DateTime? ReportStartDate { get; set; }
public List<FLSSollIstRootRO> RootObjectList { get; set; } = new List<FLSSollIstRootRO>();
public class FLSSollIstRootRO
{
public string Name { get; set; }
public long ObjectOid { get; set; }
public List<FLSSollIstReportGroupRO> Groups { get; set; } = new List<FLSSollIstReportGroupRO>();
public decimal SollGesamt { get; set; }
public decimal IstGesamt { get; set; }
public decimal DifferenzSollIstGesamt { get; set; }
public String CustomValue1 { get; set; }
public String CustomValue2 { get; set; }
public String CustomValue3 { get; set; }
public String CustomValue4 { get; set; }
public String CustomValue5 { get; set; }
}
public class FLSSollIstReportGroupRO
{
public string Name { get; set; }
public long ObjectOid { get; set; }
public List<FLSSollIstWochenSummen> WochenSummen { get; set; } = new List<FLSSollIstWochenSummen>();
public decimal SollGesamt { get; set; }
public decimal IstGesamt { get; set; }
public decimal DifferenzSollIstGesamt { get; set; }
public String CustomValue1 { get; set; }
public String CustomValue2 { get; set; }
public String CustomValue3 { get; set; }
public String CustomValue4 { get; set; }
public String CustomValue5 { get; set; }
}
public class FLSSollIstWochenSummen
{
public decimal? SollStunden { get; set; }
public decimal? IstStunden { get; set; }
public decimal? Differenz
{
get
{
if (IstStunden.HasValue && SollStunden.HasValue)
{
return IstStunden - SollStunden;
}
if (SollStunden.HasValue)
{
return SollStunden * -1;
}
return IstStunden;
}
}
public DateTime WocheStart { get; set; }
public DateTime WocheEnde { get; set; }
public int KalenderWoche
{
get
{
var ci = System.Globalization.CultureInfo.InvariantCulture;
return ci.Calendar.GetWeekOfYear(
WocheStart,
System.Globalization.CalendarWeekRule.FirstFourDayWeek,
DayOfWeek.Monday);
}
}
}
public static FLSSollIstReportRO Create(List<FLSAnalysisRootDC> dcList, FLSAnalysisConfigDC config)
{
var ro = new FLSSollIstReportRO();
ro.ReportStartDate = config.StartDate;
ro.ReportEndDate = config.EndDate;
foreach (var root in dcList.OrderBy(a => a.DisplayName))
{
var rootRo = new FLSSollIstRootRO();
rootRo.Name = root.DisplayName;
rootRo.SollGesamt = 0; //root.SollFLSTotal ?;
foreach (var item in root.Groups.OrderBy(a => a.DisplayName))
{
var grpRo = new FLSSollIstReportGroupRO();
grpRo.Name = item.DisplayName;
grpRo.WochenSummen = ErstelleWochensummen(config.StartDate, config.EndDate, root.SollFLSPerWeek);
foreach (var sc in item.SupportConcepts)
{
foreach (var sr in sc.ServiceRecords)
{
var ws = grpRo.WochenSummen.FirstOrDefault(w => w.WocheStart <= sr.Start && sr.Start < w.WocheEnde.AddDays(1));
if (ws != null)
{
if (!ws.IstStunden.HasValue)
{
ws.IstStunden = 0;
}
ws.IstStunden += sr.RoundedDuration / 60;
}
grpRo.IstGesamt += sr.RoundedDuration;
}
}
grpRo.IstGesamt = grpRo.IstGesamt / 60;
rootRo.IstGesamt += grpRo.IstGesamt;
rootRo.SollGesamt = grpRo.WochenSummen.Sum(w => w.SollStunden) ?? 0;
rootRo.Groups.Add(grpRo);
}
rootRo.DifferenzSollIstGesamt = rootRo.IstGesamt - rootRo.SollGesamt;
if (rootRo.Groups.Count > 0)
{
ro.RootObjectList.Add(rootRo);
}
}
return ro;
}
private static List<FLSSollIstWochenSummen> ErstelleWochensummen(DateTime? startDate, DateTime? endDate, decimal? defaultSoll)
{
var liste = new List<FLSSollIstWochenSummen>();
if (startDate.HasValue && endDate.HasValue)
{
DateTime dt = startDate.Value;
while (dt <= endDate.Value)
{
int days = ((int)DayOfWeek.Sunday - (int)dt.DayOfWeek + 7) % 7;
var sonntag = dt.AddDays(days);
var ws = new FLSSollIstWochenSummen();
ws.WocheStart = dt;
//Ermittele den nächsten Sonntag
ws.WocheEnde = sonntag;
if (ws.WocheEnde > endDate)
{
ws.WocheEnde = endDate.Value;
}
ws.SollStunden = defaultSoll;
liste.Add(ws);
dt = sonntag.AddDays(1);
}
}
return liste;
}
}
}

View File

@@ -325,8 +325,10 @@ namespace BeWo.Report.ReportObjects
public decimal MinutesSoll { get; set; }
public decimal MittelbarIst { get; set; }
public decimal FreiProWoche { get; set; }
public decimal FreiProWocheDurchschnittUberGesamtZeitraum { get; set; }
public decimal FreiProWoche { get; set; }
public decimal FreiProMonat { get; set; }

View File

@@ -50,6 +50,11 @@ namespace AkggMid
KorrigiereFLSProWoche(ro);
}
internal void BerechneBewilligteStunden(ServicesOverviewRO pRO)
{
}
internal DateTimeSpan BerechneSchuljahr(ServicesOverviewRO ro)

View File

@@ -37,9 +37,10 @@ namespace AkggMid
ServicesOverviewRO.CreateSignatureString(record);
}
helper.BerechneBewilligteStunden(pRO);
//LeistungsnachweisHelper.PruefeWochenBudget(pRO);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal);
if (pRO.CustomerOid > 0)
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
@@ -58,7 +59,7 @@ namespace AkggMid
}
if (betreuungsartSb.ToString().Contains("Wegbegleitung"))
{
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal);
}
}

View File

@@ -38,7 +38,9 @@ namespace AkggMid
//helper.PruefeWochenBudget(pRO);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek);
helper.BerechneBewilligteStunden(pRO);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal);
if (pRO.CustomerOid > 0)
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
@@ -56,7 +58,7 @@ namespace AkggMid
}
}
if (betreuungsartSb.ToString().Contains("Wegbegleitung"))
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal);
}
this.bindingSource1.DataSource = pRO;

View File

@@ -46,9 +46,11 @@ namespace AkggMid
}
}
helper.BerechneBewilligteStunden(pRO);
//helper.PruefeWochenBudget(pRO);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeek);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche", pRO.ApprovedFLSPerWeekTotal);
if (pRO.CustomerOid > 0)
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
@@ -66,7 +68,7 @@ namespace AkggMid
}
}
if (betreuungsartSb.ToString().Contains("Wegbegleitung"))
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeek);
lblWegbegleitung.Text = String.Format("Kostenzusicherung: bis zu {0:0.00} Stunden pro Woche (incl.Wegbegleitung)", pRO.ApprovedFLSPerWeekTotal);
}
this.bindingSource1.DataSource = pRO;
}

View File

@@ -34,7 +34,7 @@ namespace BBIRheinSieg.Service
vertretungsItem.Employee != null).Select(item => item.Employee.EmployeeOid);
var team = DAOFactory.GenericDAO.GetAllActive<Team>().Where(t => t.Name == "Vertretungsplanung").FirstOrDefault();
var team = DAOFactory.GenericDAO.GetAllActive<Team>().Where(t => t.Name == "Vertretungen").FirstOrDefault();
if (team != null)
{
var list = new List<CompactVertreterEmployeeDC>();

View File

@@ -115,6 +115,23 @@ namespace HphBersenbrueckFreizeitUndReisen.Abrechnung
public static decimal GetPreisForAusflugFreizeittreff(Pflegegrad? pflegegrad, DateTime d)
{
if (d >= new DateTime(2026, 1, 1))
{
if (pflegegrad.HasValue)
{
switch (pflegegrad.Value)
{
case Pflegegrad.KeinGrad:
return 64;
case Pflegegrad.PflegegradBeantragt:
return 64;
default:
return 128;
}
}
return 64;
}
if (d >= new DateTime(2025, 1, 1))
{
if (pflegegrad.HasValue)

View File

@@ -8,7 +8,9 @@ using BeWo.Report;
using BeWo.Report.DefaultReports;
using BeWo.Report.ReportObjects;
using BeWo.Service.DCEntityMapper;
using BeWo.Service.Plugins;
using BS.Shared;
using BS.Shared.DataContracts;
using DevExpress.XtraReports.UI;
using LebenshilfeBadKreuznachFUD.Reporting.Reports;
@@ -20,12 +22,57 @@ namespace LebenshilfeBadKreuznachFUD.Reporting
{
if (queryOid == 1000)
{
return CreateStundenkontrolleAbw(CreateQueryRO(queryOid, queryReportId));
return CreateStundenkontrolleAbwNachWochen(CreateQueryRO(queryOid, queryReportId));
}
return base.CreateQueryReport(queryOid, queryReportId);
}
private XtraReport CreateStundenkontrolleAbwNachWochen(QueryRO qro)
{
if (qro.Rows.Count > 0)
{
DateTime start = DateTime.Now;
start = new DateTime(start.Year, start.Month, 1);
DateTime dt = DateTime.Now;
if (DateTime.TryParse(qro.Rows[0].Field1.ToString(), out dt))
{
start = dt;
}
DateTime ende = start.AddMonths(1).AddTicks(-1);
var config = new FLSAnalysisConfigDC();
config.StartDate = start;
config.EndDate = ende;
config.FetchApprovedFLS = true;
config.ReportType = FLSReportType.Customer;
if (qro.Rows[0].Field2 != null && Int64.TryParse(qro.Rows[0].Field2.ToString(), out var catOid))
{
if (catOid > 0)
{
config.ServiceDescriptionOids = DAOFactory.SearchDAO.FindServiceDescriptionForCategory(catOid).Select(d => d.Oid.Value).ToList();
}
}
var plugin = PluginLoader.FindClass<StundenuebersichtAuswertung>();
var reportDcList = plugin.GetCustomerFLSAnalysis(config);
var ro = FLSSollIstReportRO.Create(reportDcList, config);
var druck = new FLSSollIstWeeklyReport();
druck.SetReportDataSource(ro);
return druck;
}
return new XtraReport();
}
private XtraReport CreateStundenkontrolleAbw(QueryRO qro)
{
@@ -33,51 +80,40 @@ namespace LebenshilfeBadKreuznachFUD.Reporting
{
DateTime start = DateTime.Now;
start = new DateTime(start.Year, start.Month, 1);
DateTime ende = start.AddMonths(1).AddDays(-1);
DateTime dt = DateTime.Now;
if (DateTime.TryParse(qro.Rows[0].Field1.ToString(), out dt))
{
start = dt;
}
if (DateTime.TryParse(qro.Rows[0].Field2.ToString(), out dt))
{
ende = dt;
}
}
DateTime ende = start.AddMonths(1).AddDays(-1);
if (qro.Rows[0].Field3 != null && qro.Rows[0].Field3.ToString() != "0")
var config = new FLSAnalysisConfigDC();
config.StartDate = start;
config.EndDate = ende;
config.FetchApprovedFLS = true;
config.ReportType = FLSReportType.Customer;
if (qro.Rows[0].Field2 != null && Int64.TryParse(qro.Rows[0].Field2.ToString(), out var catOid))
{
long c2sOid = Int64.Parse(qro.Rows[0].Field3.ToString());
//var customer = DAOFactory.GenericDAO.LoadByID<Customer>(customerOid.Value);
long? scapOid = null;
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(c2sOid);
if (c2s.ApprovalPeriodList.Count > 0)
if (catOid > 0)
{
scapOid = c2s.ApprovalPeriodList[0].Oid;
config.ServiceDescriptionOids = DAOFactory.SearchDAO.FindServiceDescriptionForCategory(catOid).Select(d => d.Oid.Value).ToList();
}
var ro = MonatlicherSollIstVergleichRO.Create(c2sOid, dt, scapOid, null, 1);
var druck = new StundenkontrolleAbw();
druck.SetReportDataSource(ro);
return druck;
}
//if (customerOid == null)
//{
// XtraReport masterReport = new XtraReport();
// masterReport.CreateDocument();
// var customerList = DAOFactory.GenericDAO.GetAllActive<Customer>();
// foreach (var c in customerList)
// {
// var cRo = ServicesOverviewRO.Create(c.Oid.Value, dt.Month, dt.Year, false, 0, 0, 1, dt.Day, null);
// var seite1 = new Akgg.Kilometerbeleg();
// seite1.SetReportDataSource(cRo);
// seite1.CreateDocument();
// masterReport.Pages.AddRange(seite1.Pages);
// }
// return masterReport;
//}
var plugin = PluginLoader.FindClass<StundenuebersichtAuswertung>();
var reportDcList = plugin.GetCustomerFLSAnalysis(config);
var ro = FLSSollIstReportRO.Create(reportDcList, config);
var druck = new FLSSollIstReport();
druck.SetReportDataSource(ro);
return druck;
}
return new XtraReport();
}

View File

@@ -100,6 +100,7 @@ namespace LebenshilfeFrankfurtOder
this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField();
this.GroupHeader3 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.lblLeistungskategorie = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
@@ -108,7 +109,8 @@ namespace LebenshilfeFrankfurtOder
//
// Detail
//
this.Detail.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Detail.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
@@ -120,7 +122,8 @@ namespace LebenshilfeFrankfurtOder
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableServiceRecords1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableServiceRecords1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
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);
@@ -375,7 +378,7 @@ namespace LebenshilfeFrankfurtOder
// lblUnterschriftKlient
//
this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 8F);
this.lblUnterschriftKlient.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(52.49777F, 97.01385F);
this.lblUnterschriftKlient.Multiline = true;
this.lblUnterschriftKlient.Name = "lblUnterschriftKlient";
@@ -392,7 +395,7 @@ namespace LebenshilfeFrankfurtOder
// lblUnterschriftMitarbeiter
//
this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.lblUnterschriftMitarbeiter.Font = new System.Drawing.Font("Arial", 8F);
this.lblUnterschriftMitarbeiter.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(355.8077F, 97.01385F);
this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 2, 0, 100F);
@@ -619,7 +622,8 @@ namespace LebenshilfeFrankfurtOder
this.lblZiele.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblZiele.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblZiele.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.lblZiele.LocationFloat = new DevExpress.Utils.PointFloat(323.3333F, 20F);
this.lblZiele.Multiline = true;
this.lblZiele.Name = "lblZiele";
@@ -734,6 +738,7 @@ namespace LebenshilfeFrankfurtOder
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblLeistungskategorie,
this.xrLabel3,
this.xrPictureBox1,
this.xrLabel1,
@@ -744,20 +749,21 @@ namespace LebenshilfeFrankfurtOder
// xrLabel3
//
this.xrLabel3.CanGrow = false;
this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(899.7567F, 64.51386F);
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(899.7567F, 64.51385F);
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(160.2433F, 42.91666F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(160.2433F, 16.66666F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "ambulant betreutes Wohnen";
this.xrLabel3.Text = "Assistenz beim Wohnen";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 21.59721F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(209.1667F, 59.58332F);
@@ -768,7 +774,8 @@ namespace LebenshilfeFrankfurtOder
//
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel1.CanGrow = false;
this.xrLabel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 81.18053F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
@@ -788,14 +795,14 @@ namespace LebenshilfeFrankfurtOder
//
// xrPageInfo2
//
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
this.xrPageInfo2.Format = "Seite {0} von {1}";
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(820.0001F, 10.00002F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.RunningBand = this.DetailReport;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(219.9999F, 23F);
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
//
// fieldArtDerLeistung
//
@@ -836,6 +843,19 @@ namespace LebenshilfeFrankfurtOder
this.xrLabel4.Text = "Leistungszeitraum: [Month] [Year]";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// lblLeistungskategorie
//
this.lblLeistungskategorie.CanGrow = false;
this.lblLeistungskategorie.LocationFloat = new DevExpress.Utils.PointFloat(899.7567F, 81.18052F);
this.lblLeistungskategorie.Multiline = true;
this.lblLeistungskategorie.Name = "lblLeistungskategorie";
this.lblLeistungskategorie.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblLeistungskategorie.SizeF = new System.Drawing.SizeF(160.2433F, 16.66666F);
this.lblLeistungskategorie.StylePriority.UseFont = false;
this.lblLeistungskategorie.StylePriority.UseTextAlignment = false;
this.lblLeistungskategorie.Text = "[Leistungskategorie]";
this.lblLeistungskategorie.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// LeistungsnachweisAbw
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -849,18 +869,19 @@ namespace LebenshilfeFrankfurtOder
this.fieldArtDerLeistung,
this.fieldStunden});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.formattingRuleStartDate,
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(50, 49, 107, 50);
this.Margins = new DevExpress.Drawing.DXMargins(50F, 49F, 107.4305F, 50F);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
this.Version = "23.2";
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
@@ -940,5 +961,6 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
private DevExpress.XtraReports.UI.XRLabel lblLeistungskategorie;
}
}

View File

@@ -32,6 +32,8 @@ namespace LebenshilfeFrankfurtOder
var dict = ErstelleZieleDict(pRO);
double minutes = 0;
lblLeistungskategorie.Text = "";
foreach (var sd in pRO.Services)
{
minutes += sd.Minutes;

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@ namespace LebenshilfeFrankfurtOder
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RechnungAbw));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.lblLeistungskategorie = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel();
@@ -76,6 +76,8 @@ namespace LebenshilfeFrankfurtOder
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.rtFooterAlt = new DevExpress.XtraReports.UI.XRRichText();
this.rtFooterNeu = new DevExpress.XtraReports.UI.XRRichText();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
@@ -108,14 +110,12 @@ namespace LebenshilfeFrankfurtOder
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.lblBezahlungText = new DevExpress.XtraReports.UI.XRLabel();
this.rtFooterAlt = new DevExpress.XtraReports.UI.XRRichText();
this.rtFooterNeu = new DevExpress.XtraReports.UI.XRRichText();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterAlt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterNeu)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterAlt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterNeu)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -128,7 +128,7 @@ namespace LebenshilfeFrankfurtOder
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.lblLeistungskategorie,
this.xrLabel38,
this.xrLabel30,
this.xrLabel32,
@@ -168,17 +168,17 @@ namespace LebenshilfeFrankfurtOder
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel2
// lblLeistungskategorie
//
this.xrLabel2.CanGrow = false;
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
this.lblLeistungskategorie.CanGrow = false;
this.lblLeistungskategorie.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(41.52778F, 485.6945F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(670.4724F, 19.99994F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Erbringung von Leistungen der Eingliederungshilfe ambulant betreutes Wohnen für";
this.lblLeistungskategorie.LocationFloat = new DevExpress.Utils.PointFloat(41.52778F, 485.6945F);
this.lblLeistungskategorie.Name = "lblLeistungskategorie";
this.lblLeistungskategorie.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblLeistungskategorie.SizeF = new System.Drawing.SizeF(670.4724F, 19.99994F);
this.lblLeistungskategorie.StylePriority.UseFont = false;
this.lblLeistungskategorie.Text = "Assistenz beim Wohnen für [Leistungskategorie]";
//
// xrLabel38
//
@@ -656,7 +656,7 @@ namespace LebenshilfeFrankfurtOder
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(297.21F, 20F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "ambulant betreutes Wohnen";
this.xrLabel3.Text = "Assistenz beim Wohnen";
//
// xrLabel1
//
@@ -710,6 +710,24 @@ namespace LebenshilfeFrankfurtOder
this.bottomMarginBand1.HeightF = 201.2083F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// rtFooterAlt
//
this.rtFooterAlt.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.rtFooterAlt.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10F);
this.rtFooterAlt.Name = "rtFooterAlt";
this.rtFooterAlt.SerializableRtfString = resources.GetString("rtFooterAlt.SerializableRtfString");
this.rtFooterAlt.SizeF = new System.Drawing.SizeF(712.0003F, 90F);
this.rtFooterAlt.StylePriority.UseFont = false;
//
// rtFooterNeu
//
this.rtFooterNeu.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.rtFooterNeu.LocationFloat = new DevExpress.Utils.PointFloat(0F, 100F);
this.rtFooterNeu.Name = "rtFooterNeu";
this.rtFooterNeu.SerializableRtfString = resources.GetString("rtFooterNeu.SerializableRtfString");
this.rtFooterNeu.SizeF = new System.Drawing.SizeF(712.0003F, 90F);
this.rtFooterNeu.StylePriority.UseFont = false;
//
// xrLine1
//
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(197)))));
@@ -1058,24 +1076,6 @@ namespace LebenshilfeFrankfurtOder
this.lblBezahlungText.StylePriority.UseFont = false;
this.lblBezahlungText.Text = "Bitte überweisen Sie den Rechnungsbetrag unter Angabe der Kunden-Nr. und der Rech" +
"nungs-Nr. auf das unten angegebene Konto.";
//
// rtFooterAlt
//
this.rtFooterAlt.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.rtFooterAlt.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10F);
this.rtFooterAlt.Name = "rtFooterAlt";
this.rtFooterAlt.SerializableRtfString = resources.GetString("rtFooterAlt.SerializableRtfString");
this.rtFooterAlt.SizeF = new System.Drawing.SizeF(712.0003F, 90F);
this.rtFooterAlt.StylePriority.UseFont = false;
//
// rtFooterNeu
//
this.rtFooterNeu.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
this.rtFooterNeu.LocationFloat = new DevExpress.Utils.PointFloat(0F, 100F);
this.rtFooterNeu.Name = "rtFooterNeu";
this.rtFooterNeu.SerializableRtfString = resources.GetString("rtFooterNeu.SerializableRtfString");
this.rtFooterNeu.SizeF = new System.Drawing.SizeF(712.0003F, 90F);
this.rtFooterNeu.StylePriority.UseFont = false;
//
// RechnungAbw
//
@@ -1099,11 +1099,11 @@ namespace LebenshilfeFrankfurtOder
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "23.2";
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterAlt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterNeu)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterAlt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtFooterNeu)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -1183,7 +1183,7 @@ namespace LebenshilfeFrankfurtOder
private DevExpress.XtraReports.UI.XRLabel lblBezahlungText;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.XRLabel xrLabel38;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel lblLeistungskategorie;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
private DevExpress.XtraReports.UI.DetailBand Detail2;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;

View File

@@ -20,7 +20,9 @@ namespace LebenshilfeFrankfurtOder
public void SetReportDataSource(ServiceInvoiceRO pRO)
{
lblLeistungskategorie.Text = "Assistenz beim Wohnen für "; //Assistenz beim Wohnen für [Leistungskategorie]
CheckLastschriftAndAnschrift(pRO);
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))

View File

@@ -54,10 +54,10 @@ namespace Mittelpunkt.Service
decimal dec = 0;
if (varFieldValue != null && Decimal.TryParse(varFieldValue.ToString(), out dec))
{
if (dec > 0)
{
//if (dec > 0) //CB: Wenn die dort eine 0 eintragen, wird unten ein doppeltes Varfieldvalue angelegt und dann kommt ein Fehler später beim Laden des Employees
//{
stundensatzFuerArbeitszuschlaege = dec;
}
//}
}
}
}

View File

@@ -8,6 +8,7 @@ using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
using BeWo.Report;
using BeWo.Service.ServiceImplementations;
using BS.Shared.Core;
namespace SHKServiceSBD
{
@@ -282,6 +283,7 @@ namespace SHKServiceSBD
if ((!az.GueltigVon.HasValue || az.GueltigVon <= DateTime.Now) &&
(!az.GueltigBis.HasValue || az.GueltigBis >= DateTime.Now) && az.Eintraege != null)
{
SortiereArbeitszeiten(az.Eintraege);
foreach (var e in az.Eintraege)
{
AddArbeitszeit(e, index++);
@@ -293,6 +295,18 @@ namespace SHKServiceSBD
}
}
private void SortiereArbeitszeiten(List<ArbeitszeitEintragDC> zeiten)
{
zeiten.Sort(
(a, b) =>
{
var at1 = DateTimeUtils.GetAssistanceTimeComparisonDateTime(a.UhrzeitVon, a.UhrzeitBis, DateTime.Now.Date.AddDays((int)a.DayOfWeek));
var at2 = DateTimeUtils.GetAssistanceTimeComparisonDateTime(b.UhrzeitVon, b.UhrzeitBis, DateTime.Now.Date.AddDays((int)b.DayOfWeek));
return at1.Start.CompareTo(at2.Start);
});
}
private void AddArbeitszeit(ArbeitszeitEintragDC ae, int index)
{
XRTableRow newRow = null;

View File

@@ -423,7 +423,7 @@ namespace BeWo.Service.Plugins
//t = "6653973776"; // Stefan Knauer (BeWo Heinsberg Soziotherapie)
//t = "8743996874"; // Pflegedienst Rahn und Freitag GmbH
t = "6666827209"; //Ruhrstern GmbH
//t = "6652760522"; // BBI Rhein-Sieg gGmbH
return t;
#else

View File

@@ -172,6 +172,8 @@ namespace BeWo.Service.Plugins
groupDC.Employee = this.CreateCompactEmployeeDC(e);
}
rootDC.Groups.Add(groupDC);
}
@@ -190,6 +192,12 @@ namespace BeWo.Service.Plugins
if (c2s != null)
{
scDC.SupportConcept2CostBearer = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(c2s);
scDC.CostbearerID = c2s.CostBearer.ID;
}
if (config.FetchApprovedFLS)
{
CalculateApprovedFLSForCustomer(rootDC, groupDC, scDC, config.StartDate ?? DateTime.MinValue, config.EndDate ?? DateTime.MaxValue);
}
groupDC.SupportConcepts.Add(scDC);
@@ -200,10 +208,16 @@ namespace BeWo.Service.Plugins
}
}
}
return rootDC;
}
private void CalculateApprovedFLSForCustomer(FLSAnalysisRootDC rootDC, FLSAnalysisGroupDC groupDC, SupportConceptFLSOverviewDC scDC, DateTime startdate, DateTime enddate)
{
var calc = PluginLoader.FindClass<Calculations>(scDC.CostbearerID) ?? Calculations.GetInstance(scDC.CostbearerID);
rootDC.SollFLSPerWeek = calc.GetApprovedHoursPerWeek(scDC.SupportConcept2CostBearer, startdate) ?? 0m;
rootDC.SollFLSTotal = calc.GetApprovedHoursForPeriod(scDC.SupportConcept2CostBearer, startdate, enddate);
}
public virtual bool AllowCustomerAnalysis(Customer customer, FLSAnalysisConfigDC config, IList<IServiceRecord> serviceRecords)
{
bool allow = true;

View File

@@ -56,6 +56,10 @@ namespace BeWo.Service.Plugins
var str = //ServiceConfigReader.GetInvoiceTestJsonString();
calculate(invoice_base);
str = str.Replace("19.0", "19");
str = str.Replace("76.0", "76");
// Erstelle Url ohne weitere Authentifizierung
var token_url = GetTokenUrl(report_url);
@@ -152,59 +156,77 @@ namespace BeWo.Service.Plugins
xRechnung.Invoice.Number = invoice.InvoiceNumber;
xRechnung.Invoice.Date = invoice.InvoiceDate?.ToString("yyyyMMdd") ?? undefinded;
xRechnung.Invoice.Currency = "EUR";
xRechnung.Invoice.Notice = undefinded;
xRechnung.Invoice.Notice = invoice.Notice;
xRechnung.Invoice.CancellationNumber = "";
xRechnung.Invoice.Period.Start = invoice.AccountingPeriodStart?.ToString("yyyyMMdd") ?? undefinded;
xRechnung.Invoice.Period.End = invoice.AccountingPeriodEnd?.ToString("yyyyMMdd") ?? undefinded;
xRechnung.Invoice.Period.Description = undefinded;
xRechnung.Invoice.Payment.Type = undefinded_num;
xRechnung.Invoice.Period.Description = String.Format("Leistungszeitraum {0:dd.MM.yyyy} bis {1:dd.MM.yyyy}", invoice.AccountingPeriodStart, invoice.AccountingPeriodEnd);
xRechnung.Invoice.Payment.Type = undefinded_num3;
xRechnung.Invoice.Payment.Term = undefinded;
xRechnung.Invoice.Payment.DueDate = undefinded;
xRechnung.Invoice.Payment.Term = "Zahlbar innerhalb 14 Tagen netto";
xRechnung.Invoice.Payment.DueDate = invoice.InvoiceDate?.AddDays(14).ToString("yyyyMMdd") ?? undefinded;
xRechnung.Seller.Name = undefinded;
xRechnung.Seller.ID = undefinded;
xRechnung.Seller.TaxID = undefinded;
xRechnung.Seller.VatID = undefinded;
xRechnung.Seller.Street = undefinded;
xRechnung.Seller.ZipCode = undefinded;
xRechnung.Seller.City = undefinded;
xRechnung.Seller.EMail = undefinded;
xRechnung.Seller.Name = "Muster GmbH";
xRechnung.Seller.ID = null;
xRechnung.Seller.TaxID = null;
xRechnung.Seller.VatID = "DE123456789";
xRechnung.Seller.Street = "Musterstr. 1-3";
xRechnung.Seller.ZipCode = "30674";
xRechnung.Seller.City = "Frankfurt";
xRechnung.Seller.EMail = "rechnungen@musterfirma.de";
xRechnung.Seller.CountryCode = "DE";
xRechnung.Seller.Contact.Name = undefinded;
xRechnung.Seller.Contact.Department = undefinded;
xRechnung.Seller.Contact.Phone = undefinded;
xRechnung.Seller.Contact.EMail = undefinded;
xRechnung.Seller.BankAccount.IBAN = undefinded;
xRechnung.Seller.BankAccount.BIC = undefinded;
xRechnung.Seller.BankAccount.Owner = undefinded;
xRechnung.Seller.BankAccount.Reference = undefinded;
xRechnung.Seller.BankAccount.ReferenceID = undefinded;
xRechnung.Seller.Contact.Name = "Peter Musterfrau";
xRechnung.Seller.Contact.Department = "Buchhaltung";
xRechnung.Seller.Contact.Phone = "+49211171717";
xRechnung.Seller.Contact.EMail = "pm@muster.de";
xRechnung.Seller.BankAccount.IBAN = "DE38370501980147522957";
xRechnung.Seller.BankAccount.BIC = "SSKMDEMMXXX";
xRechnung.Seller.BankAccount.Owner = "Muster GmbH";
xRechnung.Seller.BankAccount.Reference = "z.B. Rechnungnummer";
xRechnung.Seller.BankAccount.ReferenceID = "GläubigerID";
xRechnung.Buyer.Name = undefinded;
xRechnung.Buyer.ID = undefinded;
xRechnung.Buyer.Street = undefinded;
xRechnung.Buyer.ZipCode = undefinded;
xRechnung.Buyer.City = undefinded;
xRechnung.Buyer.EMail = undefinded;
xRechnung.Buyer.CountryCode = undefinded;
xRechnung.Buyer.Reference = undefinded;
xRechnung.Buyer.BankAccount.IBAN = undefinded;
xRechnung.Buyer.BankAccount.BIC = undefinded;
xRechnung.Buyer.BankAccount.Owner = undefinded;
xRechnung.Buyer.BankAccount.MandateID = undefinded;
Address rechnungsAdresse = null;
if (invoice.RecipientOrganisationOid.HasValue)
{
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(invoice.RecipientOrganisationOid.Value);
rechnungsAdresse = org.InvoiceAddress ?? org.Address;
}
else if (invoice.RecipientCustomerOid.HasValue)
{
var customer = DAOFactory.GenericDAO.LoadByID<Customer>(invoice.RecipientCustomerOid.Value);
rechnungsAdresse = customer.Person.InvoiceAddress ?? customer.Person.Address;
}
xRechnung.Buyer.ID = null;
if (rechnungsAdresse != null)
{
xRechnung.Buyer.Street = rechnungsAdresse.Street;
xRechnung.Buyer.ZipCode = rechnungsAdresse.PostalCode;
xRechnung.Buyer.City = rechnungsAdresse.Town;
xRechnung.Buyer.CountryCode = "DE";
}
xRechnung.Buyer.EMail = "rechnungen@kunde.de";
xRechnung.Buyer.Reference = "PO-Nummer oder andere Referenz, die Kunde haben will";
xRechnung.Buyer.BankAccount.IBAN = "DE38370501980147522957";
xRechnung.Buyer.BankAccount.BIC = "SSKMDEMMXXX";
xRechnung.Buyer.BankAccount.Owner = "Muster GmbH";
xRechnung.Buyer.BankAccount.MandateID = "Mandatsreferenznummer";
foreach (var item in invoice.GetInvoiceItems())
{
var position = new XRPosition();
position.Quantity = undefinded_num;
position.QuantityType = undefinded;
position.Text = undefinded;
position.Net = undefinded_num;
position.NetTotal = undefinded_num;
position.Tax = undefinded_num2;
position.TaxSum = undefinded_num2;
position.TaxType = undefinded;
position.Quantity = item.UnitCount ?? 0;
position.QuantityType = "H87";
position.Text = item.ItemDescription;
position.Net = item.AmountPerUnit ?? 0;
position.NetTotal = item.AmountTotal ?? 0;
position.Tax = 0;
position.TaxSum = 0;
position.TaxType = "S";
xRechnung.Position.Add(position);
}

View File

@@ -36,6 +36,9 @@ namespace BS.Shared.DataContracts
[DataMember]
public decimal SollFLSPerWeek { get; set; }
[DataMember]
public decimal SollFLSTotal { get; set; }
[DataMember]
public decimal TotalFLM { get; set; }
}

View File

@@ -24,5 +24,7 @@ namespace BS.Shared.DataContracts
[DataMember]
public SupportConceptCostBearerRelDC SupportConcept2CostBearer { get; set; }
public string CostbearerID { get; set; }
}
}