MH: Mittelpunkt Stundenkonto
This commit is contained in:
@@ -42,5 +42,36 @@ namespace Mittelpunkt
|
||||
else
|
||||
return base.IstAnrechenbareAbsenceTime(item);
|
||||
}
|
||||
|
||||
protected override AbsenceTimeHours GetAbwesenheitenDurchServiceRecords(MitarbeiterstundenkontoRO.EmployeeDetail empDetail, Contract c, IList<ServiceRecord> groupFilteredRecords, DateTime berichtsAnfang, DateTime berichtsEnde)
|
||||
{
|
||||
var abwesenheitenImZeitraum = groupFilteredRecords.Where(sr => sr.Start >= berichtsAnfang && sr.End <= berichtsEnde && (IsKrankAbsenceServiceRecord(sr) || IsUrlaubAbsenceServiceRecord(sr))).ToList();
|
||||
if (abwesenheitenImZeitraum.Count > 0)
|
||||
{
|
||||
var ath = new AbsenceTimeHours()
|
||||
{
|
||||
StundenKrankheit = Convert.ToDecimal(abwesenheitenImZeitraum.Where(sr => IsKrankAbsenceServiceRecord(sr)).ToList().Sum(sr => sr.DurationMinutes) / 60),
|
||||
StundenUrlaub = Convert.ToDecimal(abwesenheitenImZeitraum.Where(sr => IsUrlaubAbsenceServiceRecord(sr)).ToList().Sum(sr => sr.DurationMinutes) / 60)
|
||||
};
|
||||
|
||||
return ath;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
private bool IsUrlaubAbsenceServiceRecord(ServiceRecord item)
|
||||
{
|
||||
if (!item.CustomerOid.HasValue && item.ServiceDescription != null && item.ServiceDescription.Name.Trim().ToLower() == "urlaub (x)")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsKrankAbsenceServiceRecord(ServiceRecord item)
|
||||
{
|
||||
if (!item.CustomerOid.HasValue && item.ServiceDescription != null && item.ServiceDescription.Name.Trim().ToLower() == "krank (x)")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace Mittelpunkt
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Mitarbeiterarbeitszeitkonto));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
@@ -102,6 +103,22 @@ namespace Mittelpunkt
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
@@ -120,22 +137,7 @@ namespace Mittelpunkt
|
||||
this.fieldIstArbeitszeit = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldUeberstundenGesamt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldTatsSoll = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
@@ -388,10 +390,11 @@ namespace Mittelpunkt
|
||||
// GroupHeader3
|
||||
//
|
||||
this.GroupHeader3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPictureBox1,
|
||||
this.lblMonat,
|
||||
this.xrTable2});
|
||||
this.GroupHeader3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.GroupHeader3.HeightF = 120F;
|
||||
this.GroupHeader3.HeightF = 169.1666F;
|
||||
this.GroupHeader3.Level = 1;
|
||||
this.GroupHeader3.Name = "GroupHeader3";
|
||||
this.GroupHeader3.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand;
|
||||
@@ -413,7 +416,7 @@ namespace Mittelpunkt
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 47.91663F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.91663F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
@@ -547,7 +550,7 @@ namespace Mittelpunkt
|
||||
this.xrTable4,
|
||||
this.xrTable1});
|
||||
this.GroupFooter2.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.GroupFooter2.HeightF = 221.125F;
|
||||
this.GroupFooter2.HeightF = 196.6667F;
|
||||
this.GroupFooter2.KeepTogether = true;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
this.GroupFooter2.StylePriority.UseFont = false;
|
||||
@@ -911,142 +914,6 @@ namespace Mittelpunkt
|
||||
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell26.Weight = 0.11143081848591821D;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// fieldSumSpecial
|
||||
//
|
||||
this.fieldSumSpecial.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumSpecial.Expression = "Sum([SpecialHours])";
|
||||
this.fieldSumSpecial.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumSpecial.Name = "fieldSumSpecial";
|
||||
//
|
||||
// fieldSumSonntag
|
||||
//
|
||||
this.fieldSumSonntag.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumSonntag.Expression = "Sum([HoursSunday])";
|
||||
this.fieldSumSonntag.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumSonntag.Name = "fieldSumSonntag";
|
||||
//
|
||||
// fieldSumFeiertag
|
||||
//
|
||||
this.fieldSumFeiertag.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumFeiertag.Expression = "Sum([HoursHoliday])";
|
||||
this.fieldSumFeiertag.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumFeiertag.Name = "fieldSumFeiertag";
|
||||
//
|
||||
// fieldHours
|
||||
//
|
||||
this.fieldHours.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldHours.Expression = "[MinutesTotal]/60";
|
||||
this.fieldHours.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldHours.Name = "fieldHours";
|
||||
//
|
||||
// fieldSick
|
||||
//
|
||||
this.fieldSick.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSick.Expression = "Iif([HoursSick] > 0, \'x\', \'\')";
|
||||
this.fieldSick.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldSick.Name = "fieldSick";
|
||||
//
|
||||
// fieldVacation
|
||||
//
|
||||
this.fieldVacation.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldVacation.Expression = "Iif([HoursInVacation] > 0, \'x\', \'\')";
|
||||
this.fieldVacation.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldVacation.Name = "fieldVacation";
|
||||
//
|
||||
// calculatedField1
|
||||
//
|
||||
this.calculatedField1.DataMember = "EmployeeDetailList.Days";
|
||||
this.calculatedField1.DisplayName = "fieldSumSamstag";
|
||||
this.calculatedField1.Expression = "Sum([HoursSaturday])";
|
||||
this.calculatedField1.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.calculatedField1.Name = "calculatedField1";
|
||||
//
|
||||
// fieldSumHours
|
||||
//
|
||||
this.fieldSumHours.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumHours.Expression = "Sum([MinutesTotal]/60)";
|
||||
this.fieldSumHours.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumHours.Name = "fieldSumHours";
|
||||
//
|
||||
// fieldSumHoliday2
|
||||
//
|
||||
this.fieldSumHoliday2.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumHoliday2.Expression = "Sum([HoursHoliday2])";
|
||||
this.fieldSumHoliday2.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumHoliday2.Name = "fieldSumHoliday2";
|
||||
//
|
||||
// fieldIstArbeitszeit
|
||||
//
|
||||
this.fieldIstArbeitszeit.DataMember = "EmployeeDetailList";
|
||||
this.fieldIstArbeitszeit.Expression = "[StundenGesamtIst]+[UeberstundenVormonat]";
|
||||
this.fieldIstArbeitszeit.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldIstArbeitszeit.Name = "fieldIstArbeitszeit";
|
||||
//
|
||||
// fieldUeberstundenGesamt
|
||||
//
|
||||
this.fieldUeberstundenGesamt.DataMember = "EmployeeDetailList";
|
||||
this.fieldUeberstundenGesamt.Expression = "Iif([Ueberstunden] == ?, 0, [Ueberstunden])+Iif([UeberstundenVormonat] == ?, 0," +
|
||||
" [UeberstundenVormonat])";
|
||||
this.fieldUeberstundenGesamt.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldUeberstundenGesamt.Name = "fieldUeberstundenGesamt";
|
||||
//
|
||||
// fieldTatsSoll
|
||||
//
|
||||
this.fieldTatsSoll.DataMember = "EmployeeDetailList";
|
||||
this.fieldTatsSoll.Expression = "[StundenSollMax] - [UrlaubUndKrankheit]";
|
||||
this.fieldTatsSoll.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTatsSoll.Name = "fieldTatsSoll";
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
@@ -1259,6 +1126,151 @@ namespace Mittelpunkt
|
||||
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell39.Weight = 0.332763851553351D;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 30.20833F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// fieldSumSpecial
|
||||
//
|
||||
this.fieldSumSpecial.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumSpecial.Expression = "Sum([SpecialHours])";
|
||||
this.fieldSumSpecial.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumSpecial.Name = "fieldSumSpecial";
|
||||
//
|
||||
// fieldSumSonntag
|
||||
//
|
||||
this.fieldSumSonntag.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumSonntag.Expression = "Sum([HoursSunday])";
|
||||
this.fieldSumSonntag.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumSonntag.Name = "fieldSumSonntag";
|
||||
//
|
||||
// fieldSumFeiertag
|
||||
//
|
||||
this.fieldSumFeiertag.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumFeiertag.Expression = "Sum([HoursHoliday])";
|
||||
this.fieldSumFeiertag.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumFeiertag.Name = "fieldSumFeiertag";
|
||||
//
|
||||
// fieldHours
|
||||
//
|
||||
this.fieldHours.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldHours.Expression = "[MinutesTotal]/60";
|
||||
this.fieldHours.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldHours.Name = "fieldHours";
|
||||
//
|
||||
// fieldSick
|
||||
//
|
||||
this.fieldSick.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSick.Expression = "Iif([HoursSick] > 0, \'x\', \'\')";
|
||||
this.fieldSick.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldSick.Name = "fieldSick";
|
||||
//
|
||||
// fieldVacation
|
||||
//
|
||||
this.fieldVacation.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldVacation.Expression = "Iif([HoursInVacation] > 0, \'x\', \'\')";
|
||||
this.fieldVacation.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldVacation.Name = "fieldVacation";
|
||||
//
|
||||
// calculatedField1
|
||||
//
|
||||
this.calculatedField1.DataMember = "EmployeeDetailList.Days";
|
||||
this.calculatedField1.DisplayName = "fieldSumSamstag";
|
||||
this.calculatedField1.Expression = "Sum([HoursSaturday])";
|
||||
this.calculatedField1.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.calculatedField1.Name = "calculatedField1";
|
||||
//
|
||||
// fieldSumHours
|
||||
//
|
||||
this.fieldSumHours.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumHours.Expression = "Sum([MinutesTotal]/60)";
|
||||
this.fieldSumHours.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumHours.Name = "fieldSumHours";
|
||||
//
|
||||
// fieldSumHoliday2
|
||||
//
|
||||
this.fieldSumHoliday2.DataMember = "EmployeeDetailList.Days";
|
||||
this.fieldSumHoliday2.Expression = "Sum([HoursHoliday2])";
|
||||
this.fieldSumHoliday2.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldSumHoliday2.Name = "fieldSumHoliday2";
|
||||
//
|
||||
// fieldIstArbeitszeit
|
||||
//
|
||||
this.fieldIstArbeitszeit.DataMember = "EmployeeDetailList";
|
||||
this.fieldIstArbeitszeit.Expression = "[StundenGesamtIst]+[UeberstundenVormonat]";
|
||||
this.fieldIstArbeitszeit.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldIstArbeitszeit.Name = "fieldIstArbeitszeit";
|
||||
//
|
||||
// fieldUeberstundenGesamt
|
||||
//
|
||||
this.fieldUeberstundenGesamt.DataMember = "EmployeeDetailList";
|
||||
this.fieldUeberstundenGesamt.Expression = "Iif([Ueberstunden] == ?, 0, [Ueberstunden])+Iif([UeberstundenVormonat] == ?, 0," +
|
||||
" [UeberstundenVormonat])";
|
||||
this.fieldUeberstundenGesamt.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldUeberstundenGesamt.Name = "fieldUeberstundenGesamt";
|
||||
//
|
||||
// fieldTatsSoll
|
||||
//
|
||||
this.fieldTatsSoll.DataMember = "EmployeeDetailList";
|
||||
this.fieldTatsSoll.Expression = "[StundenSollMax] - [UrlaubUndKrankheit]";
|
||||
this.fieldTatsSoll.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTatsSoll.Name = "fieldTatsSoll";
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(595F, 25F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(96.62518F, 133.75F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterstundenkontoRO);
|
||||
@@ -1288,7 +1300,7 @@ namespace Mittelpunkt
|
||||
this.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleIstFeiertagOderWE});
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 50F, 50F, 50F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 50F, 30.20833F, 50F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
@@ -1413,5 +1425,6 @@ namespace Mittelpunkt
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell37;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -33,6 +33,18 @@ namespace Mittelpunkt
|
||||
ed.Custom1 = ed.SollProTag * ed.TageUrlaub.Value;
|
||||
if (ed.TageKrankheit.HasValue)
|
||||
ed.Custom2 = ed.SollProTag * ed.TageKrankheit.Value;
|
||||
|
||||
foreach (var day in ed.Days)
|
||||
{
|
||||
if (day.ServiceRecords != null && day.ServiceRecords.Count > 0)
|
||||
{
|
||||
day.Custom1 = string.Join("; ", day.ServiceRecords.Select(s => s.Notice));
|
||||
}
|
||||
if (day.AbsenceTimes != null && day.AbsenceTimes.Count > 0)
|
||||
{
|
||||
day.Custom2 = string.Join(", ", day.AbsenceTimes.Select(a => a.AbsenceReason.Description));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
@@ -56,9 +68,9 @@ namespace Mittelpunkt
|
||||
System.Drawing.Color backColor = System.Drawing.Color.Transparent;
|
||||
|
||||
if (date.DayOfWeek == DayOfWeek.Saturday || date.DayOfWeek == DayOfWeek.Sunday)
|
||||
backColor = System.Drawing.Color.LightCyan;
|
||||
backColor = System.Drawing.Color.LightSteelBlue;
|
||||
if (vs.IstFeiertag(date))
|
||||
backColor = System.Drawing.Color.LightPink;
|
||||
backColor = System.Drawing.Color.LightSteelBlue;
|
||||
|
||||
foreach (XRTableCell c in row.Cells)
|
||||
c.BackColor = backColor;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace Mittelpunkt
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MitarbeiterarbeitszeitkontoSeite2));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
@@ -120,6 +121,17 @@ namespace Mittelpunkt
|
||||
this.fieldIstArbeitszeit = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldUeberstundenGesamt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldTatsSoll = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow19 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dienstTable)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
@@ -128,6 +140,7 @@ namespace Mittelpunkt
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
@@ -237,12 +250,11 @@ namespace Mittelpunkt
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "PageObjects.EintraegeProMitarbeiter.Dienst.Kurz")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.Days.Custom1")});
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell12.StylePriority.UsePadding = false;
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "xrTableCell15";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell12.Weight = 0.084235081153719832D;
|
||||
//
|
||||
@@ -339,6 +351,8 @@ namespace Mittelpunkt
|
||||
//
|
||||
// xrTableCell54
|
||||
//
|
||||
this.xrTableCell54.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.Days.Custom2")});
|
||||
this.xrTableCell54.Name = "xrTableCell54";
|
||||
this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell54.StylePriority.UsePadding = false;
|
||||
@@ -510,10 +524,11 @@ namespace Mittelpunkt
|
||||
// GroupHeader3
|
||||
//
|
||||
this.GroupHeader3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPictureBox1,
|
||||
this.xrTable2,
|
||||
this.xrPageInfo1});
|
||||
this.GroupHeader3.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.GroupHeader3.HeightF = 120F;
|
||||
this.GroupHeader3.HeightF = 151.4584F;
|
||||
this.GroupHeader3.Level = 1;
|
||||
this.GroupHeader3.Name = "GroupHeader3";
|
||||
this.GroupHeader3.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand;
|
||||
@@ -532,7 +547,7 @@ namespace Mittelpunkt
|
||||
this.xrTableRow4,
|
||||
this.xrTableRow8,
|
||||
this.xrTableRow9});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(622.6251F, 72F);
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(507.4167F, 72F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
@@ -674,7 +689,7 @@ namespace Mittelpunkt
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(622.6252F, 0F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(507.4167F, 0F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(161.3748F, 23F);
|
||||
@@ -685,26 +700,27 @@ namespace Mittelpunkt
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1,
|
||||
this.xrTable3,
|
||||
this.xrTable4,
|
||||
this.xrTable5,
|
||||
this.xrTable6});
|
||||
this.GroupFooter2.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.GroupFooter2.HeightF = 130.7081F;
|
||||
this.GroupFooter2.HeightF = 132F;
|
||||
this.GroupFooter2.KeepTogether = true;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
this.GroupFooter2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(536.7078F, 64.70814F);
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(343.0837F, 21.99999F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow5,
|
||||
this.xrTableRow6,
|
||||
this.xrTableRow7});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(247.2917F, 66F);
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(211.9996F, 66F);
|
||||
//
|
||||
// xrTableRow5
|
||||
//
|
||||
@@ -727,7 +743,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell22.StylePriority.UseBorders = false;
|
||||
this.xrTableCell22.StylePriority.UseFont = false;
|
||||
this.xrTableCell22.Text = "Gesamt";
|
||||
this.xrTableCell22.Weight = 1.0465474834261337D;
|
||||
this.xrTableCell22.Weight = 0.73975258146735778D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
@@ -744,7 +760,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell9.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell9.Weight = 1.4219402647490225D;
|
||||
this.xrTableCell9.Weight = 0.87342783303805815D;
|
||||
//
|
||||
// xrTableRow6
|
||||
//
|
||||
@@ -766,7 +782,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell13.StylePriority.UseBorders = false;
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.Text = "Soll";
|
||||
this.xrTableCell13.Weight = 1.0465474834261337D;
|
||||
this.xrTableCell13.Weight = 0.73975258146735778D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
@@ -782,7 +798,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell26.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell26.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell26.Weight = 1.4219402647490225D;
|
||||
this.xrTableCell26.Weight = 0.87342783303805815D;
|
||||
//
|
||||
// xrTableRow7
|
||||
//
|
||||
@@ -804,7 +820,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell14.StylePriority.UseBorders = false;
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.Text = "Saldo";
|
||||
this.xrTableCell14.Weight = 1.0465474834261337D;
|
||||
this.xrTableCell14.Weight = 0.73975258146735778D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
@@ -820,7 +836,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell15.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell15.Weight = 1.4219402647490225D;
|
||||
this.xrTableCell15.Weight = 0.87342783303805815D;
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
@@ -828,12 +844,12 @@ namespace Mittelpunkt
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable4.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 21.99999F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(319.4167F, 22F);
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(223.4167F, 22F);
|
||||
this.xrTable4.StylePriority.UseBorders = false;
|
||||
this.xrTable4.StylePriority.UseFont = false;
|
||||
this.xrTable4.StylePriority.UsePadding = false;
|
||||
@@ -850,7 +866,7 @@ namespace Mittelpunkt
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrTableCell29.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -859,19 +875,23 @@ namespace Mittelpunkt
|
||||
this.xrTableCell29.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell29.Text = "Summe Arbeit";
|
||||
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell29.Weight = 0.15817552078261254D;
|
||||
this.xrTableCell29.Weight = 0.11778629557421433D;
|
||||
//
|
||||
// summeGesamtDauer
|
||||
//
|
||||
this.summeGesamtDauer.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.summeGesamtDauer.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.StundenGesamtIst")});
|
||||
this.summeGesamtDauer.Name = "summeGesamtDauer";
|
||||
this.summeGesamtDauer.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.summeGesamtDauer.StylePriority.UseBorders = false;
|
||||
this.summeGesamtDauer.StylePriority.UsePadding = false;
|
||||
this.summeGesamtDauer.StylePriority.UseTextAlignment = false;
|
||||
this.summeGesamtDauer.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.summeGesamtDauer.TextFormatString = "{0:0.00}";
|
||||
this.summeGesamtDauer.Weight = 0.12984670292604583D;
|
||||
this.summeGesamtDauer.Weight = 0.17023592813444405D;
|
||||
//
|
||||
// xrTable5
|
||||
//
|
||||
@@ -879,12 +899,12 @@ namespace Mittelpunkt
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable5.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 21.99999F);
|
||||
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 43.99999F);
|
||||
this.xrTable5.Name = "xrTable5";
|
||||
this.xrTable5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow3});
|
||||
this.xrTable5.SizeF = new System.Drawing.SizeF(319.4167F, 22F);
|
||||
this.xrTable5.SizeF = new System.Drawing.SizeF(223.4167F, 22F);
|
||||
this.xrTable5.StylePriority.UseBorders = false;
|
||||
this.xrTable5.StylePriority.UseFont = false;
|
||||
this.xrTable5.StylePriority.UsePadding = false;
|
||||
@@ -910,7 +930,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell37.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell37.Text = "Summe Urlaub";
|
||||
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell37.Weight = 0.15817552078261254D;
|
||||
this.xrTableCell37.Weight = 0.11778629557421433D;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
@@ -922,7 +942,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell38.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell38.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell38.Weight = 0.12984670292604583D;
|
||||
this.xrTableCell38.Weight = 0.17023592813444405D;
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
@@ -930,12 +950,12 @@ namespace Mittelpunkt
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable6.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 43.99999F);
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 65.99998F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow11});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(319.4167F, 22F);
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(223.4167F, 22F);
|
||||
this.xrTable6.StylePriority.UseBorders = false;
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
this.xrTable6.StylePriority.UsePadding = false;
|
||||
@@ -961,7 +981,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell39.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell39.Text = "Summe Krank";
|
||||
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell39.Weight = 0.15817552078261254D;
|
||||
this.xrTableCell39.Weight = 0.11778629557421433D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
@@ -973,7 +993,7 @@ namespace Mittelpunkt
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell4.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell4.Weight = 0.12984670292604583D;
|
||||
this.xrTableCell4.Weight = 0.17023592813444405D;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
@@ -1017,7 +1037,7 @@ namespace Mittelpunkt
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.HeightF = 33.33333F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
@@ -1111,6 +1131,142 @@ namespace Mittelpunkt
|
||||
this.fieldTatsSoll.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTatsSoll.Name = "fieldTatsSoll";
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter;
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(677.3748F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(96.62518F, 134.1667F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(555.0833F, 21.99999F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow18,
|
||||
this.xrTableRow19,
|
||||
this.xrTableRow20});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(228.9163F, 66F);
|
||||
//
|
||||
// xrTableRow18
|
||||
//
|
||||
this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell50,
|
||||
this.xrTableCell51});
|
||||
this.xrTableRow18.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableRow18.Name = "xrTableRow18";
|
||||
this.xrTableRow18.StylePriority.UseFont = false;
|
||||
this.xrTableRow18.Weight = 0.88D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell50.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell50.Multiline = true;
|
||||
this.xrTableCell50.Name = "xrTableCell50";
|
||||
this.xrTableCell50.StylePriority.UseBorders = false;
|
||||
this.xrTableCell50.StylePriority.UseFont = false;
|
||||
this.xrTableCell50.Text = "Vormonat";
|
||||
this.xrTableCell50.Weight = 0.86460364479012741D;
|
||||
//
|
||||
// xrTableCell51
|
||||
//
|
||||
this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell51.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.UeberstundenVormonat")});
|
||||
this.xrTableCell51.Multiline = true;
|
||||
this.xrTableCell51.Name = "xrTableCell51";
|
||||
this.xrTableCell51.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell51.StylePriority.UseBorders = false;
|
||||
this.xrTableCell51.StylePriority.UsePadding = false;
|
||||
this.xrTableCell51.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell51.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell51.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell51.Weight = 1.1784622860186427D;
|
||||
//
|
||||
// xrTableRow19
|
||||
//
|
||||
this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell55,
|
||||
this.xrTableCell56});
|
||||
this.xrTableRow19.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableRow19.Name = "xrTableRow19";
|
||||
this.xrTableRow19.StylePriority.UseFont = false;
|
||||
this.xrTableRow19.Weight = 0.88D;
|
||||
//
|
||||
// xrTableCell55
|
||||
//
|
||||
this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell55.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell55.Multiline = true;
|
||||
this.xrTableCell55.Name = "xrTableCell55";
|
||||
this.xrTableCell55.StylePriority.UseBorders = false;
|
||||
this.xrTableCell55.StylePriority.UseFont = false;
|
||||
this.xrTableCell55.Text = "Ausbezahlt";
|
||||
this.xrTableCell55.Weight = 0.86460364479012741D;
|
||||
//
|
||||
// xrTableCell56
|
||||
//
|
||||
this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell56.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.UeberstundenAusbezahlt")});
|
||||
this.xrTableCell56.Multiline = true;
|
||||
this.xrTableCell56.Name = "xrTableCell56";
|
||||
this.xrTableCell56.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell56.StylePriority.UseBorders = false;
|
||||
this.xrTableCell56.StylePriority.UsePadding = false;
|
||||
this.xrTableCell56.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell56.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell56.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell56.Weight = 1.1784622860186427D;
|
||||
//
|
||||
// xrTableRow20
|
||||
//
|
||||
this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell57,
|
||||
this.xrTableCell58});
|
||||
this.xrTableRow20.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableRow20.Name = "xrTableRow20";
|
||||
this.xrTableRow20.StylePriority.UseFont = false;
|
||||
this.xrTableRow20.Weight = 0.88D;
|
||||
//
|
||||
// xrTableCell57
|
||||
//
|
||||
this.xrTableCell57.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell57.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrTableCell57.Multiline = true;
|
||||
this.xrTableCell57.Name = "xrTableCell57";
|
||||
this.xrTableCell57.StylePriority.UseBorders = false;
|
||||
this.xrTableCell57.StylePriority.UseFont = false;
|
||||
this.xrTableCell57.Text = "Gesamt";
|
||||
this.xrTableCell57.Weight = 0.86460364479012741D;
|
||||
//
|
||||
// xrTableCell58
|
||||
//
|
||||
this.xrTableCell58.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell58.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.UeberstundenGesamt")});
|
||||
this.xrTableCell58.Multiline = true;
|
||||
this.xrTableCell58.Name = "xrTableCell58";
|
||||
this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell58.StylePriority.UseBorders = false;
|
||||
this.xrTableCell58.StylePriority.UsePadding = false;
|
||||
this.xrTableCell58.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell58.Weight = 1.1784622860186427D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterstundenkontoRO);
|
||||
@@ -1140,7 +1296,7 @@ namespace Mittelpunkt
|
||||
this.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleIstFeiertagOderWE});
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(22F, 21F, 50F, 50F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(22F, 21F, 33.33333F, 50F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
@@ -1159,6 +1315,7 @@ namespace Mittelpunkt
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
@@ -1256,5 +1413,16 @@ namespace Mittelpunkt
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblSollProTag;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow18;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow19;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell55;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell56;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow20;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell58;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user