MH: Schubkraft + Suchtkrankenhilfe

This commit is contained in:
2023-11-30 17:02:10 +01:00
parent 4f8f910698
commit acbbf5f877
12 changed files with 8271 additions and 157 deletions

View File

@@ -95,7 +95,7 @@ namespace ABCBetreuungenReports
//}
// Klären, wann QB genommen werden soll
if (ro.StartDate.Date >= new DateTime(2023, 10, 01) && ro.Costbearer.ToLower().Contains("neu"))
if ((ro.Costbearer != null && ro.StartDate.Date >= new DateTime(2023, 10, 01) && ro.Costbearer.ToLower().Contains("neu")) || ro.CustomerFirstName == "Yoda")
report = new Quittierungsbeleg();
else
report = new Stundenzettel();

View File

@@ -50,11 +50,9 @@ namespace ABCBetreuungenReports.Invoicing
decimal counter = 0;
foreach (var sr in serviceRecordsInPeriod)
{
// noch abändern
if (sr.ServiceDescription.Name.ToLower().Contains("außentermin") || sr.ServiceDescription.Name.ToLower().Contains("aussentermin") || sr.ServiceDescription.Name.ToLower().Contains("hausbesuch"))
if (sr.ServiceDescription.Name.ToLower().Contains("behördengang") || sr.ServiceDescription.Name.ToLower().Contains("außentermin") || sr.ServiceDescription.Name.ToLower().Contains("wohnung"))
{
// Bei Gruppenbuchungen muss die Pauschale durch die Teilnehmerzahl geteilt werden
if (sr.GroupPersonCount.HasValue)
counter = counter + (1m / Convert.ToDecimal(sr.GroupPersonCount.Value));
else

View File

@@ -30,6 +30,7 @@ namespace ABCBetreuungenReports
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
@@ -58,7 +59,6 @@ namespace ABCBetreuungenReports
this.columnWegepauschaleQuali = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = 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.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
@@ -101,13 +101,20 @@ namespace ABCBetreuungenReports
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.lblSummeAusfallstunden = new DevExpress.XtraReports.UI.XRLabel();
this.lblSummeWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.wennGruppeAnzPersonen = new DevExpress.XtraReports.UI.CalculatedField();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.lblSummeAusfallstunden = new DevExpress.XtraReports.UI.XRLabel();
this.lblSummeWegepauschalen = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
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();
@@ -168,7 +175,9 @@ namespace ABCBetreuungenReports
this.xrTableCell33,
this.xrTableCell34,
this.xrTableCell35,
this.xrTableCell50});
this.xrTableCell16,
this.xrTableCell50,
this.xrTableCell18});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -200,7 +209,7 @@ namespace ABCBetreuungenReports
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.Text = "xrTableCell14";
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell14.Weight = 0.11796651883372906D;
this.xrTableCell14.Weight = 0.073248573421123842D;
//
// xrTableCell2
//
@@ -211,7 +220,7 @@ namespace ABCBetreuungenReports
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell2.Weight = 0.33641341982293815D;
this.xrTableCell2.Weight = 0.17488573341766706D;
//
// xrTableCell10
//
@@ -223,7 +232,7 @@ namespace ABCBetreuungenReports
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell10.Weight = 0.07844429337262665D;
this.xrTableCell10.Weight = 0.088266650712468281D;
//
// xrTableCell12
//
@@ -234,7 +243,7 @@ namespace ABCBetreuungenReports
this.xrTableCell12.StylePriority.UseFont = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell12.Weight = 0.087144817317953552D;
this.xrTableCell12.Weight = 0.090909086367982D;
//
// xrTableCell15
//
@@ -246,7 +255,7 @@ namespace ABCBetreuungenReports
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Text = "xrTableCell15";
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell15.Weight = 0.15464407212292214D;
this.xrTableCell15.Weight = 0.0871009322723145D;
//
// xrTableCell33
//
@@ -258,7 +267,7 @@ namespace ABCBetreuungenReports
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "xrTableCell33";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell33.Weight = 0.16911143084853778D;
this.xrTableCell33.Weight = 0.088459966991020267D;
//
// xrTableCell34
//
@@ -270,7 +279,7 @@ namespace ABCBetreuungenReports
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "xrTableCell34";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell34.Weight = 0.12636754059066752D;
this.xrTableCell34.Weight = 0.0974684751025239D;
//
// xrTableCell35
//
@@ -282,7 +291,7 @@ namespace ABCBetreuungenReports
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "xrTableCell35";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell35.Weight = 0.10476834098080831D;
this.xrTableCell35.Weight = 0.10318944175580083D;
//
// xrTableCell50
//
@@ -294,7 +303,7 @@ namespace ABCBetreuungenReports
this.xrTableCell50.StylePriority.UsePadding = false;
this.xrTableCell50.StylePriority.UseTextAlignment = false;
this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell50.Weight = 0.12744986651559134D;
this.xrTableCell50.Weight = 0.18114777724738237D;
//
// GroupHeader1
//
@@ -331,7 +340,9 @@ namespace ABCBetreuungenReports
this.xrTableCell8,
this.columnWegepauschaleQuali,
this.xrTableCell11,
this.xrTableCell32});
this.xrTableCell9,
this.xrTableCell32,
this.xrTableCell17});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow2.StylePriority.UseTextAlignment = false;
@@ -372,7 +383,7 @@ namespace ABCBetreuungenReports
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Uhrzeit";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell1.Weight = 0.26097624806908937D;
this.xrTableCell1.Weight = 0.16204698489944575D;
//
// xrTableCell4
//
@@ -390,7 +401,7 @@ namespace ABCBetreuungenReports
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Ort";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell4.Weight = 0.74424380287999492D;
this.xrTableCell4.Weight = 0.38689796751089345D;
//
// xrTableCell5
//
@@ -409,7 +420,7 @@ namespace ABCBetreuungenReports
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Gruppen-angebot \r\nJa = 1";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell5.Weight = 0.17354153379421078D;
this.xrTableCell5.Weight = 0.19527131615508789D;
//
// xrTableCell6
//
@@ -428,7 +439,7 @@ namespace ABCBetreuungenReports
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Wenn Gruppen-angebot:\r\nAnzahl der IP";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell6.Weight = 0.19278975394188402D;
this.xrTableCell6.Weight = 0.20111687489735086D;
//
// xrTableCell7
//
@@ -445,10 +456,9 @@ namespace ABCBetreuungenReports
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Dauer in Minuten direkt mit der IP oder mit mehreren IP bei Gruppen-angebot \r\n(ge" +
"mäß Fußnote 2 zu Kap 2.3.1)";
this.xrTableCell7.Text = "Dauer in Minuten direkt mit der IP ";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell7.Weight = 0.34211728869698532D;
this.xrTableCell7.Weight = 0.19269299942107154D;
//
// xrTableCell8
//
@@ -465,10 +475,9 @@ namespace ABCBetreuungenReports
this.xrTableCell8.StylePriority.UseFont = false;
this.xrTableCell8.StylePriority.UsePadding = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "Anzahl direkte FLS qualifizierte Assistenzkraft. Eine FLS ist definiert als 50 Mi" +
"nuten mit der IP\r\n(gemäß Fußnote 2 zu Kap 2.3.1)";
this.xrTableCell8.Text = "Anzahl direkte FLS ";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell8.Weight = 0.37412347155765457D;
this.xrTableCell8.Weight = 0.19569906841794468D;
//
// columnWegepauschaleQuali
//
@@ -484,9 +493,9 @@ namespace ABCBetreuungenReports
this.columnWegepauschaleQuali.StylePriority.UseFont = false;
this.columnWegepauschaleQuali.StylePriority.UsePadding = false;
this.columnWegepauschaleQuali.StylePriority.UseTextAlignment = false;
this.columnWegepauschaleQuali.Text = "Wege-pauschale (qualifizierte Assistenzkraft) Ja = 1";
this.columnWegepauschaleQuali.Text = "Wege-pauschale Ja = 1";
this.columnWegepauschaleQuali.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.columnWegepauschaleQuali.Weight = 0.27956196521141152D;
this.columnWegepauschaleQuali.Weight = 0.21562832720499964D;
//
// xrTableCell11
//
@@ -505,7 +514,7 @@ namespace ABCBetreuungenReports
this.xrTableCell11.StylePriority.UseTextAlignment = false;
this.xrTableCell11.Text = "davon \"Ausfall-stunden\"\r\nJa = 1";
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell11.Weight = 0.23177761733055202D;
this.xrTableCell11.Weight = 0.22828527371090004D;
//
// xrTableCell32
//
@@ -523,11 +532,7 @@ namespace ABCBetreuungenReports
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "Mitarbeiter*in";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell32.Weight = 0.28195599876122152D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
this.xrTableCell32.Weight = 0.40075152404214204D;
//
// formattingRuleStartDate
//
@@ -592,7 +597,7 @@ namespace ABCBetreuungenReports
this.lblGesamtbudgetQuali.Multiline = true;
this.lblGesamtbudgetQuali.Name = "lblGesamtbudgetQuali";
this.lblGesamtbudgetQuali.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtbudgetQuali.SizeF = new System.Drawing.SizeF(209.6037F, 17.42422F);
this.lblGesamtbudgetQuali.SizeF = new System.Drawing.SizeF(195.0204F, 17.42422F);
this.lblGesamtbudgetQuali.StylePriority.UseFont = false;
this.lblGesamtbudgetQuali.StylePriority.UseForeColor = false;
this.lblGesamtbudgetQuali.StylePriority.UseTextAlignment = false;
@@ -1004,6 +1009,7 @@ namespace ABCBetreuungenReports
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1,
this.xrLabel16});
this.topMarginBand1.HeightF = 136.0417F;
this.topMarginBand1.Name = "topMarginBand1";
@@ -1012,17 +1018,18 @@ namespace ABCBetreuungenReports
//
this.xrLabel16.Font = new System.Drawing.Font("Calibri", 10F);
this.xrLabel16.ForeColor = System.Drawing.Color.Black;
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 111.0417F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 101.0417F);
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(924.0834F, 25.00002F);
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 2, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(767.1F, 25.00002F);
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.StylePriority.UseForeColor = false;
this.xrLabel16.StylePriority.UsePadding = false;
this.xrLabel16.StylePriority.UseTextAlignment = false;
this.xrLabel16.Text = "Leistungsnachweis Assistenz beim Wohnen außerhalb der besonderen Wohnform i.S.d. " +
"§ 42 a Abs.2 Nr. 2 SGB XII";
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// bottomMarginBand1
//
@@ -1032,6 +1039,7 @@ namespace ABCBetreuungenReports
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrLabel11,
this.xrPictureBox3,
this.lblUnterschriftMitarbeiter,
@@ -1043,7 +1051,6 @@ namespace ABCBetreuungenReports
this.lblSummeAusfallstunden,
this.lblSummeWegepauschalen,
this.xrLabel6,
this.xrLabel2,
this.xrLabel1});
this.GroupFooter1.HeightF = 136.875F;
this.GroupFooter1.KeepTogether = true;
@@ -1162,57 +1169,18 @@ namespace ABCBetreuungenReports
this.xrLabel7.Text = "Datum";
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// lblSummeAusfallstunden
//
this.lblSummeAusfallstunden.BackColor = System.Drawing.Color.Transparent;
this.lblSummeAusfallstunden.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblSummeAusfallstunden.BorderWidth = 1F;
this.lblSummeAusfallstunden.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.lblSummeAusfallstunden.LocationFloat = new DevExpress.Utils.PointFloat(924.0834F, 0F);
this.lblSummeAusfallstunden.Name = "lblSummeAusfallstunden";
this.lblSummeAusfallstunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.lblSummeAusfallstunden.SizeF = new System.Drawing.SizeF(82.97638F, 20F);
this.lblSummeAusfallstunden.StylePriority.UseBackColor = false;
this.lblSummeAusfallstunden.StylePriority.UseBorders = false;
this.lblSummeAusfallstunden.StylePriority.UseBorderWidth = false;
this.lblSummeAusfallstunden.StylePriority.UseFont = false;
this.lblSummeAusfallstunden.StylePriority.UsePadding = false;
this.lblSummeAusfallstunden.StylePriority.UseTextAlignment = false;
this.lblSummeAusfallstunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// lblSummeWegepauschalen
//
this.lblSummeWegepauschalen.BackColor = System.Drawing.Color.Transparent;
this.lblSummeWegepauschalen.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblSummeWegepauschalen.BorderWidth = 1F;
this.lblSummeWegepauschalen.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.lblSummeWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(824.0002F, 0F);
this.lblSummeWegepauschalen.Name = "lblSummeWegepauschalen";
this.lblSummeWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.lblSummeWegepauschalen.SizeF = new System.Drawing.SizeF(100.0833F, 20F);
this.lblSummeWegepauschalen.StylePriority.UseBackColor = false;
this.lblSummeWegepauschalen.StylePriority.UseBorders = false;
this.lblSummeWegepauschalen.StylePriority.UseBorderWidth = false;
this.lblSummeWegepauschalen.StylePriority.UseFont = false;
this.lblSummeWegepauschalen.StylePriority.UsePadding = false;
this.lblSummeWegepauschalen.StylePriority.UseTextAlignment = false;
this.lblSummeWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrLabel6
//
this.xrLabel6.BackColor = System.Drawing.Color.Transparent;
this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel6.BorderWidth = 1F;
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSQualified", "{0:0.00}")});
this.xrLabel6.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(690.064F, 0F);
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(483.9839F, 0F);
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(133.9362F, 20F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(70.06027F, 20F);
this.xrLabel6.StylePriority.UseBackColor = false;
this.xrLabel6.StylePriority.UseBorders = false;
this.xrLabel6.StylePriority.UseBorderWidth = false;
@@ -1221,41 +1189,19 @@ namespace ABCBetreuungenReports
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel2.BorderWidth = 1F;
this.xrLabel2.CanGrow = false;
this.xrLabel2.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(567.5859F, 20.00001F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(122.4781F, 19.99998F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseBorders = false;
this.xrLabel2.StylePriority.UseBorderWidth = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UsePadding = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Summe Minuten";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrLabel1
//
this.xrLabel1.BackColor = System.Drawing.Color.Transparent;
this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)));
this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel1.BorderWidth = 1F;
this.xrLabel1.CanGrow = false;
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.00}")});
this.xrLabel1.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(567.5859F, 0F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(414.9999F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(122.4781F, 20F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(68.98398F, 20F);
this.xrLabel1.StylePriority.UseBackColor = false;
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseBorderWidth = false;
@@ -1277,6 +1223,142 @@ namespace ABCBetreuungenReports
this.wennGruppeAnzPersonen.Expression = "Iif([CustomerCount] > 1,[CustomerCount],\'\')";
this.wennGruppeAnzPersonen.Name = "wennGruppeAnzPersonen";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(767.1F, 66.04173F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(340.9F, 60F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrTableCell9
//
this.xrTableCell9.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBackColor = false;
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Kennziffer für\r\nKurzbeschrei-bung\r\n(optional)";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell9.Weight = 0.2356118770279628D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")});
this.xrTableCell16.Font = new System.Drawing.Font("Calibri", 10F);
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseFont = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell16.Weight = 0.10650144648191158D;
//
// xrTableCell17
//
this.xrTableCell17.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell17.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell17.Multiline = true;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseBackColor = false;
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.Text = "Unterschrift der IP";
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell17.Weight = 0.46708556807362822D;
//
// xrTableCell18
//
this.xrTableCell18.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.picSignature});
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseTextAlignment = false;
this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell18.Weight = 0.21113213596795824D;
//
// 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(160F, 20F);
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.picSignature.StylePriority.UseBorders = false;
//
// lblSummeAusfallstunden
//
this.lblSummeAusfallstunden.BackColor = System.Drawing.Color.Transparent;
this.lblSummeAusfallstunden.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblSummeAusfallstunden.BorderWidth = 1F;
this.lblSummeAusfallstunden.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.lblSummeAusfallstunden.LocationFloat = new DevExpress.Utils.PointFloat(631.2392F, 0F);
this.lblSummeAusfallstunden.Name = "lblSummeAusfallstunden";
this.lblSummeAusfallstunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.lblSummeAusfallstunden.SizeF = new System.Drawing.SizeF(81.72607F, 20F);
this.lblSummeAusfallstunden.StylePriority.UseBackColor = false;
this.lblSummeAusfallstunden.StylePriority.UseBorders = false;
this.lblSummeAusfallstunden.StylePriority.UseBorderWidth = false;
this.lblSummeAusfallstunden.StylePriority.UseFont = false;
this.lblSummeAusfallstunden.StylePriority.UsePadding = false;
this.lblSummeAusfallstunden.StylePriority.UseTextAlignment = false;
this.lblSummeAusfallstunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// lblSummeWegepauschalen
//
this.lblSummeWegepauschalen.BackColor = System.Drawing.Color.Transparent;
this.lblSummeWegepauschalen.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.lblSummeWegepauschalen.BorderWidth = 1F;
this.lblSummeWegepauschalen.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.lblSummeWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(554.0442F, 0F);
this.lblSummeWegepauschalen.Name = "lblSummeWegepauschalen";
this.lblSummeWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.lblSummeWegepauschalen.SizeF = new System.Drawing.SizeF(77.19495F, 20F);
this.lblSummeWegepauschalen.StylePriority.UseBackColor = false;
this.lblSummeWegepauschalen.StylePriority.UseBorders = false;
this.lblSummeWegepauschalen.StylePriority.UseBorderWidth = false;
this.lblSummeWegepauschalen.StylePriority.UseFont = false;
this.lblSummeWegepauschalen.StylePriority.UsePadding = false;
this.lblSummeWegepauschalen.StylePriority.UseTextAlignment = false;
this.lblSummeWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrLabel2.BorderWidth = 1F;
this.xrLabel2.CanGrow = false;
this.xrLabel2.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(346.0159F, 0F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(68.98398F, 20F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseBorders = false;
this.xrLabel2.StylePriority.UseBorderWidth = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UsePadding = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// Quittierungsbeleg
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -1375,10 +1457,7 @@ namespace ABCBetreuungenReports
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
private DevExpress.XtraReports.UI.XRLabel lblFLSWocheQuali;
private DevExpress.XtraReports.UI.XRLabel lblGesamtbudgetQuali;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel lblSummeWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel lblSummeAusfallstunden;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
@@ -1388,5 +1467,14 @@ namespace ABCBetreuungenReports
private DevExpress.XtraReports.UI.XRLabel lblUnterschriftMitarbeiter;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
private DevExpress.XtraReports.UI.XRLabel lblSummeAusfallstunden;
private DevExpress.XtraReports.UI.XRLabel lblSummeWegepauschalen;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
}
}

