cb: berichte

This commit is contained in:
Christian
2023-03-20 09:36:04 +01:00
parent a133601f41
commit 5d664faec5
21 changed files with 6249 additions and 5395 deletions

View File

@@ -27,21 +27,33 @@ namespace AkggMid
protected override void StarteBerechnung(DateTime berichtsAnfang, DateTime berichtsEnde, MitarbeiterstundenkontoRO.EmployeeDetail empDetail)
{
BerechneFerienTage = true;
BerechneFerienTage = false;
var c = empDetail.Employee.GetValidContractForDate(berichtsAnfang);
if (c != null && c.EmploymentType != null)
{
if (c.EmploymentType.Name.Contains("Verwaltung") || c.EmploymentType.Name.Contains("Teamleitung"))
{
BerechneFerienTage = false;
}
//if (c.EmploymentType.Name.Contains("Verwaltung") || c.EmploymentType.Name.Contains("Teamleitung"))
// {
// BerechneFerienTage = false;
// }
if (c.EmploymentType.Name == "Schulassistenz")
{
BerechneFerienTage = true;
}
}
}
public override decimal GetFeiertagsFaktor(DateTime start)
public override bool IstAnrechenbareAbsenceTime(AbsenceTime item)
{
if (item.AbsenceReason.Description.ToLower().Contains("freistellung betriebsrat"))
return false;
return base.IstAnrechenbareAbsenceTime(item);
}
public override decimal GetFeiertagsFaktor(DateTime start)
{
if (BerechneFerienTage)
{

View File

@@ -1,4 +1,5 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report.ReportObjects;
using BS.Shared.Core;
using System;
@@ -128,7 +129,7 @@ namespace AkggMid
double minutenGesamt = 0;
foreach (var record in result)
{
if (IstAbwesend(pRO, record.StartDate))
if (record.StartDate.DayOfWeek != DayOfWeek.Saturday && record.StartDate.DayOfWeek != DayOfWeek.Sunday && IstAbwesend(pRO, record.StartDate))
{
record.Notice5 = "x";
}
@@ -301,7 +302,8 @@ namespace AkggMid
public static Dictionary<DateTime, bool> GetAbrechenbareAbwesenheiten(ServicesOverviewRO ro)
{
//Herr Kloss meint, der erste Tag einer Abwesenheit darf ein fünftel der Wochenstundenzahl abgerechnet werden, aber nur bis 5 mal im Zeitraum 01.01.2023 bis 21.07.2023 und bis 10 mal im Schuljahr ab 2023/2024
DateTime startSchuljahr = DateTime.MinValue;
DateTime endeSchuljahr = DateTime.MinValue;
@@ -331,7 +333,8 @@ namespace AkggMid
Dictionary<DateTime, bool> abrechenbareTage = new Dictionary<DateTime, bool>();
foreach (var at in ro.Abwesenheiten)
var c = DAOFactory.GenericDAO.LoadByID<Customer>(ro.CustomerOid);
foreach (AbsenceTime at in c.AbsenceTimes.OrderBy(a => a.Start))
{
if (at.Start >= startSchuljahr && at.Start <= endeSchuljahr && (at.End == null || at.End >= startSchuljahr))
{

View File

@@ -101,7 +101,7 @@ namespace AkggMid
sdd.IsBillable = true;
sdd.FLSString = "";
}
if (record.ServiceDescription == "Übertrag:" || String.IsNullOrEmpty(record.ServiceDescription))
if (String.IsNullOrEmpty(record.ServiceDescription))
{
sdd.FLSString = "";
}
@@ -133,7 +133,7 @@ namespace AkggMid
sdd.IsBillable2 = true;
sdd.FLSString2 = "";
}
if (record.ServiceDescription == "Übertrag:" || String.IsNullOrEmpty(record.ServiceDescription))
if (String.IsNullOrEmpty(record.ServiceDescription))
{
sdd.FLSString2 = "";
}
@@ -215,42 +215,18 @@ namespace AkggMid
}
var result = new List<ServicesOverviewRO.ServiceDetail>();
for (int i = 1; i <= pRO.EndDate.Day + 1; i++)
for (int i = 1; i <= pRO.EndDate.Day; i++)
{
// Es wird ein Übertrag Dummy erzeugt, daher 32 statt 31 Einträge
if (i == 17)
if (!day2Detail.ContainsKey(i))
{
var uebertrag = new ServicesOverviewRO.ServiceDetail();
//uebertrag.Minutes = minutenGesamt;
uebertrag.ServiceDescription = "Übertrag:";
uebertrag.ServiceCategory = String.Format("{0:00}", i);
result.Add(uebertrag);
}
else
{
int tag = i;
if (i > 17)
{
tag = i - 1;
}
if (!day2Detail.ContainsKey(tag))
{
var newSr = new ServicesOverviewRO.ServiceDetail();
if (tag <= pRO.EndDate.Day)
{
newSr.StartDate = new DateTime(pRO.StartDate.Year, pRO.StartDate.Month, tag);
}
day2Detail.Add(tag, newSr);
}
result.Add(day2Detail[tag]);
if (day2Detail[tag].StartDate > DateTime.MinValue)
{
day2Detail[tag].ServiceDescription = String.Format("{0:dddd dd.MM.}", day2Detail[tag].StartDate);
}
day2Detail[tag].ServiceCategory = String.Format("{0:00}", tag);
var newSr = new ServicesOverviewRO.ServiceDetail();
newSr.StartDate = new DateTime(pRO.StartDate.Year, pRO.StartDate.Month, i);
day2Detail.Add(i, newSr);
}
result.Add(day2Detail[i]);
day2Detail[i].ServiceDescription = String.Format("{0:dddd dd.MM.}", day2Detail[i].StartDate);
day2Detail[i].ServiceCategory = String.Format("{0:00}", i);
}
//Erstelle Wochensummen
@@ -273,49 +249,49 @@ namespace AkggMid
result = result.OrderBy(r => r.ServiceCategory).ToList();
int uebertragPos = 0;
int index = 1;
foreach (var item in result)
{
if (item.ServiceDescription == "Übertrag:")
{
uebertragPos = index;
}
index++;
}
//int uebertragPos = 0;
//int index = 1;
//foreach (var item in result)
//{
// if (item.ServiceDescription == "Übertrag:")
// {
// uebertragPos = index;
// }
// index++;
//}
var haelfte = Math.Ceiling(result.Count / 2m);
if (uebertragPos <= haelfte)
{
//fülle vorne Leerpositionen auf
while (uebertragPos <= haelfte)
{
var newSr = new ServicesOverviewRO.ServiceDetail();
//var haelfte = Math.Ceiling(result.Count / 2m);
//if (uebertragPos <= haelfte)
//{
// //fülle vorne Leerpositionen auf
// while (uebertragPos <= haelfte)
// {
// var newSr = new ServicesOverviewRO.ServiceDetail();
newSr.ServiceCategory = String.Format("16z{0:00}", haelfte);
result.Add(newSr);
uebertragPos++;
}
}
else if (uebertragPos > haelfte + 1)
{
while (uebertragPos > haelfte + 1)
{
//fülle hinten eine Leerposition auf
var newSr = new ServicesOverviewRO.ServiceDetail();
newSr.ServiceCategory = "zzz";
result.Add(newSr);
uebertragPos--;
}
}
var mod = result.Count % 2;
if (mod > 0) // nicht durch 2 teilbar also füge einen Leerdummy ein, damit die Tabelle auf zwei Spalten aufgeteilt werden kann.
{
var newSr = new ServicesOverviewRO.ServiceDetail();
newSr.ServiceCategory = "zzz";
result.Add(newSr);
// newSr.ServiceCategory = String.Format("16z{0:00}", haelfte);
// result.Add(newSr);
// uebertragPos++;
// }
//}
//else if (uebertragPos > haelfte + 1)
//{
// while (uebertragPos > haelfte + 1)
// {
// //fülle hinten eine Leerposition auf
// var newSr = new ServicesOverviewRO.ServiceDetail();
// newSr.ServiceCategory = "zzz";
// result.Add(newSr);
// uebertragPos--;
// }
//}
//var mod = result.Count % 2;
//if (mod > 0) // nicht durch 2 teilbar also füge einen Leerdummy ein, damit die Tabelle auf zwei Spalten aufgeteilt werden kann.
//{
// var newSr = new ServicesOverviewRO.ServiceDetail();
// newSr.ServiceCategory = "zzz";
// result.Add(newSr);
}
//}
return result.OrderBy(r => r.ServiceCategory).ToList();
}

View File

@@ -11,5 +11,10 @@ namespace AkggMid.Service
public class CustomVacationService : VacationService
{
public override string Bundesland { get => "Hessen"; }
public override List<FeiertagDC> GetDBFeiertage(int year)
{
return base.GetDBFeiertage(year);
}
}
}

View File

@@ -23,7 +23,9 @@ namespace AsbRuhr.Export
public override QueryDC CreateQuery(QueryDC query)
{
return FibuNetExporter.CreateQuery(query);
var q = FibuNetExporter.CreateQuery(query);
CreateBuchungsExportProtokollEintrag(q);
return q;
}
}
}

