MH: BeWoKerpen Fehlkontakte
This commit is contained in:
@@ -60,6 +60,8 @@ namespace BeWoKerpen
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
@@ -112,8 +114,7 @@ namespace BeWoKerpen
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -227,7 +228,7 @@ namespace BeWoKerpen
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldKontaktArt")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")});
|
||||
this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
@@ -506,6 +507,38 @@ namespace BeWoKerpen
|
||||
this.xrTableCell43.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell43.Weight = 0.44692737430167595D;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(159F, 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 = "Klientin / Klient";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel18.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00001F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(159F, 20F);
|
||||
this.xrLabel18.StylePriority.UseBackColor = false;
|
||||
this.xrLabel18.StylePriority.UseBorders = false;
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.StylePriority.UsePadding = false;
|
||||
this.xrLabel18.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel18.Text = "(falls abweichend zur ersten Spalte)";
|
||||
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrTableCell49
|
||||
//
|
||||
this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
@@ -697,6 +730,7 @@ namespace BeWoKerpen
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel14,
|
||||
this.lblUnterschriftKlient,
|
||||
this.lblUnterschriftMitarbeiter,
|
||||
this.xrTableAbwesenheiten,
|
||||
@@ -711,7 +745,7 @@ namespace BeWoKerpen
|
||||
this.xrLabel10,
|
||||
this.xrLabel9,
|
||||
this.xrLabel1});
|
||||
this.GroupFooter1.HeightF = 270F;
|
||||
this.GroupFooter1.HeightF = 298.125F;
|
||||
this.GroupFooter1.KeepTogether = true;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
@@ -719,7 +753,7 @@ namespace BeWoKerpen
|
||||
//
|
||||
this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(94.99999F, 250F);
|
||||
this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(94.99998F, 277.0833F);
|
||||
this.lblUnterschriftKlient.Name = "lblUnterschriftKlient";
|
||||
this.lblUnterschriftKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblUnterschriftKlient.SizeF = new System.Drawing.SizeF(271.8472F, 20F);
|
||||
@@ -735,7 +769,7 @@ namespace BeWoKerpen
|
||||
//
|
||||
this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.lblUnterschriftMitarbeiter.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 250F);
|
||||
this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 277.0833F);
|
||||
this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
|
||||
this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(336.6944F, 19.99998F);
|
||||
@@ -754,7 +788,7 @@ namespace BeWoKerpen
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(170F, 79.99997F);
|
||||
this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(170F, 107.0833F);
|
||||
this.xrTableAbwesenheiten.Name = "xrTableAbwesenheiten";
|
||||
this.xrTableAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableAbwesenheiten.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
@@ -965,7 +999,7 @@ namespace BeWoKerpen
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblHatAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 130F);
|
||||
this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 157.0833F);
|
||||
this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten";
|
||||
this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblHatAbwesenheiten.SizeF = new System.Drawing.SizeF(30F, 30F);
|
||||
@@ -982,7 +1016,7 @@ namespace BeWoKerpen
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblHatGruppen.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 79.99997F);
|
||||
this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 107.0833F);
|
||||
this.lblHatGruppen.Name = "lblHatGruppen";
|
||||
this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblHatGruppen.SizeF = new System.Drawing.SizeF(30F, 30F);
|
||||
@@ -996,7 +1030,7 @@ namespace BeWoKerpen
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 130F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 157.0833F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(264.972F, 68.05556F);
|
||||
@@ -1005,7 +1039,7 @@ namespace BeWoKerpen
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 79.99997F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 107.0833F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(264.9721F, 50F);
|
||||
@@ -1014,7 +1048,7 @@ namespace BeWoKerpen
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Underline);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.99997F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 107.0833F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
@@ -1128,37 +1162,20 @@ namespace BeWoKerpen
|
||||
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldKontaktArt.Name = "fieldKontaktArt";
|
||||
//
|
||||
// xrLabel17
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(159F, 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 = "Klientin / Klient";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel18.Font = new System.Drawing.Font("Arial", 6F);
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00001F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(159F, 20F);
|
||||
this.xrLabel18.StylePriority.UseBackColor = false;
|
||||
this.xrLabel18.StylePriority.UseBorders = false;
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.StylePriority.UsePadding = false;
|
||||
this.xrLabel18.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel18.Text = "(falls abweichend zur ersten Spalte)";
|
||||
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrLabel14.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(320F, 20F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UsePadding = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.Text = "F = Fehlkontakt";
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// Quittierungsbeleg2
|
||||
//
|
||||
@@ -1278,5 +1295,6 @@ namespace BeWoKerpen
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,15 @@ namespace BeWoKerpen
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable)
|
||||
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
if (sd.ServiceDescription.ToLower().Contains("fehlkontakt"))
|
||||
sd.Notice5 = "F";
|
||||
else if (sd.IsGroup)
|
||||
sd.Notice5 = "GR";
|
||||
else if (!sd.IsGroup)
|
||||
sd.Notice5 = "E";
|
||||
|
||||
if (sd.IsGroup)
|
||||
{
|
||||
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
|
||||
|
||||
Reference in New Issue
Block a user