diff --git a/ReportImp/ABWElsebrock/ServicesOverviewReport.Designer.cs b/ReportImp/ABWElsebrock/ServicesOverviewReport.Designer.cs
index 590fb4184..20e6a4951 100644
--- a/ReportImp/ABWElsebrock/ServicesOverviewReport.Designer.cs
+++ b/ReportImp/ABWElsebrock/ServicesOverviewReport.Designer.cs
@@ -90,9 +90,9 @@ namespace ABWElsebrock
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
- this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
- this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldGroup = new DevExpress.XtraReports.UI.CalculatedField();
+ this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -432,11 +432,11 @@ namespace ABWElsebrock
// xrLabel12
//
this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None;
- this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(400.4167F, 25F);
+ this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(431.42F, 25F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
- this.xrLabel12.SizeF = new System.Drawing.SizeF(281.5833F, 24F);
+ this.xrLabel12.SizeF = new System.Drawing.SizeF(250.58F, 24F);
this.xrLabel12.StylePriority.UseBorders = false;
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.StylePriority.UseTextAlignment = false;
@@ -446,10 +446,10 @@ namespace ABWElsebrock
// xrLabel2
//
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
- this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(400.4167F, 0F);
+ this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(431.42F, 0F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
- this.xrLabel2.SizeF = new System.Drawing.SizeF(281.5833F, 25F);
+ this.xrLabel2.SizeF = new System.Drawing.SizeF(250.58F, 25F);
this.xrLabel2.StylePriority.UseBorderDashStyle = false;
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
@@ -588,6 +588,8 @@ namespace ABWElsebrock
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel23,
+ this.xrLabel22,
this.xrLabel5,
this.xrLabel2,
this.xrLabel12,
@@ -620,9 +622,7 @@ namespace ABWElsebrock
this.mitarbeiterName,
this.xrLabel9,
this.xrLabel13,
- this.xrLabel8,
- this.xrPageInfo1,
- this.xrLabel21});
+ this.xrLabel8});
this.GroupHeader2.Font = new System.Drawing.Font("Calibri", 11F);
this.GroupHeader2.HeightF = 296.0417F;
this.GroupHeader2.Name = "GroupHeader2";
@@ -792,32 +792,6 @@ namespace ABWElsebrock
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
- // xrPageInfo1
- //
- this.xrPageInfo1.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
- this.xrPageInfo1.Format = "{0:dd.MM.yyyy}";
- this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(603.875F, 252.9585F);
- this.xrPageInfo1.Name = "xrPageInfo1";
- this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
- this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
- this.xrPageInfo1.SizeF = new System.Drawing.SizeF(73.95844F, 23F);
- this.xrPageInfo1.StylePriority.UseFont = false;
- this.xrPageInfo1.StylePriority.UsePadding = false;
- //
- // xrLabel21
- //
- this.xrLabel21.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
- this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(501.8749F, 252.9585F);
- this.xrLabel21.Name = "xrLabel21";
- this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
- this.xrLabel21.SizeF = new System.Drawing.SizeF(100F, 23F);
- this.xrLabel21.StylePriority.UseFont = false;
- this.xrLabel21.StylePriority.UsePadding = false;
- this.xrLabel21.StylePriority.UseTextAlignment = false;
- this.xrLabel21.Text = "Wesel, ";
- this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
- this.xrLabel21.TextTrimming = System.Drawing.StringTrimming.None;
- //
// fieldGroup
//
this.fieldGroup.DataMember = "Services";
@@ -825,6 +799,30 @@ namespace ABWElsebrock
this.fieldGroup.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldGroup.Name = "fieldGroup";
//
+ // xrLabel22
+ //
+ this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(274.094F, 25F);
+ this.xrLabel22.Multiline = true;
+ this.xrLabel22.Name = "xrLabel22";
+ this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel22.SizeF = new System.Drawing.SizeF(138.4001F, 24F);
+ this.xrLabel22.StylePriority.UseBorders = false;
+ this.xrLabel22.StylePriority.UseFont = false;
+ this.xrLabel22.StylePriority.UseTextAlignment = false;
+ this.xrLabel22.Text = "Datum";
+ this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ //
+ // xrLabel23
+ //
+ this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
+ this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(274.094F, 0F);
+ this.xrLabel23.Name = "xrLabel23";
+ this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel23.SizeF = new System.Drawing.SizeF(138.4001F, 25F);
+ this.xrLabel23.StylePriority.UseBorderDashStyle = false;
+ this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
// Stundenzettel
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -922,7 +920,7 @@ namespace ABWElsebrock
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
- private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
- private DevExpress.XtraReports.UI.XRLabel xrLabel21;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel23;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel22;
}
}
diff --git a/ReportImp/AKGG/Akgg.csproj b/ReportImp/AKGG/Akgg.csproj
index 2e4ac87e7..2d8b4f247 100644
--- a/ReportImp/AKGG/Akgg.csproj
+++ b/ReportImp/AKGG/Akgg.csproj
@@ -87,6 +87,12 @@
MitarbeiterstundenkontoJahr.cs
+
+ Component
+
+
+ KilometerAuswertung.cs
+
Component
@@ -158,6 +164,9 @@
Designer
+
+ KilometerAuswertung.cs
+
QuittierungsbelegPK.cs
diff --git a/ReportImp/AKGG/CustomReportCreator.cs b/ReportImp/AKGG/CustomReportCreator.cs
index d9f6a3d45..71b2ac33e 100644
--- a/ReportImp/AKGG/CustomReportCreator.cs
+++ b/ReportImp/AKGG/CustomReportCreator.cs
@@ -1,13 +1,76 @@
using System;
using System.Collections.Generic;
+using System.Data;
+using System.IO;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
+using BeWo.Service.DCEntityMapper;
+using BS.Shared.Core;
using DevExpress.XtraReports.UI;
namespace Akgg
{
public class CustomReportCreator : DefaultReportCreator
{
+ public override XtraReport CreateQueryReport(long queryOid, string queryReportId)
+ {
+ if (queryOid == 200)
+ return CreateKilometerbeleg(queryOid, queryReportId);
+
+ return base.CreateQueryReport(queryOid, queryReportId);
+ }
+
+ private XtraReport CreateKilometerbeleg(long queryOid, string queryReportId)
+ {
+ var query = DAOFactory.GenericDAO.LoadByID(queryOid);
+
+ if (query == null)
+ return new XtraReport();
+
+ var path = Path.Combine(TempPath, queryReportId + ".xml");
+ var table = Utils.XMLDeserialize(path);
+ var qro = QueryRO.Create(query, table);
+
+
+ if (qro.Rows.Count > 0)
+ {
+ DateTime dt = DateTime.Now;
+ DateTime.TryParse(qro.Rows[0].Field1.ToString(), out dt);
+ dt = dt.AddMonths(1).AddDays(-1);
+ DateTime dtStart = new DateTime(dt.Year, dt.Month, 1);
+
+ long? customerOid = null;
+ if (qro.Rows[0].Field2 != null && qro.Rows[0].Field2.ToString() != "0")
+ {
+ customerOid = Int64.Parse(qro.Rows[0].Field2.ToString());
+ //var customer = DAOFactory.GenericDAO.LoadByID(customerOid.Value);
+ var ro = ServicesOverviewRO.Create(customerOid.Value, dt.Month, dt.Year, false, 0, 0, 1, dt.Day, null);
+ var druck = new Akgg.Kilometerbeleg();
+ druck.SetReportDataSource(ro);
+ return druck;
+ }
+ if (customerOid == null)
+ {
+ XtraReport masterReport = new XtraReport();
+ masterReport.CreateDocument();
+
+ var customerList = DAOFactory.GenericDAO.GetAllActive();
+ 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;
+ }
+ }
+ return new XtraReport();
+ }
+
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
List lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
diff --git a/ReportImp/AKGG/KilometerAuswertung.Designer.cs b/ReportImp/AKGG/KilometerAuswertung.Designer.cs
new file mode 100644
index 000000000..abe6f1e1e
--- /dev/null
+++ b/ReportImp/AKGG/KilometerAuswertung.Designer.cs
@@ -0,0 +1,608 @@
+using BeWo.Report.ReportObjects;
+namespace Akgg
+{
+ partial class Kilometerbeleg
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Kilometerbeleg));
+ this.Detail = new DevExpress.XtraReports.UI.DetailBand();
+ this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
+ this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
+ this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
+ this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.lblKategorie = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.lblBewilligteStunden = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+ this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
+ this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
+ this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
+ this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule();
+ this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule();
+ this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule();
+ this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
+ this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
+ this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
+ this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
+ this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand();
+ this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
+ this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
+ //
+ // Detail
+ //
+ this.Detail.Expanded = false;
+ this.Detail.HeightF = 0F;
+ this.Detail.Name = "Detail";
+ this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // DetailReport
+ //
+ this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail1,
+ this.GroupHeader1});
+ this.DetailReport.DataMember = "Services";
+ this.DetailReport.DataSource = this.bindingSource1;
+ this.DetailReport.Level = 0;
+ this.DetailReport.Name = "DetailReport";
+ this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // Detail1
+ //
+ this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTable3});
+ this.Detail1.HeightF = 20F;
+ this.Detail1.Name = "Detail1";
+ this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTable3
+ //
+ this.xrTable3.BorderColor = System.Drawing.Color.Black;
+ this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTable3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(23.31975F, 0F);
+ this.xrTable3.Name = "xrTable3";
+ this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow6});
+ this.xrTable3.SizeF = new System.Drawing.SizeF(697.6389F, 20F);
+ this.xrTable3.StylePriority.UseFont = false;
+ this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTableRow6
+ //
+ this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell13,
+ this.xrTableCell8,
+ this.xrTableCell7,
+ this.xrTableCell12,
+ this.xrTableCell50});
+ this.xrTableRow6.Name = "xrTableRow6";
+ this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableRow6.Weight = 1D;
+ //
+ // xrTableCell13
+ //
+ this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd/MM/yyyy}")});
+ this.xrTableCell13.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell13.Name = "xrTableCell13";
+ this.xrTableCell13.StylePriority.UseBorders = false;
+ this.xrTableCell13.StylePriority.UseFont = false;
+ this.xrTableCell13.StylePriority.UsePadding = false;
+ this.xrTableCell13.StylePriority.UseTextAlignment = false;
+ this.xrTableCell13.Text = "xrTableCell13";
+ this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell13.Weight = 0.1151080713251782D;
+ //
+ // xrTableCell8
+ //
+ this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")});
+ this.xrTableCell8.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell8.Name = "xrTableCell8";
+ this.xrTableCell8.StylePriority.UseFont = false;
+ this.xrTableCell8.StylePriority.UseTextAlignment = false;
+ this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell8.Weight = 0.1151080713251782D;
+ //
+ // xrTableCell7
+ //
+ this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.GefahreneKilometer")});
+ this.xrTableCell7.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell7.Name = "xrTableCell7";
+ this.xrTableCell7.StylePriority.UseFont = false;
+ this.xrTableCell7.StylePriority.UseTextAlignment = false;
+ this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell7.Weight = 0.1151080713251782D;
+ //
+ // xrTableCell12
+ //
+ this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategory", "{0:0.00}")});
+ this.xrTableCell12.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell12.Name = "xrTableCell12";
+ this.xrTableCell12.StylePriority.UseBorders = false;
+ this.xrTableCell12.StylePriority.UseFont = false;
+ this.xrTableCell12.StylePriority.UsePadding = false;
+ this.xrTableCell12.StylePriority.UseTextAlignment = false;
+ this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell12.Weight = 0.24839044938524055D;
+ //
+ // xrTableCell50
+ //
+ this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeFullname")});
+ this.xrTableCell50.Font = new System.Drawing.Font("Calibri", 11.25F);
+ this.xrTableCell50.Name = "xrTableCell50";
+ this.xrTableCell50.StylePriority.UseBorders = false;
+ this.xrTableCell50.StylePriority.UseFont = false;
+ this.xrTableCell50.StylePriority.UsePadding = false;
+ this.xrTableCell50.StylePriority.UseTextAlignment = false;
+ this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell50.Weight = 0.25158803505397809D;
+ //
+ // GroupHeader1
+ //
+ this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTableServiceRecords1});
+ this.GroupHeader1.HeightF = 45F;
+ this.GroupHeader1.Name = "GroupHeader1";
+ this.GroupHeader1.RepeatEveryPage = true;
+ //
+ // xrTableServiceRecords1
+ //
+ this.xrTableServiceRecords1.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrTableServiceRecords1.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrTableServiceRecords1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(23.31975F, 0F);
+ this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
+ this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow2,
+ this.xrTableRow1});
+ this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(697.6388F, 45F);
+ this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
+ this.xrTableServiceRecords1.StylePriority.UseBorders = false;
+ this.xrTableServiceRecords1.StylePriority.UseFont = false;
+ this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTableRow2
+ //
+ this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell3,
+ this.xrTableCell2,
+ this.xrTableCell5,
+ this.lblKategorie,
+ this.xrTableCell48});
+ this.xrTableRow2.Name = "xrTableRow2";
+ this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableRow2.Weight = 0.48945783132530124D;
+ //
+ // xrTableCell3
+ //
+ this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell3.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell3.Name = "xrTableCell3";
+ this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrTableCell3.StylePriority.UseBorders = false;
+ this.xrTableCell3.StylePriority.UseFont = false;
+ this.xrTableCell3.StylePriority.UsePadding = false;
+ this.xrTableCell3.StylePriority.UseTextAlignment = false;
+ this.xrTableCell3.Text = "Datum";
+ this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell3.Weight = 0.26536310905417793D;
+ //
+ // xrTableCell2
+ //
+ this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell2.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell2.Name = "xrTableCell2";
+ this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrTableCell2.StylePriority.UseBorders = false;
+ this.xrTableCell2.StylePriority.UseFont = false;
+ this.xrTableCell2.StylePriority.UsePadding = false;
+ this.xrTableCell2.StylePriority.UseTextAlignment = false;
+ this.xrTableCell2.Text = "Uhrzeit";
+ this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell2.Weight = 0.26536310905417793D;
+ //
+ // xrTableCell5
+ //
+ this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell5.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell5.Name = "xrTableCell5";
+ this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrTableCell5.StylePriority.UseBorders = false;
+ this.xrTableCell5.StylePriority.UseFont = false;
+ this.xrTableCell5.StylePriority.UsePadding = false;
+ this.xrTableCell5.StylePriority.UseTextAlignment = false;
+ this.xrTableCell5.Text = "gefahrene";
+ this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell5.Weight = 0.26536310905417793D;
+ //
+ // lblKategorie
+ //
+ this.lblKategorie.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.lblKategorie.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblKategorie.Multiline = true;
+ this.lblKategorie.Name = "lblKategorie";
+ this.lblKategorie.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblKategorie.StylePriority.UseBorders = false;
+ this.lblKategorie.StylePriority.UseFont = false;
+ this.lblKategorie.StylePriority.UsePadding = false;
+ this.lblKategorie.StylePriority.UseTextAlignment = false;
+ this.lblKategorie.Text = "Leistungskategorie";
+ this.lblKategorie.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.lblKategorie.Weight = 0.57262562345803214D;
+ //
+ // xrTableCell48
+ //
+ this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell48.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell48.Multiline = true;
+ this.xrTableCell48.Name = "xrTableCell48";
+ this.xrTableCell48.StylePriority.UseBorders = false;
+ this.xrTableCell48.StylePriority.UseFont = false;
+ this.xrTableCell48.StylePriority.UseTextAlignment = false;
+ this.xrTableCell48.Text = "Mitarbeiter";
+ this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell48.Weight = 0.57999653282362529D;
+ //
+ // xrTableRow1
+ //
+ this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell1,
+ this.xrTableCell4,
+ this.xrTableCell6,
+ this.lblBewilligteStunden,
+ this.xrTableCell49});
+ this.xrTableRow1.Name = "xrTableRow1";
+ this.xrTableRow1.Weight = 0.6118222424782902D;
+ //
+ // xrTableCell1
+ //
+ this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell1.Name = "xrTableCell1";
+ this.xrTableCell1.StylePriority.UseBorders = false;
+ this.xrTableCell1.Weight = 0.26536308774302592D;
+ //
+ // xrTableCell4
+ //
+ this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell4.Name = "xrTableCell4";
+ this.xrTableCell4.StylePriority.UseBorders = false;
+ this.xrTableCell4.Weight = 0.26536308774302592D;
+ //
+ // xrTableCell6
+ //
+ this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell6.Font = new System.Drawing.Font("Calibri", 11.25F);
+ this.xrTableCell6.Name = "xrTableCell6";
+ this.xrTableCell6.StylePriority.UseBorders = false;
+ this.xrTableCell6.StylePriority.UseFont = false;
+ this.xrTableCell6.StylePriority.UseTextAlignment = false;
+ this.xrTableCell6.Text = "Kilometer";
+ this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ this.xrTableCell6.Weight = 0.26536308774302592D;
+ //
+ // lblBewilligteStunden
+ //
+ this.lblBewilligteStunden.BackColor = System.Drawing.Color.Gainsboro;
+ this.lblBewilligteStunden.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.lblBewilligteStunden.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblBewilligteStunden.Multiline = true;
+ this.lblBewilligteStunden.Name = "lblBewilligteStunden";
+ this.lblBewilligteStunden.StylePriority.UseBackColor = false;
+ this.lblBewilligteStunden.StylePriority.UseBorders = false;
+ this.lblBewilligteStunden.StylePriority.UseFont = false;
+ this.lblBewilligteStunden.StylePriority.UseTextAlignment = false;
+ this.lblBewilligteStunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ this.lblBewilligteStunden.Weight = 0.57262560560464493D;
+ //
+ // xrTableCell49
+ //
+ this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell49.Font = new System.Drawing.Font("Calibri", 8F);
+ this.xrTableCell49.Multiline = true;
+ this.xrTableCell49.Name = "xrTableCell49";
+ this.xrTableCell49.StylePriority.UseBorders = false;
+ this.xrTableCell49.StylePriority.UseFont = false;
+ this.xrTableCell49.StylePriority.UseTextAlignment = false;
+ this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ this.xrTableCell49.Weight = 0.5799965778597268D;
+ //
+ // bindingSource1
+ //
+ this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
+ //
+ // formattingRuleStartDate
+ //
+ this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleStartDate.DataMember = "ServicesDouble";
+ this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleStartDate.Name = "formattingRuleStartDate";
+ //
+ // ReportHeader
+ //
+ this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel7,
+ this.xrLabel6,
+ this.xrLabel5,
+ this.xrLabel2});
+ this.ReportHeader.HeightF = 118.5417F;
+ this.ReportHeader.Name = "ReportHeader";
+ //
+ // xrLabel7
+ //
+ this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalGefahreneKilometerString", "Kilometer gesamt: {0:}")});
+ this.xrLabel7.Font = new System.Drawing.Font("Calibri", 11.25F);
+ this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(23.3194F, 74.77779F);
+ this.xrLabel7.Name = "xrLabel7";
+ this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel7.SizeF = new System.Drawing.SizeF(365.6404F, 25F);
+ this.xrLabel7.StylePriority.UseFont = false;
+ //
+ // xrLabel6
+ //
+ this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrLabel6.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(23.31975F, 50.77779F);
+ this.xrLabel6.Name = "xrLabel6";
+ this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel6.SizeF = new System.Drawing.SizeF(365.64F, 24F);
+ this.xrLabel6.StylePriority.UseBackColor = false;
+ this.xrLabel6.StylePriority.UseBorders = false;
+ this.xrLabel6.StylePriority.UseFont = false;
+ this.xrLabel6.StylePriority.UsePadding = false;
+ this.xrLabel6.StylePriority.UseTextAlignment = false;
+ this.xrLabel6.Text = "[CustomerName]";
+ this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel5
+ //
+ this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrLabel5.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(388.9597F, 0F);
+ this.xrLabel5.Name = "xrLabel5";
+ this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel5.SizeF = new System.Drawing.SizeF(159.9986F, 25F);
+ this.xrLabel5.StylePriority.UseBackColor = false;
+ this.xrLabel5.StylePriority.UseBorders = false;
+ this.xrLabel5.StylePriority.UseFont = false;
+ this.xrLabel5.StylePriority.UsePadding = false;
+ this.xrLabel5.StylePriority.UseTextAlignment = false;
+ this.xrLabel5.Text = "[Month] [Year]";
+ this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel2
+ //
+ this.xrLabel2.Font = new System.Drawing.Font("Calibri", 14F, System.Drawing.FontStyle.Bold);
+ this.xrLabel2.ForeColor = System.Drawing.Color.Black;
+ this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(23.31975F, 0F);
+ this.xrLabel2.Multiline = true;
+ this.xrLabel2.Name = "xrLabel2";
+ this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel2.SizeF = new System.Drawing.SizeF(365.64F, 25F);
+ this.xrLabel2.StylePriority.UseFont = false;
+ this.xrLabel2.StylePriority.UseForeColor = false;
+ this.xrLabel2.StylePriority.UseTextAlignment = false;
+ this.xrLabel2.Text = "Auswertung über gefahrene Kilometer";
+ this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // formattingRuleServiceDesc
+ //
+ this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleServiceDesc.DataMember = "ServicesDouble";
+ this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc";
+ //
+ // formattingRuleCostBearer
+ //
+ this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleCostBearer.DataMember = "ServicesDouble";
+ this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleCostBearer.Name = "formattingRuleCostBearer";
+ //
+ // formattingRuleEmployeeName
+ //
+ this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleEmployeeName.DataMember = "ServicesDouble";
+ this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName";
+ //
+ // topMarginBand1
+ //
+ this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrPictureBox1});
+ this.topMarginBand1.HeightF = 121F;
+ this.topMarginBand1.Name = "topMarginBand1";
+ //
+ // xrPictureBox1
+ //
+ this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
+ this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(548.5628F, 0F);
+ this.xrPictureBox1.Name = "xrPictureBox1";
+ this.xrPictureBox1.SizeF = new System.Drawing.SizeF(198.4372F, 120.625F);
+ this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
+ //
+ // bottomMarginBand1
+ //
+ this.bottomMarginBand1.HeightF = 30F;
+ this.bottomMarginBand1.Name = "bottomMarginBand1";
+ //
+ // fieldKontaktArt
+ //
+ this.fieldKontaktArt.DataMember = "Services";
+ this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')";
+ this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
+ this.fieldKontaktArt.Name = "fieldKontaktArt";
+ //
+ // PageFooter
+ //
+ this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrPageInfo1,
+ this.xrPageInfo2});
+ this.PageFooter.HeightF = 47.95836F;
+ this.PageFooter.Name = "PageFooter";
+ //
+ // xrPageInfo1
+ //
+ this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(23.31975F, 24.95836F);
+ this.xrPageInfo1.Name = "xrPageInfo1";
+ this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
+ this.xrPageInfo1.SizeF = new System.Drawing.SizeF(231.2502F, 23F);
+ this.xrPageInfo1.StylePriority.UseFont = false;
+ //
+ // xrPageInfo2
+ //
+ this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrPageInfo2.Format = "Seite {0} von {1}";
+ this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(477.6284F, 24.95836F);
+ this.xrPageInfo2.Name = "xrPageInfo2";
+ this.xrPageInfo2.SizeF = new System.Drawing.SizeF(243.33F, 23F);
+ this.xrPageInfo2.StylePriority.UseFont = false;
+ this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ //
+ // Kilometerbeleg
+ //
+ this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail,
+ this.DetailReport,
+ this.ReportHeader,
+ this.topMarginBand1,
+ this.bottomMarginBand1,
+ this.PageFooter});
+ this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
+ this.fieldKontaktArt});
+ this.DataSource = this.bindingSource1;
+ this.Font = new System.Drawing.Font("Arial", 10F);
+ this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
+ this.formattingRuleStartDate,
+ this.formattingRuleServiceDesc,
+ this.formattingRuleCostBearer,
+ this.formattingRuleEmployeeName});
+ this.Margins = new System.Drawing.Printing.Margins(50, 30, 121, 30);
+ this.PageHeight = 1169;
+ this.PageWidth = 827;
+ this.PaperKind = System.Drawing.Printing.PaperKind.A4;
+ this.Version = "17.1";
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraReports.UI.DetailBand Detail;
+ private System.Windows.Forms.BindingSource bindingSource1;
+ private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
+ private DevExpress.XtraReports.UI.DetailBand Detail1;
+ private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName;
+ private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
+ private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel2;
+ private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
+ private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
+ private DevExpress.XtraReports.UI.XRTableCell lblKategorie;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
+ private DevExpress.XtraReports.UI.XRTableCell lblBewilligteStunden;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel6;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel5;
+ private DevExpress.XtraReports.UI.XRTable xrTable3;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
+ private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt;
+ private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
+ private DevExpress.XtraReports.UI.PageFooterBand PageFooter;
+ private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
+ private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel7;
+ }
+}
diff --git a/ReportImp/AKGG/KilometerAuswertung.cs b/ReportImp/AKGG/KilometerAuswertung.cs
new file mode 100644
index 000000000..60859de77
--- /dev/null
+++ b/ReportImp/AKGG/KilometerAuswertung.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.IO;
+using System.Text.RegularExpressions;
+using BeWo.Report;
+using BeWo.Report.ReportObjects;
+using BeWo.Service.ServiceImplementations;
+using BS.Shared.Core;
+using BS.Shared.DataContracts;
+using DevExpress.XtraReports.UI;
+
+namespace Akgg
+{
+ public partial class Kilometerbeleg : XtraReport, IBeWoReport
+ {
+ public Kilometerbeleg()
+ {
+ InitializeComponent();
+ }
+
+ public void SetReportDataSource(ServicesOverviewRO pRO)
+ {
+
+ if (pRO.Services != null)
+ {
+ List servicesBillable = new List();
+
+ foreach (var sd in pRO.Services)
+ {
+ if (sd.IsBillable)
+ {
+ sd.Minutes = sd.Minutes / 60;
+ servicesBillable.Add(sd);
+ }
+ }
+
+ pRO.Services = servicesBillable;
+ }
+
+ bindingSource1.DataSource = pRO;
+ }
+ }
+}
diff --git a/ReportImp/AKGG/KilometerAuswertung.resx b/ReportImp/AKGG/KilometerAuswertung.resx
new file mode 100644
index 000000000..ef4d34edb
--- /dev/null
+++ b/ReportImp/AKGG/KilometerAuswertung.resx
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 21, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAfQAAAC6CAYAAABY878iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAu
+ IwAALiMBeKU/dgAAKJZJREFUeF7tnQl8VNW9x4dNFAQMAVy6WZfu2tfW9vW19dW2vq6vr33P9tW+VtkC
+ CAiEHSEhigiudWNTsG6IC1qXuiDiUhdwxbWiQIDMZCaZyZ7JMslk8n///7knGMJl5t7Jne3m9/98vh80
+ yT3n3P8k53eW//kfz5HswKjFJ5bnF0/zjSp+uDy/qJT/bQQAAABAmskv2u8bVfQY//fM8rwln9EyndjI
+ UzKQH7yGxbylfFQxAQAAACBraOdJ9o3+E0uGaNk2N39+yZdYyHebFAAAAACALIEn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AACA78OUXVflHF39f
+ y7e5ydSdf3hdz4cBAAAAkHlYzP/qP7FklJbtxOYbVXS6L794kTqnnl+8lwsI+kYVV8uoAAAAAAApRmlu
+ cag8v6i0fFTRc8ySwMiiL2uZ7mEez/8DtcKrQsxaJFgAAAAASUVORK5CYII=
+
+
+
\ No newline at end of file
diff --git a/ReportImp/ApiBerlin/Validation/ServiceRecordValidator.cs b/ReportImp/ApiBerlin/Validation/ServiceRecordValidator.cs
index 7d2f69bb6..4346178e6 100644
--- a/ReportImp/ApiBerlin/Validation/ServiceRecordValidator.cs
+++ b/ReportImp/ApiBerlin/Validation/ServiceRecordValidator.cs
@@ -39,6 +39,81 @@ namespace ApiBerlin.Validation
}
}
+ bool isGroupRecord = (cb2scOids != null && cb2scOids.Count > 1) ||
+ (employeeOids != null && employeeOids.Count > 1);
+
+
+ DateTime start = newServiceRecord.Start.Value;
+ bool noTime = (start.Hour == 0 && start.Minute == 0 && start.Second == 1); //Keine Zeit angegeben
+ var duration = (decimal)newServiceRecord.End.Value.Subtract(newServiceRecord.Start.Value).TotalMinutes;
+ if (!noTime && duration == 0)
+ {
+ noTime = true;
+ }
+ newServiceRecord.RoundedDuration = duration;
+ decimal roundedDuration = duration;
+
+ var srdc = PluginLoader.FindClass();
+ if (srdc != null)
+ {
+ srdc.CalculateRoundedDuration(newServiceRecord);
+
+ roundedDuration = newServiceRecord.RoundedDuration;
+ }
+
+ decimal? grd = newServiceRecord.GroupRoundedDuration;
+
+ if (isGroupRecord)
+ {
+ var groupcalc = PluginLoader.FindClass();
+
+ if (groupcalc != null)
+ {
+ var gd = groupcalc.CalculateGroupDuration(cb2scOids.Count, employeeOids.Count, duration, cb2scOids.ToArray());
+ if (gd == null)
+ {
+ grd = roundedDuration;
+ roundedDuration = Math.Round(roundedDuration / cb2scOids.Count, 0, MidpointRounding.AwayFromZero);
+ }
+ else
+ {
+ grd = gd.TotalDuration;
+ roundedDuration = gd.SingleDuration;
+ }
+
+ }
+ }
+
+
+ //var minuteInterval = cbDC.ActualMinuteIntervall;
+ //if (minuteInterval > 0)
+ newServiceRecord.RoundedDuration = roundedDuration;
+
+
+ decimal rd = newServiceRecord.RoundedDuration;
+
+ if (!isGroupRecord)
+ {
+ ServiceRecordValidationResultDC resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, newServiceRecord.Employee.EmployeeOid, rd);
+ if (resultdc != null)
+ result.Add(resultdc);
+ }
+ else if (employeeOids != null)
+ {
+ foreach (long employeeOid in employeeOids)
+ {
+ ServiceRecordValidationResultDC resultdc = null;
+ if (resultdc == null)
+ {
+ resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, employeeOid, grd ?? rd);
+ if (resultdc != null)
+ result.Add(resultdc);
+
+ }
+ }
+ }
+
+
return result;
}
}