MH: LebenshilfeBadKreuznach QB Abwesenheiten
This commit is contained in:
@@ -31,9 +31,6 @@ namespace LebenshilfeBadKreuznach
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
@@ -53,7 +50,6 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -76,6 +72,12 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.lblGruppe = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBg2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBg1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblKlientUrlaub = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
@@ -93,16 +95,14 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.hours = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.lblBg1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBg2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblGruppe = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.lblKlientKrank = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -344,10 +344,6 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
|
||||
this.xrTableCell48.Weight = 0.41216655261008683D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// formattingRuleStartDate
|
||||
//
|
||||
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
|
||||
@@ -358,6 +354,8 @@ namespace LebenshilfeBadKreuznach
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblKlientKrank,
|
||||
this.lblKlientUrlaub,
|
||||
this.xrLabel26,
|
||||
this.xrLabel27,
|
||||
this.xrLabel24,
|
||||
@@ -371,7 +369,7 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrLabel4,
|
||||
this.xrLabel3,
|
||||
this.xrLabel2});
|
||||
this.ReportHeader.HeightF = 135.25F;
|
||||
this.ReportHeader.HeightF = 219.625F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel26
|
||||
@@ -589,7 +587,7 @@ namespace LebenshilfeBadKreuznach
|
||||
//
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.ForeColor = System.Drawing.Color.Black;
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104F);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.625F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -648,7 +646,6 @@ namespace LebenshilfeBadKreuznach
|
||||
this.lblBg2,
|
||||
this.xrLabel12,
|
||||
this.lblBg1,
|
||||
this.xrLabel10,
|
||||
this.xrLabel23,
|
||||
this.xrLabel18,
|
||||
this.xrPictureBox2,
|
||||
@@ -660,6 +657,105 @@ namespace LebenshilfeBadKreuznach
|
||||
this.GroupFooter1.KeepTogether = true;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// lblGruppe
|
||||
//
|
||||
this.lblGruppe.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblGruppe.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblGruppe.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblGruppe.LocationFloat = new DevExpress.Utils.PointFloat(105F, 60.00004F);
|
||||
this.lblGruppe.Name = "lblGruppe";
|
||||
this.lblGruppe.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblGruppe.SizeF = new System.Drawing.SizeF(84.99991F, 20F);
|
||||
this.lblGruppe.StylePriority.UseBackColor = false;
|
||||
this.lblGruppe.StylePriority.UseBorders = false;
|
||||
this.lblGruppe.StylePriority.UseFont = false;
|
||||
this.lblGruppe.StylePriority.UsePadding = false;
|
||||
this.lblGruppe.StylePriority.UseTextAlignment = false;
|
||||
this.lblGruppe.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 60.00004F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(105F, 20F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseBorders = false;
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.StylePriority.UsePadding = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.Text = "Summe Gruppe";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBg2
|
||||
//
|
||||
this.lblBg2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblBg2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblBg2.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblBg2.LocationFloat = new DevExpress.Utils.PointFloat(105.0005F, 40.00003F);
|
||||
this.lblBg2.Name = "lblBg2";
|
||||
this.lblBg2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblBg2.SizeF = new System.Drawing.SizeF(84.99966F, 20F);
|
||||
this.lblBg2.StylePriority.UseBackColor = false;
|
||||
this.lblBg2.StylePriority.UseBorders = false;
|
||||
this.lblBg2.StylePriority.UseFont = false;
|
||||
this.lblBg2.StylePriority.UsePadding = false;
|
||||
this.lblBg2.StylePriority.UseTextAlignment = false;
|
||||
this.lblBg2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 40.00003F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(105.0006F, 20F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UsePadding = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "Summe BG 2";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBg1
|
||||
//
|
||||
this.lblBg1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblBg1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblBg1.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblBg1.LocationFloat = new DevExpress.Utils.PointFloat(105F, 20.00001F);
|
||||
this.lblBg1.Name = "lblBg1";
|
||||
this.lblBg1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblBg1.SizeF = new System.Drawing.SizeF(84.99966F, 20F);
|
||||
this.lblBg1.StylePriority.UseBackColor = false;
|
||||
this.lblBg1.StylePriority.UseBorders = false;
|
||||
this.lblBg1.StylePriority.UseFont = false;
|
||||
this.lblBg1.StylePriority.UsePadding = false;
|
||||
this.lblBg1.StylePriority.UseTextAlignment = false;
|
||||
this.lblBg1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// lblKlientUrlaub
|
||||
//
|
||||
this.lblKlientUrlaub.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblKlientUrlaub.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblKlientUrlaub.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblKlientUrlaub.LocationFloat = new DevExpress.Utils.PointFloat(0F, 105.4167F);
|
||||
this.lblKlientUrlaub.Name = "lblKlientUrlaub";
|
||||
this.lblKlientUrlaub.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblKlientUrlaub.SizeF = new System.Drawing.SizeF(1079F, 21.04168F);
|
||||
this.lblKlientUrlaub.StylePriority.UseBackColor = false;
|
||||
this.lblKlientUrlaub.StylePriority.UseBorders = false;
|
||||
this.lblKlientUrlaub.StylePriority.UseFont = false;
|
||||
this.lblKlientUrlaub.StylePriority.UsePadding = false;
|
||||
this.lblKlientUrlaub.StylePriority.UseTextAlignment = false;
|
||||
this.lblKlientUrlaub.Text = "Klient*in war im Urlaub ";
|
||||
this.lblKlientUrlaub.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel23
|
||||
//
|
||||
this.xrLabel23.BackColor = System.Drawing.Color.Transparent;
|
||||
@@ -726,7 +822,7 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrTableAbwesenheiten.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow3,
|
||||
this.xrTableRow4});
|
||||
this.xrTableAbwesenheiten.SizeF = new System.Drawing.SizeF(230F, 40F);
|
||||
this.xrTableAbwesenheiten.SizeF = new System.Drawing.SizeF(363.9583F, 40F);
|
||||
this.xrTableAbwesenheiten.StylePriority.UseBorders = false;
|
||||
this.xrTableAbwesenheiten.StylePriority.UseFont = false;
|
||||
this.xrTableAbwesenheiten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
@@ -736,7 +832,8 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell17,
|
||||
this.xrTableCell18});
|
||||
this.xrTableCell18,
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
@@ -783,7 +880,8 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell19,
|
||||
this.xrTableCell20,
|
||||
this.xrTableCell21});
|
||||
this.xrTableCell21,
|
||||
this.xrTableCell5});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
@@ -846,8 +944,8 @@ namespace LebenshilfeBadKreuznach
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.StylePriority.UsePadding = false;
|
||||
this.xrLabel1.StylePriority.UseTextAlignment = false;
|
||||
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrLabel1.Summary = xrSummary4;
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrLabel1.Summary = xrSummary1;
|
||||
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// fieldKontaktArt
|
||||
@@ -863,110 +961,45 @@ namespace LebenshilfeBadKreuznach
|
||||
this.hours.Expression = "Round([Minutes]/60,2)";
|
||||
this.hours.Name = "hours";
|
||||
//
|
||||
// lblBg1
|
||||
// bindingSource1
|
||||
//
|
||||
this.lblBg1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblBg1.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblBg1.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblBg1.LocationFloat = new DevExpress.Utils.PointFloat(105F, 20.00001F);
|
||||
this.lblBg1.Name = "lblBg1";
|
||||
this.lblBg1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblBg1.SizeF = new System.Drawing.SizeF(84.99966F, 20F);
|
||||
this.lblBg1.StylePriority.UseBackColor = false;
|
||||
this.lblBg1.StylePriority.UseBorders = false;
|
||||
this.lblBg1.StylePriority.UseFont = false;
|
||||
this.lblBg1.StylePriority.UsePadding = false;
|
||||
this.lblBg1.StylePriority.UseTextAlignment = false;
|
||||
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.lblBg1.Summary = xrSummary3;
|
||||
this.lblBg1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
|
||||
//
|
||||
// xrLabel10
|
||||
// lblKlientKrank
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00001F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(105F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.Text = "Summe BG 1";
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblKlientKrank.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblKlientKrank.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblKlientKrank.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblKlientKrank.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 126.4584F);
|
||||
this.lblKlientKrank.Name = "lblKlientKrank";
|
||||
this.lblKlientKrank.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblKlientKrank.SizeF = new System.Drawing.SizeF(1079F, 21.04168F);
|
||||
this.lblKlientKrank.StylePriority.UseBackColor = false;
|
||||
this.lblKlientKrank.StylePriority.UseBorders = false;
|
||||
this.lblKlientKrank.StylePriority.UseFont = false;
|
||||
this.lblKlientKrank.StylePriority.UsePadding = false;
|
||||
this.lblKlientKrank.StylePriority.UseTextAlignment = false;
|
||||
this.lblKlientKrank.Text = "Klient*in war krank ";
|
||||
this.lblKlientKrank.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblBg2
|
||||
// xrTableCell1
|
||||
//
|
||||
this.lblBg2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblBg2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblBg2.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblBg2.LocationFloat = new DevExpress.Utils.PointFloat(105.0005F, 40.00003F);
|
||||
this.lblBg2.Name = "lblBg2";
|
||||
this.lblBg2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblBg2.SizeF = new System.Drawing.SizeF(84.99966F, 20F);
|
||||
this.lblBg2.StylePriority.UseBackColor = false;
|
||||
this.lblBg2.StylePriority.UseBorders = false;
|
||||
this.lblBg2.StylePriority.UseFont = false;
|
||||
this.lblBg2.StylePriority.UsePadding = false;
|
||||
this.lblBg2.StylePriority.UseTextAlignment = false;
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.lblBg2.Summary = xrSummary2;
|
||||
this.lblBg2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Art";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell1.Weight = 0.16913927434422538D;
|
||||
//
|
||||
// xrLabel12
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 40.00003F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(105.0006F, 20F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UsePadding = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "Summe BG 2";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// lblGruppe
|
||||
//
|
||||
this.lblGruppe.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblGruppe.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblGruppe.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblGruppe.LocationFloat = new DevExpress.Utils.PointFloat(105F, 60.00004F);
|
||||
this.lblGruppe.Name = "lblGruppe";
|
||||
this.lblGruppe.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblGruppe.SizeF = new System.Drawing.SizeF(84.99991F, 20F);
|
||||
this.lblGruppe.StylePriority.UseBackColor = false;
|
||||
this.lblGruppe.StylePriority.UseBorders = false;
|
||||
this.lblGruppe.StylePriority.UseFont = false;
|
||||
this.lblGruppe.StylePriority.UsePadding = false;
|
||||
this.lblGruppe.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.lblGruppe.Summary = xrSummary1;
|
||||
this.lblGruppe.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 60.00004F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(105F, 20F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseBorders = false;
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.StylePriority.UsePadding = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.Text = "Summe Gruppe";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.16913927434422538D;
|
||||
//
|
||||
// Quittierungsbeleg
|
||||
//
|
||||
@@ -995,8 +1028,8 @@ namespace LebenshilfeBadKreuznach
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -1066,6 +1099,9 @@ namespace LebenshilfeBadKreuznach
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBg2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBg1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblKlientUrlaub;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblKlientKrank;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Services;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
@@ -124,39 +125,88 @@ namespace LebenshilfeBadKreuznach
|
||||
|
||||
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
|
||||
{
|
||||
if (pRo.Abwesenheiten != null)
|
||||
var reportSpan = new DateTimeSpan(pRo.StartDate, pRo.EndDate);
|
||||
var customer = MapperFactory.CustomerDC_Customer.MapToNewDC(DAOFactory.GenericDAO.GetByID<Customer>(pRo.CustomerOid));
|
||||
Dictionary<string, List<AbsenceTimeDC>> allAbsInSpan = new Dictionary<string, List<AbsenceTimeDC>>();
|
||||
|
||||
if (customer != null && customer.AbsenceTimes != null && customer.AbsenceTimes.Count > 0)
|
||||
{
|
||||
foreach (var abs in customer.AbsenceTimes)
|
||||
{
|
||||
abs.End = abs.End.HasValue ? abs.End.Value : pRo.EndDate;
|
||||
|
||||
if (abs.Start >= pRo.StartDate && abs.Start <= pRo.EndDate || abs.End >= pRo.StartDate && abs.End <= pRo.EndDate)
|
||||
{
|
||||
if (!allAbsInSpan.ContainsKey(abs.Reason.Description))
|
||||
allAbsInSpan.Add(abs.Reason.Description, new List<AbsenceTimeDC>());
|
||||
allAbsInSpan[abs.Reason.Description].Add(abs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var abs in allAbsInSpan)
|
||||
{
|
||||
if (abs.Key.ToLower() == "klient urlaub")
|
||||
{
|
||||
foreach (var u in abs.Value)
|
||||
{
|
||||
lblKlientUrlaub.Text += u.Start.Value.Date == u.End.Value.Date ? string.Format("am {0:dd.MM.yyyy}", u.Start) : string.Format("vom {0:dd.MM.yyyy} bis {1:dd.MM.yyyy}", u.Start, u.End);
|
||||
if (abs.Value.Last() != u)
|
||||
lblKlientUrlaub.Text += ", ";
|
||||
|
||||
}
|
||||
}
|
||||
else if (abs.Key.ToLower() == "klient krank")
|
||||
{
|
||||
foreach (var u in abs.Value)
|
||||
{
|
||||
lblKlientKrank.Text += u.Start.Value.Date == u.End.Value.Date ? string.Format("am {0:dd.MM.yyyy}", u.Start) : string.Format("vom {0:dd.MM.yyyy} bis {1:dd.MM.yyyy}", u.Start, u.End);
|
||||
if (abs.Value.Last() != u)
|
||||
lblKlientKrank.Text += ", ";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (allAbsInSpan.Count > 0)
|
||||
{
|
||||
int newRows = 0;
|
||||
int index = 1;
|
||||
foreach (var at in pRo.Abwesenheiten)
|
||||
foreach (var abs in allAbsInSpan)
|
||||
{
|
||||
DevExpress.XtraReports.UI.XRTableRow row = null;
|
||||
if (index < xrTableAbwesenheiten.Rows.Count)
|
||||
{
|
||||
row = xrTableAbwesenheiten.Rows[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
|
||||
newRows++;
|
||||
}
|
||||
if (abs.Key.ToLower() == "klient krank" || abs.Key.ToLower() == "klient urlaub")
|
||||
continue;
|
||||
|
||||
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
|
||||
int? days = null;
|
||||
|
||||
if (at.End.HasValue)
|
||||
foreach (var at in abs.Value)
|
||||
{
|
||||
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
|
||||
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Cells[1].Text = "unbekannt";
|
||||
}
|
||||
DevExpress.XtraReports.UI.XRTableRow row = null;
|
||||
if (index < xrTableAbwesenheiten.Rows.Count)
|
||||
{
|
||||
row = xrTableAbwesenheiten.Rows[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
|
||||
newRows++;
|
||||
}
|
||||
|
||||
row.Cells[2].Text = String.Format("{0:0}", days);
|
||||
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
|
||||
int? days = null;
|
||||
|
||||
index++;
|
||||
if (at.End.HasValue)
|
||||
{
|
||||
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
|
||||
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Cells[1].Text = "unbekannt";
|
||||
}
|
||||
|
||||
row.Cells[2].Text = String.Format("{0:0}", days);
|
||||
row.Cells[3].Text = at.Reason.Description;
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
if (newRows > 0)
|
||||
|
||||
Reference in New Issue
Block a user