View File

@@ -23,7 +23,9 @@ namespace DiePerspektive.Export
public override QueryDC CreateQuery(QueryDC query)
{
return FibuNetExporter.CreateQuery(query);
var q = FibuNetExporter.CreateQuery(query);
CreateBuchungsExportProtokollEintrag(q);
return q;
}
}
}

View File

@@ -111,10 +111,12 @@ namespace BeWo.HphBersenbrueckAtz
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel();
this.lblStandort = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -209,7 +211,7 @@ namespace BeWo.HphBersenbrueckAtz
this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Disabilities")});
this.xrLabel28.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 286.7917F);
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(139.5801F, 306.7917F);
this.xrLabel28.Multiline = true;
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -220,7 +222,7 @@ namespace BeWo.HphBersenbrueckAtz
// xrLabel21
//
this.xrLabel21.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 286.7917F);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 306.7917F);
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel21.SizeF = new System.Drawing.SizeF(139.58F, 24F);
@@ -232,7 +234,7 @@ namespace BeWo.HphBersenbrueckAtz
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
this.xrLabel14.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 262.7917F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(139.5801F, 282.7917F);
this.xrLabel14.Multiline = true;
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -243,7 +245,7 @@ namespace BeWo.HphBersenbrueckAtz
// xrLabel7
//
this.xrLabel7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 262.7917F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 282.7917F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(139.58F, 24F);
@@ -974,6 +976,8 @@ namespace BeWo.HphBersenbrueckAtz
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel37,
this.lblStandort,
this.xrLabel35,
this.xrLabel36,
this.xrLabel33,
@@ -1007,30 +1011,9 @@ namespace BeWo.HphBersenbrueckAtz
this.xrLabel14,
this.xrLabel21,
this.xrLabel28});
this.ReportHeader.HeightF = 325.8333F;
this.ReportHeader.HeightF = 345.8333F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel33
//
this.xrLabel33.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(0F, 196.0834F);
this.xrLabel33.Name = "xrLabel33";
this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel33.SizeF = new System.Drawing.SizeF(139.58F, 24F);
this.xrLabel33.StylePriority.UseFont = false;
this.xrLabel33.Text = "Begonnen am:";
//
// xrLabel34
//
this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Customer.AssistanceBegin", "{0:dd.MM.yyyy}")});
this.xrLabel34.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 196.0834F);
this.xrLabel34.Name = "xrLabel34";
this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel34.SizeF = new System.Drawing.SizeF(179.1633F, 24F);
this.xrLabel34.StylePriority.UseFont = false;
//
// xrLabel35
//
this.xrLabel35.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
@@ -1052,6 +1035,46 @@ namespace BeWo.HphBersenbrueckAtz
this.xrLabel36.SizeF = new System.Drawing.SizeF(179.1633F, 24F);
this.xrLabel36.StylePriority.UseFont = false;
//
// xrLabel33
//
this.xrLabel33.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(0F, 196.0834F);
this.xrLabel33.Name = "xrLabel33";
this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel33.SizeF = new System.Drawing.SizeF(139.58F, 24F);
this.xrLabel33.StylePriority.UseFont = false;
this.xrLabel33.Text = "Begonnen am:";
//
// xrLabel34
//
this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Customer.AssistanceBegin", "{0:dd.MM.yyyy}")});
this.xrLabel34.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 196.0834F);
this.xrLabel34.Name = "xrLabel34";
this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel34.SizeF = new System.Drawing.SizeF(179.1633F, 24F);
this.xrLabel34.StylePriority.UseFont = false;
//
// xrLabel37
//
this.xrLabel37.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel37.LocationFloat = new DevExpress.Utils.PointFloat(0F, 244.0834F);
this.xrLabel37.Name = "xrLabel37";
this.xrLabel37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel37.SizeF = new System.Drawing.SizeF(139.58F, 24F);
this.xrLabel37.StylePriority.UseFont = false;
this.xrLabel37.Text = "Standort:";
//
// lblStandort
//
this.lblStandort.Font = new System.Drawing.Font("Arial", 10F);
this.lblStandort.LocationFloat = new DevExpress.Utils.PointFloat(139.5799F, 244.0834F);
this.lblStandort.Name = "lblStandort";
this.lblStandort.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblStandort.SizeF = new System.Drawing.SizeF(238.3299F, 24F);
this.lblStandort.StylePriority.UseFont = false;
//
// Klientenstammblatt
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -1071,7 +1094,7 @@ namespace BeWo.HphBersenbrueckAtz
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "13.2";
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
@@ -1170,5 +1193,7 @@ namespace BeWo.HphBersenbrueckAtz
private DevExpress.XtraReports.UI.XRLabel xrLabel36;
private DevExpress.XtraReports.UI.XRLabel xrLabel33;
private DevExpress.XtraReports.UI.XRLabel xrLabel34;
private DevExpress.XtraReports.UI.XRLabel xrLabel37;
private DevExpress.XtraReports.UI.XRLabel lblStandort;
}
}