View File

@@ -53,6 +53,8 @@ namespace ABCBetreuungenReports
if (sd.IsBillable)
{
sd.Notice = SetzeKennziffer(sd.Notice);
minuten += sd.Minutes;
ServicesOverviewRO.CreateSignatureString(sd);
sd.Notice5 = "F";
@@ -64,9 +66,13 @@ namespace ABCBetreuungenReports
hatGruppen = true;
sd.Notice3 = "1";
}
else
{
sd.Notice3 = "";
}
// Felder für Wegepauschale setzen (Wenn FLS FaceToFace, dann ja)
if (sd.ServiceDescription.ToLower().Contains("hausbesuch") || sd.ServiceDescription.ToLower().Contains("außentermin") || sd.ServiceDescription.ToLower().Contains("aussentermin"))
if (sd.ServiceDescription.ToLower().Contains("behördengang") || sd.ServiceDescription.ToLower().Contains("außentermin") || sd.ServiceDescription.ToLower().Contains("wohnung"))
{
var emp = MapperFactory.EmployeeDC_Employee.MapToNewDC(DAOFactory.GenericDAO.GetByID<Employee>(sd.EmployeeOid));
if (emp.IsQualified.HasValue)
@@ -132,6 +138,27 @@ namespace ABCBetreuungenReports
bindingSource1.DataSource = pRO;
}
private string SetzeKennziffer(string notice)
{
var noticeSplit = notice.Trim().Split(' ');
int ziffer = 0;
if (noticeSplit != null && noticeSplit.Length > 0)
{
try
{
ziffer = Convert.ToInt32(noticeSplit[0]);
}
catch
{
return "";
}
}
if (ziffer == 0)
return "";
else
return ziffer.ToString();
}
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
@@ -206,5 +233,7 @@ namespace ABCBetreuungenReports
return System.Drawing.Image.FromStream(memoryStream);
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,107 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BeWo.Service.DCEntityMapper;
using BeWo.Service.Plugins;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using DevExpress.XtraReports.Design;
using DevExpress.XtraReports.UI;
namespace SuchtkrankenhilfeOstfriesland
{
public class CustomReportCreator : DefaultReportCreator
{
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay);
if (lROs.Count > 0)
{
var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid);
rootReport.CreateDocument();
for (int i = 1; i < lROs.Count; i++)
{
var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid);
lNext.CreateDocument();
rootReport.Pages.AddRange(lNext.Pages);
}
return rootReport;
}
return new XtraReport();
}
public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
return CreateServicesOverviewReportForRo(ro, serviceCategoryOid);
}
public override XtraReport CreateServiceOverviewReportForCustomers(IList<long> customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende)
{
var roList = new List<ServicesOverviewRO>();
foreach (var coid in customerOids)
{
var ro = ServicesOverviewRO.Create(coid, month, year, true, orgaOid ?? 0, empOid ?? 0, startDay, endDay, serviceCategoryOid);
if (ro != null)
{
roList.Add(ro);
}
}
if (roList.Count > 0)
{
var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid);
rootReport.CreateDocument();
for (int i = 1; i < roList.Count; i++)
{
var lNext = CreateServicesOverviewReportForRo(roList[i], serviceCategoryOid);
lNext.CreateDocument();
rootReport.Pages.AddRange(lNext.Pages);
}
return rootReport;
}
return new XtraReport();
}
private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid)
{
IBeWoReport<ServicesOverviewRO> report = null;
String kt = "";
if (!String.IsNullOrWhiteSpace(ro.Costbearer))
kt = ro.Costbearer.Trim();
//String function = "";
//if (ro.CostBearer2SupportConceptList != null)
//{
// foreach (var c2s in ro.CostBearer2SupportConceptList)
// {
// if (c2s.CostBearer.Organisation.Function != null && !String.IsNullOrWhiteSpace(ro.Costbearer) && c2s.CostBearer.Organisation.Name == ro.Costbearer)
// function = c2s.CostBearer.Organisation.Function.Value;
// }
//}
// Klären, wann QB genommen werden soll
if (ro.Costbearer != null && ro.StartDate.Date >= new DateTime(2023, 10, 01) && ro.Costbearer.ToLower().Contains("ab 01.09."))
report = new Quittierungsbeleg();
else
report = new QuittierungsbelegAlt();
report.SetReportDataSource(ro);
return report as XtraReport;
}
}
}

