LebensWert, VKMHamm, BewegtSystemischeBeratung
This commit is contained in:
@@ -82,6 +82,8 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBetreuungsart = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -280,6 +282,8 @@ namespace BewegtSystemischeBeratung
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.lblBetreuungsart,
|
||||
this.lblBewilligtEinheit,
|
||||
this.lblRestStunden,
|
||||
this.lblRestStundenHeader,
|
||||
@@ -305,13 +309,13 @@ namespace BewegtSystemischeBeratung
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 410F;
|
||||
this.ReportHeader.HeightF = 425.625F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblBewilligtEinheit
|
||||
//
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 215F);
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 240F);
|
||||
this.lblBewilligtEinheit.Multiline = true;
|
||||
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
|
||||
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -323,7 +327,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStunden
|
||||
//
|
||||
this.lblRestStunden.CanShrink = true;
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 360F);
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 385F);
|
||||
this.lblRestStunden.Multiline = true;
|
||||
this.lblRestStunden.Name = "lblRestStunden";
|
||||
this.lblRestStunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -335,7 +339,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStundenHeader
|
||||
//
|
||||
this.lblRestStundenHeader.CanShrink = true;
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 385F);
|
||||
this.lblRestStundenHeader.Multiline = true;
|
||||
this.lblRestStundenHeader.Name = "lblRestStundenHeader";
|
||||
this.lblRestStundenHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -348,7 +352,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblVerblStundenVormontHeader
|
||||
//
|
||||
this.lblVerblStundenVormontHeader.CanShrink = true;
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.0001F);
|
||||
this.lblVerblStundenVormontHeader.Multiline = true;
|
||||
this.lblVerblStundenVormontHeader.Name = "lblVerblStundenVormontHeader";
|
||||
this.lblVerblStundenVormontHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -361,7 +365,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblStundenVormonat
|
||||
//
|
||||
this.lblStundenVormonat.CanShrink = true;
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 265.0001F);
|
||||
this.lblStundenVormonat.Multiline = true;
|
||||
this.lblStundenVormonat.Name = "lblStundenVormonat";
|
||||
this.lblStundenVormonat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -374,7 +378,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblGesamt.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblGesamt.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 335F);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 360F);
|
||||
this.lblGesamt.Name = "lblGesamt";
|
||||
this.lblGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamt.SizeF = new System.Drawing.SizeF(72.91661F, 25F);
|
||||
@@ -385,7 +389,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFahrzeit
|
||||
//
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 335F);
|
||||
this.lblFahrzeit.Multiline = true;
|
||||
this.lblFahrzeit.Name = "lblFahrzeit";
|
||||
this.lblFahrzeit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -396,7 +400,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFls
|
||||
//
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 285F);
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFls.Multiline = true;
|
||||
this.lblFls.Name = "lblFls";
|
||||
this.lblFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -407,7 +411,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblBewilligtFls
|
||||
//
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215.0001F);
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblBewilligtFls.Multiline = true;
|
||||
this.lblBewilligtFls.Name = "lblBewilligtFls";
|
||||
this.lblBewilligtFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -418,7 +422,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 190F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -432,7 +436,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -445,7 +449,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -457,7 +461,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 285F);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel13.Multiline = true;
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -469,7 +473,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -481,7 +485,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215.0001F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -493,7 +497,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 170F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -505,7 +509,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblASD
|
||||
//
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 170F);
|
||||
this.lblASD.Multiline = true;
|
||||
this.lblASD.Name = "lblASD";
|
||||
this.lblASD.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -531,7 +535,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 95.00003F);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.xrLabel9.Multiline = true;
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -545,7 +549,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblKoordinator.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblKoordinator.Multiline = true;
|
||||
this.lblKoordinator.Name = "lblKoordinator";
|
||||
this.lblKoordinator.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -556,7 +560,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -568,7 +572,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00003F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -662,6 +666,29 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldGruppe.Name = "fieldGruppe";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00002F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(201.25F, 25F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Betreuungsart:";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBetreuungsart
|
||||
//
|
||||
this.lblBetreuungsart.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 95.00002F);
|
||||
this.lblBetreuungsart.Multiline = true;
|
||||
this.lblBetreuungsart.Name = "lblBetreuungsart";
|
||||
this.lblBetreuungsart.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblBetreuungsart.SizeF = new System.Drawing.SizeF(376.6667F, 25F);
|
||||
this.lblBetreuungsart.StylePriority.UseFont = false;
|
||||
this.lblBetreuungsart.StylePriority.UseTextAlignment = false;
|
||||
this.lblBetreuungsart.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Leistungsnachweis
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -748,5 +775,7 @@ namespace BewegtSystemischeBeratung
|
||||
private DevExpress.XtraReports.UI.XRLabel lblRestStunden;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblRestStundenHeader;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBewilligtEinheit;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBetreuungsart;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,26 @@ namespace BewegtSystemischeBeratung
|
||||
}
|
||||
}
|
||||
|
||||
if (pRO.CustomerOid > 0)
|
||||
{
|
||||
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
|
||||
StringBuilder betreuungsartSb = new StringBuilder();
|
||||
|
||||
foreach (var v2o in c.ValueList)
|
||||
{
|
||||
if (v2o.Entry.Type == ValueListEntryType.CustomerCareType)
|
||||
{
|
||||
if (betreuungsartSb.Length > 0)
|
||||
{
|
||||
betreuungsartSb.Append(", ");
|
||||
}
|
||||
betreuungsartSb.Append(v2o.Entry.Value);
|
||||
}
|
||||
}
|
||||
|
||||
lblBetreuungsart.Text = betreuungsartSb.ToString();
|
||||
}
|
||||
|
||||
List<ServicesOverviewRO.ServiceDetail> alleFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
List<ServicesOverviewRO.ServiceDetail> fahrzeitenOhneFls = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
List<ServicesOverviewRO.ServiceDetail> alleNichtFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
@@ -87,6 +87,8 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBetreuungsart = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -337,6 +339,8 @@ namespace BewegtSystemischeBeratung
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.lblBetreuungsart,
|
||||
this.lblBewilligtEinheit,
|
||||
this.lblRestStunden,
|
||||
this.lblRestStundenHeader,
|
||||
@@ -362,13 +366,13 @@ namespace BewegtSystemischeBeratung
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 402.9167F;
|
||||
this.ReportHeader.HeightF = 427.7083F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblBewilligtEinheit
|
||||
//
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 215F);
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 240F);
|
||||
this.lblBewilligtEinheit.Multiline = true;
|
||||
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
|
||||
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -380,7 +384,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStunden
|
||||
//
|
||||
this.lblRestStunden.CanShrink = true;
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 360F);
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 385F);
|
||||
this.lblRestStunden.Multiline = true;
|
||||
this.lblRestStunden.Name = "lblRestStunden";
|
||||
this.lblRestStunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -392,7 +396,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStundenHeader
|
||||
//
|
||||
this.lblRestStundenHeader.CanShrink = true;
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 385F);
|
||||
this.lblRestStundenHeader.Multiline = true;
|
||||
this.lblRestStundenHeader.Name = "lblRestStundenHeader";
|
||||
this.lblRestStundenHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -405,7 +409,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblVerblStundenVormontHeader
|
||||
//
|
||||
this.lblVerblStundenVormontHeader.CanShrink = true;
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.0001F);
|
||||
this.lblVerblStundenVormontHeader.Multiline = true;
|
||||
this.lblVerblStundenVormontHeader.Name = "lblVerblStundenVormontHeader";
|
||||
this.lblVerblStundenVormontHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -418,7 +422,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblStundenVormonat
|
||||
//
|
||||
this.lblStundenVormonat.CanShrink = true;
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 265.0001F);
|
||||
this.lblStundenVormonat.Multiline = true;
|
||||
this.lblStundenVormonat.Name = "lblStundenVormonat";
|
||||
this.lblStundenVormonat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -431,7 +435,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblGesamt.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblGesamt.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 335F);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 360F);
|
||||
this.lblGesamt.Name = "lblGesamt";
|
||||
this.lblGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamt.SizeF = new System.Drawing.SizeF(72.91661F, 25F);
|
||||
@@ -442,7 +446,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFahrzeit
|
||||
//
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 335F);
|
||||
this.lblFahrzeit.Multiline = true;
|
||||
this.lblFahrzeit.Name = "lblFahrzeit";
|
||||
this.lblFahrzeit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -453,7 +457,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFls
|
||||
//
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 285F);
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFls.Multiline = true;
|
||||
this.lblFls.Name = "lblFls";
|
||||
this.lblFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -464,7 +468,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblBewilligtFls
|
||||
//
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215.0001F);
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblBewilligtFls.Multiline = true;
|
||||
this.lblBewilligtFls.Name = "lblBewilligtFls";
|
||||
this.lblBewilligtFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -475,7 +479,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 190F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -489,7 +493,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -502,7 +506,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel14.Multiline = true;
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -514,7 +518,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 285F);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel13.Multiline = true;
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -526,7 +530,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -538,7 +542,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215.0001F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -550,7 +554,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 170F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -562,7 +566,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblASD
|
||||
//
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 170F);
|
||||
this.lblASD.Multiline = true;
|
||||
this.lblASD.Name = "lblASD";
|
||||
this.lblASD.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -588,7 +592,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 95.00003F);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.xrLabel9.Multiline = true;
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -602,7 +606,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblKoordinator.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblKoordinator.Multiline = true;
|
||||
this.lblKoordinator.Name = "lblKoordinator";
|
||||
this.lblKoordinator.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -613,7 +617,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -625,7 +629,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00003F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -719,7 +723,30 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldGruppe.Name = "fieldGruppe";
|
||||
//
|
||||
// LeistungsnachweisMitUhrzeitMitUnterschrift
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00002F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(201.25F, 25F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Betreuungsart:";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBetreuungsart
|
||||
//
|
||||
this.lblBetreuungsart.LocationFloat = new DevExpress.Utils.PointFloat(201.2501F, 95.00002F);
|
||||
this.lblBetreuungsart.Multiline = true;
|
||||
this.lblBetreuungsart.Name = "lblBetreuungsart";
|
||||
this.lblBetreuungsart.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblBetreuungsart.SizeF = new System.Drawing.SizeF(376.6667F, 25F);
|
||||
this.lblBetreuungsart.StylePriority.UseFont = false;
|
||||
this.lblBetreuungsart.StylePriority.UseTextAlignment = false;
|
||||
this.lblBetreuungsart.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// LeistungsnachweisBedburg
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
@@ -811,5 +838,7 @@ namespace BewegtSystemischeBeratung
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBewilligtEinheit;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBetreuungsart;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,27 @@ namespace BewegtSystemischeBeratung
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (pRO.CustomerOid > 0)
|
||||
{
|
||||
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
|
||||
StringBuilder betreuungsartSb = new StringBuilder();
|
||||
|
||||
foreach (var v2o in c.ValueList)
|
||||
{
|
||||
if (v2o.Entry.Type == ValueListEntryType.CustomerCareType)
|
||||
{
|
||||
if (betreuungsartSb.Length > 0)
|
||||
{
|
||||
betreuungsartSb.Append(", ");
|
||||
}
|
||||
betreuungsartSb.Append(v2o.Entry.Value);
|
||||
}
|
||||
}
|
||||
|
||||
lblBetreuungsart.Text = betreuungsartSb.ToString();
|
||||
}
|
||||
|
||||
List<ServicesOverviewRO.ServiceDetail> alleFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
List<ServicesOverviewRO.ServiceDetail> fahrzeitenOhneFls = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
List<ServicesOverviewRO.ServiceDetail> alleNichtFahrzeiten = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
@@ -87,6 +87,8 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBetreuungsart = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -336,6 +338,8 @@ namespace BewegtSystemischeBeratung
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel11,
|
||||
this.lblBetreuungsart,
|
||||
this.lblBewilligtEinheit,
|
||||
this.lblRestStunden,
|
||||
this.lblRestStundenHeader,
|
||||
@@ -361,13 +365,13 @@ namespace BewegtSystemischeBeratung
|
||||
this.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 410F;
|
||||
this.ReportHeader.HeightF = 426.6667F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblBewilligtEinheit
|
||||
//
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 215.0001F);
|
||||
this.lblBewilligtEinheit.LocationFloat = new DevExpress.Utils.PointFloat(274.1664F, 240.0001F);
|
||||
this.lblBewilligtEinheit.Multiline = true;
|
||||
this.lblBewilligtEinheit.Name = "lblBewilligtEinheit";
|
||||
this.lblBewilligtEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -379,7 +383,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStunden
|
||||
//
|
||||
this.lblRestStunden.CanShrink = true;
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 360F);
|
||||
this.lblRestStunden.LocationFloat = new DevExpress.Utils.PointFloat(201.2498F, 385F);
|
||||
this.lblRestStunden.Multiline = true;
|
||||
this.lblRestStunden.Name = "lblRestStunden";
|
||||
this.lblRestStunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -391,7 +395,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblRestStundenHeader
|
||||
//
|
||||
this.lblRestStundenHeader.CanShrink = true;
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.lblRestStundenHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 385F);
|
||||
this.lblRestStundenHeader.Multiline = true;
|
||||
this.lblRestStundenHeader.Name = "lblRestStundenHeader";
|
||||
this.lblRestStundenHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -404,7 +408,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblVerblStundenVormontHeader
|
||||
//
|
||||
this.lblVerblStundenVormontHeader.CanShrink = true;
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.lblVerblStundenVormontHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.0001F);
|
||||
this.lblVerblStundenVormontHeader.Multiline = true;
|
||||
this.lblVerblStundenVormontHeader.Name = "lblVerblStundenVormontHeader";
|
||||
this.lblVerblStundenVormontHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -417,7 +421,7 @@ namespace BewegtSystemischeBeratung
|
||||
// lblStundenVormonat
|
||||
//
|
||||
this.lblStundenVormonat.CanShrink = true;
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblStundenVormonat.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 265.0001F);
|
||||
this.lblStundenVormonat.Multiline = true;
|
||||
this.lblStundenVormonat.Name = "lblStundenVormonat";
|
||||
this.lblStundenVormonat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -430,7 +434,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblGesamt.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblGesamt.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 335F);
|
||||
this.lblGesamt.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 360F);
|
||||
this.lblGesamt.Name = "lblGesamt";
|
||||
this.lblGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamt.SizeF = new System.Drawing.SizeF(72.91661F, 25F);
|
||||
@@ -441,7 +445,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFahrzeit
|
||||
//
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFahrzeit.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 335F);
|
||||
this.lblFahrzeit.Multiline = true;
|
||||
this.lblFahrzeit.Name = "lblFahrzeit";
|
||||
this.lblFahrzeit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -452,7 +456,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblFls
|
||||
//
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 285F);
|
||||
this.lblFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 310F);
|
||||
this.lblFls.Multiline = true;
|
||||
this.lblFls.Name = "lblFls";
|
||||
this.lblFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -463,7 +467,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblBewilligtFls
|
||||
//
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215.0001F);
|
||||
this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 240.0001F);
|
||||
this.lblBewilligtFls.Multiline = true;
|
||||
this.lblBewilligtFls.Name = "lblBewilligtFls";
|
||||
this.lblBewilligtFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -474,7 +478,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 190F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(201.2499F, 215F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -488,7 +492,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -501,7 +505,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -513,7 +517,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 285F);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 310F);
|
||||
this.xrLabel13.Multiline = true;
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -525,7 +529,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -537,7 +541,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 215.0001F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 240.0001F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -549,7 +553,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 170F);
|
||||
this.xrLabel6.Multiline = true;
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -561,7 +565,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// lblASD
|
||||
//
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblASD.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 170F);
|
||||
this.lblASD.Multiline = true;
|
||||
this.lblASD.Name = "lblASD";
|
||||
this.lblASD.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -587,7 +591,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 95.00003F);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.xrLabel9.Multiline = true;
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -601,7 +605,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
this.lblKoordinator.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")});
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 120F);
|
||||
this.lblKoordinator.LocationFloat = new DevExpress.Utils.PointFloat(201.25F, 145F);
|
||||
this.lblKoordinator.Multiline = true;
|
||||
this.lblKoordinator.Name = "lblKoordinator";
|
||||
this.lblKoordinator.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -612,7 +616,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -624,7 +628,7 @@ namespace BewegtSystemischeBeratung
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00003F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -718,6 +722,29 @@ namespace BewegtSystemischeBeratung
|
||||
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldGruppe.Name = "fieldGruppe";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00005F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(201.25F, 25F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Betreuungsart:";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBetreuungsart
|
||||
//
|
||||
this.lblBetreuungsart.LocationFloat = new DevExpress.Utils.PointFloat(201.2501F, 95.00005F);
|
||||
this.lblBetreuungsart.Multiline = true;
|
||||
this.lblBetreuungsart.Name = "lblBetreuungsart";
|
||||
this.lblBetreuungsart.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblBetreuungsart.SizeF = new System.Drawing.SizeF(376.6667F, 25F);
|
||||
this.lblBetreuungsart.StylePriority.UseFont = false;
|
||||
this.lblBetreuungsart.StylePriority.UseTextAlignment = false;
|
||||
this.lblBetreuungsart.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// LeistungsnachweisBergheim
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -810,5 +837,7 @@ namespace BewegtSystemischeBeratung
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBetreuungsart;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,28 @@ namespace BewegtSystemischeBeratung
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (pRO.CustomerOid > 0)
|
||||
{
|
||||
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
|
||||
StringBuilder betreuungsartSb = new StringBuilder();
|
||||
|
||||
foreach (var v2o in c.ValueList)
|
||||
{
|
||||
if (v2o.Entry.Type == ValueListEntryType.CustomerCareType)
|
||||
{
|
||||
if (betreuungsartSb.Length > 0)
|
||||
{
|
||||
betreuungsartSb.Append(", ");
|
||||
}
|
||||
betreuungsartSb.Append(v2o.Entry.Value);
|
||||
}
|
||||
}
|
||||
|
||||
lblBetreuungsart.Text = betreuungsartSb.ToString();
|
||||
}
|
||||
|
||||
|
||||
Dictionary<int, ServicesOverviewRO.ServiceDetail> tag2Detail = new Dictionary<int, ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
List<ServicesOverviewRO.ServiceDetail> services = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
101
ReportImp/LebensWert/CustomReportCreator.cs
Normal file
101
ReportImp/LebensWert/CustomReportCreator.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace LebensWert
|
||||
{
|
||||
class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
|
||||
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende)
|
||||
{
|
||||
//var os = new OperationsServiceImp();
|
||||
//var m = os.GetMandator2(false);
|
||||
//if (m.AllowSbd)
|
||||
//{
|
||||
// return CreateSbdLeistungsnachweisForAllCustomers(month, year, orgaOid, empOid, serviceCategoryOid ?? 0, startDay, endDay, false, "nrw");
|
||||
//}
|
||||
|
||||
|
||||
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid, true, nurFehlende);
|
||||
|
||||
if (lROs.Count > 0)
|
||||
{
|
||||
String reportId = null;
|
||||
if (orgaOid > 0)
|
||||
{
|
||||
var organisation = DAOFactory.GenericDAO.LoadByID<Organisation>(orgaOid);
|
||||
if (organisation != null)
|
||||
reportId = organisation.Name;
|
||||
}
|
||||
|
||||
IBeWoReport<ServicesOverviewRO> lServiceOverviewAllCustomersReport = new Quittierungsbeleg();
|
||||
if (reportId != null)
|
||||
{
|
||||
if (reportId.ToLower() == "landeshauptstadt hannover" || reportId.ToLower().Contains("stadt hannover"))
|
||||
lServiceOverviewAllCustomersReport = new QuittierungsbelegHannover();
|
||||
}
|
||||
|
||||
lServiceOverviewAllCustomersReport.SetReportDataSource(lROs[0]);
|
||||
(lServiceOverviewAllCustomersReport as XtraReport).CreateDocument();
|
||||
var Report = lServiceOverviewAllCustomersReport as XtraReport;
|
||||
|
||||
for (int i = 1; i < lROs.Count; i++)
|
||||
{
|
||||
IBeWoReport<ServicesOverviewRO> lNext = new Quittierungsbeleg();
|
||||
if (reportId != null)
|
||||
{
|
||||
if (reportId.ToLower() == "landeshauptstadt hannover" || reportId.ToLower().Contains("stadt hannover"))
|
||||
lNext = new QuittierungsbelegHannover();
|
||||
}
|
||||
lNext.SetReportDataSource(lROs[i]);
|
||||
(lNext as XtraReport).CreateDocument();
|
||||
Report.Pages.AddRange((lNext as XtraReport).Pages);
|
||||
}
|
||||
|
||||
return lServiceOverviewAllCustomersReport as XtraReport;
|
||||
}
|
||||
return new XtraReport();
|
||||
}
|
||||
|
||||
public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
{
|
||||
//var os = new OperationsServiceImp();
|
||||
//var m = os.GetMandator2(false);
|
||||
//if (m.AllowSbd)
|
||||
//{
|
||||
// return CreateSbdLeistungsnachweisForSingleCustomerReport(customerOid, month, year, orgaOid, empOid, serviceCategoryOid ?? 0, startDay, endDay, false, "nrw");
|
||||
|
||||
//}
|
||||
|
||||
String reportId = null;
|
||||
if (orgaOid > 0)
|
||||
{
|
||||
var organisation = DAOFactory.GenericDAO.LoadByID<Organisation>(orgaOid);
|
||||
if (organisation != null)
|
||||
reportId = organisation.Name;
|
||||
}
|
||||
|
||||
var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
|
||||
IBeWoReport<ServicesOverviewRO> lServiceOverviewSingleCustomerReport = new Quittierungsbeleg();
|
||||
if (reportId != null)
|
||||
{
|
||||
if (reportId.ToLower() == "landeshauptstadt hannover" || reportId.ToLower().Contains("stadt hannover"))
|
||||
lServiceOverviewSingleCustomerReport = new QuittierungsbelegHannover();
|
||||
}
|
||||
|
||||
if (ro != null)
|
||||
{
|
||||
lServiceOverviewSingleCustomerReport.SetReportDataSource(ro);
|
||||
}
|
||||
|
||||
return lServiceOverviewSingleCustomerReport as XtraReport;
|
||||
}
|
||||
}
|
||||
}
|
||||
200
ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHA.cs
Normal file
200
ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHA.cs
Normal file
@@ -0,0 +1,200 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Entities;
|
||||
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 BS.Shared.Services;
|
||||
|
||||
namespace LebensWert.Invoicing
|
||||
{
|
||||
public class CustomInvoiceCreationHA : InvoiceCreation
|
||||
{
|
||||
public override void SetInvoiceId(ServiceInvoice invoice)
|
||||
{
|
||||
invoice.InvoiceBase.InvoiceId = "NI";
|
||||
}
|
||||
|
||||
private const decimal AMOUNT_PER_KM_DEFAULT = 0.3m;
|
||||
//private ServiceCategory fahrtkostenServiceCategory = null;
|
||||
private DateTime? accountingPeriodStart = null;
|
||||
private DateTime? accountingPeriodEnd = null;
|
||||
|
||||
public override void SetInvoiceBaseData(int invoiceCounter, ServiceInvoice invoice, CostBearer costBearer, DateTimeSpan invoicePeriod,
|
||||
IList<CompactSupportConceptDC> supportConceptList)
|
||||
{
|
||||
if (invoicePeriod != null)
|
||||
{
|
||||
accountingPeriodStart = invoicePeriod.StartDate;
|
||||
accountingPeriodEnd = invoicePeriod.EndDate;
|
||||
}
|
||||
base.SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConceptList);
|
||||
}
|
||||
|
||||
public override void SetInvoiceItems(ServiceInvoice invoice, ServiceInvoicePeriod serviceInvoicePeriod,
|
||||
SupportConceptApprovalPeriodDC supportConceptApprovalPeriod, CostBearer2SupportConcept cb2sc,
|
||||
DateTimeSpan invoicePeriod, List<ServiceRecordDC> serviceRecords)
|
||||
{
|
||||
Calculations calc = PluginLoader.FindClass<Calculations>(_SpecificID) ?? Calculations.GetInstance(_SpecificID);
|
||||
List<ServiceRecordDC> serviceRecordsInPeriod = serviceRecords.Where(
|
||||
i =>
|
||||
{
|
||||
bool valid = i.Start.Value.InBetween(serviceInvoicePeriod.Start.Value,
|
||||
serviceInvoicePeriod.End.Value, true);
|
||||
|
||||
if (valid && serviceInvoicePeriod.SupportConceptApprovalPeriod != null &&
|
||||
serviceInvoicePeriod.SupportConceptApprovalPeriod.ServiceCategory != null)
|
||||
valid = serviceInvoicePeriod.SupportConceptApprovalPeriod.ServiceCategory.Oid ==
|
||||
i.ServiceDescription.Category.ServiceCategoryOid;
|
||||
return valid;
|
||||
}).ToList();
|
||||
|
||||
if (serviceRecordsInPeriod.Count > 0)
|
||||
{
|
||||
var itemList = CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, serviceInvoicePeriod.SupportConceptApprovalPeriod, calc);
|
||||
serviceInvoicePeriod.InvoiceItemList.AddRange(itemList);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public override IList<InvoiceItem> CreateInvoiceItems(List<ServiceRecordDC> serviceRecordsInPeriod, DateTimeSpan invoicePeriod,
|
||||
SupportConceptApprovalPeriod scap, BS.Shared.Services.Calculations calc)
|
||||
{
|
||||
var list = base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc);
|
||||
var fitem = CreateFahrtkostenZoneItem(serviceRecordsInPeriod, invoicePeriod, scap);
|
||||
|
||||
if (fitem != null)
|
||||
list.Add(fitem);
|
||||
fitem = CreateFahrtkostenItem(serviceRecordsInPeriod, scap);
|
||||
|
||||
if (fitem != null)
|
||||
list.Add(fitem);
|
||||
return list;
|
||||
}
|
||||
|
||||
private InvoiceItem CreateFahrtkostenZoneItem(List<ServiceRecordDC> serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
foreach (var sa in scap.CostBearer2SupportConcept.SupportConcept.ServiceAccountings)
|
||||
{
|
||||
if (sa.ServiceDescription != null && sa.ServiceDescription.Name.Contains("Zone") || sa.ServiceDescription != null && sa.ServiceDescription.Name.ToLower().Contains("wegzeitenpauschale"))
|
||||
{
|
||||
var crlist = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(sa.ServiceDescription.CostRatePeriods);
|
||||
var crp = crlist.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, invoicePeriod.StartDate);
|
||||
if (crp != null && crp.CostRateValue.HasValue)
|
||||
{
|
||||
int count = 0;
|
||||
foreach (var sr in serviceRecordsInPeriod)
|
||||
{
|
||||
if (!sr.ServiceDescription.CategoryName.Contains("Fahrt"))
|
||||
count++;
|
||||
}
|
||||
var ii = new InvoiceItem();
|
||||
ii.UnitCount = count;
|
||||
ii.ItemDescription = sa.ServiceDescription.Name;
|
||||
if (!ii.ItemDescription.Contains("Fahrtkosten"))
|
||||
ii.ItemDescription = "Fahrtkosten " + sa.ServiceDescription.Name;
|
||||
ii.UnitDescription = "Kostenpauschale (je Kontakt)";
|
||||
ii.AmountPerUnit = crp.CostRateValue.Value;
|
||||
ii.ItemPeriodStart = accountingPeriodStart;
|
||||
ii.ItemPeriodEnd = accountingPeriodEnd;
|
||||
ii.AmountTotal = Math.Round(ii.AmountPerUnit.Value * ii.UnitCount.Value, 2, MidpointRounding.AwayFromZero);
|
||||
ii.GrossAmountTotal = ii.AmountTotal;
|
||||
|
||||
return ii;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc)
|
||||
{
|
||||
var invoiceItem = base.CreateInvoiceItem(iServiceRecord, scap, calc);
|
||||
if (iServiceRecord.CostBearer.Name.Contains("Hannover"))
|
||||
{
|
||||
invoiceItem.UnitCount = 120 * invoiceItem.UnitCount / 100;
|
||||
invoiceItem.GrossAmountTotal = 120 * invoiceItem.GrossAmountTotal / 100;
|
||||
}
|
||||
|
||||
if (iServiceRecord != null)
|
||||
{
|
||||
var cat = iServiceRecord.ServiceDescription.CategoryName;
|
||||
var desc = iServiceRecord.ServiceDescription.Name;
|
||||
|
||||
if (cat.Contains("Fachleistungsstunde"))
|
||||
{
|
||||
invoiceItem.ItemDescription = "face-to-face";
|
||||
invoiceItem.UnitDescription = "Fachleistungsstunde (FLS)";
|
||||
}
|
||||
else if (cat == "Fahrtkosten")
|
||||
{
|
||||
return null;
|
||||
if (desc.Contains("Zone"))
|
||||
{
|
||||
invoiceItem.ItemDescription = "Fahrtkosten " + desc;
|
||||
invoiceItem.UnitDescription = "Kostenpauschale (je Kontakt)";
|
||||
}
|
||||
else
|
||||
{
|
||||
invoiceItem.ItemDescription = "Fahrtkosten";
|
||||
invoiceItem.UnitDescription = "Kilometerpauschale (je km)";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
invoiceItem.ItemDescription = desc;
|
||||
invoiceItem.UnitDescription = "Stunde";
|
||||
}
|
||||
}
|
||||
|
||||
return invoiceItem;
|
||||
}
|
||||
|
||||
private InvoiceItem CreateFahrtkostenItem(List<ServiceRecordDC> serviceRecords, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
decimal amountPerKm = AMOUNT_PER_KM_DEFAULT;
|
||||
InvoiceItem ii = null;
|
||||
foreach (var sr in serviceRecords)
|
||||
{
|
||||
if (sr.DistanceInMeter.HasValue && sr.DistanceInMeter > 0)
|
||||
{
|
||||
//String ma = sr.Employee.LastName;
|
||||
if (ii == null)
|
||||
{
|
||||
ii = new InvoiceItem();
|
||||
ii.UnitCount = 0;
|
||||
ii.ItemDescription = "Fahrtkosten";
|
||||
ii.UnitDescription = "Kilometerpauschale (je km)";
|
||||
ii.AmountPerUnit = amountPerKm;
|
||||
ii.ItemPeriodStart = accountingPeriodStart;
|
||||
ii.ItemPeriodEnd = accountingPeriodEnd;
|
||||
}
|
||||
|
||||
ii.UnitCount += sr.DistanceInMeter;
|
||||
}
|
||||
}
|
||||
if (ii != null)
|
||||
{
|
||||
if (ii.UnitCount.HasValue)
|
||||
{
|
||||
ii.AmountTotal = Math.Round(ii.AmountPerUnit.Value * ii.UnitCount.Value, 2, MidpointRounding.AwayFromZero);
|
||||
ii.GrossAmountTotal = ii.AmountTotal;
|
||||
}
|
||||
}
|
||||
|
||||
return ii;
|
||||
}
|
||||
|
||||
public override string GetSummaryItemKey(SupportConceptApprovalPeriod scap, InvoiceItem iitem, bool summaryPerMonth)
|
||||
{
|
||||
return String.Format("{0}_{1}_{2:yyyyMM}_{3}", iitem.AmountPerUnit, iitem.RateFactor, iitem.ItemPeriodStart, iitem.ItemDescription);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -192,53 +192,9 @@ namespace LebensWert.Invoicing
|
||||
return ii;
|
||||
}
|
||||
|
||||
//public override void CheckMaxApprovedAmount(ServiceInvoice invoice, ServiceInvoicePeriod sip, SupportConceptApprovalPeriodDC scap,
|
||||
//CostBearer2SupportConcept costBearer2SupportConcept, DateTimeSpan invoicePeriod, List<ServiceRecordDC> serviceRecords)
|
||||
//{
|
||||
//do nothing
|
||||
|
||||
// if (sip.ApprovedHours.HasValue && !scap.IsApprovedBEShifting)
|
||||
// {
|
||||
// decimal totalHours = 0;
|
||||
|
||||
// foreach (var ii in sip.InvoiceItemList.Where(ii => ii.UnitCount.HasValue))
|
||||
// {
|
||||
// if (ii.ItemDescription != "Fahrten mit Klienten")
|
||||
// {
|
||||
// if (totalHours + ii.UnitCount.Value > sip.ApprovedHours)
|
||||
// {
|
||||
// ii.UnitCount = sip.ApprovedHours.Value - totalHours;
|
||||
// if (ii.AmountPerUnit.HasValue)
|
||||
// {
|
||||
// ii.AmountTotal = ii.AmountPerUnit.Value*ii.UnitCount;
|
||||
// ii.GrossAmountTotal = ii.AmountTotal;
|
||||
// }
|
||||
// totalHours = sip.ApprovedHours.Value;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// totalHours += ii.UnitCount.Value;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
public override string GetSummaryItemKey(SupportConceptApprovalPeriod scap, InvoiceItem iitem, bool summaryPerMonth)
|
||||
{
|
||||
return String.Format("{0}_{1}_{2:yyyyMM}_{3}", iitem.AmountPerUnit, iitem.RateFactor, iitem.ItemPeriodStart, iitem.ItemDescription);
|
||||
}
|
||||
//public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList,
|
||||
// DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc, bool summaryPerMonth, bool addRateFactorToUnitCount)
|
||||
//{
|
||||
// var items = base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, summaryPerMonth, addRateFactorToUnitCount);
|
||||
|
||||
// foreach (var ii in items)
|
||||
// {
|
||||
|
||||
// }
|
||||
|
||||
// return items;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
@@ -18,10 +16,14 @@ namespace LebensWert.Invoicing
|
||||
foreach (var item in supportConcepts2ServiceRecords)
|
||||
{
|
||||
var csc = item.Key;
|
||||
if (csc.CostBearer.Contains("Nienburg") || csc.CostBearer.Contains("Hannover"))
|
||||
if (csc.CostBearer.Contains("Nienburg") || csc.CostBearer.ToLower().Contains("region hannover"))
|
||||
{
|
||||
return new CustomInvoiceCreationNI();
|
||||
}
|
||||
else if (csc.CostBearer.ToLower() == "landeshauptstadt hannover" || csc.CostBearer.ToLower().Contains("stadt hannover"))
|
||||
{
|
||||
return new CustomInvoiceCreationHA();
|
||||
}
|
||||
else if (csc.CostBearer.Contains("Hildesheim"))
|
||||
{
|
||||
return new CustomInvoiceCreationHI();
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
<Compile Include="CustomerDataReport.Designer.cs">
|
||||
<DependentUpon>CustomerDataReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceCreationHA.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceCreationHI.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceCreationNI.cs" />
|
||||
@@ -64,6 +66,12 @@
|
||||
<Compile Include="Quittierungsbeleg.Designer.cs">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegHannover.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegHannover.Designer.cs">
|
||||
<DependentUpon>QuittierungsbelegHannover.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungHI.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -117,6 +125,10 @@
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuittierungsbelegHannover.resx">
|
||||
<DependentUpon>QuittierungsbelegHannover.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungHI.resx">
|
||||
<DependentUpon>RechnungHI.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
1346
ReportImp/LebensWert/QuittierungsbelegHannover.Designer.cs
generated
Normal file
1346
ReportImp/LebensWert/QuittierungsbelegHannover.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
185
ReportImp/LebensWert/QuittierungsbelegHannover.cs
Normal file
185
ReportImp/LebensWert/QuittierungsbelegHannover.cs
Normal file
@@ -0,0 +1,185 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace LebensWert
|
||||
{
|
||||
public partial class QuittierungsbelegHannover : XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public QuittierungsbelegHannover()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
// Get calling method name
|
||||
//StackTrace stackTrace = new StackTrace();
|
||||
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
|
||||
|
||||
bool hatGruppen = false;
|
||||
double minuten = 0;
|
||||
|
||||
var cr = pRO.CostBearer2SupportConceptList[0].CostBearer.CostRatePeriods.Where(p => p.CostRateType == CostRatePeriodType.MinutesPerServiceUnit).OrderBy(c => c.EndDate).ToList();
|
||||
var currentFLSUnit = cr.FirstOrDefault(c => c.EndDate >= pRO.EndDate);
|
||||
if (currentFLSUnit == null)
|
||||
currentFLSUnit = cr[0];
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
int summeWegepauschalen = 0;
|
||||
int summeAusfallstunden = 0;
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable && !sd.ServiceCategory.Contains("Fahrt"))
|
||||
{
|
||||
minuten += sd.Minutes;
|
||||
ServicesOverviewRO.CreateSignatureString(sd);
|
||||
sd.Notice5 = "F";
|
||||
if (sd.ServiceDescription.Contains("ear"))
|
||||
sd.Notice5 = "E";
|
||||
else if (sd.IsGroup)
|
||||
{
|
||||
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
|
||||
hatGruppen = true;
|
||||
sd.Notice3 = "1";
|
||||
}
|
||||
|
||||
// Felder für Wegepauschale setzen (Wenn FLS FaceToFace, dann ja)
|
||||
if (sd.ServiceCategory.ToLower().Contains("fachleistungsstunde") && sd.ServiceDescription.ToLower().Contains("face to face"))
|
||||
{
|
||||
sd.Notice4 = "1";
|
||||
summeWegepauschalen++;
|
||||
}
|
||||
else
|
||||
sd.Notice4 = "";
|
||||
|
||||
// Felder für Ausfallstundnen setzen
|
||||
if (sd.ServiceCategory.ToLower().Contains("ausfallstunde"))
|
||||
{
|
||||
sd.Notice5 = "1";
|
||||
summeAusfallstunden++;
|
||||
}
|
||||
else
|
||||
sd.Notice5 = "";
|
||||
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
}
|
||||
pRO.Services = servicesBillable;
|
||||
lblSummeWegepauschalen.Text = string.Format("{0:0}", summeWegepauschalen);
|
||||
lblSummeAusfallstunden.Text = string.Format("{0:0}", summeAusfallstunden);
|
||||
|
||||
}
|
||||
|
||||
if (pRO.CostBearer2SupportConceptList != null && pRO.CostBearer2SupportConceptList.Count > 0)
|
||||
{
|
||||
var c2s = pRO.CostBearer2SupportConceptList[0];
|
||||
var dc = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(c2s);
|
||||
|
||||
foreach (var scap in dc.ApprovalPeriodList)
|
||||
{
|
||||
if (scap.ApprovedBEPerInterval.HasValue && scap.ApprovedBEInterval.HasValue && scap.ServiceCategory.Name == pRO.Services[0].ServiceCategory)
|
||||
lblBewilligtFls.Text = String.Format("{0:0.00}", scap.ApprovedBEPerInterval.Value);
|
||||
}
|
||||
}
|
||||
|
||||
pRO.TotalFLMBillable = minuten;
|
||||
|
||||
foreach (var s in pRO.Services)
|
||||
s.FLSQualified = s.MinutesQualified / Convert.ToDouble(currentFLSUnit.CostRateValue);
|
||||
pRO.TotalFLSQualified = pRO.TotalFLMQualified / Convert.ToDouble(currentFLSUnit.CostRateValue);
|
||||
|
||||
lblRestbudget.Text = String.Format("{0:0.00}", pRO.ApprovedFLSTotal - pRO.MinutenGeleistetGesamt / currentFLSUnit.CostRateValue);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
|
||||
{
|
||||
XRPictureBox xrBox = sender as XRPictureBox;
|
||||
//var test = this.GetCurrent
|
||||
string base64String = xrBox.Tag as string;
|
||||
if (!String.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binData = Convert.FromBase64String(base64Data);
|
||||
Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
{
|
||||
xrBox.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Wie anzeigen? Alle?
|
||||
private void EmployeeSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
|
||||
{
|
||||
return;
|
||||
|
||||
if (sender is XRPictureBox pictureBox)
|
||||
{
|
||||
var base64String = pictureBox.Tag as string;
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binaryData = Convert.FromBase64String(base64Data);
|
||||
var image = ByteArrayToImage(binaryData);
|
||||
|
||||
pictureBox.Image = image;
|
||||
}
|
||||
else
|
||||
{
|
||||
pictureBox.Image = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Wie anzeigen? Alle?
|
||||
// TODO: Visibile der Datumstextboxen auf true setzen!
|
||||
private void CustomerSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
|
||||
{
|
||||
return;
|
||||
|
||||
if (sender is XRPictureBox pictureBox)
|
||||
{
|
||||
var base64String = pictureBox.Tag as string;
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binaryData = Convert.FromBase64String(base64Data);
|
||||
var image = ByteArrayToImage(binaryData);
|
||||
|
||||
pictureBox.Image = image;
|
||||
}
|
||||
else
|
||||
{
|
||||
pictureBox.Image = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using (var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
126
ReportImp/LebensWert/QuittierungsbelegHannover.resx
Normal file
126
ReportImp/LebensWert/QuittierungsbelegHannover.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>21, 17</value>
|
||||
</metadata>
|
||||
<data name="xrRichText5.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABmAGkANwAwADgAXABsAGkAMgAxADIANABcAGwAaQBuADIAMQAyADQAXABzAGwAMgA1ADgAXABzAGwAbQB1AGwAdAAxAHsAXABiAFwAZgAxAFwAZgBzADMAMgBcAGMAZgAwACAATAAgAGUAIABiACAAZQAgAG4AIABzACAAVwAgAGUAIAByACAAdAB9AFwAYgBcAGYAMQBcAGYAcwAzADIAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABsAGkAMgA4ADMAMgBcAGwAaQBuADIAOAAzADIAXABzAGwAMgA1ADgAXABzAGwAbQB1AGwAdAAxAHsAXABpAFwAZgAyAFwAZgBzADIAMgBcAGMAZgAwACAAXAB1ADgAMgAzADAAXAAnADgANQBcAHUAOAAyADMAMABcACcAOAA1AC4AaQBjAGgAIABiAGUAZwBsAGUAaQB0AGUAIABpAGgAcgBlAH0AXABpAFwAZgAyAFwAZgBzADIAMgBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbABcAGYAaQA3ADAAOABcAGwAaQAyADgAMwAyAFwAbABpAG4AMgA4ADMAMgBcAHMAbAAyADUAOABcAHMAbABtAHUAbAB0ADEAewBcAGkAXABmADIAXABmAHMAMgAyAFwAYwBmADAAIABzAGUAbABiAHMAdABiAGUAcwB0AGkAbQBtAHQAZQAgAEwAZQBiAGUAbgBzAGYAXAB1ADIANQAyAFwAJwBmAGMAaAByAHUAbgBnAH0AXABpAFwAZgAyAFwAZgBzADIAMgBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbABcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA==</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -25,36 +25,40 @@ namespace VkmHamm
|
||||
AuslastungBerechnung b = new AuslastungBerechnung();
|
||||
b.CreateReport(pRO);
|
||||
|
||||
foreach (var td in pRO.TeamDetailList)
|
||||
{
|
||||
foreach (var scd in td.SupportConceptDetailList)
|
||||
{
|
||||
if (scd.Customer != null && scd.Customer.Employee2CustomerList != null)
|
||||
foreach (var e2c in scd.Customer.Employee2CustomerList)
|
||||
{
|
||||
foreach (var v2o in e2c.ValueList)
|
||||
if (pRO.TeamDetailList != null)
|
||||
{
|
||||
foreach (var td in pRO.TeamDetailList)
|
||||
{
|
||||
foreach (var scd in td.SupportConceptDetailList)
|
||||
{
|
||||
if (scd.Customer != null && scd.Customer.Employee2CustomerList != null)
|
||||
foreach (var e2c in scd.Customer.Employee2CustomerList)
|
||||
{
|
||||
if (v2o.Entry.Type == ValueListEntryType.StaffRoleType)
|
||||
foreach (var v2o in e2c.ValueList)
|
||||
{
|
||||
if (v2o.Entry.Value.Contains("Bezugsbetreuer"))
|
||||
if (v2o.Entry.Type == ValueListEntryType.StaffRoleType)
|
||||
{
|
||||
if (v2o.Entry.Value.Contains("Bezugsbetreuer"))
|
||||
|
||||
{
|
||||
scd.Custom3 = e2c.Employee.Person.LastName + ", " + scd.Customer.Employee2CustomerList[0].Employee.Person.FirstName;
|
||||
if (e2c.Employee.Contracts != null && e2c.Employee.Contracts.Count != 0)
|
||||
{
|
||||
var contract = e2c.Employee.Contracts.FirstOrDefault(x => (!x.EntryDate.HasValue ||
|
||||
x.EntryDate.Value <= pRO.ReportStartDate.Date) &&
|
||||
(!x.ContractEndDate.HasValue || x.ContractEndDate.Value >= pRO.ReportStartDate.Date));
|
||||
scd.Custom2 = String.Format("Wochenstunden {0:0.00}, FLS/Woche: {1:0.00}", contract.WeeklyTotalHours ?? 0, contract.WeeklyFLS ?? 0);
|
||||
if (e2c.Employee != null && e2c.Employee.Person != null)
|
||||
scd.Custom3 = e2c.Employee.Person.LastName + ", " + scd.Customer.Employee2CustomerList[0].Employee.Person.FirstName;
|
||||
if (e2c.Employee.Contracts != null && e2c.Employee.Contracts.Count != 0)
|
||||
{
|
||||
var contract = e2c.Employee.Contracts.FirstOrDefault(x => (!x.EntryDate.HasValue ||
|
||||
x.EntryDate.Value <= pRO.ReportStartDate.Date) &&
|
||||
(!x.ContractEndDate.HasValue || x.ContractEndDate.Value >= pRO.ReportStartDate.Date));
|
||||
scd.Custom2 = String.Format("Wochenstunden {0:0.00}, FLS/Woche: {1:0.00}", contract.WeeklyTotalHours ?? 0, contract.WeeklyFLS ?? 0);
|
||||
}
|
||||
else
|
||||
scd.Custom2 = "Wochenstunden 0.00, FLS/Woche: 0.00";
|
||||
}
|
||||
else
|
||||
scd.Custom2 = "Wochenstunden 0.00, FLS/Woche: 0.00";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
140
ReportImp/VkmHamm/Teamauslastung.designer.cs
generated
140
ReportImp/VkmHamm/Teamauslastung.designer.cs
generated
@@ -33,6 +33,8 @@ namespace VkmHamm
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -50,15 +52,16 @@ namespace VkmHamm
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellSollGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.lblMonat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -74,9 +77,6 @@ namespace VkmHamm
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.fieldTotalSC = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldTotalEmp = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
@@ -104,6 +104,28 @@ namespace VkmHamm
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(510.4167F, 0F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(139.5833F, 23F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = "Stunden im Team: ";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TeamDetailList.ApprovedHoursPerWeek", "{0:#.00}")});
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(650.0001F, 0F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "xrLabel3";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -275,6 +297,47 @@ namespace VkmHamm
|
||||
this.xrTableCell9.Text = "Bewilligt/Woche";
|
||||
this.xrTableCell9.Weight = 0.18034265124646462D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel5,
|
||||
this.xrLabel2});
|
||||
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("Custom3", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
|
||||
this.GroupHeader1.HeightF = 76.08331F;
|
||||
this.GroupHeader1.Level = 1;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.000111262F, 51.08331F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(676.9999F, 25F);
|
||||
this.xrLabel5.StyleName = "Title";
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[Custom2]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TeamDetailList.SupportConceptDetailList.Custom3")});
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.08332F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(223.9583F, 23F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "xrLabel2";
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupFooter2.HeightF = 51.04167F;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
@@ -326,41 +389,11 @@ namespace VkmHamm
|
||||
this.cellSollGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TeamDetailList.SupportConceptDetailList.ApprovedHoursPerWeek")});
|
||||
this.cellSollGesamt.Name = "cellSollGesamt";
|
||||
xrSummary1.FormatString = "{0:#.##}";
|
||||
xrSummary1.FormatString = "{0:#.00}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellSollGesamt.Summary = xrSummary1;
|
||||
this.cellSollGesamt.Weight = 0.18034265103697075D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel5,
|
||||
this.xrLabel2});
|
||||
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("Custom3", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
|
||||
this.GroupHeader1.HeightF = 76.08331F;
|
||||
this.GroupHeader1.Level = 1;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TeamDetailList.SupportConceptDetailList.Custom3")});
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.08332F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(223.9583F, 23F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "xrLabel2";
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupFooter2.HeightF = 51.04167F;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterauslastungRO);
|
||||
@@ -485,39 +518,6 @@ namespace VkmHamm
|
||||
this.fieldTotalEmp.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTotalEmp.Name = "fieldTotalEmp";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TeamDetailList.ApprovedHoursPerWeek", "{0:#.00}")});
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(650.0001F, 0F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "xrLabel3";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(510.4167F, 0F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(139.5833F, 23F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = "Stunden im Team:";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.000111262F, 51.08331F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(676.9999F, 25F);
|
||||
this.xrLabel5.StyleName = "Title";
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[Custom2]";
|
||||
//
|
||||
// Teamauslastung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
|
||||
Reference in New Issue
Block a user