View File

@@ -5,6 +5,9 @@ using System.ComponentModel;
using BeWo.Report;
using DevExpress.XtraReports.UI;
using BeWo.Report.ReportObjects;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BS.Shared.Core;
namespace BeWo.HphBersenbrueckAtz
{
@@ -17,6 +20,24 @@ namespace BeWo.HphBersenbrueckAtz
public void SetReportDataSource(CustomerDataRO pRO)
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
foreach (var vv in c.VarFieldValueList)
{
var varFieldValue = Utils.XMLDeserializeFromString(vv.SerializedValue, Type.GetType(vv.TypeName));
if (varFieldValue != null)
{
switch (vv.VarFieldDefOid)
{
case 1:
lblStandort.Text = varFieldValue.ToString();
break;
}
}
}
this.bindingSource1.DataSource = pRO;
}
}

View File

@@ -44,6 +44,8 @@ namespace InputFamilienhilfe
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.lblAddress = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -55,30 +57,43 @@ namespace InputFamilienhilfe
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine2 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.lblFrist = new DevExpress.XtraReports.UI.XRLabel();
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -90,7 +105,7 @@ namespace InputFamilienhilfe
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(22.25281F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
@@ -202,44 +217,83 @@ namespace InputFamilienhilfe
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine2,
this.xrLabel8,
this.xrLine1,
this.xrLabel9,
this.xrLabel11,
this.xrLabel12,
this.xrLabel13,
this.xrLabel14,
this.xrLabel15,
this.xrLabel16,
this.xrLabel17,
this.xrRichText3,
this.xrPictureBox1,
this.xrRichText1,
this.xrPageInfo2,
this.xrLabel3,
this.lblAddress,
this.xrTable3,
this.xrLabel6,
this.xrLabel5,
this.xrLabel4,
this.xrLabel2});
this.ReportHeader.HeightF = 582.1598F;
this.xrLabel5});
this.ReportHeader.HeightF = 542.9931F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrRichText3
//
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 162.5001F);
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(20F, 116.11F);
this.xrRichText3.Name = "xrRichText3";
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
this.xrRichText3.SizeF = new System.Drawing.SizeF(469.7848F, 19.72234F);
this.xrRichText3.SizeF = new System.Drawing.SizeF(354.8073F, 19.72234F);
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(412.5F, 0F);
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(390.64F, 0F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(214.4996F, 162.5001F);
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(177.8329F, 135.83F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrRichText1
//
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(522F, 162.5F);
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(508.67F, 135.83F);
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(185F, 332.8983F);
this.xrRichText1.SizeF = new System.Drawing.SizeF(185F, 110.3983F);
this.xrRichText1.StylePriority.UseForeColor = false;
//
// xrPageInfo2
//
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 7F);
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(54)))), ((int)(((byte)(141)))));
this.xrPageInfo2.Format = "Seite {0} von {1}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(508.67F, 252F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(185.0002F, 23F);
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel3
//
this.xrLabel3.Font = new System.Drawing.Font("Arial", 7F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(54)))), ((int)(((byte)(141)))));
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(508.67F, 281F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.SizeF = new System.Drawing.SizeF(185F, 41.16681F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseForeColor = false;
this.xrLabel3.StylePriority.UsePadding = false;
this.xrLabel3.Text = "Aalen, [InvoiceDate]";
//
// lblAddress
//
this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 193.16F);
this.lblAddress.Font = new System.Drawing.Font("Arial", 11F);
this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(20F, 151.39F);
this.lblAddress.Multiline = true;
this.lblAddress.Name = "lblAddress";
this.lblAddress.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -250,7 +304,7 @@ namespace InputFamilienhilfe
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 557.1598F);
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(21.41683F, 517.9931F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
@@ -355,7 +409,7 @@ namespace InputFamilienhilfe
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 510.1599F);
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(21.41683F, 470.9933F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -365,7 +419,7 @@ namespace InputFamilienhilfe
//
// xrLabel5
//
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 477.16F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(21.41683F, 437.9933F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -373,35 +427,6 @@ namespace InputFamilienhilfe
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = "[RecipientSalutation]";
//
// xrLabel4
//
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
this.xrLabel4.CanShrink = true;
this.xrLabel4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 427.16F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(427.0014F, 17F);
this.xrLabel4.StylePriority.UseBackColor = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "[CustomerReferenceNumber]";
this.xrLabel4.WordWrap = false;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.CanShrink = true;
this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.4162598F, 410.16F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(427.0014F, 17F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]";
this.xrLabel2.WordWrap = false;
//
// ruleRateFactorNull
//
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
@@ -413,50 +438,18 @@ namespace InputFamilienhilfe
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel10,
this.xrPictureBox2,
this.xrRichText2,
this.xrLabel1});
this.ReportFooter.HeightF = 200F;
this.xrLabel1,
this.lblFrist,
this.xrRichText4,
this.xrLabel2});
this.ReportFooter.HeightF = 334.0557F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.PrintAtBottom = true;
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(277.0833F, 17F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.83334F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(178.75F, 65.55557F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrRichText2
//
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(522.0001F, 0F);
this.xrRichText2.Name = "xrRichText2";
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
this.xrRichText2.SizeF = new System.Drawing.SizeF(185F, 200F);
//
// xrLabel1
//
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0.4163106F, 103.3889F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(277.0833F, 17F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "Thomas Droese";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(571.4177F, 0F);
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(591.8343F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
@@ -494,9 +487,18 @@ namespace InputFamilienhilfe
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 60F;
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrRichText2});
this.bottomMarginBand1.HeightF = 52.5F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrRichText2
//
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0.4164632F, 0F);
this.xrRichText2.Name = "xrRichText2";
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
this.xrRichText2.SizeF = new System.Drawing.SizeF(700F, 52.5F);
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -527,6 +529,181 @@ namespace InputFamilienhilfe
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO);
//
// xrLabel8
//
this.xrLabel8.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(54)))), ((int)(((byte)(141)))));
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(20.42F, 298.58F);
this.xrLabel8.Multiline = true;
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(185F, 27.00012F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseForeColor = false;
this.xrLabel8.Text = "Rechnung";
//
// xrLine1
//
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(54)))), ((int)(((byte)(141)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(20.41992F, 325.5801F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(670.3337F, 6.25F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrLabel9
//
this.xrLabel9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(20.42033F, 338.83F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(119.3068F, 17.00003F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "Rechnungsnr.:";
//
// xrLabel11
//
this.xrLabel11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(20.42033F, 366.83F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(119.3068F, 17.00003F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.Text = "Rechnungsdatum:";
//
// xrLabel12
//
this.xrLabel12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(244.8674F, 338.83F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(92.64017F, 17.00003F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Klient*in:";
//
// xrLabel13
//
this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrLabel13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(139.7272F, 338.83F);
this.xrLabel13.Multiline = true;
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(105.1402F, 17.00003F);
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.Text = "Rechnungsnr.:";
//
// xrLabel14
//
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(139.7272F, 366.83F);
this.xrLabel14.Multiline = true;
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(105.1402F, 17.00003F);
this.xrLabel14.StylePriority.UseFont = false;
this.xrLabel14.Text = "Rechnungsnr.:";
//
// xrLabel15
//
this.xrLabel15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(244.8674F, 366.83F);
this.xrLabel15.Multiline = true;
this.xrLabel15.Name = "xrLabel15";
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel15.SizeF = new System.Drawing.SizeF(92.64017F, 17.00003F);
this.xrLabel15.StylePriority.UseFont = false;
this.xrLabel15.Text = "Aktenzeichen:";
//
// xrLabel16
//
this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
this.xrLabel16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(337.5075F, 366.83F);
this.xrLabel16.Multiline = true;
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(313.4735F, 17.00003F);
this.xrLabel16.StylePriority.UseFont = false;
//
// xrLabel17
//
this.xrLabel17.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(337.5075F, 338.83F);
this.xrLabel17.Multiline = true;
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(313.4735F, 17.00003F);
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.Text = "[CustomerLastName], [CustomerFirstName] (*[CustomerBirthdate!dd.MM.yyyy])";
//
// xrLine2
//
this.xrLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(54)))), ((int)(((byte)(141)))));
this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(20.42F, 389.38F);
this.xrLine2.Name = "xrLine2";
this.xrLine2.SizeF = new System.Drawing.SizeF(670.3337F, 6.25F);
this.xrLine2.StylePriority.UseForeColor = false;
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(19.58354F, 196.6667F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(277.0833F, 17F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(19.58354F, 234.4999F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(197.9167F, 65.55556F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrLabel1
//
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(20F, 300.0555F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(277.0833F, 17F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "Rebekka Häußler-Droese";
//
// lblFrist
//
this.lblFrist.LocationFloat = new DevExpress.Utils.PointFloat(19.16667F, 119.1667F);
this.lblFrist.Name = "lblFrist";
this.lblFrist.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblFrist.SizeF = new System.Drawing.SizeF(689.5833F, 55.33336F);
this.lblFrist.StylePriority.UseFont = false;
this.lblFrist.Text = "Ich bitte Sie, den Rechnungsbetrag in Höhe von 309,92 € bis zum 28.01.2022 unter " +
"Angabe der Rechnungsnummer auf das unten angegebene Konto zu überweisen. ";
//
// xrRichText4
//
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(20F, 0F);
this.xrRichText4.Name = "xrRichText4";
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
this.xrRichText4.SizeF = new System.Drawing.SizeF(647.0834F, 119.1667F);
//
// xrLabel2
//
this.xrLabel2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(20F, 317.0557F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(277.0833F, 17F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Sozialpädagogin (B.A.)";
//
// InvoiceCustomerReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -538,10 +715,10 @@ namespace InputFamilienhilfe
this.DetailReport});
this.DataSource = this.bindingSource1;
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.Font = new System.Drawing.Font("Arial", 12F);
this.Font = new System.Drawing.Font("Arial", 11F);
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new System.Drawing.Printing.Margins(100, 20, 80, 60);
this.Margins = new System.Drawing.Printing.Margins(70, 20, 80, 52);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
@@ -550,9 +727,10 @@ namespace InputFamilienhilfe
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -564,8 +742,6 @@ namespace InputFamilienhilfe
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
@@ -592,13 +768,29 @@ namespace InputFamilienhilfe
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.XRLabel lblAddress;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
private DevExpress.XtraReports.UI.XRLabel xrLabel16;
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
private DevExpress.XtraReports.UI.XRLine xrLine2;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.XRLabel lblFrist;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -100,7 +100,17 @@ namespace KirschbaumManz
report = new LeistungsnachweisSoziotherapie();
if (report == null)
report = new Quittierungsbeleg();
{
if (ro.Costbearer == "Kerpen-LVR")
{
report = new QuittierungsbelegKerpen();
}
else
{
report = new Quittierungsbeleg();
}
}
report.SetReportDataSource(ro);

View File

@@ -74,6 +74,12 @@
<DependentUpon>LeistungsnachweisSoziotherapie.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="QuittierungsbelegKerpen.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="QuittierungsbelegKerpen.Designer.cs">
<DependentUpon>QuittierungsbelegKerpen.cs</DependentUpon>
</Compile>
<Compile Include="QuittierungsbelegMitDatum.cs">
<SubType>Component</SubType>
</Compile>
@@ -116,6 +122,10 @@
<DependentUpon>LeistungsnachweisSoziotherapie.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="QuittierungsbelegKerpen.resx">
<DependentUpon>QuittierungsbelegKerpen.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="QuittierungsbelegMitDatum.resx">
<DependentUpon>QuittierungsbelegMitDatum.cs</DependentUpon>
<SubType>Designer</SubType>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,140 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text.RegularExpressions;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared.Core;
using BS.Shared.Extensions;
using DevExpress.XtraReports.UI;
namespace KirschbaumManz
{
public partial class QuittierungsbelegKerpen : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<ServicesOverviewRO>
{
public QuittierungsbelegKerpen()
{
InitializeComponent();
}
public void SetReportDataSource(ServicesOverviewRO pRO)
{
//lblDatum.Text = String.Format("{0:dd.MM.yyyy}", DateTime.Now);
bool hatGruppen = false;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
foreach (var sd in pRO.Services)
{
if (sd.IsBillable)
{
ServicesOverviewRO.CreateSignatureString(sd);
if (sd.IsGroup)
{
//sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount);
hatGruppen = true;
}
servicesBillable.Add(sd);
}
}
pRO.Services = servicesBillable;
}
if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
{
lblHatAbwesenheiten.Text = "X";
}
if (!hatGruppen)
{
lblHatGruppen.Text = "X";
}
ErstelleAbwesenheitenTabelle(pRO);
bindingSource1.DataSource = pRO;
}
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
{
if (pRo.Abwesenheiten != null)
{
int newRows = 0;
int index = 1;
foreach (var at in pRo.Abwesenheiten)
{
if (at.AbsenceReason.BillableMinutes.HasValue && at.AbsenceReason.BillableMinutes.Value > 0)
{
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[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
int? days = null;
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);
index++;
}
}
if (newRows > 0)
{
lblUnterschriftKlient.Top += newRows * 20;
lblUnterschriftMitarbeiter.Top += newRows * 20;
}
}
}
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
string base64String = xrBox.Tag as string;
if (!String.IsNullOrWhiteSpace(base64String))
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binData = Convert.FromBase64String(base64Data);
Image img = ByteArrayToImage(binData);
xrBox.Image = Utils.CropImage(img);
}
else
{
xrBox.Image = null;
}
}
public Image ByteArrayToImage(byte[] byteArrayIn)
{
Image returnImage = null;
using (MemoryStream ms = new System.IO.MemoryStream(byteArrayIn))
{
returnImage = Image.FromStream(ms);
}
return returnImage;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -64,7 +64,6 @@ namespace KirschbaumManz
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();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.pbLogo = new DevExpress.XtraReports.UI.XRPictureBox();
@@ -116,13 +115,13 @@ namespace KirschbaumManz
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.pbLogoKerpen = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((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.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -569,10 +568,6 @@ namespace KirschbaumManz
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell49.Weight = 0.44692737430167606D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -583,7 +578,6 @@ namespace KirschbaumManz
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.pbLogoKerpen,
this.pbLogo,
this.xrLabel7,
this.xrLabel8,
@@ -1187,13 +1181,9 @@ namespace KirschbaumManz
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldKontaktArt.Name = "fieldKontaktArt";
//
// pbLogoKerpen
// bindingSource1
//
this.pbLogoKerpen.Image = ((System.Drawing.Image)(resources.GetObject("pbLogoKerpen.Image")));
this.pbLogoKerpen.LocationFloat = new DevExpress.Utils.PointFloat(508.9305F, 0F);
this.pbLogoKerpen.Name = "pbLogoKerpen";
this.pbLogoKerpen.SizeF = new System.Drawing.SizeF(226.0694F, 142.7083F);
this.pbLogoKerpen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// Quittierungsbeleg
//
@@ -1221,10 +1211,10 @@ namespace KirschbaumManz
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.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -1316,6 +1306,5 @@ namespace KirschbaumManz
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
private DevExpress.XtraReports.UI.XRPictureBox pbLogo;
private DevExpress.XtraReports.UI.XRPictureBox pbLogoKerpen;
}
}

View File

@@ -23,19 +23,6 @@ namespace KirschbaumManz
//lblDatum.Text = String.Format("{0:dd.MM.yyyy}", DateTime.Now);
bool hatGruppen = false;
if (!pRO.Costbearer.IsNullOrEmpty())
{
if (pRO.Costbearer == "Kerpen-LVR")
{
pbLogo.Visible = false;
pbLogoKerpen.Visible = true;
}
else
{
pbLogo.Visible = true;
pbLogoKerpen.Visible = false;
}
}
if (pRO.Services != null)
{
@@ -125,7 +112,7 @@ namespace KirschbaumManz
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
//var test = this.GetCurrent
string base64String = xrBox.Tag as string;
if (!String.IsNullOrWhiteSpace(base64String))
{
@@ -143,9 +130,10 @@ namespace KirschbaumManz
public Image ByteArrayToImage(byte[] byteArrayIn)
{
Image returnImage = null;
MemoryStream ms = new System.IO.MemoryStream(byteArrayIn);
returnImage = Image.FromStream(ms);
using (MemoryStream ms = new System.IO.MemoryStream(byteArrayIn))
{
returnImage = Image.FromStream(ms);
}
return returnImage;
}
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

View File

@@ -14,6 +14,16 @@ namespace BeWo.Service.DCEntityMapper
pDataContract.Percentage = pEntity.ProzentAbrechnung;
pDataContract.ProzentBudget = pEntity.ProzentBudget;
pDataContract.ProzentStundenkonto = pEntity.ProzentStundenkonto;
if (pDataContract.ProzentBudget == null)
{
pDataContract.ProzentBudget = pEntity.ProzentAbrechnung;
}
if (pDataContract.ProzentStundenkonto == null)
{
pDataContract.ProzentStundenkonto = pEntity.ProzentAbrechnung;
}
pDataContract.Name = pEntity.Name;
pDataContract.IsBillable = pEntity.IsBillable;
pDataContract.OhneHilfeplan = pEntity.OhneHilfeplan;

View File

@@ -26,9 +26,9 @@ namespace BeWo.Service.DCEntityMapper
pDataContract.DoNotCheckOverlapping = pEntity.DoNotCheckOverlapping.HasValue && pEntity.DoNotCheckOverlapping.Value;
pDataContract.ActivationType = pEntity.IsActive;
pDataContract.CostRatePeriods = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(pEntity.CostRatePeriods);
pDataContract.ProzentAbrechnung = pEntity.ProzentAbrechnung;
pDataContract.ProzentBudget = pEntity.ProzentBudget;
pDataContract.ProzentStundenkonto = pEntity.ProzentStundenkonto;
pDataContract.ProzentAbrechnung = pEntity.ProzentAbrechnung ?? 100;
pDataContract.ProzentBudget = pEntity.ProzentBudget ?? 100;
pDataContract.ProzentStundenkonto = pEntity.ProzentStundenkonto ?? 100;
return pDataContract;
}