MH: TranskulturellesBetreuungsbuero Stundenübersicht erweitert
SupportOID=167379
This commit is contained in:
@@ -176,6 +176,10 @@ namespace TranskulturellesBetreuungsbuero
|
||||
// Stellvertretung (FLSReportGroups.FLSReportDetail.CustomValue2) ist
|
||||
foreach (var group in ro.FLSReportGroups)
|
||||
{
|
||||
decimal summeEigeneFlsInMin = 0;
|
||||
decimal summeVertretungsFlsInMin = 0;
|
||||
decimal summeArbeitszeitInMin = 0;
|
||||
|
||||
foreach (var detail in group.FLSReportDetails)
|
||||
{
|
||||
detail.CustomValue3 = string.Format("{0:0.00}", detail.TotalFLM / 60);
|
||||
@@ -202,7 +206,7 @@ namespace TranskulturellesBetreuungsbuero
|
||||
employee2Arbeitszeiteintraege.Add(emp, new List<FLSReportServiceRecord>());
|
||||
|
||||
employee2Arbeitszeiteintraege[emp].Add(sr);
|
||||
|
||||
summeArbeitszeitInMin += sr.RoundedDuration;
|
||||
}
|
||||
// Sonst für das Detail bestimmen, ob Klient Vertreten wird oder Hauptbetreuung ist ("Fallkoordination")
|
||||
else if (sr.EmployeeOid.HasValue && sr.CustomerOid.HasValue)
|
||||
@@ -228,28 +232,38 @@ namespace TranskulturellesBetreuungsbuero
|
||||
if (entry.Entry.Type == BS.Shared.ValueListEntryType.StaffRoleType)
|
||||
{
|
||||
if (entry.Entry.SystemEntryID != null && entry.Entry.SystemEntryID == BS.Shared.SystemEntryID.EmployeeRoleMainAttendant)
|
||||
{
|
||||
detail.CustomValue1 = "X";
|
||||
summeEigeneFlsInMin += sr.RoundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
detail.CustomValue2 = "X";
|
||||
summeVertretungsFlsInMin += sr.RoundedDuration;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Summe gesamte FLS
|
||||
group.CustomValue1 = string.Format("{0:0.00}", (summeEigeneFlsInMin + summeVertretungsFlsInMin) / 60);
|
||||
// davon eigene FLS
|
||||
group.CustomValue2 = string.Format("{0:0.00}", summeEigeneFlsInMin / 60);
|
||||
// davon vertretene FLS
|
||||
group.CustomValue3 = string.Format("{0:0.00}", summeVertretungsFlsInMin / 60);
|
||||
// Summe sonstige Arbeitszeit
|
||||
group.CustomValue4 = string.Format("{0:0.00}", summeArbeitszeitInMin / 60);
|
||||
// Summe FLS + Arbeitszeit
|
||||
group.CustomValue5 = string.Format("{0:0.00}", (summeEigeneFlsInMin + summeVertretungsFlsInMin + summeArbeitszeitInMin) / 60);
|
||||
}
|
||||
|
||||
|
||||
// Wenn nach MA ausgewertet wird, können die AZ-Einträge ans Detail angehangen werden
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.formattingRule1 = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -60,6 +61,17 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeFLS = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeAZ = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -74,18 +86,15 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.fieldGroupFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeFLS = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tcSummeAZ = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.formattingRule1 = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
@@ -346,6 +355,15 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell2.Weight = 1.4105262281423152D;
|
||||
//
|
||||
// formattingRule1
|
||||
//
|
||||
this.formattingRule1.Condition = "[Name] == \'Sonstige Arbeitszeiten\'";
|
||||
this.formattingRule1.DataMember = "FLSReportGroups.FLSReportDetails";
|
||||
this.formattingRule1.Formatting.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.formattingRule1.Formatting.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.formattingRule1.Formatting.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.formattingRule1.Name = "formattingRule1";
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
@@ -426,10 +444,160 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.xrLabel3,
|
||||
this.xrLabel2,
|
||||
this.xrTable4});
|
||||
this.GroupFooter1.HeightF = 133F;
|
||||
this.GroupFooter1.HeightF = 209.9848F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(217.4163F, 151.6515F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(376.3403F, 25F);
|
||||
this.xrLabel4.StyleName = "Title";
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(217.4163F, 184.9848F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(376.3403F, 25F);
|
||||
this.xrLabel5.StyleName = "Title";
|
||||
this.xrLabel5.StylePriority.UseBackColor = false;
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.9848F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(217.4163F, 25F);
|
||||
this.xrLabel3.StyleName = "Title";
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.Text = "Datum / Unterschrift Leitung";
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 151.6515F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(217.4163F, 25F);
|
||||
this.xrLabel2.StyleName = "Title";
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.Text = "Datum / Unterschrift Mitarbeiter/in";
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4,
|
||||
this.xrTableRow9,
|
||||
this.xrTableRow10,
|
||||
this.xrTableRow7,
|
||||
this.xrTableRow8});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(369.1666F, 125F);
|
||||
//
|
||||
// xrTableRow4
|
||||
//
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell10,
|
||||
this.tcSummeFLS});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Summe FLS:";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 2.24198491541381D;
|
||||
//
|
||||
// tcSummeFLS
|
||||
//
|
||||
this.tcSummeFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.tcSummeFLS.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue1")});
|
||||
this.tcSummeFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.tcSummeFLS.Multiline = true;
|
||||
this.tcSummeFLS.Name = "tcSummeFLS";
|
||||
this.tcSummeFLS.StylePriority.UseBorders = false;
|
||||
this.tcSummeFLS.StylePriority.UseFont = false;
|
||||
this.tcSummeFLS.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeFLS.TextFormatString = "{0:0.00}";
|
||||
this.tcSummeFLS.Weight = 0.722789201122132D;
|
||||
//
|
||||
// xrTableRow7
|
||||
//
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16,
|
||||
this.tcSummeAZ});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 1D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell16.Multiline = true;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseBorders = false;
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.Text = "Summe sonstige Arbeitszeit:";
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell16.Weight = 2.0839579709214591D;
|
||||
//
|
||||
// tcSummeAZ
|
||||
//
|
||||
this.tcSummeAZ.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.tcSummeAZ.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue4")});
|
||||
this.tcSummeAZ.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.tcSummeAZ.Multiline = true;
|
||||
this.tcSummeAZ.Name = "tcSummeAZ";
|
||||
this.tcSummeAZ.StylePriority.UseBorders = false;
|
||||
this.tcSummeAZ.StylePriority.UseFont = false;
|
||||
this.tcSummeAZ.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeAZ.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeAZ.Weight = 0.67184301557342418D;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -462,7 +630,7 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.HeightF = 48.00002F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
@@ -479,7 +647,7 @@ namespace TranskulturellesBetreuungsbuero
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(8F, 25F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.00002F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(497F, 23F);
|
||||
@@ -550,161 +718,122 @@ namespace TranskulturellesBetreuungsbuero
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrTable4
|
||||
// xrTableRow8
|
||||
//
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4,
|
||||
this.xrTableRow7});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(593.7566F, 50F);
|
||||
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell22,
|
||||
this.xrTableCell23});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
this.xrTableRow8.Weight = 1D;
|
||||
//
|
||||
// xrTableRow4
|
||||
// xrTableCell22
|
||||
//
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell10,
|
||||
this.tcSummeFLS});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamt FLS:";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 2.3199998563016657D;
|
||||
this.xrTableCell22.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell22.Multiline = true;
|
||||
this.xrTableCell22.Name = "xrTableCell22";
|
||||
this.xrTableCell22.StylePriority.UseBorders = false;
|
||||
this.xrTableCell22.StylePriority.UseFont = false;
|
||||
this.xrTableCell22.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell22.Text = "Summe Gesamt:";
|
||||
this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell22.Weight = 2.0839579709214591D;
|
||||
//
|
||||
// tcSummeFLS
|
||||
// xrTableCell23
|
||||
//
|
||||
this.tcSummeFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.tcSummeFLS.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue1")});
|
||||
this.tcSummeFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.tcSummeFLS.Multiline = true;
|
||||
this.tcSummeFLS.Name = "tcSummeFLS";
|
||||
this.tcSummeFLS.StylePriority.UseBorders = false;
|
||||
this.tcSummeFLS.StylePriority.UseFont = false;
|
||||
this.tcSummeFLS.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeFLS.TextFormatString = "{0:0.00}";
|
||||
this.tcSummeFLS.Weight = 0.68003373630739938D;
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue5")});
|
||||
this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell23.Multiline = true;
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.StylePriority.UseBorders = false;
|
||||
this.xrTableCell23.StylePriority.UseFont = false;
|
||||
this.xrTableCell23.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell23.Weight = 0.67184301557342418D;
|
||||
//
|
||||
// xrTableRow7
|
||||
// xrTableRow9
|
||||
//
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16,
|
||||
this.tcSummeAZ});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 1D;
|
||||
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow9.Name = "xrTableRow9";
|
||||
this.xrTableRow9.Weight = 1D;
|
||||
//
|
||||
// xrTableCell16
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell16.Multiline = true;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseBorders = false;
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.Text = "Gesamt AZ:";
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell16.Weight = 2.3199998563016657D;
|
||||
this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell13.Multiline = true;
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.StylePriority.UseBorders = false;
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell13.Text = "davon eigene FLS:";
|
||||
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell13.Weight = 2.24198491541381D;
|
||||
//
|
||||
// tcSummeAZ
|
||||
// xrTableCell14
|
||||
//
|
||||
this.tcSummeAZ.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.tcSummeAZ.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue2")});
|
||||
this.tcSummeAZ.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.tcSummeAZ.Multiline = true;
|
||||
this.tcSummeAZ.Name = "tcSummeAZ";
|
||||
this.tcSummeAZ.StylePriority.UseBorders = false;
|
||||
this.tcSummeAZ.StylePriority.UseFont = false;
|
||||
this.tcSummeAZ.StylePriority.UseTextAlignment = false;
|
||||
this.tcSummeAZ.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tcSummeAZ.Weight = 0.68003373630739938D;
|
||||
this.xrTableCell14.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseBorders = false;
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell14.Weight = 0.722789201122132D;
|
||||
//
|
||||
// formattingRule1
|
||||
// xrTableRow10
|
||||
//
|
||||
this.formattingRule1.Condition = "[Name] == \'Sonstige Arbeitszeiten\'";
|
||||
this.formattingRule1.DataMember = "FLSReportGroups.FLSReportDetails";
|
||||
this.formattingRule1.Formatting.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.formattingRule1.Formatting.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.formattingRule1.Formatting.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.formattingRule1.Name = "formattingRule1";
|
||||
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell17});
|
||||
this.xrTableRow10.Name = "xrTableRow10";
|
||||
this.xrTableRow10.Weight = 1D;
|
||||
//
|
||||
// xrLabel2
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 64.66669F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(217.4163F, 25F);
|
||||
this.xrLabel2.StyleName = "Title";
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.Text = "Datum / Unterschrift Mitarbeiter/in";
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "davon vertretene FLS: ";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell15.Weight = 2.24198491541381D;
|
||||
//
|
||||
// xrLabel3
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 98.00002F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(217.4163F, 25F);
|
||||
this.xrLabel3.StyleName = "Title";
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.Text = "Datum / Unterschrift Leitung";
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(217.4163F, 64.66669F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(376.3403F, 25F);
|
||||
this.xrLabel4.StyleName = "Title";
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(217.4163F, 98.00002F);
|
||||
this.xrLabel5.Multiline = true;
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(376.3403F, 25F);
|
||||
this.xrLabel5.StyleName = "Title";
|
||||
this.xrLabel5.StylePriority.UseBackColor = false;
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.CustomValue3")});
|
||||
this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell17.Multiline = true;
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseBorders = false;
|
||||
this.xrTableCell17.StylePriority.UseFont = false;
|
||||
this.xrTableCell17.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell17.Weight = 0.722789201122132D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
@@ -804,5 +933,14 @@ namespace TranskulturellesBetreuungsbuero
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace TranskulturellesBetreuungsbuero
|
||||
|
||||
//}
|
||||
|
||||
foreach (var group in pRO.FLSReportGroups)
|
||||
{
|
||||
var summeFLS = group.FLSReportDetails.Where(d => d.TotalHourMinuteString != "ARBEITSZEIT").Sum(d => d.TotalFLM / 60);
|
||||
var summeAZ = group.FLSReportDetails.Where(d => d.TotalHourMinuteString == "ARBEITSZEIT").Sum(d => d.TotalFLM / 60);
|
||||
//foreach (var group in pRO.FLSReportGroups)
|
||||
//{
|
||||
// var summeFLS = group.FLSReportDetails.Where(d => d.TotalHourMinuteString != "ARBEITSZEIT").Sum(d => d.TotalFLM / 60);
|
||||
// var summeAZ = group.FLSReportDetails.Where(d => d.TotalHourMinuteString == "ARBEITSZEIT").Sum(d => d.TotalFLM / 60);
|
||||
|
||||
group.CustomValue1 = string.Format("{0:0.00}", summeFLS);
|
||||
group.CustomValue2 = string.Format("{0:0.00}", summeAZ);
|
||||
}
|
||||
// group.CustomValue1 = string.Format("{0:0.00}", summeFLS);
|
||||
// group.CustomValue2 = string.Format("{0:0.00}", summeAZ);
|
||||
// }
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user