diff --git a/ReportImp/BewegtSystemischeBeratung/BewegtSystemischeBeratung.csproj b/ReportImp/BewegtSystemischeBeratung/BewegtSystemischeBeratung.csproj
index f8a110286..ecf106b3d 100644
--- a/ReportImp/BewegtSystemischeBeratung/BewegtSystemischeBeratung.csproj
+++ b/ReportImp/BewegtSystemischeBeratung/BewegtSystemischeBeratung.csproj
@@ -55,24 +55,24 @@
-
- Component
-
-
- LeistungsnachweisMitUhrzeitMitUnterschrift.cs
-
-
- Component
-
-
- LeistungsnachweisMitUhrzeit.cs
-
Component
Leistungsnachweis.cs
+
+ Component
+
+
+ LeistungsnachweisBedburg.cs
+
+
+ Component
+
+
+ LeistungsnachweisBergheim.cs
+
Component
@@ -144,15 +144,15 @@
-
- LeistungsnachweisMitUhrzeitMitUnterschrift.cs
-
-
- LeistungsnachweisMitUhrzeit.cs
-
Leistungsnachweis.cs
+
+ LeistungsnachweisBedburg.cs
+
+
+ LeistungsnachweisBergheim.cs
+
Mitarbeiterarbeitszeitkonto.cs
diff --git a/ReportImp/BewegtSystemischeBeratung/CustomReportCreator.cs b/ReportImp/BewegtSystemischeBeratung/CustomReportCreator.cs
index 747fb91b0..bd62467b1 100644
--- a/ReportImp/BewegtSystemischeBeratung/CustomReportCreator.cs
+++ b/ReportImp/BewegtSystemischeBeratung/CustomReportCreator.cs
@@ -55,16 +55,12 @@ namespace BewegtSystemischeBeratung
{
if (ro.Costbearer.ToLower().Contains("bedburg"))
{
- report = new LeistungsnachweisMitUhrzeitMitUnterschrift();
- }
- //else if (ro.Costbearer.ToLower().Contains("bergheim"))
- //{
- // report = new LeistungsnachweisMitUhrzeit();
- //}
+ report = new LeistungsnachweisBedburg();
+ }
if (ro.Costbearer.ToLower().Contains("bergheim"))
{
- report = new LeistungsnachweisMitUhrzeit();
+ report = new LeistungsnachweisBergheim();
}
}
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.Designer.cs b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.Designer.cs
similarity index 99%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.Designer.cs
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.Designer.cs
index 3e85751e6..505a934c3 100644
--- a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.Designer.cs
+++ b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.Designer.cs
@@ -1,7 +1,7 @@
using BeWo.Report.ReportObjects;
namespace BewegtSystemischeBeratung
{
- partial class LeistungsnachweisMitUhrzeitMitUnterschrift
+ partial class LeistungsnachweisBedburg
{
///
/// Required designer variable.
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.cs b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.cs
similarity index 98%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.cs
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.cs
index 01febf511..e69054fb0 100644
--- a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.cs
+++ b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.cs
@@ -20,10 +20,10 @@ using Image = System.Drawing.Image;
namespace BewegtSystemischeBeratung
{
- public partial class LeistungsnachweisMitUhrzeitMitUnterschrift : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
+ public partial class LeistungsnachweisBedburg : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
{
- public LeistungsnachweisMitUhrzeitMitUnterschrift()
+ public LeistungsnachweisBedburg()
{
InitializeComponent();
}
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.resx b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.resx
similarity index 100%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.resx
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBedburg.resx
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.Designer.cs b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.Designer.cs
similarity index 94%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.Designer.cs
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.Designer.cs
index 027bbc4b2..255985286 100644
--- a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.Designer.cs
+++ b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.Designer.cs
@@ -1,7 +1,7 @@
using BeWo.Report.ReportObjects;
namespace BewegtSystemischeBeratung
{
- partial class LeistungsnachweisMitUhrzeit
+ partial class LeistungsnachweisBergheim
{
///
/// Required designer variable.
@@ -38,6 +38,7 @@ namespace BewegtSystemischeBeratung
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
@@ -47,6 +48,8 @@ namespace BewegtSystemischeBeratung
this.cellEinzel = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellTelefon = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
@@ -123,7 +126,8 @@ namespace BewegtSystemischeBeratung
this.xrTableCell10,
this.xrTableCell6,
this.xrTableCell8,
- this.xrTableCell4});
+ this.xrTableCell4,
+ this.xrTableCell2});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow2.StylePriority.UseTextAlignment = false;
@@ -169,7 +173,15 @@ namespace BewegtSystemischeBeratung
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Leistung";
- this.xrTableCell4.Weight = 1.0242085572534365D;
+ this.xrTableCell4.Weight = 0.7315775414494754D;
+ //
+ // xrTableCell2
+ //
+ this.xrTableCell2.Name = "xrTableCell2";
+ this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
+ this.xrTableCell2.StylePriority.UsePadding = false;
+ this.xrTableCell2.Text = "Unterschrift Klient";
+ this.xrTableCell2.Weight = 0.29263101774353367D;
//
// DetailReport
//
@@ -215,7 +227,8 @@ namespace BewegtSystemischeBeratung
this.xrTableCell11,
this.cellEinzel,
this.xrTableCell1,
- this.cellTelefon});
+ this.cellTelefon,
+ this.xrTableCell5});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow6.StylePriority.UseTextAlignment = false;
@@ -276,7 +289,30 @@ namespace BewegtSystemischeBeratung
this.cellTelefon.StylePriority.UsePadding = false;
this.cellTelefon.StylePriority.UseTextAlignment = false;
this.cellTelefon.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
- this.cellTelefon.Weight = 0.53030293062670208D;
+ this.cellTelefon.Weight = 0.37878773041241737D;
+ //
+ // xrTableCell5
+ //
+ this.xrTableCell5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.picSignature});
+ this.xrTableCell5.Name = "xrTableCell5";
+ this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
+ this.xrTableCell5.StylePriority.UsePadding = false;
+ this.xrTableCell5.StylePriority.UseTextAlignment = false;
+ this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableCell5.Weight = 0.15151519981700923D;
+ //
+ // picSignature
+ //
+ this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
+ this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.picSignature.Name = "picSignature";
+ this.picSignature.SizeF = new System.Drawing.SizeF(120.0001F, 25F);
+ this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
+ this.picSignature.StylePriority.UseBorders = false;
+ this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint);
//
// GroupHeader1
//
@@ -682,7 +718,7 @@ namespace BewegtSystemischeBeratung
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldGruppe.Name = "fieldGruppe";
//
- // LeistungsnachweisMitUhrzeit
+ // LeistungsnachweisBergheim
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
@@ -771,5 +807,8 @@ namespace BewegtSystemischeBeratung
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.XRLabel lblBewilligtEinheit;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
+ private DevExpress.XtraReports.UI.XRPictureBox picSignature;
}
}
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.cs b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.cs
similarity index 98%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.cs
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.cs
index 90312ad36..f75ac1248 100644
--- a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeit.cs
+++ b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.cs
@@ -19,10 +19,10 @@ using Image = System.Drawing.Image;
namespace BewegtSystemischeBeratung
{
- public partial class LeistungsnachweisMitUhrzeit : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
+ public partial class LeistungsnachweisBergheim : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
{
- public LeistungsnachweisMitUhrzeit()
+ public LeistungsnachweisBergheim()
{
InitializeComponent();
}
@@ -303,6 +303,7 @@ namespace BewegtSystemischeBeratung
}
}
+
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
diff --git a/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.resx b/ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.resx
similarity index 100%
rename from ReportImp/BewegtSystemischeBeratung/LeistungsnachweisMitUhrzeitMitUnterschrift.resx
rename to ReportImp/BewegtSystemischeBeratung/LeistungsnachweisBergheim.resx
diff --git a/Service/Plugins/AccountingService.cs b/Service/Plugins/AccountingService.cs
index fe75205dc..75cf67b72 100644
--- a/Service/Plugins/AccountingService.cs
+++ b/Service/Plugins/AccountingService.cs
@@ -62,7 +62,7 @@ namespace BeWo.Service.Plugins
return newInvoice;
}
- public ServiceInvoice ErstelleStornoRechnung(ServiceInvoiceDC sidc)
+ public virtual ServiceInvoice ErstelleStornoRechnung(ServiceInvoiceDC sidc)
{
ServiceInvoice newInvoice = new ServiceInvoice();
@@ -74,7 +74,7 @@ namespace BeWo.Service.Plugins
return newInvoice;
}
- private void SetzeStornoInfos(ServiceInvoice newInvoice)
+ public virtual void SetzeStornoInfos(ServiceInvoice newInvoice)
{
foreach (var sip in newInvoice.ServiceInvoicePeriodList)
{