cb
This commit is contained in:
@@ -1025,19 +1025,24 @@ namespace BeWo.View.Detail.Report
|
||||
{
|
||||
lQuery.Parameter = parameterList;
|
||||
|
||||
var result = ServiceFacade.DoDownloadServiceSync(s => s.CreateQuery(lQuery));
|
||||
//var result = ServiceFacade.DoDownloadServiceSync(s => s.CreateQuery(lQuery));
|
||||
|
||||
var path = String.Format("{0}\\{1}", BeWoApp.GetAndCreateUserAppDataPath(), result.FileName);
|
||||
ServiceFacade.DoDownloadServiceAsync(s => s.CreateQuery(lQuery), result =>
|
||||
this.Dispatch(
|
||||
delegate
|
||||
{
|
||||
var path = String.Format("{0}\\{1}", BeWoApp.GetAndCreateUserAppDataPath(), result.FileName);
|
||||
|
||||
var sf = new SaveFileDialog
|
||||
{
|
||||
FileName = Path.GetFileName(path),
|
||||
Filter = "Alle Dateien|*.*"
|
||||
};
|
||||
if (sf.ShowDialog() != true)
|
||||
return;
|
||||
var sf = new SaveFileDialog
|
||||
{
|
||||
FileName = Path.GetFileName(path),
|
||||
Filter = "Alle Dateien|*.*"
|
||||
};
|
||||
if (sf.ShowDialog() != true)
|
||||
return;
|
||||
|
||||
BeWoUtils.WriteFile(result.QueryResult, sf.FileName);
|
||||
BeWoUtils.WriteFile(result.QueryResult, sf.FileName);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using BeWoPlanerMobil.Models;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
@@ -203,21 +203,24 @@ namespace BeWoPlanerMobil.Util
|
||||
var catOid2ModelDict = new Dictionary<long, ServiceCategoryModel>();
|
||||
foreach (var sd in serviceDescriptions)
|
||||
{
|
||||
if (!catOid2ModelDict.ContainsKey(sd.Category.ServiceCategoryOid.Value))
|
||||
if (sd.Category.ActivationType == ActivationTypeId.Active)
|
||||
{
|
||||
catOid2ModelDict[sd.Category.ServiceCategoryOid.Value] = new ServiceCategoryModel
|
||||
if (!catOid2ModelDict.ContainsKey(sd.Category.ServiceCategoryOid.Value))
|
||||
{
|
||||
Name = sd.Category.Name,
|
||||
IsDefault = sd.Category.IsDefault,
|
||||
Percentage = sd.Category.Percentage,
|
||||
Position = sd.Category.Position,
|
||||
OhneHilfeplan = sd.Category.OhneHilfeplan,
|
||||
ServiceCategoryOid = sd.Category.ServiceCategoryOid,
|
||||
ServiceDescriptions = new List<ServiceDescriptionDC>()
|
||||
};
|
||||
}
|
||||
catOid2ModelDict[sd.Category.ServiceCategoryOid.Value] = new ServiceCategoryModel
|
||||
{
|
||||
Name = sd.Category.Name,
|
||||
IsDefault = sd.Category.IsDefault,
|
||||
Percentage = sd.Category.Percentage,
|
||||
Position = sd.Category.Position,
|
||||
OhneHilfeplan = sd.Category.OhneHilfeplan,
|
||||
ServiceCategoryOid = sd.Category.ServiceCategoryOid,
|
||||
ServiceDescriptions = new List<ServiceDescriptionDC>()
|
||||
};
|
||||
}
|
||||
|
||||
catOid2ModelDict[sd.Category.ServiceCategoryOid.Value].ServiceDescriptions.Add(sd);
|
||||
catOid2ModelDict[sd.Category.ServiceCategoryOid.Value].ServiceDescriptions.Add(sd);
|
||||
}
|
||||
}
|
||||
|
||||
var list = catOid2ModelDict.Values.ToList();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
INSERT INTO query(tid, type, title, notice, insts, version, isactive, reporttypename)
|
||||
VALUES
|
||||
(24, 0, 'Stundenübersicht Mitarbeiter', 'direct', NOW(), 1, 1, 'BeWo.BetreuWoReports.FlsAuslastungsauswertung),
|
||||
(24, 0, 'Stundenübersicht Mitarbeiter', 'direct', NOW(), 1, 1, 'BeWo.BetreuWoReports.FlsAuslastungsauswertung'),
|
||||
(24, 0, 'Stundenübersicht Team', 'direct', NOW(), 1, 1, 'BeWo.BetreuWoReports.FlsAuslastungsauswertung')
|
||||
;
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
<Compile Include="FlsAuslastungsauswertung.designer.cs">
|
||||
<DependentUpon>FlsAuslastungsauswertung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FlsAuslastungsauswertungRO.cs" />
|
||||
<Compile Include="FLSGroupReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -17,9 +17,8 @@ using DevExpress.XtraPrinting;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using DevExpress.XtraScheduler;
|
||||
using DevExpress.XtraScheduler.Compatibility;
|
||||
using FlsAuslastungsauswertungRO = BeWo.Report.ReportObjects.FlsAuslastungsauswertungRO;
|
||||
|
||||
namespace BeWo.BetreuWoReports
|
||||
namespace BetreuWoReports
|
||||
{
|
||||
public partial class FlsAuslastungsauswertung : XtraReport, IBeWoReport<QueryRO>
|
||||
{
|
||||
@@ -459,7 +458,7 @@ namespace BeWo.BetreuWoReports
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
flsAuslastungsauswertungRo.Customer2Values.Sort((a, b) => a.CustomerName.CompareTo(b.CustomerName));
|
||||
flsAuslastungsauswertungRo.Customer2Values.DoForEach(customer2Values => { customer2Values.CalcDifferences(); });
|
||||
|
||||
flsAuslastungsauswertungRo.UpdateTargetObjectName();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.BetreuWoReports
|
||||
namespace BetreuWoReports
|
||||
{
|
||||
partial class FlsAuslastungsauswertung
|
||||
{
|
||||
@@ -332,7 +332,6 @@ namespace BeWo.BetreuWoReports
|
||||
this.xrTableCell285 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell286 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell287 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
this.WeeklyDetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail4 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.GroupHeader3 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
@@ -367,17 +366,18 @@ namespace BeWo.BetreuWoReports
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailyValueTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailyHeaderTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailySumTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.WeeklyValueTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.WeeklyHeaderTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.MonthlyValueTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.MonthlyHeaderTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
@@ -400,7 +400,7 @@ namespace BeWo.BetreuWoReports
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Auswertungszeitraum", "FLS-Auswertung im Zeitraum: {0:}")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "FLS-Auswertung im Zeitraum: {0:MMMM yyyy}")});
|
||||
resources.ApplyResources(this.xrLabel13, "xrLabel13");
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -3058,11 +3058,6 @@ namespace BeWo.BetreuWoReports
|
||||
this.xrTableCell287.Name = "xrTableCell287";
|
||||
this.xrTableCell287.StylePriority.UseTextAlignment = false;
|
||||
//
|
||||
// objectDataSource1
|
||||
//
|
||||
this.objectDataSource1.DataSource = typeof(BeWo.Report.ReportObjects.FlsAuslastungsauswertungRO);
|
||||
this.objectDataSource1.Name = "objectDataSource1";
|
||||
//
|
||||
// WeeklyDetailReport
|
||||
//
|
||||
this.WeeklyDetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -3352,10 +3347,6 @@ namespace BeWo.BetreuWoReports
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
resources.ApplyResources(this.topMarginBand1, "topMarginBand1");
|
||||
@@ -3366,6 +3357,15 @@ namespace BeWo.BetreuWoReports
|
||||
resources.ApplyResources(this.bottomMarginBand1, "bottomMarginBand1");
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// objectDataSource1
|
||||
//
|
||||
this.objectDataSource1.DataSource = typeof(BetreuWoReports.FlsAuslastungsauswertungRO);
|
||||
this.objectDataSource1.Name = "objectDataSource1";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// FlsAuslastungsauswertung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -3388,11 +3388,11 @@ namespace BeWo.BetreuWoReports
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailyValueTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailyHeaderTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DailySumTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.WeeklyValueTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.WeeklyHeaderTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.MonthlyValueTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.MonthlyHeaderTable)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
|
||||
@@ -124,10 +124,6 @@
|
||||
<data name="xrTableCell167.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="WeeklyHeaderTable.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Arial, 10pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="xrTableCell147.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -138,6 +134,7 @@
|
||||
<data name="xrTableCell168.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="xrTableCell89.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>SandyBrown</value>
|
||||
</data>
|
||||
@@ -189,8 +186,8 @@
|
||||
<data name="xrTableCell40.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell316.Weight" type="System.Double, mscorlib">
|
||||
<value>0.12252311411632186</value>
|
||||
<data name="xrTableCell56.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell26.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>SandyBrown</value>
|
||||
@@ -213,11 +210,14 @@
|
||||
<data name="xrTable4.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Arial, 10pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="xrTableCell49.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell192.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell101.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="xrTableCell278.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell132.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -258,6 +258,9 @@ Tag 4</value>
|
||||
Soll/Ist
|
||||
Tag 11</value>
|
||||
</data>
|
||||
<data name="xrTableCell49.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
</data>
|
||||
<data name="xrTableCell188.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -401,9 +404,6 @@ Tag 10</value>
|
||||
<data name="xrTableCell52.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell171.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell35.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
@@ -413,7 +413,7 @@ Tag 10</value>
|
||||
<data name="xrTableCell140.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell141.Weight" type="System.Double, mscorlib">
|
||||
<data name="xrTableCell137.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell132.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
@@ -444,9 +444,6 @@ Tag 11</value>
|
||||
<data name="xrTableCell277.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell63.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
</data>
|
||||
<data name="xrTableCell30.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
@@ -505,17 +502,17 @@ Tag 11</value>
|
||||
<data name="xrTableCell200.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell33.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell113.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell177.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell73.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell182.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
<data name="xrTableCell173.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell261.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -556,11 +553,14 @@ Tag 11</value>
|
||||
<data name="xrTableCell59.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell112.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell317.Weight" type="System.Double, mscorlib">
|
||||
<value>0.053603856369188511</value>
|
||||
</data>
|
||||
<data name="xrTableCell194.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell31.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell100.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
@@ -595,9 +595,15 @@ Tag 11</value>
|
||||
<data name="xrTableCell30.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell128.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell160.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell35.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Black</value>
|
||||
</data>
|
||||
<data name="xrTableCell154.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
@@ -621,8 +627,8 @@ Tag 8</value>
|
||||
<data name="xrTableCell224.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell49.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="xrTableCell171.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell50.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist
|
||||
@@ -679,6 +685,9 @@ Tag 9</value>
|
||||
<data name="xrTableCell268.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell24.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell258.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -734,6 +743,9 @@ Tag 9</value>
|
||||
<data name="xrTableCell226.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell184.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell41.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist
|
||||
Tag 6</value>
|
||||
@@ -778,6 +790,9 @@ Tag 7</value>
|
||||
<data name="xrTableCell29.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell166.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell149.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
@@ -813,15 +828,15 @@ Tag 8</value>
|
||||
<data name="xrTableCell97.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Purple</value>
|
||||
</data>
|
||||
<data name="xrTableCell123.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell68.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
</data>
|
||||
<data name="xrTableCell105.Text" xml:space="preserve">
|
||||
<value>Soll
|
||||
Tag 28</value>
|
||||
</data>
|
||||
<data name="xrTableCell92.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="xrTableCell241.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell174.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
@@ -896,9 +911,6 @@ Tag 30</value>
|
||||
<data name="xrTableCell44.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell26.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell47.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist
|
||||
Tag 8</value>
|
||||
@@ -937,9 +949,6 @@ Tag 27</value>
|
||||
<data name="xrTableCell16.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961400464381</value>
|
||||
</data>
|
||||
<data name="xrTableCell114.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell39.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -952,6 +961,9 @@ Tag 27</value>
|
||||
<data name="xrTableCell157.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell80.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell46.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -1014,9 +1026,6 @@ Tag 6</value>
|
||||
<data name="xrTableCell104.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell94.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell88.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>SandyBrown</value>
|
||||
</data>
|
||||
@@ -1038,9 +1047,6 @@ Tag 6</value>
|
||||
<data name="xrTableCell165.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell69.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
</data>
|
||||
<data name="xrTableCell29.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -1083,6 +1089,9 @@ Tag 19</value>
|
||||
<value>Ist
|
||||
Tag 28</value>
|
||||
</data>
|
||||
<data name="xrTableCell254.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell96.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
</data>
|
||||
@@ -1100,6 +1109,9 @@ Tag 28</value>
|
||||
Soll/Ist
|
||||
Tag 5</value>
|
||||
</data>
|
||||
<data name="xrTableCell61.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell102.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
@@ -1120,9 +1132,6 @@ Tag 25</value>
|
||||
<data name="xrTableCell136.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell31.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell80.Text" xml:space="preserve">
|
||||
<value>Diff
|
||||
Soll/Ist
|
||||
@@ -1140,9 +1149,6 @@ Tag 19</value>
|
||||
<data name="xrTableCell242.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell46.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Black</value>
|
||||
</data>
|
||||
<data name="xrTableCell99.Text" xml:space="preserve">
|
||||
<value>Soll
|
||||
Tag 26</value>
|
||||
@@ -1185,9 +1191,6 @@ Tag 17</value>
|
||||
<value>Ist
|
||||
Tag 27</value>
|
||||
</data>
|
||||
<data name="xrTableCell201.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell126.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
@@ -1208,8 +1211,8 @@ Tag 25</value>
|
||||
<data name="xrTableCell157.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell252.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell25.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell35.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist
|
||||
@@ -1272,9 +1275,6 @@ Tag 29</value>
|
||||
<data name="xrTableRow5.Weight" type="System.Double, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="xrTableCell262.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell59.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Black</value>
|
||||
</data>
|
||||
@@ -1321,8 +1321,8 @@ Tag 26</value>
|
||||
<value>Differenz Soll/Ist
|
||||
Auswertungszeitraum</value>
|
||||
</data>
|
||||
<data name="xrTableCell241.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="topMarginBand1.HeightF" type="System.Single, mscorlib">
|
||||
<value>50</value>
|
||||
</data>
|
||||
<data name="xrTableCell95.Text" xml:space="preserve">
|
||||
<value>Diff
|
||||
@@ -1369,6 +1369,12 @@ Tag 5</value>
|
||||
<data name="xrTableCell99.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="Detail5.HeightF" type="System.Single, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="xrTableCell195.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell160.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -1398,7 +1404,7 @@ Tag 24</value>
|
||||
<value>Ist
|
||||
Tag 2</value>
|
||||
</data>
|
||||
<data name="xrTableCell245.Weight" type="System.Double, mscorlib">
|
||||
<data name="xrTableCell141.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell98.Weight" type="System.Double, mscorlib">
|
||||
@@ -1495,15 +1501,9 @@ Tag 16</value>
|
||||
Soll/Ist
|
||||
Tag 27</value>
|
||||
</data>
|
||||
<data name="xrTableCell96.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Purple</value>
|
||||
</data>
|
||||
<data name="xrTableCell248.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="MonthlyCustomerCellLabel.Weight" type="System.Double, mscorlib">
|
||||
<value>0.59685145902481074</value>
|
||||
</data>
|
||||
<data name="xrTableCell23.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828961038683778</value>
|
||||
</data>
|
||||
@@ -1516,7 +1516,7 @@ Tag 27</value>
|
||||
<data name="xrTableCell108.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell285.Weight" type="System.Double, mscorlib">
|
||||
<data name="xrTableCell187.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell73.Text" xml:space="preserve">
|
||||
@@ -1548,9 +1548,15 @@ Tag 23</value>
|
||||
<data name="xrTableCell159.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell81.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell190.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell163.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell205.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>YellowGreen</value>
|
||||
</data>
|
||||
@@ -1568,9 +1574,6 @@ Tag 23</value>
|
||||
Soll/Ist
|
||||
Tag 21</value>
|
||||
</data>
|
||||
<data name="xrTableCell137.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell33.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -1612,11 +1615,14 @@ Tag 13</value>
|
||||
<data name="xrTableCell185.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell15.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell101.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
</data>
|
||||
<data name="xrTableCell56.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="xrTableCell115.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell42.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
@@ -1632,6 +1638,9 @@ Tag 22</value>
|
||||
<data name="xrTableRow4.Weight" type="System.Double, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="xrTableCell85.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell110.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -1654,9 +1663,6 @@ Tag 24</value>
|
||||
<data name="xrTableCell92.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell275.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrPageInfo1.SizeF" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>200, 23</value>
|
||||
</data>
|
||||
@@ -1788,12 +1794,6 @@ Tag 15</value>
|
||||
<data name="xrTableCell247.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="topMarginBand1.HeightF" type="System.Single, mscorlib">
|
||||
<value>50</value>
|
||||
</data>
|
||||
<data name="xrTableCell187.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell88.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -1846,8 +1846,8 @@ Tag 13</value>
|
||||
<data name="xrTableCell159.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell254.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell111.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
</data>
|
||||
<data name="xrTableCell108.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
@@ -1873,8 +1873,8 @@ Tag 13</value>
|
||||
<data name="xrTableCell67.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
</data>
|
||||
<data name="xrTableCell107.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
<data name="xrTableCell245.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell60.Text" xml:space="preserve">
|
||||
<value>Soll
|
||||
@@ -1886,9 +1886,6 @@ Tag 13</value>
|
||||
<data name="xrTableCell71.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
</data>
|
||||
<data name="xrTable1.SizeF" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>5276, 25</value>
|
||||
</data>
|
||||
<data name="xrTableRow6.Weight" type="System.Double, mscorlib">
|
||||
<value>0.37500010013582996</value>
|
||||
</data>
|
||||
@@ -1908,6 +1905,9 @@ Tag 22</value>
|
||||
<data name="xrTableCell119.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell194.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell276.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -1924,11 +1924,11 @@ Tag 22</value>
|
||||
<value>Ist
|
||||
Tag 1</value>
|
||||
</data>
|
||||
<data name="xrTableCell111.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
<data name="xrTableCell262.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell33.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="xrTableCell252.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell63.Text" xml:space="preserve">
|
||||
<value>Soll
|
||||
@@ -1952,14 +1952,14 @@ Tag 14</value>
|
||||
<data name="xrTableCell56.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell102.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>SandyBrown</value>
|
||||
<data name="xrTableCell46.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Black</value>
|
||||
</data>
|
||||
<data name="xrTableCell145.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell115.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
<data name="xrTableCell62.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell227.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -2002,8 +2002,8 @@ Tag 20</value>
|
||||
<data name="xrTableCell152.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell112.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="xrTableCell27.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist Tag 2</value>
|
||||
</data>
|
||||
<data name="xrTableRow1.Weight" type="System.Double, mscorlib">
|
||||
<value>1</value>
|
||||
@@ -2023,8 +2023,8 @@ Tag 20</value>
|
||||
<data name="xrTableCell69.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="Detail3.HeightF" type="System.Single, mscorlib">
|
||||
<value>25</value>
|
||||
<data name="xrTableCell316.Weight" type="System.Double, mscorlib">
|
||||
<value>0.12252311411632186</value>
|
||||
</data>
|
||||
<data name="MonthlyRestlicheFLSCellLabel.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
@@ -2032,9 +2032,6 @@ Tag 20</value>
|
||||
<data name="xrTableCell16.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell282.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell67.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
@@ -2073,12 +2070,6 @@ Tag 20</value>
|
||||
<data name="xrTableCell82.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Purple</value>
|
||||
</data>
|
||||
<data name="xrTableCell27.Text" xml:space="preserve">
|
||||
<value>Diff Soll/Ist Tag 2</value>
|
||||
</data>
|
||||
<data name="xrTableCell271.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="GroupHeader3.HeightF" type="System.Single, mscorlib">
|
||||
<value>116.6667</value>
|
||||
</data>
|
||||
@@ -2106,8 +2097,11 @@ Tag 20</value>
|
||||
<data name="xrTableCell91.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell68.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>White</value>
|
||||
<data name="xrTableCell94.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell120.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell34.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
@@ -2142,9 +2136,6 @@ Tag 20</value>
|
||||
<data name="xrTableCell240.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell278.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell198.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
@@ -2170,8 +2161,8 @@ Tag 21</value>
|
||||
<data name="xrTableCell121.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell24.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="Detail3.HeightF" type="System.Single, mscorlib">
|
||||
<value>25</value>
|
||||
</data>
|
||||
<data name="xrTableCell62.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
@@ -2197,11 +2188,17 @@ Tag 21</value>
|
||||
<data name="xrTableCell110.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell193.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell203.Weight" type="System.Double, mscorlib">
|
||||
<value>0.72502825164709672</value>
|
||||
</data>
|
||||
<data name="xrTableCell99.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
<data name="xrTableCell285.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell101.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableRow12.Weight" type="System.Double, mscorlib">
|
||||
<value>1</value>
|
||||
@@ -2236,8 +2233,8 @@ Tag 21</value>
|
||||
<data name="xrTableCell112.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell35.ForeColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Black</value>
|
||||
<data name="WeeklyHeaderTable.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Arial, 10pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="xrTableCell249.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -2275,8 +2272,8 @@ Tag 21</value>
|
||||
<data name="xrTableCell111.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell15.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
<data name="xrTableCell201.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell37.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Purple</value>
|
||||
@@ -2293,17 +2290,14 @@ Tag 21</value>
|
||||
<data name="xrTableCell82.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell62.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell158.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="MonthlyValueTable.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleLeft</value>
|
||||
<data name="xrTableCell26.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell163.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell102.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>SandyBrown</value>
|
||||
</data>
|
||||
<data name="xrTableCell41.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
@@ -2311,7 +2305,7 @@ Tag 21</value>
|
||||
<data name="xrTableCell196.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell128.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<data name="xrTableCell182.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="xrTableCell123.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
@@ -2323,8 +2317,8 @@ Tag 21</value>
|
||||
<data name="xrTableCell149.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell120.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell73.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell87.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
@@ -2338,23 +2332,23 @@ Tag 21</value>
|
||||
<data name="MonthlyCustomerCellLabel.Text" xml:space="preserve">
|
||||
<value>Klient/in</value>
|
||||
</data>
|
||||
<data name="xrTableCell193.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
<data name="xrTableCell275.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell139.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell85.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="xrTableCell63.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
</data>
|
||||
<data name="xrTableCell61.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<data name="xrTableCell107.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Gold</value>
|
||||
</data>
|
||||
<data name="xrTableCell184.Weight" type="System.Double, mscorlib">
|
||||
<data name="xrTableCell282.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell195.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="xrTableCell96.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>Purple</value>
|
||||
</data>
|
||||
<data name="xrTableCell238.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -2374,6 +2368,9 @@ Tag 21</value>
|
||||
<data name="xrTable3.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name="xrTableCell64.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell164.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
@@ -2393,8 +2390,8 @@ Tag 1</value>
|
||||
<data name="xrTableCell84.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell166.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
<data name="MonthlyCustomerCellLabel.Weight" type="System.Double, mscorlib">
|
||||
<value>0.59685145902481074</value>
|
||||
</data>
|
||||
<data name="xrTableCell156.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
@@ -2423,8 +2420,8 @@ Tag 1</value>
|
||||
<data name="xrTableCell208.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell64.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
<data name="xrTableCell123.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell113.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
@@ -2444,6 +2441,9 @@ Tag 1</value>
|
||||
<data name="xrTableCell89.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell92.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="DailySumTableCell2.Weight" type="System.Double, mscorlib">
|
||||
<value>0.31020142045216265</value>
|
||||
</data>
|
||||
@@ -2480,8 +2480,8 @@ Tag 1</value>
|
||||
<data name="xrTableCell48.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="Detail5.HeightF" type="System.Single, mscorlib">
|
||||
<value>0</value>
|
||||
<data name="xrTableCell69.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
</data>
|
||||
<data name="xrTableCell57.Text" xml:space="preserve">
|
||||
<value>Soll
|
||||
@@ -2490,8 +2490,8 @@ Tag 12</value>
|
||||
<data name="xrTableCell79.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell81.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="xrTableCell114.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTable4.SizeF" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>5276, 91.66665</value>
|
||||
@@ -2508,8 +2508,8 @@ Tag 12</value>
|
||||
<data name="WeeklyValueTable.LocationFloat" type="DevExpress.Utils.PointFloat, DevExpress.Data.v17.1">
|
||||
<value>0, 91.66666</value>
|
||||
</data>
|
||||
<data name="xrTableCell25.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="xrTableCell99.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>LightBlue</value>
|
||||
</data>
|
||||
<data name="xrTableCell74.Text" xml:space="preserve">
|
||||
<value>Diff
|
||||
@@ -2527,8 +2527,8 @@ Tag 15</value>
|
||||
<data name="xrTableCell78.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
</data>
|
||||
<data name="xrTableCell80.Weight" type="System.Double, mscorlib">
|
||||
<value>0.15828956885751522</value>
|
||||
<data name="MonthlyValueTable.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name="xrTableCell113.Text" xml:space="preserve">
|
||||
<value>Diff
|
||||
@@ -2541,8 +2541,8 @@ Tag 30</value>
|
||||
<data name="xrTableCell82.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell49.BackColor" type="System.Drawing.Color, System.Drawing">
|
||||
<value>DarkSeaGreen</value>
|
||||
<data name="xrTable1.SizeF" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>5276, 25</value>
|
||||
</data>
|
||||
<data name="xrTableCell130.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleRight</value>
|
||||
@@ -2559,7 +2559,7 @@ Tag 30</value>
|
||||
<data name="xrTableCell91.TextAlignment" type="DevExpress.XtraPrinting.TextAlignment, DevExpress.Data.v17.1">
|
||||
<value>MiddleCenter</value>
|
||||
</data>
|
||||
<data name="xrTableCell173.Weight" type="System.Double, mscorlib">
|
||||
<data name="xrTableCell271.Weight" type="System.Double, mscorlib">
|
||||
<value>0.23485961334484828</value>
|
||||
</data>
|
||||
<data name="xrTableCell83.Weight" type="System.Double, mscorlib">
|
||||
|
||||
396
ReportImp/BetreuWoReports/FlsAuslastungsauswertungRO.cs
Normal file
396
ReportImp/BetreuWoReports/FlsAuslastungsauswertungRO.cs
Normal file
@@ -0,0 +1,396 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Entities;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BetreuWoReports
|
||||
{
|
||||
public class FlsAuslastungsauswertungRO
|
||||
{
|
||||
public FLSAuswertungstyp FlsAuswertungstyp { get; }
|
||||
|
||||
public string Auswertungszeitraum => $"{StartDate:dd.MM.yyyy} - {EndDate:dd.MM.yyyy}";
|
||||
|
||||
public Employee Employee { get; set; }
|
||||
|
||||
public string EmployeeName
|
||||
{
|
||||
get
|
||||
{
|
||||
var name = Employee?.Person?.LastNameFirstName ?? string.Empty;
|
||||
|
||||
var weeklyFls = Employee?.LastContract?.WeeklyFLS == null ? string.Empty : $"({Employee.LastContract.WeeklyFLS.Value})";
|
||||
|
||||
return $"{name} {weeklyFls}";
|
||||
}
|
||||
}
|
||||
|
||||
public Team Team { get; set; }
|
||||
|
||||
public string TeamName => Team?.Name ?? string.Empty;
|
||||
|
||||
public string TargetObjectDescription { get; }
|
||||
|
||||
public string TargetObjectName { get; set; }
|
||||
|
||||
public List<Customer2Values> Customer2Values { get; set; } = new List<Customer2Values>();
|
||||
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
public FlsAuslastungsauswertungRO(DateTime startDate, DateTime endDate, FLSAuswertungstyp flsAuswertungstyp)
|
||||
{
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
FlsAuswertungstyp = flsAuswertungstyp;
|
||||
}
|
||||
|
||||
public FlsAuslastungsauswertungRO(Employee employee, DateTime startDate, DateTime endDate, FLSAuswertungstyp flsAuswertungstyp)
|
||||
{
|
||||
Employee = employee;
|
||||
TargetObjectDescription = "Mitarbeiter";
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
FlsAuswertungstyp = flsAuswertungstyp;
|
||||
}
|
||||
|
||||
public FlsAuslastungsauswertungRO(Team team, DateTime startDate, DateTime endDate, FLSAuswertungstyp flsAuswertungstyp)
|
||||
{
|
||||
Team = team;
|
||||
TargetObjectDescription = "Team";
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
FlsAuswertungstyp = flsAuswertungstyp;
|
||||
}
|
||||
|
||||
public void UpdateTargetObjectName()
|
||||
{
|
||||
if(Employee != null)
|
||||
{
|
||||
TargetObjectName = $"{Employee.Person.LastNameFirstName}({GetVertraglicheArbeitszeit():0.00}) Mehr/Minderarbeit: {GetMehrMinderauslastung():0.00}";
|
||||
}
|
||||
else if(Team != null)
|
||||
{
|
||||
TargetObjectName = $"{Team.Name} Mehr/Minderarbeit: {GetMehrMinderauslastung():0.00}";
|
||||
}
|
||||
}
|
||||
|
||||
public Customer2Values GetCustomer2ValuesByCustomer(Customer customer)
|
||||
{
|
||||
return Customer2Values?.FirstOrDefault(customer2Values => customer2Values.Customer?.Equals(customer) ?? false);
|
||||
}
|
||||
|
||||
public int GetMonthCount()
|
||||
{
|
||||
return StartDate.GetMonthCount(EndDate);
|
||||
}
|
||||
|
||||
public int GetWeekCount()
|
||||
{
|
||||
return StartDate.GetWeekOfYearCount(EndDate);
|
||||
}
|
||||
|
||||
public int GetStartWeekOfYear()
|
||||
{
|
||||
return StartDate.GetIso8601WeekOfYear();
|
||||
}
|
||||
|
||||
public decimal GetMehrMinderauslastung()
|
||||
{
|
||||
decimal mehrMinderauslastung = 0;
|
||||
|
||||
foreach(var customer2Value in Customer2Values)
|
||||
{
|
||||
mehrMinderauslastung += customer2Value.SollSum + customer2Value.IstSum;
|
||||
}
|
||||
|
||||
return mehrMinderauslastung;
|
||||
}
|
||||
|
||||
public decimal GetVertraglicheArbeitszeit()
|
||||
{
|
||||
if(Employee != null)
|
||||
{
|
||||
var lastContract = Employee.LastContract;
|
||||
|
||||
if(lastContract?.WeeklyFLS != null)
|
||||
{
|
||||
return lastContract.WeeklyFLS.Value;
|
||||
}
|
||||
}
|
||||
|
||||
return 0M;
|
||||
}
|
||||
|
||||
public Customer2Values this[long index]
|
||||
{
|
||||
get
|
||||
{
|
||||
if(Customer2Values == null)
|
||||
{
|
||||
Customer2Values = new List<Customer2Values>();
|
||||
}
|
||||
|
||||
return Customer2Values.FirstOrDefault(f => { return f.Customer?.Oid == index; });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public decimal DiffSum
|
||||
{
|
||||
get
|
||||
{
|
||||
return Customer2Values.Sum(c2V => { return c2V.DiffSum; });
|
||||
}
|
||||
}
|
||||
|
||||
public decimal SollSum
|
||||
{
|
||||
get
|
||||
{
|
||||
return Customer2Values.Sum(c2V => { return c2V.SollSum; });
|
||||
}
|
||||
}
|
||||
|
||||
public string DiffSumInPercent
|
||||
{
|
||||
get
|
||||
{
|
||||
var dsip = SollSum == 0 ? 0M : DiffSum / SollSum * 100;
|
||||
|
||||
return string.Format(new CultureInfo("de-DE"), "{0:0.00}%", dsip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class Customer2Values
|
||||
{
|
||||
private readonly FLSAuswertungstyp _FlsAuswertungstyp;
|
||||
|
||||
public readonly Guid Id;
|
||||
|
||||
public string CustomerName => Customer?.Person?.LastNameFirstName;
|
||||
public Customer Customer { get; set; }
|
||||
|
||||
public FlsValueObject Day1 { get; set; }
|
||||
public FlsValueObject Day2 { get; set; }
|
||||
public FlsValueObject Day3 { get; set; }
|
||||
public FlsValueObject Day4 { get; set; }
|
||||
public FlsValueObject Day5 { get; set; }
|
||||
public FlsValueObject Day6 { get; set; }
|
||||
public FlsValueObject Day7 { get; set; }
|
||||
public FlsValueObject Day8 { get; set; }
|
||||
public FlsValueObject Day9 { get; set; }
|
||||
public FlsValueObject Day10 { get; set; }
|
||||
public FlsValueObject Day11 { get; set; }
|
||||
public FlsValueObject Day12 { get; set; }
|
||||
public FlsValueObject Day13 { get; set; }
|
||||
public FlsValueObject Day14 { get; set; }
|
||||
public FlsValueObject Day15 { get; set; }
|
||||
public FlsValueObject Day16 { get; set; }
|
||||
public FlsValueObject Day17 { get; set; }
|
||||
public FlsValueObject Day18 { get; set; }
|
||||
public FlsValueObject Day19 { get; set; }
|
||||
public FlsValueObject Day20 { get; set; }
|
||||
public FlsValueObject Day21 { get; set; }
|
||||
public FlsValueObject Day22 { get; set; }
|
||||
public FlsValueObject Day23 { get; set; }
|
||||
public FlsValueObject Day24 { get; set; }
|
||||
public FlsValueObject Day25 { get; set; }
|
||||
public FlsValueObject Day26 { get; set; }
|
||||
public FlsValueObject Day27 { get; set; }
|
||||
public FlsValueObject Day28 { get; set; }
|
||||
public FlsValueObject Day29 { get; set; }
|
||||
public FlsValueObject Day30 { get; set; }
|
||||
|
||||
|
||||
public FlsValueObject Week1 { get; set; }
|
||||
public FlsValueObject Week2 { get; set; }
|
||||
public FlsValueObject Week3 { get; set; }
|
||||
public FlsValueObject Week4 { get; set; }
|
||||
public FlsValueObject Week5 { get; set; }
|
||||
public FlsValueObject Week6 { get; set; }
|
||||
|
||||
|
||||
public FlsValueObject Month1 { get; set; }
|
||||
public FlsValueObject Month2 { get; set; }
|
||||
public FlsValueObject Month3 { get; set; }
|
||||
|
||||
|
||||
public DateTime StartDate { get; set; }
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
|
||||
public Customer2Values(Customer customer, FLSAuswertungstyp flsAuswertungstyp, DateTime startDate, DateTime endDate)
|
||||
{
|
||||
Customer = customer;
|
||||
_FlsAuswertungstyp = flsAuswertungstyp;
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
|
||||
Id = Guid.NewGuid();
|
||||
}
|
||||
|
||||
public Customer2Values()
|
||||
{
|
||||
Id = Guid.NewGuid();
|
||||
}
|
||||
|
||||
public void CalcDifferences()
|
||||
{
|
||||
int count;
|
||||
string prefix;
|
||||
var sollSum = 0M;
|
||||
var istSum = 0M;
|
||||
|
||||
switch(_FlsAuswertungstyp)
|
||||
{
|
||||
case FLSAuswertungstyp.Daily:
|
||||
count = 30;
|
||||
prefix = "Day";
|
||||
break;
|
||||
case FLSAuswertungstyp.Weekly:
|
||||
count = GetWeekCount();
|
||||
prefix = "Week";
|
||||
break;
|
||||
case FLSAuswertungstyp.Monthly:
|
||||
count = GetMonthCount();
|
||||
prefix = "Month";
|
||||
break;
|
||||
default:
|
||||
count = 30;
|
||||
prefix = "Day";
|
||||
break;
|
||||
}
|
||||
|
||||
for(var i = 1; i <= count; i++)
|
||||
{
|
||||
var propertyName = $"{prefix}{i}";
|
||||
var propertyInfo = GetType().GetProperty(propertyName);
|
||||
|
||||
if(propertyInfo != null)
|
||||
{
|
||||
var propertyValue = (FlsValueObject)propertyInfo.GetValue(this, null);
|
||||
|
||||
if(propertyValue != null)
|
||||
{
|
||||
sollSum += propertyValue.Soll;
|
||||
istSum += propertyValue.Ist;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var diffSum = sollSum - istSum;
|
||||
|
||||
SollSum = sollSum;
|
||||
IstSum = istSum;
|
||||
DiffSum = diffSum;
|
||||
|
||||
DifferenzGanzerAbrechnungszeitraum = diffSum;
|
||||
AuslastungNachEnddatumKunde = sollSum > 0 ? diffSum / sollSum * 100 : 0M;
|
||||
DiffSumInPercent = AuslastungNachEnddatumKunde;
|
||||
}
|
||||
|
||||
public decimal SollSum { get; set; }
|
||||
public decimal IstSum { get; set; }
|
||||
public decimal DiffSum { get; set; }
|
||||
public decimal DiffSumInPercent { get; set; }
|
||||
|
||||
|
||||
public decimal DifferenzGanzerAbrechnungszeitraum { get; set; }
|
||||
|
||||
public decimal AuslastungNachEnddatumKunde { get; set; }
|
||||
|
||||
public decimal RestlicheFlsProWoche { get; set; }
|
||||
|
||||
public void AddOrUpdateDay(string propertyName, decimal soll, decimal ist, string timeUnitString)
|
||||
{
|
||||
try
|
||||
{
|
||||
var propertyValue = (FlsValueObject) this.GetPropertyValue(propertyName);
|
||||
|
||||
if(propertyValue == null)
|
||||
{
|
||||
propertyValue = new FlsValueObject(soll, ist, timeUnitString);
|
||||
this.SetPropertyValue(propertyName, propertyValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
propertyValue.Soll += soll;
|
||||
propertyValue.Ist += ist;
|
||||
}
|
||||
}
|
||||
catch(Exception exception)
|
||||
{
|
||||
Debug.WriteLine(exception);
|
||||
}
|
||||
}
|
||||
|
||||
public FlsValueObject GetFlsValueObject(string prefix, int suffix)
|
||||
{
|
||||
try
|
||||
{
|
||||
var propertyInfo = GetType().GetProperty($"{prefix}{suffix}");
|
||||
|
||||
if(propertyInfo != null)
|
||||
{
|
||||
return (FlsValueObject) propertyInfo.GetValue(this, null);
|
||||
}
|
||||
}
|
||||
catch(Exception exception)
|
||||
{
|
||||
Debug.WriteLine(exception);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public int GetMonthCount()
|
||||
{
|
||||
return StartDate.GetMonthCount(EndDate);
|
||||
}
|
||||
|
||||
public int GetWeekCount()
|
||||
{
|
||||
return StartDate.GetWeekOfYearCount(EndDate);
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if(obj is Customer2Values customer2Values)
|
||||
{
|
||||
return Equals(Customer, customer2Values.Customer);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return Id.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
||||
public class FlsValueObject
|
||||
{
|
||||
public decimal Soll { get; set; }
|
||||
|
||||
public decimal Ist { get; set; }
|
||||
|
||||
public decimal DiffSollIst => Soll - Ist;
|
||||
|
||||
public string TimeUnit { get; set; }
|
||||
|
||||
public FlsValueObject(decimal soll, decimal ist, string timeUnit)
|
||||
{
|
||||
Soll = soll;
|
||||
Ist = ist;
|
||||
TimeUnit = timeUnit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -169,7 +169,7 @@ namespace LebenshilfeFrankfurtOder.Invoicing
|
||||
Start = invoicePeriod.StartDateTime,
|
||||
End = invoicePeriod.EndDateTime
|
||||
};
|
||||
sip.Notice = customer.Person.FirstNameLastName;
|
||||
sip.Notice = customer.Person.LastNameFirstName;
|
||||
var ii = new InvoiceItem();
|
||||
|
||||
ii.AmountPerUnit = eigenanteil;
|
||||
|
||||
@@ -2,13 +2,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using ProfEggersStiftung.Invoicing;
|
||||
|
||||
namespace ProfEggersStiftung.Export
|
||||
{
|
||||
@@ -37,6 +45,7 @@ namespace ProfEggersStiftung.Export
|
||||
|
||||
sb.AppendLine("Umsatz (ohne Soll/Haben-Kz);Soll/Haben-Kennzeichen;WKZ Umsatz;Kurs;Basis-Umsatz;WKZ Basis-Umsatz;Konto;Gegenkonto (ohne BU-Schlüssel);BU-Schlüssel;Belegdatum;Belegfeld 1;Belegfeld 2;Skonto;Buchungstext;Postensperre;Diverse Adressnummer;Geschäftspartnerbank;Sachverhalt;Zinssperre;Beleglink;Beleginfo - Art 1;Beleginfo - Inhalt 1;Beleginfo - Art 2;Beleginfo - Inhalt 2;Beleginfo - Art 3;Beleginfo - Inhalt 3;Beleginfo - Art 4;Beleginfo - Inhalt 4;Beleginfo - Art 5;Beleginfo - Inhalt 5;Beleginfo - Art 6;Beleginfo - Inhalt 6;Beleginfo - Art 7;Beleginfo - Inhalt 7;Beleginfo - Art 8;Beleginfo - Inhalt 8;KOST1 - Kostenstelle;KOST2 - Kostenstelle;Kost-Menge;EU-Land u. UStID;EU-Steuersatz;Abw. Versteuerungsart;Sachverhalt L+L;Funktionsergänzung L+L;BU 49 Hauptfunktionstyp;BU 49 Hauptfunktionsnummer;BU 49 Funktionsergänzung;Zusatzinformation - Art 1;Zusatzinformation- Inhalt 1;Zusatzinformation - Art 2;Zusatzinformation- Inhalt 2;Zusatzinformation - Art 3;Zusatzinformation- Inhalt 3;Zusatzinformation - Art 4;Zusatzinformation- Inhalt 4;Zusatzinformation - Art 5;Zusatzinformation- Inhalt 5;Zusatzinformation - Art 6;Zusatzinformation- Inhalt 6;Zusatzinformation - Art 7;Zusatzinformation- Inhalt 7;Zusatzinformation - Art 8;Zusatzinformation- Inhalt 8;Zusatzinformation - Art 9;Zusatzinformation- Inhalt 9;Zusatzinformation - Art 10;Zusatzinformation- Inhalt 10;Zusatzinformation - Art 11;Zusatzinformation- Inhalt 11;Zusatzinformation - Art 12;Zusatzinformation- Inhalt 12;Zusatzinformation - Art 13;Zusatzinformation- Inhalt 13;Zusatzinformation - Art 14;Zusatzinformation- Inhalt 14;Zusatzinformation - Art 15;Zusatzinformation- Inhalt 15;Zusatzinformation - Art 16;Zusatzinformation- Inhalt 16;Zusatzinformation - Art 17;Zusatzinformation- Inhalt 17;Zusatzinformation - Art 18;Zusatzinformation- Inhalt 18;Zusatzinformation - Art 19;Zusatzinformation- Inhalt 19;Zusatzinformation - Art 20;Zusatzinformation- Inhalt 20;Stück;Gewicht;Zahlweise;Forderungsart;Veranlagungsjahr;Zugeordnete Fälligkeit;Skontotyp;Auftragsnummer;Buchungstyp;USt-Schlüssel (Anzahlungen);EU-Land (Anzahlungen);Sachverhalt L+L (Anzahlungen);EU-Steuersatz (Anzahlungen);Erlöskonto (Anzahlungen);Herkunft-Kz;Buchungs GUID;KOST-Datum;SEPA-Mandatsreferenz;Skontosperre;Gesellschaftername;Beteiligtennummer;Identifikationsnummer;Zeichnernummer;Postensperre bis;Bezeichnung SoBil-Sachverhalt;Kennzeichen SoBil-Buchung;Festschreibung;Leistungsdatum;Datum Zuord. Steuerperiode;Fälligkeit;Generalumkehr (GU);Steuersatz;Land");
|
||||
|
||||
|
||||
var s = GetMonatlicheBetraegeString(date, false);
|
||||
if (!String.IsNullOrWhiteSpace(s))
|
||||
{
|
||||
@@ -115,7 +124,7 @@ ib.InvoiceId
|
||||
var sql = GetMonatlicheBetraegeSql(date, lvrOrLwl);
|
||||
|
||||
/*
|
||||
'Betrag',
|
||||
betrag
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
CONCAT(p.`LastName`, ', ', p.`FirstName`) as 'Verwendung',
|
||||
@@ -128,29 +137,94 @@ cb2sc.Oid
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
if (sb.Length > 0)
|
||||
long oid = (long)row[4];
|
||||
decimal betrag = CalculateBillableAmountInTimeSpan(oid, date, date.AddMonths(1));
|
||||
if (row[0] != null)
|
||||
{
|
||||
sb.AppendLine();
|
||||
Decimal.TryParse(row[0].ToString(), out betrag);
|
||||
}
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[1]));
|
||||
sb.Append(";");
|
||||
sb.Append(lvrOrLwl ? "4003" : "4004"); // Erlöskonto
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
//sb.Append(""); // Rechnungsnummer leer
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:0.00}", row[0]));
|
||||
if (betrag > 0)
|
||||
{
|
||||
if (sb.Length > 0)
|
||||
{
|
||||
sb.AppendLine();
|
||||
}
|
||||
|
||||
//0: Betrag
|
||||
//1: Konto
|
||||
//2: Gegenkonto
|
||||
//3: Belegdatum
|
||||
//4: Belegfeld 1
|
||||
//5: Buchungstext
|
||||
//6: Kostenstelle
|
||||
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
|
||||
String konto = (String) row[1];
|
||||
String gegenkonto = lvrOrLwl ? "4003" : "4004";
|
||||
String belegdatum = String.Format("{0:MMyy}", date);
|
||||
String belegfeld = String.Format("{0:MMyy}", date);
|
||||
String buchungstext = String.Format("{0} {1:MMyy}", row[5], date);
|
||||
String kostenstelle = "3000";
|
||||
|
||||
sb.Append(String.Format(
|
||||
"{0:0.00};S;EUR;;;;{1};{2};;{3};{4};;;{5};;;;;;;;;;;;;;;;;;;;;;;{6};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0;;;;;;",
|
||||
betrag, konto, gegenkonto, belegdatum, belegfeld, buchungstext, kostenstelle));
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private static decimal CalculateBillableAmountInTimeSpan(long c2sOid, DateTime start, DateTime end)
|
||||
{
|
||||
|
||||
var factory = new CustomInvoiceFactory();
|
||||
|
||||
Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> dict = new Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>>();
|
||||
|
||||
var cs = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(c2sOid);
|
||||
var relCs = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(cs);
|
||||
|
||||
CompactSupportConceptDC sc = CreateCompactSupportConcept(relCs);
|
||||
|
||||
var allRecords = cs.ServiceRecords.MapToNewDCs();
|
||||
allRecords = allRecords.Where(r => r.Start.Value.Date >= start && r.Start < end).ToList();
|
||||
dict.Add(sc, allRecords);
|
||||
|
||||
var creator = factory.CreateInvoiceCreator(null, null, dict);
|
||||
|
||||
DateTimeSpan span = new DateTimeSpan();
|
||||
span.StartDate = start;
|
||||
span.EndDate = start.AddMonths(1).AddDays(-1);
|
||||
|
||||
var invoices = creator.GenerateServiceInvoices(cs.CostBearer.Oid.Value, span, dict);
|
||||
|
||||
if (invoices != null && invoices.Count == 1)
|
||||
{
|
||||
return invoices[0].ClaimSum ?? 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
private static CompactSupportConceptDC CreateCompactSupportConcept(SupportConceptCostBearerRelDC c2s)
|
||||
{
|
||||
var dc = new CompactSupportConceptDC();
|
||||
dc.SupportConceptOid = c2s.SupportConcept.SupportConceptOid;
|
||||
dc.CostBearerRelOids = new List<long>();
|
||||
dc.CostBearerRelOids.Add(c2s.CostBearer2SupportConceptOid.Value);
|
||||
dc.IsApproved = true;
|
||||
|
||||
return dc;
|
||||
}
|
||||
|
||||
private static Dictionary<long, decimal> CreateHourlyRateDict(List<long> catOids, DateTime date)
|
||||
{
|
||||
Dictionary<long, decimal> dict = new Dictionary<long, decimal>();
|
||||
@@ -208,7 +282,8 @@ IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SEL
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
CONCAT(p.`LastName`, ', ', p.`FirstName`) as 'Verwendung',
|
||||
cb2sc.Oid
|
||||
cb2sc.Oid,
|
||||
org.Name
|
||||
FROM `supportconcept` sc
|
||||
INNER JOIN `costbearer2supportconcept` cb2sc ON sc.`Oid` = cb2sc.`SupportConceptOid`
|
||||
INNER JOIN `costbearer` cb ON cb2sc.`CostBearerOid` = cb.`Oid`
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "3341456098"; // Hilfe Daheim (früher BeWo Schillinger)
|
||||
//t = "4271389563"; // Komm Mit
|
||||
//t = "5430005891"; // Marienhospital Eickel
|
||||
//t = "3265049248"; // Gerdas Pflegedienst
|
||||
t = "3265049248"; // Gerdas Pflegedienst
|
||||
//t = "1549622397"; // Kontakt und Krisenhilfe
|
||||
//t = "4782194565"; // Skm Rheydt
|
||||
//t = "7535795843"; // Sozialwerk Dürener Christen
|
||||
@@ -224,7 +224,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "7817461089"; // FAB e.V. (Familienarbeit und Beratung e.V.)
|
||||
//t = "5207911843"; // Pro Balance
|
||||
//t = "8619663355"; // HSH Cologne
|
||||
t = "1652658918"; // LH Frankfurt Oder
|
||||
//t = "1652658918"; // LH Frankfurt Oder
|
||||
//t = "7696927868"; // Kuhring Betreuung
|
||||
//t = "6251348980"; // BeWo Gün
|
||||
//t = "6782533512"; // LH Dorsten
|
||||
@@ -279,7 +279,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "8283849714"; // Forum e.V. (proviel GmbH)
|
||||
//t = "3915346496"; // Sprungbrett 2. DB (Haus Theresia)
|
||||
//t = "2387527289"; // Lebenshilfe Duisburg HPFH
|
||||
//t = "5595701056"; // Domiziel Ansbach
|
||||
t = "5595701056"; // Domiziel Ansbach
|
||||
//t = "9430188510"; // Pro INTEGRA
|
||||
//t = "4820371076"; // Zuhause Wohnen Iris Thimm
|
||||
//t = "1078667960"; // FAM Rhein-Sieg Gbr
|
||||
|
||||
Reference in New Issue
Block a user