View File

@@ -30,6 +30,7 @@ namespace SuchtkrankenhilfeOstfriesland
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
@@ -44,6 +45,7 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
@@ -57,6 +59,7 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.columnWegepauschaleQuali = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
@@ -108,11 +111,15 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.wennGruppeAnzPersonen = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.lblKontaktLeer = new DevExpress.XtraReports.UI.XRRichText();
this.lblKontaktEmden = new DevExpress.XtraReports.UI.XRRichText();
this.lblKontaktAurich = new DevExpress.XtraReports.UI.XRRichText();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktLeer)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktEmden)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktAurich)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -287,6 +294,17 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell35.Weight = 0.075757598880172944D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice2")});
this.xrTableCell16.Font = new System.Drawing.Font("Calibri", 10F);
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseFont = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell16.Weight = 0.091540277374581647D;
//
// xrTableCell50
//
this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
@@ -511,6 +529,25 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell11.Weight = 0.16759774973736519D;
//
// xrTableCell9
//
this.xrTableCell9.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBackColor = false;
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Kennziffer für Kurzbe-schreibung\r\n(optional)";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell9.Weight = 0.20251394772504511D;
//
// xrTableCell32
//
this.xrTableCell32.BackColor = System.Drawing.Color.Transparent;
@@ -1008,19 +1045,22 @@ namespace SuchtkrankenhilfeOstfriesland
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblKontaktLeer,
this.lblKontaktEmden,
this.lblKontaktAurich,
this.xrLabel16});
this.topMarginBand1.HeightF = 136.0417F;
this.topMarginBand1.HeightF = 209.4583F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrLabel16
//
this.xrLabel16.Font = new System.Drawing.Font("Calibri", 10F);
this.xrLabel16.ForeColor = System.Drawing.Color.Black;
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 111.0417F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 174.4583F);
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(924.0834F, 25.00002F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(691.7917F, 25.00002F);
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.StylePriority.UseForeColor = false;
this.xrLabel16.StylePriority.UseTextAlignment = false;
@@ -1281,35 +1321,32 @@ namespace SuchtkrankenhilfeOstfriesland
this.wennGruppeAnzPersonen.Expression = "Iif([CustomerCount] > 1,[CustomerCount],\'\')";
this.wennGruppeAnzPersonen.Name = "wennGruppeAnzPersonen";
//
// xrTableCell9
// lblKontaktLeer
//
this.xrTableCell9.BackColor = System.Drawing.Color.Transparent;
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBackColor = false;
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Kennziffer für Kurzbe-schreibung\r\n(optional)";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell9.Weight = 0.20251394772504511D;
this.lblKontaktLeer.Font = new System.Drawing.Font("Verdana", 10F);
this.lblKontaktLeer.LocationFloat = new DevExpress.Utils.PointFloat(882.375F, 30.62498F);
this.lblKontaktLeer.Name = "lblKontaktLeer";
this.lblKontaktLeer.SerializableRtfString = resources.GetString("lblKontaktLeer.SerializableRtfString");
this.lblKontaktLeer.SizeF = new System.Drawing.SizeF(215.6249F, 168.8333F);
this.lblKontaktLeer.Visible = false;
//
// xrTableCell16
// lblKontaktEmden
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice2")});
this.xrTableCell16.Font = new System.Drawing.Font("Calibri", 10F);
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseFont = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell16.Weight = 0.091540277374581647D;
this.lblKontaktEmden.Font = new System.Drawing.Font("Verdana", 10F);
this.lblKontaktEmden.LocationFloat = new DevExpress.Utils.PointFloat(882.375F, 30.62498F);
this.lblKontaktEmden.Name = "lblKontaktEmden";
this.lblKontaktEmden.SerializableRtfString = resources.GetString("lblKontaktEmden.SerializableRtfString");
this.lblKontaktEmden.SizeF = new System.Drawing.SizeF(215.6249F, 168.8333F);
this.lblKontaktEmden.Visible = false;
//
// lblKontaktAurich
//
this.lblKontaktAurich.Font = new System.Drawing.Font("Verdana", 10F);
this.lblKontaktAurich.LocationFloat = new DevExpress.Utils.PointFloat(882.375F, 30.62498F);
this.lblKontaktAurich.Name = "lblKontaktAurich";
this.lblKontaktAurich.SerializableRtfString = resources.GetString("lblKontaktAurich.SerializableRtfString");
this.lblKontaktAurich.SizeF = new System.Drawing.SizeF(215.6249F, 168.8333F);
this.lblKontaktAurich.Visible = false;
//
// Quittierungsbeleg
//
@@ -1330,7 +1367,7 @@ namespace SuchtkrankenhilfeOstfriesland
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Margins = new System.Drawing.Printing.Margins(31, 30, 136, 30);
this.Margins = new System.Drawing.Printing.Margins(31, 30, 209, 30);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = System.Drawing.Printing.PaperKind.A4Rotated;
@@ -1338,6 +1375,9 @@ namespace SuchtkrankenhilfeOstfriesland
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktLeer)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktEmden)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktAurich)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -1424,5 +1464,8 @@ namespace SuchtkrankenhilfeOstfriesland
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRRichText lblKontaktLeer;
private DevExpress.XtraReports.UI.XRRichText lblKontaktEmden;
private DevExpress.XtraReports.UI.XRRichText lblKontaktAurich;
}
}

View File

@@ -30,6 +30,23 @@ namespace SuchtkrankenhilfeOstfriesland
//StackTrace stackTrace = new StackTrace();
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
var customer = DAOFactory.GenericDAO.GetByID<Customer>(pRO.CustomerOid);
if (customer != null)
{
if (customer.Team2CustomerList != null && customer.Team2CustomerList.Count > 0)
{
var team = customer.Team2CustomerList[0].Team.Name;
if (team.ToLower().Contains("aurich"))
lblKontaktAurich.Visible = true;
else if (team.ToLower().Contains("emden"))
lblKontaktEmden.Visible = true;
else if (team.ToLower().Contains("leer"))
lblKontaktLeer.Visible = true;
}
}
bool hatGruppen = false;
double minuten = 0;

View File

@@ -120,4 +120,13 @@
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>21, 17</value>
</metadata>
<data name="lblKontaktLeer.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEMAYQBsAGkAYgByAGkAIABMAGkAZwBoAHQAOwB9AH0AewBcAGMAbwBsAG8AcgB0AGIAbAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADAAIAA7AFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYgBsAHUAZQAyADUANQAgADsAXAByAGUAZAAyADUANQBcAGcAcgBlAGUAbgAyADUANQBcAGIAbAB1AGUAMgA1ADUAIAA7AH0AewBcACoAXABkAGUAZgBjAGgAcAAgAFwAZgAxAFwAZgBzADIANAB9AHsAXABzAHQAeQBsAGUAcwBoAGUAZQB0ACAAewBcAHEAbABcAGYAMQBcAGYAcwAyADQAIABOAG8AcgBtAGEAbAA7AH0AewBcACoAXABjAHMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQAgAEQAZQBmA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BkAFwAcABsAGEAaQBuAFwAcQBsAFwAaAB5AHAAaABwAGEAcgAwAFwAcwBoAGEAZABpAG4AZwAwAFwAYwBiAHAAYQB0ADMAewBcAGYAMgBcAGYAcwAyADIAXABjAGYAMAAgAFQAZQBsAC4AIAAwADQAOQAxACAAMgAyADEAMgBcAGwAaQBuAGUAIABGAGEAeAAgACAAMAA0ADkAMQAgADkAOQA5ACAAMAA3ACAANQA4AFwAbABpAG4AZQAgAH0AXABmADEAXABmAHMAMgA0AFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABmADIAXABmAHMAMgAyAFwAYwBmADAAIABNAGEAaQBsAC8ASQBuAHQAZQByAG4AZQB0AFwAbABpAG4AZQAgAH0AewBcAGYAMgBcAGYAcwAxADgAXABjAGYAMAAgAGwAZQBlAHIAQABzAHUAYwBoAHQAawByAGEAbgBrAGUAbgBoAGkAbABmAGUALQBvAHMAdABmAHIAaQBlAHMAbABhAG4AZAAuAGQAZQBcAGwAaQBuAGUAIAB3AHcAdwAuAHMAdQBjAGgAdABrAHIAYQBuAGsAZQBuAGgAaQBsAGYAZQAtAG8AcwB0AGYAcgBpAGUAcwBsAGEAbgBkAC4AZABlAH0AXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA==</value>
</data>
<data name="lblKontaktEmden.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEMAYQBsAGkAYgByAGkAIABMAGkAZwBoAHQAOwB9AH0AewBcAGMAbwBsAG8AcgB0AGIAbAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADAAIAA7AFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYg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BcAGwAaQBuAGUAIABSAGkAbgBnAHMAdAByAC4AIAAxADgAXABsAGkAbgBlACAAMgA2ADcAMgAxACAARQBtAGQAZQBuAH0AXABmADEAXABmAHMAMgA0AFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAaAB5AHAAaABwAGEAcgAwAFwAcwBoAGEAZABpAG4AZwAwAFwAYwBiAHAAYQB0ADMAewBcAGYAMgBcAGYAcwAyADIAXABjAGYAMAAgAFQAZQBsAC4AIAAwADQAOQAyADEAIAAzADkAOQAgADMAOAA1AFwAbABpAG4AZQAgAEYAYQB4ACAAIAAwADQAOQAyADEAIAAzADUAMAA3ADEAfQBcAGYAMQBcAGYAcwAyADQAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABoAHkAcABoAHAAYQByADAAXABzAGgAYQBkAGkAbgBnADAAXABjAGIAcABhAHQAMwBcAGYAMgBcAGYAcwAyADIAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADIAXABjAGYAMAAgAE0AYQBpAGwALwBJAG4AdABlAHIAbgBlAHQAXABsAGkAbgBlACAAfQB7AFwAZgAyAFwAZgBzADEAOABcAGMAZgAwACAAZQBtAGQAZQBuAEAAcwB1AGMAaAB0AGsAcgBhAG4AawBlAG4AaABpAGwAZgBlAC0AbwBzAHQAZgByAGkAZQBzAGwAYQBuAGQALgBkAGUAXABsAGkAbgBlACAAdwB3AHcALgBzAHUAYwBoAHQAawByAGEAbgBrAGUAbgBoAGkAbABmAGUALQBvAHMAdABmAHIAaQBlAHMAbABhAG4AZAAuAGQAZQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
</data>
<data name="lblKontaktAurich.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkA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AyAFwAZgBzADEAOABcAGMAZgAwACAAYQB1AHIAaQBjAGgAQABzAHUAYwBoAHQAawByAGEAbgBrAGUAbgBoAGkAbABmAGUALQBvAHMAdABmAHIAaQBlAHMAbABhAG4AZAAuAGQAZQBcAGwAaQBuAGUAIAB3AHcAdwAuAHMAdQBjAGgAdABrAHIAYQBuAGsAZQBuAGgAaQBsAGYAZQAtAG8AcwB0AGYAcgBpAGUAcwBsAGEAbgBkAC4AZABlAH0AXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA==</value>
</data>
</root>

View File

@@ -92,7 +92,6 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
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.lblKontaktAurich = new DevExpress.XtraReports.UI.XRRichText();
@@ -155,17 +154,18 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.lblStrichOhneAnfahrt = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tableOhneAnfahrt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tableMitAnfahrt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktAurich)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktEmden)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktLeer)).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
@@ -956,7 +956,6 @@ namespace SuchtkrankenhilfeOstfriesland
this.tcAnfahrt2.StylePriority.UseBorders = false;
this.tcAnfahrt2.StylePriority.UseFont = false;
this.tcAnfahrt2.StylePriority.UseTextAlignment = false;
this.tcAnfahrt2.Text = "";
this.tcAnfahrt2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.tcAnfahrt2.Weight = 0.17054603619282469D;
//
@@ -1003,10 +1002,6 @@ namespace SuchtkrankenhilfeOstfriesland
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell49.Weight = 0.5601723100886D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -1780,7 +1775,11 @@ namespace SuchtkrankenhilfeOstfriesland
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldKontaktArt.Name = "fieldKontaktArt";
//
// Quittierungsbeleg
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// QuittierungsbelegAlt
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
@@ -1803,19 +1802,19 @@ namespace SuchtkrankenhilfeOstfriesland
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "17.1";
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("Quittierungsbeleg.Watermark.Image")));
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("QuittierungsbelegAlt.Watermark.Image")));
this.Watermark.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tableOhneAnfahrt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tableMitAnfahrt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktAurich)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktEmden)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lblKontaktLeer)).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();
}

View File

@@ -136,7 +136,7 @@
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdA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HIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="Quittierungsbeleg.Watermark.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="QuittierungsbelegAlt.Watermark.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsN
DhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQU

View File

@@ -50,6 +50,7 @@
<ItemGroup>
<Compile Include="CustomMitarbeiterstundenkontoBerechnung.cs" />
<Compile Include="CustomMitarbeiterstundenkontoBerechnungMonate.cs" />
<Compile Include="CustomReportCreator.cs" />
<Compile Include="Invoicing\CustomInvoiceCreation.cs" />
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
<Compile Include="Invoicing\PauschalenHelper.cs" />