diff --git a/ReportImp/DrobDrogenhilfe/Calculations/CustomGroupDurationCalculator.cs b/ReportImp/DrobDrogenhilfe/Calculations/CustomGroupDurationCalculator.cs
new file mode 100644
index 000000000..c12e4220d
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Calculations/CustomGroupDurationCalculator.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using BeWo.Service.Plugins;
+using BS.Shared.Core;
+using BS.Shared.DataContracts;
+using BS.Shared.Services;
+
+namespace TemplateNeuKunde.Calculations
+{
+ //public class CustomGroupDurationCalculator : GroupDurationCalculator
+ //{
+ // public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration)
+ // {
+ // return new GroupDurationDC()
+ // {
+ // SingleDuration = (totalDuration / personCount) * employeeCount,
+ // TotalDuration = totalDuration
+ // };
+ // }
+
+ //}
+}
diff --git a/ReportImp/DrobDrogenhilfe/Calculations/DefaultCalculations.cs b/ReportImp/DrobDrogenhilfe/Calculations/DefaultCalculations.cs
new file mode 100644
index 000000000..906e9d981
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Calculations/DefaultCalculations.cs
@@ -0,0 +1,25 @@
+using System;
+
+namespace TemplateNeuKunde.Calculations
+{
+
+ //public class DefaultCalculations : BS.Shared.Services.Calculations
+ //{
+ // public override int GetRoundedDuration(int minuteInterval, decimal durationInMinutes)
+ // {
+ // decimal lRoundedDuration = durationInMinutes;
+
+ // if (minuteInterval > 0 && durationInMinutes >= 5)
+ // {
+ // lRoundedDuration = durationInMinutes % minuteInterval != 0
+ // ? durationInMinutes + (minuteInterval - (durationInMinutes % minuteInterval))
+ // : durationInMinutes;
+ // }
+
+ // return (int)Math.Round(lRoundedDuration, 0, MidpointRounding.AwayFromZero);
+ // }
+
+
+
+ //}
+}
\ No newline at end of file
diff --git a/ReportImp/DrobDrogenhilfe/DrobDrogenhilfe.csproj b/ReportImp/DrobDrogenhilfe/DrobDrogenhilfe.csproj
new file mode 100644
index 000000000..4b4a41829
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/DrobDrogenhilfe.csproj
@@ -0,0 +1,111 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2F0B2249-CF36-4BEF-9DC2-B4889EC86BCB}
+ Library
+ Properties
+ DrobDrogenhilfe
+ 4593477132_Reports
+ v4.7.2
+ 512
+
+
+
+ true
+ full
+ false
+ ..\..\CustomerDlls\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ ..\..\CustomerDlls\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Component
+
+
+ SettlementReport.cs
+
+
+
+
+
+
+
+
+
+ {B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE}
+ Data
+
+
+ {40d8b312-ea64-49e3-a31a-5e57ed4d5654}
+ Report
+
+
+ {094331c3-ecee-4c89-bbfd-4c9ded89f0ef}
+ Service
+
+
+ {2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}
+ Shared
+
+
+
+
+
+
+
+
+
+
+
+ SettlementReport.cs
+ Designer
+
+
+
+
\ No newline at end of file
diff --git a/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceCreation.cs b/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceCreation.cs
new file mode 100644
index 000000000..7d5aee1ec
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceCreation.cs
@@ -0,0 +1,54 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Report.ReportObjects;
+using BeWo.Service.DCEntityMapper;
+using BeWo.Service.Invoicing;
+using BS.Shared;
+using BS.Shared.Core;
+using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
+using BS.Shared.Services;
+using Service.Invoicing;
+
+namespace TemplateNeuKunde.Invoicing
+{
+ // public class CustomInvoiceCreation : InvoiceCreation
+ //{
+ // //public override void SetInvoiceId(ServiceInvoice invoice)
+ // //{
+ // // //invoice.InvoiceBase.InvoiceId = "SBD";
+ // // //invoice.InvoiceBase.InvoiceTypeText = "";
+ // //}
+
+
+ // // //Setze für Selbstzahler die Adresse des Klienten
+ // // public override void SetRecipientInformation(ServiceInvoice serviceInvoice, CostBearer costBearer)
+ // // {
+ // // if (costBearer.Organisation.Name == "Selbstzahler")
+ // // {
+ // // serviceInvoice.InvoiceBase.RecipientOrganisationOid = costBearer.Organisation.Oid;
+
+ // // if (serviceInvoice.InvoiceBase.CostBearer2SupportConcept != null)
+ // // {
+ // // var cust = serviceInvoice.InvoiceBase.CostBearer2SupportConcept.SupportConcept.Customer;
+
+ // // if (cust.Person.InvoiceAddress != null)
+ // // {
+ // // serviceInvoice.InvoiceBase.RecipientAddress = cust.Person.InvoiceAddress.CopyToNew();
+ // // }
+ // // else if (cust.Person.Address != null)
+ // // {
+ // // serviceInvoice.InvoiceBase.RecipientAddress = cust.Person.Address.CopyToNew();
+ // // }
+
+ // // serviceInvoice.InvoiceBase.RecipientPersonFirstName = cust.Person.FirstName;
+ // // serviceInvoice.InvoiceBase.RecipientPersonLastName = cust.Person.LastName;
+ // // serviceInvoice.InvoiceBase.RecipientCustomerOid = cust.Oid;
+ // // }
+ // // }
+ // // }
+ // }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceFactory.cs b/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceFactory.cs
new file mode 100644
index 000000000..261ac0d43
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Invoicing/CustomInvoiceFactory.cs
@@ -0,0 +1,65 @@
+using System;
+using System.Collections.Generic;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Service.Invoicing;
+using BS.Shared.DataContracts;
+using BS.Shared.DataContracts.Compact;
+
+namespace TemplateNeuKunde.Invoicing
+{
+ public class CustomInvoiceFactory : InvoiceFactory
+ {
+ // public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords)
+ // {
+ ////Hier einkommentieren, wenn die Rechnungserstellung von einer bestimmten Kategorie einer Bewilligung abhängt
+ //foreach (var item in supportConcepts2ServiceRecords)
+ //{
+ // var csc = item.Key;
+ // var cb2sc = DAOFactory.GenericDAO.LoadByID(csc.CostBearerRelOids[0]);
+
+ // foreach (var scap in cb2sc.ApprovalPeriodList)
+ // {
+ // if (scap.ServiceCategory != null)
+ // {
+ // var ic = GetInvoiceCreatorForCategory(scap.ServiceCategory.Name);
+ // if (ic != null)
+ // return ic;
+ // }
+ // }
+ //}
+
+ ////Hier einkommentieren, wenn die Rechnungserstellung von einer bestimmten Kategorie oder Organisation eines ServiceRecords abhängt
+ //foreach (var list in supportConcepts2ServiceRecords.Values)
+ // {
+ // foreach (var sr in list)
+ // {
+ // //Hier wird Kategorie geprüft
+ // var ic = GetInvoiceCreatorForCategory(sr.ServiceDescription.Category.Name);
+ // if (ic != null)
+ // return ic;
+
+ // //Hier wird Organisation geprüft
+ // if (sr.CostBearer.Name.ToLower().Contains("selbstzahler"))
+ // {
+ // return new CustomInvoiceCreation();
+ // }
+ // }
+ // }
+
+
+ // return base.CreateInvoiceCreator(specificId, tenant, supportConcepts2ServiceRecords);
+ // }
+
+ // private InvoiceCreation GetInvoiceCreatorForCategory(String catName)
+ // {
+ // if (!String.IsNullOrEmpty(catName))
+ // {
+ // String cat = catName.ToLower().Trim();
+ // if (cat.IndexOf("assistenz") >= 0)
+ // return new CustomInvoiceCreation();
+ // }
+ // return null;
+ // }
+ }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Invoicing/CustomSettlementInvoiceCreation.cs b/ReportImp/DrobDrogenhilfe/Invoicing/CustomSettlementInvoiceCreation.cs
new file mode 100644
index 000000000..2fdd40666
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Invoicing/CustomSettlementInvoiceCreation.cs
@@ -0,0 +1,118 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using BeWo.Data.Entities;
+using BeWo.Service.Invoicing;
+using BeWo.Service.Plugins;
+using BS.Shared.Core;
+using BS.Shared.DataContracts;
+
+namespace DrobDrogenhilfe
+{
+ [IDSpecificClass(Identifier = "LWLNEU")]
+ [IgnoreAutoPlugin]
+
+ internal class CustomSettlementInvoiceCreation : LWLSettlementInvoiceCreation
+ {
+ // nur für Bugfix vorübergehend, kann wieder raus
+ public override List CreateInvoiceItems(Settlement2DC si, IList apList, bool schneideBeiMaxAb)
+ {
+ List iiList = new List();
+ var apsByHourlyRate = new Dictionary>();
+
+ foreach (var ap in apList)
+ {
+ IList list = null;
+ String key = String.Format("{0}_{1}_{2:ddMMyyy}", ap.AmountPerUnit, ap.RateFactor, ap.PeriodStartDate);
+
+ if (apsByHourlyRate.ContainsKey(key))
+ {
+ list = apsByHourlyRate[key];
+ }
+ else
+ {
+ list = new List();
+ apsByHourlyRate[key] = list;
+ }
+
+ list.Add(ap);
+ }
+
+ decimal maxApprovedFls = si.ApprovedFLS ?? 0;
+ decimal totalHours = 0;
+ foreach (var key in apsByHourlyRate.Keys)
+ {
+ IList list = apsByHourlyRate[key];
+ var ii = new InvoiceItemDC();
+
+ decimal minutesTotal = 0;
+ decimal minutesTotalBudget = 0;
+
+ DateTime start = DateTime.MaxValue;
+ DateTime end = DateTime.MinValue;
+
+ decimal rf = si.RateFactor ?? 0;
+ decimal hr = 0;
+
+ foreach (var approvalPeriod in list)
+ {
+ minutesTotal += approvalPeriod.RecordedMinutes;
+ minutesTotalBudget += approvalPeriod.BudgetMinutes;
+ if (approvalPeriod.PeriodStartDate < start)
+ start = approvalPeriod.PeriodStartDate;
+ if (approvalPeriod.PeriodEndDate > end)
+ end = approvalPeriod.PeriodEndDate;
+
+ hr = approvalPeriod.AmountPerUnit;
+ if (approvalPeriod.RateFactor.HasValue)
+ {
+ rf = approvalPeriod.RateFactor.Value;
+ }
+ if (!String.IsNullOrEmpty(approvalPeriod.Notice) && approvalPeriod.Notice == "Fehlkontakte")
+ {
+ hr *= 0.8m;
+ ii.ItemDescription = "Fehlkontakte";
+ }
+ }
+ ii.ItemPeriodStart = start;
+ ii.ItemPeriodEnd = end;
+ ii.RateFactor = rf;
+ ii.AmountPerUnit = hr;
+ decimal hours = Math.Round(minutesTotal / 60m, 2, MidpointRounding.AwayFromZero);
+ hours *= (100 + rf) / 100;
+ hours = Math.Round(hours, 2, MidpointRounding.AwayFromZero);
+
+ decimal hoursBudget = Math.Round(minutesTotalBudget / 60m, 2, MidpointRounding.AwayFromZero);
+ hoursBudget *= (100 + rf) / 100;
+ hoursBudget = Math.Round(hoursBudget, 2, MidpointRounding.AwayFromZero);
+
+ //if (schneideBeiMaxAb)
+ //{
+ // if (totalHours + hoursBudget > maxApprovedFls)
+ // {
+ // hoursBudget = maxApprovedFls - totalHours;
+ // if (hoursBudget < 0)
+ // {
+ // hoursBudget = 0;
+ // }
+ // if (hours > hoursBudget)
+ // {
+ // hours = hoursBudget;
+ // }
+ // }
+ //}
+ totalHours += hoursBudget;
+
+ ii.UnitCount = hours;
+ ii.UnitCountBudget = hoursBudget;
+ ii.AmountTotal = Math.Round(hr * hours, 2, MidpointRounding.AwayFromZero);
+ ii.GrossAmountTotal = ii.AmountTotal;
+
+ iiList.Add(ii);
+ }
+
+ return iiList.OrderBy(ii => ii.ItemPeriodStart).ToList();
+ }
+ }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Properties/AssemblyInfo.cs b/ReportImp/DrobDrogenhilfe/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..930888dd6
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Allgemeine Informationen über eine Assembly werden über die folgenden
+// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
+// die einer Assembly zugeordnet sind.
+[assembly: AssemblyTitle("KundeXyz")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("KundeXyz")]
+[assembly: AssemblyCopyright("Copyright © 2020")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
+// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
+// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
+[assembly: ComVisible(false)]
+
+// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
+[assembly: Guid("c1fed668-adb9-47e0-b589-1389618e1b6e")]
+
+// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
+//
+// Hauptversion
+// Nebenversion
+// Buildnummer
+// Revision
+//
+// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
+// indem Sie "*" wie unten gezeigt eingeben:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/ReportImp/DrobDrogenhilfe/Reporting/CustomMitarbeiterstundenkontoBerechnung.cs b/ReportImp/DrobDrogenhilfe/Reporting/CustomMitarbeiterstundenkontoBerechnung.cs
new file mode 100644
index 000000000..8b32a2d7b
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Reporting/CustomMitarbeiterstundenkontoBerechnung.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using BeWo.Data.Entities;
+using BeWo.Report.ReportObjects;
+
+using BS.Shared.Extensions;
+
+
+namespace TemplateNeuKunde.Reporting
+{
+ public class CustomMitarbeiterstundenkontoBerechnung : MitarbeiterstundenkontoBerechnung
+ {
+ //Wenn halbe Feiertage konfiguriert werden sollen, muss diese Methode auch im VacationService einkommentiert werden
+ //public override decimal GetFeiertagsFaktor(DateTime start)
+ //{
+ // if (start.Month == 12)
+ // {
+ // if (start.Day == 24 || start.Day == 31)
+ // {
+ // return 0.5m;
+ // }
+ // }
+
+ // return base.GetFeiertagsFaktor(start);
+ //}
+ }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Reporting/CustomReportCreator.cs b/ReportImp/DrobDrogenhilfe/Reporting/CustomReportCreator.cs
new file mode 100644
index 000000000..ff4c235e9
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Reporting/CustomReportCreator.cs
@@ -0,0 +1,197 @@
+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.DefaultReports;
+using BeWo.Report.ReportObjects;
+using BeWo.Service.DCEntityMapper;
+using DevExpress.XtraReports.UI;
+
+namespace TemplateNeuKunde.Reporting
+{
+ //public class CustomReportCreator : DefaultReportCreator
+ //{
+ // //Einkommentiere für LWL Prüfliste, ZAD Nummer und ServiceDescription ergänzen
+
+
+ // //SQL Queries:
+ // //INSERT INTO `query` (`Oid`,`Tid`,`Type`,`Title`,`SQL`,`Notice`,`InsTs`,`InsUser`,`UdpUser`,`Version`,`IsActive`,`SystemEntryID`,`UserGroupOids`,`ReportTypeName`,`FileName`,`ExportTitle`)
+ // //VALUES(500,24,0,'LWL Quittierungsbelege','select \':Von\', \':Bis\', \':Klient/in\'','direct', NULL, NULL, NULL,1,1, NULL,'1', NULL, NULL, NULL);
+
+ // //INSERT INTO `parameter` (`Oid`,`QueryOid`,`Tid`,`Name`,`Type`,`DbType`,`InsTs`,`InsUser`,`UdpUser`,`Version`,`IsActive`,`SystemEntryID`) VALUES(4,500,25,'Von_Bis',5, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ // //INSERT INTO `parameter` (`Oid`,`QueryOid`,`Tid`,`Name`,`Type`,`DbType`,`InsTs`,`InsUser`,`UdpUser`,`Version`,`IsActive`,`SystemEntryID`) VALUES(5,500,25,'Klient/in',2, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+ // //public override XtraReport CreateQueryReport(long queryOid, string queryReportId)
+ // //{
+ // // if (queryOid == 500)
+ // // {
+ // // return CreateLwlPruefliste(CreateQueryRO(queryOid, queryReportId));
+
+ // // }
+ // // return base.CreateQueryReport(queryOid, queryReportId);
+ // //}
+
+ // //private LwlPruefliste CreateLwlPruefliste(QueryRO queryRo)
+ // //{
+ // // var liste = new LwlPruefliste();
+
+ // // if (queryRo.Rows.Count > 0)
+ // // {
+ // // DateTime start = DateTime.MaxValue;
+ // // DateTime end = DateTime.MinValue;
+
+ // // if (queryRo.Rows[0].Field1 != null)
+ // // {
+ // // DateTime.TryParse(queryRo.Rows[0].Field1.ToString(), out start);
+ // // }
+ // // if (queryRo.Rows[0].Field2 != null)
+ // // {
+ // // DateTime.TryParse(queryRo.Rows[0].Field2.ToString(), out end);
+ // // }
+ // // long? customerOid = null;
+ // // if (queryRo.Rows[0].Field3.ToString() == "0")
+ // // {
+ // // var masterReport = new LwlPruefliste();
+ // // //masterReport.CreateDocument();
+
+ // // var customerList = DAOFactory.GenericDAO.GetAllActive();
+ // // var customerListOrd = customerList.OrderBy(c => c.Person.LastNameFirstName).ToList();
+ // // foreach (var c in customerListOrd)
+ // // {
+ // // var ro = LwlPrueflisteRO.Create(start, end, "9011113", c.Oid);
+ // // if (ro.ServiceRecords != null && ro.ServiceRecords.Count > 0)
+ // // {
+ // // try
+ // // {
+ // // liste = new LwlPruefliste();
+ // // liste.SetReportDataSource(ro);
+ // // liste.CreateDocument();
+ // // masterReport.Pages.AddRange(liste.Pages);
+ // // }
+ // // catch
+ // // {
+ // // // ignore - z.B. kein Hilfeplan
+ // // }
+ // // }
+ // // }
+ // // return (LwlPruefliste)masterReport;
+ // // }
+
+ // // if (queryRo.Rows[0].Field3 != null)
+ // // {
+ // // if (Int64.TryParse(queryRo.Rows[0].Field3.ToString(), out var oidOut))
+ // // {
+ // // customerOid = oidOut;
+ // // }
+ // // var ro = LwlPrueflisteRO.Create(start, end, "9011113", customerOid);
+ // // liste.SetReportDataSource(ro);
+ // // return liste;
+ // // }
+ // // }
+
+ // // return liste;
+ // //}
+
+
+ // //Einkommentiere für LWL 2. Seite mit Anhang für Budgetnachweise
+ // //public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
+ // //{
+ // // return base.CreateSettlementReport(dcId, invoiceBaseOid, true);
+ // //}
+
+
+ // //public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
+ // //{
+ // // List 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 customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende)
+ // //{
+ // // var roList = new List();
+
+ // // 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 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;
+ // // }
+ // // }
+
+ // // if (kt == "Kreisverwaltung Mainz-Bingen")
+ // // report = new AlzeyTeilhabe.StundenzettelBi2();
+
+ // // if (report == null && function == "Kostenträger Soziotherapie")
+ // // report = new StundenzettelSoziotherapie();
+
+ // // if (report == null)
+ // // report = new AlzeyTeilhabe.StundenzettelWo();
+
+ // // report.SetReportDataSource(ro);
+
+ // // return report as XtraReport;
+ // //}
+
+ //}
+}
diff --git a/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.Designer.cs b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.Designer.cs
new file mode 100644
index 000000000..74c7f557a
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.Designer.cs
@@ -0,0 +1,1203 @@
+namespace DrobDrogenhilfe.Alt
+{
+ partial class Spitzabrechnung
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
+ this.Detail = new DevExpress.XtraReports.UI.DetailBand();
+ this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
+ this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
+ this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
+ this.lblAnrede = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.RecipientPostCodeAndTown = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel_RecipientStreet = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel_RecipientDivision = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
+ this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
+ this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
+ this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
+ this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
+ this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
+ this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
+ this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
+ this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
+ this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+ this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
+ this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow30 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow34 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow35 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
+ //
+ // Detail
+ //
+ this.Detail.HeightF = 0F;
+ this.Detail.Name = "Detail";
+ this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // ReportHeader
+ //
+ this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel9});
+ this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
+ this.ReportHeader.HeightF = 120F;
+ this.ReportHeader.Name = "ReportHeader";
+ this.ReportHeader.StylePriority.UseFont = false;
+ //
+ // xrLabel9
+ //
+ this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(187.5F, 50F);
+ this.xrLabel9.Multiline = true;
+ this.xrLabel9.Name = "xrLabel9";
+ this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrLabel9.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.xrLabel9.StylePriority.UseFont = false;
+ this.xrLabel9.Text = "\r\n";
+ //
+ // xrLabel8
+ //
+ this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
+ this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 163.7916F);
+ this.xrLabel8.Name = "xrLabel8";
+ this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel8.SizeF = new System.Drawing.SizeF(283F, 23F);
+ this.xrLabel8.StylePriority.UseTextAlignment = false;
+ this.xrLabel8.Text = "xrLabel8";
+ this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ //
+ // xrTable1
+ //
+ this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 370.1249F);
+ this.xrTable1.Name = "xrTable1";
+ this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow9,
+ this.xrTableRow10,
+ this.xrTableRow11,
+ this.rowErbrachteLeistung});
+ this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 68F);
+ this.xrTable1.StylePriority.UseBorderColor = false;
+ //
+ // xrTableRow9
+ //
+ this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell19,
+ this.xrTableCell6});
+ this.xrTableRow9.Name = "xrTableRow9";
+ this.xrTableRow9.Weight = 0.085D;
+ //
+ // xrTableCell19
+ //
+ this.xrTableCell19.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell19.Name = "xrTableCell19";
+ this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell19.StylePriority.UseBorderColor = false;
+ this.xrTableCell19.StylePriority.UseBorders = false;
+ this.xrTableCell19.StylePriority.UseFont = false;
+ this.xrTableCell19.Text = "Bewilligte Fachleistungsstunden (FLS) gesamt:";
+ this.xrTableCell19.Weight = 0.78314100999098568D;
+ //
+ // xrTableCell6
+ //
+ this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrTableCell6.Name = "xrTableCell6";
+ this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell6.StylePriority.UseBorderColor = false;
+ this.xrTableCell6.StylePriority.UseBorders = false;
+ this.xrTableCell6.StylePriority.UseFont = false;
+ this.xrTableCell6.StylePriority.UseTextAlignment = false;
+ this.xrTableCell6.Text = "[ApprovedFLS]";
+ this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell6.Weight = 0.21685899000901443D;
+ //
+ // xrTableRow10
+ //
+ this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell20,
+ this.xrTableCell7});
+ this.xrTableRow10.FormattingRules.Add(this.ruleRateFactorNull);
+ this.xrTableRow10.Name = "xrTableRow10";
+ this.xrTableRow10.Weight = 0.085D;
+ //
+ // xrTableCell20
+ //
+ this.xrTableCell20.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell20.FormattingRules.Add(this.ruleRateFactorNull);
+ this.xrTableCell20.Name = "xrTableCell20";
+ this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell20.StylePriority.UseBorderColor = false;
+ this.xrTableCell20.StylePriority.UseBorders = false;
+ this.xrTableCell20.StylePriority.UseFont = false;
+ this.xrTableCell20.Text = "- zzgl. Faktor [RateFactorText2]:";
+ this.xrTableCell20.Weight = 0.78314100999098568D;
+ //
+ // ruleRateFactorNull
+ //
+ this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
+ this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.ruleRateFactorNull.Name = "ruleRateFactorNull";
+ //
+ // xrTableCell7
+ //
+ this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrTableCell7.FormattingRules.Add(this.ruleRateFactorNull);
+ this.xrTableCell7.Name = "xrTableCell7";
+ this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell7.StylePriority.UseBorderColor = false;
+ this.xrTableCell7.StylePriority.UseBorders = false;
+ this.xrTableCell7.StylePriority.UseFont = false;
+ this.xrTableCell7.StylePriority.UseTextAlignment = false;
+ this.xrTableCell7.Text = "[ApprovedFLSWithFactor]";
+ this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell7.Weight = 0.21685899000901443D;
+ //
+ // xrTableRow11
+ //
+ this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell21});
+ this.xrTableRow11.Name = "xrTableRow11";
+ this.xrTableRow11.Weight = 0.085D;
+ //
+ // xrTableCell21
+ //
+ this.xrTableCell21.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell21.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell21.Name = "xrTableCell21";
+ this.xrTableCell21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell21.StylePriority.UseBorderColor = false;
+ this.xrTableCell21.StylePriority.UseBorders = false;
+ this.xrTableCell21.Weight = 1D;
+ //
+ // rowErbrachteLeistung
+ //
+ this.rowErbrachteLeistung.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell22});
+ this.rowErbrachteLeistung.Name = "rowErbrachteLeistung";
+ this.rowErbrachteLeistung.Weight = 0.085D;
+ //
+ // xrTableCell22
+ //
+ this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell22.Name = "xrTableCell22";
+ this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell22.StylePriority.UseBorderColor = false;
+ this.xrTableCell22.StylePriority.UseBorders = false;
+ this.xrTableCell22.StylePriority.UseFont = false;
+ this.xrTableCell22.Text = "Erbrachte Leistungen:";
+ this.xrTableCell22.Weight = 1D;
+ //
+ // xrLabel6
+ //
+ this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 295.1249F);
+ this.xrLabel6.Multiline = true;
+ this.xrLabel6.Name = "xrLabel6";
+ this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel6.SizeF = new System.Drawing.SizeF(642F, 67F);
+ this.xrLabel6.StylePriority.UseFont = false;
+ this.xrLabel6.Text = resources.GetString("xrLabel6.Text");
+ //
+ // lblAnrede
+ //
+ this.lblAnrede.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 262.125F);
+ this.lblAnrede.Name = "lblAnrede";
+ this.lblAnrede.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.lblAnrede.SizeF = new System.Drawing.SizeF(317F, 17F);
+ this.lblAnrede.StylePriority.UseFont = false;
+ this.lblAnrede.Text = "Sehr geehrte Damen und Herren,";
+ //
+ // xrLabel4
+ //
+ this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
+ this.xrLabel4.CanShrink = true;
+ this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 219.7916F);
+ 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(650F, 17F);
+ this.xrLabel4.StylePriority.UseBackColor = false;
+ this.xrLabel4.StylePriority.UseFont = false;
+ this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]";
+ this.xrLabel4.WordWrap = false;
+ //
+ // xrLabel3
+ //
+ this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
+ this.xrLabel3.CanShrink = true;
+ this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 203.7916F);
+ this.xrLabel3.Name = "xrLabel3";
+ this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F);
+ this.xrLabel3.StylePriority.UseBackColor = false;
+ this.xrLabel3.StylePriority.UseFont = false;
+ this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerName], geb. [CustomerB" +
+ "irthdayString]";
+ this.xrLabel3.WordWrap = false;
+ //
+ // xrLabel2
+ //
+ this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
+ this.xrLabel2.CanShrink = true;
+ this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 186.7916F);
+ this.xrLabel2.Name = "xrLabel2";
+ this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F);
+ this.xrLabel2.StylePriority.UseBackColor = false;
+ this.xrLabel2.StylePriority.UseFont = false;
+ this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]";
+ this.xrLabel2.WordWrap = false;
+ //
+ // xrTable2
+ //
+ this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 0F);
+ this.xrTable2.Name = "xrTable2";
+ this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow2,
+ this.xrTableRow5,
+ this.xrTableRow4,
+ this.xrTableRow3,
+ this.xrTableRow1,
+ this.xrTableRow6,
+ this.xrTableRow8,
+ this.xrTableRow13});
+ this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 151F);
+ //
+ // xrTableRow2
+ //
+ this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell4});
+ this.xrTableRow2.Name = "xrTableRow2";
+ this.xrTableRow2.Weight = 0.13245033112582783D;
+ //
+ // xrTableCell4
+ //
+ this.xrTableCell4.CanShrink = true;
+ this.xrTableCell4.Name = "xrTableCell4";
+ this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell4.StylePriority.UseFont = false;
+ this.xrTableCell4.StylePriority.UseTextAlignment = false;
+ this.xrTableCell4.Text = "Ihr(e) Ansprechpartner(in):";
+ this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell4.Weight = 1D;
+ //
+ // xrTableRow5
+ //
+ this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell13});
+ this.xrTableRow5.Name = "xrTableRow5";
+ this.xrTableRow5.Weight = 0.13245033112582783D;
+ //
+ // xrTableCell13
+ //
+ this.xrTableCell13.CanShrink = true;
+ this.xrTableCell13.Name = "xrTableCell13";
+ this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell13.StylePriority.UseFont = false;
+ this.xrTableCell13.StylePriority.UseTextAlignment = false;
+ this.xrTableCell13.Text = "[SenderContactPerson]";
+ this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell13.Weight = 1D;
+ //
+ // xrTableRow4
+ //
+ this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell11});
+ this.xrTableRow4.Name = "xrTableRow4";
+ this.xrTableRow4.Weight = 0.13245033112582783D;
+ //
+ // xrTableCell11
+ //
+ this.xrTableCell11.CanShrink = true;
+ this.xrTableCell11.Name = "xrTableCell11";
+ this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell11.StylePriority.UseFont = false;
+ this.xrTableCell11.StylePriority.UseTextAlignment = false;
+ this.xrTableCell11.Text = "[SenderContactPersonDivision]";
+ this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell11.Weight = 1D;
+ //
+ // xrTableRow3
+ //
+ this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell8});
+ this.xrTableRow3.Name = "xrTableRow3";
+ this.xrTableRow3.Weight = 0.13245033112582783D;
+ //
+ // xrTableCell8
+ //
+ this.xrTableCell8.CanShrink = true;
+ this.xrTableCell8.Name = "xrTableCell8";
+ this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell8.StylePriority.UseFont = false;
+ this.xrTableCell8.StylePriority.UseTextAlignment = false;
+ this.xrTableCell8.Text = "[SenderContactPersonMail]";
+ this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell8.Weight = 1D;
+ //
+ // xrTableRow1
+ //
+ this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell1});
+ this.xrTableRow1.Name = "xrTableRow1";
+ this.xrTableRow1.Weight = 0.13245033112582783D;
+ //
+ // xrTableCell1
+ //
+ this.xrTableCell1.CanShrink = true;
+ this.xrTableCell1.Name = "xrTableCell1";
+ this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell1.StylePriority.UseFont = false;
+ this.xrTableCell1.StylePriority.UseTextAlignment = false;
+ this.xrTableCell1.Text = "[SenderContactPersonPhone]";
+ this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell1.Weight = 1D;
+ //
+ // xrTableRow6
+ //
+ this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell2});
+ this.xrTableRow6.Name = "xrTableRow6";
+ this.xrTableRow6.Weight = 0.11258278145695365D;
+ //
+ // xrTableCell2
+ //
+ this.xrTableCell2.CanShrink = true;
+ this.xrTableCell2.Name = "xrTableCell2";
+ this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell2.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrTableCell2.StylePriority.UseFont = false;
+ this.xrTableCell2.StylePriority.UseTextAlignment = false;
+ this.xrTableCell2.Text = "[SenderContactPersonFax]";
+ this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell2.Weight = 1D;
+ //
+ // xrTableRow8
+ //
+ this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell5});
+ this.xrTableRow8.Name = "xrTableRow8";
+ this.xrTableRow8.Weight = 0.11258278145695365D;
+ //
+ // xrTableCell5
+ //
+ this.xrTableCell5.Name = "xrTableCell5";
+ this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell5.Weight = 1D;
+ //
+ // xrTableRow13
+ //
+ this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell10});
+ this.xrTableRow13.Name = "xrTableRow13";
+ this.xrTableRow13.Weight = 0.11258278145695365D;
+ //
+ // xrTableCell10
+ //
+ this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")});
+ this.xrTableCell10.Multiline = true;
+ this.xrTableCell10.Name = "xrTableCell10";
+ this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell10.StylePriority.UseTextAlignment = false;
+ this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell10.TextFormatString = "GP-Nr.: {0}";
+ this.xrTableCell10.Weight = 1D;
+ //
+ // RecipientPostCodeAndTown
+ //
+ this.RecipientPostCodeAndTown.CanShrink = true;
+ this.RecipientPostCodeAndTown.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.00003F);
+ this.RecipientPostCodeAndTown.Name = "RecipientPostCodeAndTown";
+ this.RecipientPostCodeAndTown.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.RecipientPostCodeAndTown.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.RecipientPostCodeAndTown.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.RecipientPostCodeAndTown.StylePriority.UseFont = false;
+ this.RecipientPostCodeAndTown.Text = "[RecipientPostCodeAndTown]";
+ //
+ // xrLabel_RecipientStreet
+ //
+ this.xrLabel_RecipientStreet.CanShrink = true;
+ this.xrLabel_RecipientStreet.LocationFloat = new DevExpress.Utils.PointFloat(0F, 51.00002F);
+ this.xrLabel_RecipientStreet.Name = "xrLabel_RecipientStreet";
+ this.xrLabel_RecipientStreet.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel_RecipientStreet.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrLabel_RecipientStreet.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.xrLabel_RecipientStreet.StylePriority.UseFont = false;
+ this.xrLabel_RecipientStreet.Text = "[RecipientStreet]";
+ //
+ // xrLabel_RecipientDivision
+ //
+ this.xrLabel_RecipientDivision.CanShrink = true;
+ this.xrLabel_RecipientDivision.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.00002F);
+ this.xrLabel_RecipientDivision.Name = "xrLabel_RecipientDivision";
+ this.xrLabel_RecipientDivision.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel_RecipientDivision.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrLabel_RecipientDivision.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.xrLabel_RecipientDivision.StylePriority.UseFont = false;
+ this.xrLabel_RecipientDivision.Text = "[RecipientDivision]";
+ //
+ // xrLabel_RecipientContactPerson
+ //
+ this.xrLabel_RecipientContactPerson.CanShrink = true;
+ this.xrLabel_RecipientContactPerson.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F);
+ this.xrLabel_RecipientContactPerson.Name = "xrLabel_RecipientContactPerson";
+ this.xrLabel_RecipientContactPerson.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel_RecipientContactPerson.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrLabel_RecipientContactPerson.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.xrLabel_RecipientContactPerson.StylePriority.UseFont = false;
+ this.xrLabel_RecipientContactPerson.Text = "[RecipientContactPerson]";
+ //
+ // xrLabel1
+ //
+ this.xrLabel1.CanShrink = true;
+ this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrLabel1.Name = "xrLabel1";
+ this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
+ this.xrLabel1.SizeF = new System.Drawing.SizeF(292F, 17F);
+ this.xrLabel1.StylePriority.UseFont = false;
+ this.xrLabel1.Text = "[RecipientOrganisation]";
+ //
+ // ReportFooter
+ //
+ this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTable3,
+ this.xrLabel10,
+ this.xrLabel12,
+ this.xrLabel11,
+ this.lblNotice});
+ this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
+ this.ReportFooter.HeightF = 209F;
+ this.ReportFooter.KeepTogether = true;
+ this.ReportFooter.Name = "ReportFooter";
+ this.ReportFooter.StylePriority.UseFont = false;
+ //
+ // xrTable3
+ //
+ this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001430511F, 32.99999F);
+ this.xrTable3.Name = "xrTable3";
+ this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow20,
+ this.xrTableRow7,
+ this.xrTableRow12,
+ this.xrTableRow21,
+ this.xrTableRow22,
+ this.xrTableRow23,
+ this.xrTableRow24});
+ this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 94F);
+ this.xrTable3.StylePriority.UseFont = false;
+ //
+ // xrTableRow20
+ //
+ this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell16});
+ this.xrTableRow20.Name = "xrTableRow20";
+ this.xrTableRow20.Weight = 0.38095238095238093D;
+ //
+ // xrTableCell16
+ //
+ this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
+ this.xrTableCell16.Name = "xrTableCell16";
+ this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell16.StylePriority.UsePadding = false;
+ this.xrTableCell16.Text = "xrTableCell1";
+ this.xrTableCell16.Weight = 3D;
+ //
+ // xrTableRow7
+ //
+ this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell3});
+ this.xrTableRow7.Name = "xrTableRow7";
+ this.xrTableRow7.Weight = 0.23809523809523808D;
+ //
+ // xrTableCell3
+ //
+ this.xrTableCell3.Name = "xrTableCell3";
+ this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell3.StylePriority.UsePadding = false;
+ this.xrTableCell3.Weight = 3D;
+ //
+ // xrTableRow12
+ //
+ this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell9});
+ this.xrTableRow12.Name = "xrTableRow12";
+ this.xrTableRow12.Weight = 0.38095238095238088D;
+ //
+ // xrTableCell9
+ //
+ this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")});
+ this.xrTableCell9.Name = "xrTableCell9";
+ this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell9.StylePriority.UsePadding = false;
+ this.xrTableCell9.Weight = 3D;
+ //
+ // xrTableRow21
+ //
+ this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell18});
+ this.xrTableRow21.Name = "xrTableRow21";
+ this.xrTableRow21.Weight = 0.23809523809523808D;
+ //
+ // xrTableCell18
+ //
+ this.xrTableCell18.Name = "xrTableCell18";
+ this.xrTableCell18.Weight = 3D;
+ //
+ // xrTableRow22
+ //
+ this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell29});
+ this.xrTableRow22.Name = "xrTableRow22";
+ this.xrTableRow22.Weight = 0.38095238095238088D;
+ //
+ // xrTableCell29
+ //
+ this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")});
+ this.xrTableCell29.Name = "xrTableCell29";
+ this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell29.StylePriority.UsePadding = false;
+ this.xrTableCell29.Text = "xrTableCell4";
+ this.xrTableCell29.Weight = 3D;
+ //
+ // xrTableRow23
+ //
+ this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell30});
+ this.xrTableRow23.Name = "xrTableRow23";
+ this.xrTableRow23.Weight = 0.23809523809523803D;
+ //
+ // xrTableCell30
+ //
+ this.xrTableCell30.Name = "xrTableCell30";
+ this.xrTableCell30.Weight = 3D;
+ //
+ // xrTableRow24
+ //
+ this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell31});
+ this.xrTableRow24.Name = "xrTableRow24";
+ this.xrTableRow24.Weight = 0.38095238095238088D;
+ //
+ // xrTableCell31
+ //
+ this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")});
+ this.xrTableCell31.Name = "xrTableCell31";
+ this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell31.StylePriority.UsePadding = false;
+ this.xrTableCell31.Text = "xrTableCell8";
+ this.xrTableCell31.Weight = 3D;
+ //
+ // xrLabel10
+ //
+ this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 133.6666F);
+ this.xrLabel10.Name = "xrLabel10";
+ this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F);
+ this.xrLabel10.StylePriority.UseFont = false;
+ this.xrLabel10.Text = "Mit freundlichen Grüßen";
+ //
+ // xrLabel12
+ //
+ this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192F);
+ this.xrLabel12.Name = "xrLabel12";
+ this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F);
+ this.xrLabel12.StylePriority.UseFont = false;
+ this.xrLabel12.Text = "[CreatorName]";
+ //
+ // xrLabel11
+ //
+ this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(582.9999F, 192F);
+ this.xrLabel11.Name = "xrLabel11";
+ this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F);
+ this.xrLabel11.StylePriority.UseFont = false;
+ this.xrLabel11.StylePriority.UseTextAlignment = false;
+ this.xrLabel11.Text = "Anlage";
+ this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ //
+ // lblNotice
+ //
+ this.lblNotice.CanShrink = true;
+ this.lblNotice.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Italic);
+ this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
+ this.lblNotice.Name = "lblNotice";
+ this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 25F);
+ this.lblNotice.StylePriority.UseFont = false;
+ this.lblNotice.Text = "Abschließende Bemerkungen:";
+ //
+ // topMarginBand1
+ //
+ this.topMarginBand1.Name = "topMarginBand1";
+ //
+ // bottomMarginBand1
+ //
+ this.bottomMarginBand1.HeightF = 38.91665F;
+ this.bottomMarginBand1.Name = "bottomMarginBand1";
+ //
+ // GroupHeader1
+ //
+ this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel1,
+ this.xrLabel_RecipientContactPerson,
+ this.xrLabel_RecipientDivision,
+ this.xrLabel_RecipientStreet,
+ this.RecipientPostCodeAndTown,
+ this.xrTable2,
+ this.xrLabel2,
+ this.xrLabel3,
+ this.xrLabel4,
+ this.lblAnrede,
+ this.xrLabel6,
+ this.xrTable1,
+ this.xrLabel8});
+ this.GroupHeader1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
+ this.GroupHeader1.HeightF = 438.1249F;
+ this.GroupHeader1.Name = "GroupHeader1";
+ this.GroupHeader1.StylePriority.UseFont = false;
+ //
+ // DetailReport
+ //
+ this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail1});
+ this.DetailReport.DataMember = "InvoiceItems";
+ this.DetailReport.DataSource = this.bindingSource1;
+ this.DetailReport.Level = 0;
+ this.DetailReport.Name = "DetailReport";
+ //
+ // Detail1
+ //
+ this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTable5});
+ this.Detail1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
+ this.Detail1.HeightF = 17F;
+ this.Detail1.Name = "Detail1";
+ this.Detail1.StylePriority.UseFont = false;
+ //
+ // xrTable5
+ //
+ this.xrTable5.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTable5.Name = "xrTable5";
+ this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow15});
+ this.xrTable5.SizeF = new System.Drawing.SizeF(650F, 17F);
+ this.xrTable5.StylePriority.UseBorderColor = false;
+ //
+ // xrTableRow15
+ //
+ this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell17,
+ this.xrTableCell23});
+ this.xrTableRow15.Name = "xrTableRow15";
+ this.xrTableRow15.Weight = 0.085D;
+ //
+ // xrTableCell17
+ //
+ this.xrTableCell17.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell17.CanShrink = true;
+ this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemDescription")});
+ this.xrTableCell17.Name = "xrTableCell17";
+ this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell17.StylePriority.UseBorderColor = false;
+ this.xrTableCell17.StylePriority.UseBorders = false;
+ this.xrTableCell17.StylePriority.UseFont = false;
+ this.xrTableCell17.StylePriority.UsePadding = false;
+ this.xrTableCell17.Weight = 0.78314100999098546D;
+ //
+ // xrTableCell23
+ //
+ this.xrTableCell23.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell23.CanShrink = true;
+ this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")});
+ this.xrTableCell23.Name = "xrTableCell23";
+ this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell23.StylePriority.UseBorderColor = false;
+ this.xrTableCell23.StylePriority.UseBorders = false;
+ this.xrTableCell23.StylePriority.UseFont = false;
+ this.xrTableCell23.StylePriority.UsePadding = false;
+ this.xrTableCell23.StylePriority.UseTextAlignment = false;
+ this.xrTableCell23.Text = "xrTableCell23";
+ this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell23.Weight = 0.21685899000901443D;
+ //
+ // bindingSource1
+ //
+ this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
+ //
+ // GroupFooter1
+ //
+ this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTable4});
+ this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
+ this.GroupFooter1.HeightF = 132F;
+ this.GroupFooter1.Name = "GroupFooter1";
+ this.GroupFooter1.StylePriority.UseFont = false;
+ //
+ // xrTable4
+ //
+ this.xrTable4.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTable4.Name = "xrTable4";
+ this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow30,
+ this.xrTableRow31,
+ this.xrTableRow32,
+ this.xrTableRow33,
+ this.xrTableRow34,
+ this.xrTableRow35,
+ this.xrTableRow36});
+ this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 132F);
+ this.xrTable4.StylePriority.UseBorderColor = false;
+ //
+ // xrTableRow30
+ //
+ this.xrTableRow30.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell48});
+ this.xrTableRow30.Name = "xrTableRow30";
+ this.xrTableRow30.Weight = 0.085D;
+ //
+ // xrTableCell48
+ //
+ this.xrTableCell48.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell48.Name = "xrTableCell48";
+ this.xrTableCell48.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell48.StylePriority.UseBorderColor = false;
+ this.xrTableCell48.StylePriority.UseBorders = false;
+ this.xrTableCell48.Weight = 1D;
+ //
+ // xrTableRow31
+ //
+ this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell49,
+ this.xrTableCell50});
+ this.xrTableRow31.Name = "xrTableRow31";
+ this.xrTableRow31.Weight = 0.085D;
+ //
+ // xrTableCell49
+ //
+ this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell49.Name = "xrTableCell49";
+ this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell49.StylePriority.UseBorders = false;
+ this.xrTableCell49.StylePriority.UseFont = false;
+ this.xrTableCell49.StylePriority.UsePadding = false;
+ this.xrTableCell49.Text = "Gesamtforderung:";
+ this.xrTableCell49.Weight = 0.78314100999098546D;
+ //
+ // xrTableCell50
+ //
+ this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountRecordedFLSString")});
+ this.xrTableCell50.Name = "xrTableCell50";
+ this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell50.StylePriority.UseBorders = false;
+ this.xrTableCell50.StylePriority.UseFont = false;
+ this.xrTableCell50.StylePriority.UsePadding = false;
+ this.xrTableCell50.StylePriority.UseTextAlignment = false;
+ this.xrTableCell50.Text = "[AmountRecordedFLSString]";
+ this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell50.Weight = 0.21685899000901443D;
+ //
+ // xrTableRow32
+ //
+ this.xrTableRow32.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell51});
+ this.xrTableRow32.Name = "xrTableRow32";
+ this.xrTableRow32.Weight = 0.085D;
+ //
+ // xrTableCell51
+ //
+ this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell51.Name = "xrTableCell51";
+ this.xrTableCell51.StylePriority.UseBorders = false;
+ this.xrTableCell51.Weight = 1D;
+ //
+ // xrTableRow33
+ //
+ this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell52,
+ this.xrTableCell53});
+ this.xrTableRow33.Name = "xrTableRow33";
+ this.xrTableRow33.Weight = 0.085D;
+ //
+ // xrTableCell52
+ //
+ this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell52.Name = "xrTableCell52";
+ this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell52.StylePriority.UseBorderColor = false;
+ this.xrTableCell52.StylePriority.UseBorders = false;
+ this.xrTableCell52.StylePriority.UseFont = false;
+ this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:";
+ this.xrTableCell52.Weight = 0.78314100999098568D;
+ //
+ // xrTableCell53
+ //
+ this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell53.Name = "xrTableCell53";
+ this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell53.StylePriority.UseBorderColor = false;
+ this.xrTableCell53.StylePriority.UseBorders = false;
+ this.xrTableCell53.StylePriority.UseFont = false;
+ this.xrTableCell53.StylePriority.UseTextAlignment = false;
+ this.xrTableCell53.Text = "[AmountAdvancedPayments]";
+ this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell53.Weight = 0.21685899000901443D;
+ //
+ // xrTableRow34
+ //
+ this.xrTableRow34.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell54,
+ this.xrTableCell55});
+ this.xrTableRow34.Name = "xrTableRow34";
+ this.xrTableRow34.Weight = 0.085D;
+ //
+ // xrTableCell54
+ //
+ this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell54.Name = "xrTableCell54";
+ this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell54.StylePriority.UseBorders = false;
+ this.xrTableCell54.StylePriority.UsePadding = false;
+ this.xrTableCell54.Text = "abzüglich Eigenanteil:";
+ this.xrTableCell54.Weight = 0.78314100999098568D;
+ //
+ // xrTableCell55
+ //
+ this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell55.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Eigenbeteiligung", "{0:c}")});
+ this.xrTableCell55.Name = "xrTableCell55";
+ this.xrTableCell55.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell55.StylePriority.UseBorders = false;
+ this.xrTableCell55.StylePriority.UsePadding = false;
+ this.xrTableCell55.StylePriority.UseTextAlignment = false;
+ this.xrTableCell55.Text = "xrTableCell15";
+ this.xrTableCell55.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell55.Weight = 0.21685899000901443D;
+ //
+ // xrTableRow35
+ //
+ this.xrTableRow35.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell56});
+ this.xrTableRow35.Name = "xrTableRow35";
+ this.xrTableRow35.Weight = 0.085D;
+ //
+ // xrTableCell56
+ //
+ this.xrTableCell56.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell56.Name = "xrTableCell56";
+ this.xrTableCell56.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell56.StylePriority.UseBorderColor = false;
+ this.xrTableCell56.StylePriority.UseBorders = false;
+ this.xrTableCell56.Weight = 1D;
+ //
+ // xrTableRow36
+ //
+ this.xrTableRow36.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell57,
+ this.xrTableCell58});
+ this.xrTableRow36.Name = "xrTableRow36";
+ this.xrTableRow36.Weight = 0.15D;
+ //
+ // xrTableCell57
+ //
+ this.xrTableCell57.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell57.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell57.Name = "xrTableCell57";
+ this.xrTableCell57.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell57.StylePriority.UseBorderColor = false;
+ this.xrTableCell57.StylePriority.UseBorders = false;
+ this.xrTableCell57.StylePriority.UseFont = false;
+ this.xrTableCell57.Text = "Restforderung:";
+ this.xrTableCell57.Weight = 0.78314100999098568D;
+ //
+ // xrTableCell58
+ //
+ this.xrTableCell58.BorderColor = System.Drawing.SystemColors.ControlLight;
+ this.xrTableCell58.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell58.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
+ this.xrTableCell58.Name = "xrTableCell58";
+ this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrTableCell58.StylePriority.UseBorderColor = false;
+ this.xrTableCell58.StylePriority.UseBorders = false;
+ this.xrTableCell58.StylePriority.UseFont = false;
+ this.xrTableCell58.StylePriority.UseTextAlignment = false;
+ this.xrTableCell58.Text = "[Claim]";
+ this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ this.xrTableCell58.Weight = 0.21685899000901443D;
+ //
+ // Spitzabrechnung
+ //
+ this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail,
+ this.ReportHeader,
+ this.ReportFooter,
+ this.topMarginBand1,
+ this.bottomMarginBand1,
+ this.GroupHeader1,
+ this.DetailReport,
+ this.GroupFooter1});
+ this.DataSource = this.bindingSource1;
+ this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
+ this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
+ this.ruleRateFactorNull});
+ this.Margins = new DevExpress.Drawing.DXMargins(75F, 74F, 100F, 38.91665F);
+ this.PageHeight = 1169;
+ this.PageWidth = 827;
+ this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
+ this.Version = "23.2";
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraReports.UI.DetailBand Detail;
+ private System.Windows.Forms.BindingSource bindingSource1;
+ private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel6;
+ private DevExpress.XtraReports.UI.XRLabel lblAnrede;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel4;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel3;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel2;
+ private DevExpress.XtraReports.UI.XRTable xrTable2;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow5;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
+ private DevExpress.XtraReports.UI.XRLabel RecipientPostCodeAndTown;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientStreet;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientDivision;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientContactPerson;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel1;
+ private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
+ private DevExpress.XtraReports.UI.XRLabel lblNotice;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel12;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel11;
+ private DevExpress.XtraReports.UI.XRTable xrTable1;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
+ private DevExpress.XtraReports.UI.XRTableRow rowErbrachteLeistung;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel10;
+ private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
+ private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
+ private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel8;
+ private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel9;
+ private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
+ private DevExpress.XtraReports.UI.DetailBand Detail1;
+ private DevExpress.XtraReports.UI.XRTable xrTable5;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow15;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
+ private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
+ private DevExpress.XtraReports.UI.XRTable xrTable4;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow30;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow31;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow32;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow33;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell52;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell53;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow34;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell54;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell55;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow35;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell56;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow36;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell58;
+ private DevExpress.XtraReports.UI.XRTable xrTable3;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow20;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow7;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow12;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow21;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow22;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow23;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow24;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow13;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
+ }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.cs b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.cs
new file mode 100644
index 000000000..8f7698386
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.cs
@@ -0,0 +1,222 @@
+using System;
+using System.Collections.Generic;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Report;
+using BeWo.Report.ReportObjects;
+using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
+
+namespace DrobDrogenhilfe.Alt
+{
+ public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
+ {
+ public Spitzabrechnung()
+ {
+ InitializeComponent();
+ }
+
+ public void SetReportDataSource(SettlementRO pRO)
+ {
+ bool isDefaultSpitzabrechnung = false;
+
+ if (String.IsNullOrEmpty(pRO.Notice))
+ {
+ lblNotice.Visible = false;
+ }
+
+ if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count == 1)
+ {
+ var ii = pRO.InvoiceItems[0];
+ if ((ii.ItemDescription == "Spitzabrechung" || ii.ItemDescription == "Spitzabrechnung") && ii.GrossAmountTotal == null && ii.RateFactor == null)
+ {
+ isDefaultSpitzabrechnung = true;
+ }
+ }
+ if (!isDefaultSpitzabrechnung)
+ {
+ if (pRO.DifferentHourlyRateCount > 0 && pRO.HourlyRateNew.HasValue)
+ {
+ isDefaultSpitzabrechnung = true;
+ }
+ }
+
+ if (isDefaultSpitzabrechnung)
+ {
+ //UpdateAbrechnungsFelder(pRO);
+
+ pRO.InvoiceItems = CreateDefaultSpitzabrechnungInvoiceItems(pRO);
+ }
+ else
+ {
+ var id = GetCustomerId(pRO);
+ if (id == "LWLNEU")
+ {
+ pRO.RateFactorText = null;
+ pRO.RateFactorText2 = null;
+
+ if (pRO.InvoiceItems != null)
+ {
+ foreach (var ii in pRO.InvoiceItems)
+ {
+ ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.00##} FLS x {3:c}",
+ ii.ItemPeriodStart, ii.ItemPeriodEnd, ii.UnitCount, ii.AmountPerUnit);
+ }
+ }
+ }
+ else
+ {
+ if (pRO.InvoiceItems != null)
+ {
+ foreach (var ii in pRO.InvoiceItems)
+ {
+ ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.00##} FLS {3}x {4:c}",
+ ii.ItemPeriodStart, ii.ItemPeriodEnd,
+ ii.UnitCount, ii.RateFactor == 0 ? "" : "x " + pRO.RateFactorText2 + " ",
+ ii.AmountPerUnit);
+ }
+ }
+ }
+ }
+
+ this.bindingSource1.DataSource = pRO;
+ }
+
+ private String GetCustomerId(SettlementRO pRO)
+ {
+ var cb2sc = DAOFactory.GenericDAO.LoadByID(pRO.CostBearer2SupportConceptOid);
+ return cb2sc.CostBearer.ID;
+ }
+
+ private IList CreateDefaultSpitzabrechnungInvoiceItems(SettlementRO pRO)
+ {
+ IList itemList = new List();
+ if (pRO.DifferentHourlyRateCount == 3)
+ {
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString,
+ pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatz3 * pRO.RateFactor * pRO.HourlyRate3
+ });
+
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString,
+ pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * pRO.RateFactor * pRO.HourlyRateOld
+ });
+
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
+ });
+
+ }
+ else if (pRO.DifferentHourlyRateCount == 2)
+ {
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString,
+ pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld
+ });
+
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
+ });
+
+ }
+ else
+ {
+ itemList.Add(new InvoiceItemDC
+ {
+ ItemDescription = String.Format("{0} bis {1}: {2:0.00##} FLS {3}x {4:c}",
+ pRO.AccountingStartDateString, pRO.AccountingEndDateString,
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
+
+ GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
+ });
+
+ }
+
+ return itemList;
+ }
+
+ private void UpdateAbrechnungsFelder(SettlementRO pRO)
+ {
+ if (pRO.DifferentHourlyRateCount == 3)
+ {
+ //Erbrachte Leistungen (FLS) - bis [HourlyRateOldEndDateString] à [HourlyRateOldString] €
+
+ pRO.Abrechnungstext1 = String.Format("{0} bis {1}",
+ pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString);
+
+ pRO.Abrechnungstext1 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3);
+
+ //[AccountingStartDateString] - [HourlyRate3EndDateString] sind [RecordedFLSWithHourlyRate3String] Std. x [HourlyRate3String] € =";
+
+ pRO.Betrag1 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatz3 * (decimal)pRO.RateFactor * pRO.HourlyRate3);
+
+
+ pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
+ pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString);
+ pRO.Abrechnungstext2 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
+
+ pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
+
+
+ pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
+ pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
+ pRO.Abrechnungstext3 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
+
+ pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
+ }
+ else if (pRO.DifferentHourlyRateCount == 2)
+ {
+
+ pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
+ pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString);
+ pRO.Abrechnungstext2 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
+
+ pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
+
+
+ pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
+ pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
+ pRO.Abrechnungstext3 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
+
+ pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
+ }
+ else
+ {
+ pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
+ pRO.AccountingStartDateString, pRO.AccountingEndDateString);
+ pRO.Abrechnungstext3 += String.Format(": {0:0.00##} FLS {1}x {2:c}",
+ pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
+
+ pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
+ }
+ }
+ }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.resx b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.resx
new file mode 100644
index 000000000..12ca204c5
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Reporting/Reports/SettlementReport.resx
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ anbei sende ich Ihnen die unterschriebenen Nachweise über die im Rahmen des Betreuten Wohnens für [Salutation2] [CustomerName] erbrachten Leistungen zu. Nach unserer Berechnung ergeben sich für den Betreuungszeitraum [AccountingPeriod] hieraus:
+
+
+
\ No newline at end of file
diff --git a/ReportImp/DrobDrogenhilfe/Service/CustomHomeContentGenerator.cs b/ReportImp/DrobDrogenhilfe/Service/CustomHomeContentGenerator.cs
new file mode 100644
index 000000000..d05aaae5b
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Service/CustomHomeContentGenerator.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.Core;
+using BS.Shared.DataContracts.Compact;
+
+namespace TemplateNeuKunde.Service
+{
+ //public class CustomHomeContentGenerator : HomeContentGenerator
+ //{
+
+ //Einkommentieren um Geburtstage auszublenden
+ // public override List GetPersonsHavingBirthday(DateTime birthdayUntil)
+ // {
+// return new List();
+ // List alle = base.GetPersonsHavingBirthday(birthdayUntil);
+ // List nurMitarbeiter = new List();
+
+ // foreach (var compactPersonDc in alle)
+ // {
+ // if (compactPersonDc.PersonType == PersonType.Employee)
+ // {
+ // nurMitarbeiter.Add(compactPersonDc);
+ // }
+ // }
+ // return nurMitarbeiter;
+ // }
+ //}
+}
diff --git a/ReportImp/DrobDrogenhilfe/Service/CustomVacationService.cs b/ReportImp/DrobDrogenhilfe/Service/CustomVacationService.cs
new file mode 100644
index 000000000..46ee829e7
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Service/CustomVacationService.cs
@@ -0,0 +1,45 @@
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.DataContracts;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Text;
+using System.Threading.Tasks;
+
+
+namespace TemplateNeuKunde.Service
+{
+ //public class CustomVacationService : VacationService
+ //{
+ // //public override string Bundesland { get => "Bayern"; }
+
+ // // public override List GetFeiertage(int year, String bundesland)
+ // // {
+ // // List list = base.GetFeiertage(year, bundesland);
+ // // list.Add(new FeiertagDC { Datum = new DateTime(year, 12, 31), Name = "Silvester" });
+
+ // // return list;
+ // // }
+
+
+ // //Wenn halbe Feiertage konfiguriert werden sollen, muss diese Methode auch in CustomMitarbeiterstundenkontoBerechnung einkommentiert werden
+ // //public override decimal GetFeiertagsFaktor(DateTime start)
+ // //{
+ // // if (start.Month == 12)
+ // // {
+ // // if (start.Day == 24 || start.Day == 31)
+ // // {
+ // // return 0.5m;
+ // // }
+ // // }
+
+ // // return base.GetFeiertagsFaktor(start);
+ // //}
+ //}
+
+
+}
diff --git a/ReportImp/DrobDrogenhilfe/Service/DefaultSaveInterceptor.cs b/ReportImp/DrobDrogenhilfe/Service/DefaultSaveInterceptor.cs
new file mode 100644
index 000000000..28d127934
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Service/DefaultSaveInterceptor.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using BeWo.Data.Access;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.Core;
+using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
+using BS.Shared.Services;
+
+namespace TemplateNeuKunde.Validation
+{
+
+ //public class DefaultSaveInterceptor : SaveInterceptor
+ // {
+ // public override string AllowSaveCustomer(CustomerDC c)
+ // {
+ // if (c.CustomerOid.HasValue)
+ // {
+ // return null;
+ // }
+
+ // if (!c.DateOfBirth.HasValue)
+ // {
+ // return "Bitte geben Sie ein Geburtsdatum an.";
+ // }
+
+ // if (!String.IsNullOrWhiteSpace(c.FirstName) && !String.IsNullOrWhiteSpace(c.LastName) && c.DateOfBirth.HasValue)
+ // {
+ // var duplicates = DAOFactory.SearchDAO.FindCustomer(c.FirstName, c.LastName, c.DateOfBirth.Value);
+ // if (duplicates != null && duplicates.Count > 0)
+ // {
+ // var dc = duplicates[0];
+ // String archiviert = "";
+
+
+ // if (dc.Person.Sex.HasValue && dc.Person.Sex.Value == Sex.Female)
+ // {
+ // if (dc.IsActive == ActivationTypeId.Archived)
+ // {
+ // archiviert = "archivierte ";
+ // }
+ // return String.Format(
+ // "Es gibt bereits eine {3}Klientin {0} {1}, geb. am {2:dd.MM.yyyy}.", dc.Person.FirstName, dc.Person.LastName, dc.Person.DateOfBirth, archiviert);
+ // }
+ // else
+ // {
+ // if (dc.IsActive == ActivationTypeId.Archived)
+ // {
+ // archiviert = "archivierten ";
+ // }
+ // return String.Format(
+ // "Es gibt bereits einen {3}Klienten {0} {1}, geb. am {2:dd.MM.yyyy}.", dc.Person.FirstName, dc.Person.LastName, dc.Person.DateOfBirth, archiviert);
+ // }
+ // }
+ // }
+ // return base.AllowSaveCustomer(c);
+ // }
+ // }
+}
\ No newline at end of file
diff --git a/ReportImp/DrobDrogenhilfe/Statistics/CustomServiceRecordStatisticFactory.cs b/ReportImp/DrobDrogenhilfe/Statistics/CustomServiceRecordStatisticFactory.cs
new file mode 100644
index 000000000..2267e43b3
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Statistics/CustomServiceRecordStatisticFactory.cs
@@ -0,0 +1,113 @@
+using System;
+using System.Collections.Generic;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.DataContracts;
+
+
+namespace TemplateNeuKunde.Statistics
+{
+ //public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory
+ // {
+
+ // public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate)
+ // {
+ // var stats = CreateSupportConceptStatisticsImpl(costBearer2SupportConceptOid, statisticsDate);
+
+ // var dc = new ServiceRecordStatisticsInfoDC();
+
+
+
+ // dc.Header = new string[4];
+ // dc.Header[0] = "Bewilligungszeitraum:";
+ // dc.Header[1] = "Geleistet diesen Monat/Gesamt:";
+ // dc.Header[2] = "Bewilligt diesen Monat/Gesamt:";
+ // dc.Header[3] = "Frei diesen Monat/Gesamt:";
+
+ // dc.ForegroundColor = new string[4];
+ // dc.ForegroundColor[0] = "#FF2B508B";
+ // dc.ForegroundColor[1] = "#FF2B508B";
+ // dc.ForegroundColor[2] = "#FF2B508B";
+ // dc.ForegroundColor[3] = "#FF2B508B";
+
+ // dc.PeriodStatisticInfos = new List();
+
+
+ // if (stats != null)
+ // {
+ // if (stats.PeriodStatistics.Count > 1 && !TimeSpanIsEqual(stats))
+ // dc.PeriodStatisticInfos.Add(CreateTotalStatistics(stats, statisticsDate));
+
+ // foreach (var pdc in stats.PeriodStatistics)
+ // {
+ // dc.PeriodStatisticInfos.Add(CreateServiceRecordPeriodStatisticsInfo(stats, pdc, statisticsDate));
+ // }
+ // }
+
+ // return dc;
+ // }
+
+
+ // public ServiceRecordPeriodStatisticsInfoDC CreateTotalStatistics(SupportConceptStatisticsDC stats, DateTime statisticsDate)
+ // {
+ // var dc = CreateDefaultServiceRecordPeriodStatisticsInfo(4);
+ // dc.LeftValues[0] = "Gesamt";
+
+ // dc.LeftValues[1] = String.Format("{0:0.00}", stats.MinutesProvidedThisMonth / 60);
+ // dc.RightValues[1] = String.Format("{0:0.00}", stats.MinutesProvidedTotalRounded / 60);
+
+ // dc.LeftValues[2] = String.Format("{0:0.00}", stats.MinutesApprovedPerMonth / 60);
+ // dc.RightValues[2] = String.Format("{0:0.00}", stats.MinutesApprovedTotal / 60);
+
+ // dc.LeftValues[3] = String.Format("{0:0.00}", (stats.MinutesApprovedPerMonth - stats.MinutesProvidedThisMonth) / 60);
+ // dc.RightValues[3] = String.Format("{0:0.00}", (stats.MinutesApprovedTotal - stats.MinutesProvidedTotalRounded) / 60);
+
+ // return dc;
+ // }
+
+ // public ServiceRecordPeriodStatisticsInfoDC CreateServiceRecordPeriodStatisticsInfo(SupportConceptStatisticsDC stats, SupportConceptPeriodStatisticsDC periodStats, DateTime statisticsDate)
+ // {
+ // var dc = CreateDefaultServiceRecordPeriodStatisticsInfo(4);
+
+ // if (periodStats.SupportConceptApprovalPeriod != null)
+ // {
+ // if (periodStats.SupportConceptApprovalPeriod.ServiceCategory != null)
+ // {
+ // dc.LeftValues[0] = String.Format("{0}: {1:dd.MM.yy} - {2:dd.MM.yy}",
+ // periodStats.SupportConceptApprovalPeriod.ServiceCategory.Name,
+ // periodStats.SupportConceptApprovalPeriod.StartDate,
+ // periodStats.SupportConceptApprovalPeriod.EndDate);
+ // }
+ // else
+ // {
+ // dc.LeftValues[0] = String.Format("{0:dd.MM.yy} - {1:dd.MM.yy}",
+ // periodStats.SupportConceptApprovalPeriod.StartDate,
+ // periodStats.SupportConceptApprovalPeriod.EndDate);
+ // }
+ // }
+
+ // dc.LeftValues[1] = String.Format("{0:0.00}", periodStats.MinutesProvidedThisMonth / 60);
+ // dc.RightValues[1] = String.Format("{0:0.00}", periodStats.MinutesProvidedTotalRounded / 60);
+
+ // dc.LeftValues[2] = String.Format("{0:0.00}", periodStats.MinutesApprovedPerMonth / 60);
+ // dc.RightValues[2] = String.Format("{0:0.00}", periodStats.MinutesApprovedTotal / 60);
+
+ // dc.LeftValues[3] = String.Format("{0:0.00}", (periodStats.MinutesApprovedPerMonth - periodStats.MinutesProvidedThisMonth) / 60);
+ // dc.RightValues[3] = String.Format("{0:0.00}", (periodStats.MinutesApprovedTotal - periodStats.MinutesProvidedTotalRounded) / 60);
+
+ // return dc;
+ // }
+
+ // public override decimal GetApprovedMinutesPerMonth(SupportConceptPeriodStatisticsDC periodStats)
+ // {
+ // if (periodStats.SupportConceptApprovalPeriod != null && periodStats.SupportConceptApprovalPeriod.StartDate.HasValue && periodStats.SupportConceptApprovalPeriod.EndDate.HasValue)
+ // {
+ // if (periodStats.SupportConceptApprovalPeriod.ApprovedBEPerInterval.HasValue && periodStats.SupportConceptApprovalPeriod.ApprovedBEInterval.HasValue && periodStats.SupportConceptApprovalPeriod.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Monthly)
+ // {
+ // return periodStats.SupportConceptApprovalPeriod.ApprovedBEPerInterval.Value * 60;
+ // }
+ // }
+ // return base.GetApprovedMinutesPerMonth(periodStats);
+ // }
+ // }
+}
diff --git a/ReportImp/DrobDrogenhilfe/Validation/ServiceRecordValidator.cs b/ReportImp/DrobDrogenhilfe/Validation/ServiceRecordValidator.cs
new file mode 100644
index 000000000..3e394fda6
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/Validation/ServiceRecordValidator.cs
@@ -0,0 +1,87 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using BeWo.Data;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Service.DCEntityMapper;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
+
+namespace TemplateNeuKunde.Validation
+{
+ //public class CustomServiceRecordValidator : ServiceRecordValidator
+ //{
+ // public override string[] GetIgnoreCategoriesForOverlappingCheck()
+ // {
+ // return new[] { "Arbeitszeiterfassung" };
+ // }
+
+
+ // public override List ValidateServiceRecord(ServiceRecordDC newServiceRecord, SupportConceptStatisticsDC statistics,
+ // int maxDaysEditServiceRecordsAllowed, IList employeeOids, IList cb2scOids)
+ // {
+ // var list = base.ValidateServiceRecord(newServiceRecord, statistics, maxDaysEditServiceRecordsAllowed, employeeOids, cb2scOids);
+
+ // if (newServiceRecord.ServiceDescription.Category.IsBillable && newServiceRecord.RoundedDuration == 0)
+ // {
+
+ // list.Add(new ServiceRecordValidationResultDC
+ // {
+ // ResultType = ServiceRecordValidationResult.Custom,
+ // Message = "Die Dauer muss größer als 0 sein."
+ // });
+
+ // }
+
+ // var sd = newServiceRecord.ServiceDescription.Name.ToLower();
+ // var cat = newServiceRecord.ServiceDescription.Category.Name.ToLower();
+
+ // if (cat.Contains("arztbesuch") ||
+ // cat.Contains("krank") ||
+ // cat.Contains("fortbildung") ||
+ // cat.Contains("urlaub") ||
+ // cat.Contains("indirekte zeiten") ||
+ // (cat.Contains("betrieb") && cat.Contains("zeiten")))
+ // {
+ // if (sd.Contains("abwesend"))
+ // {
+
+ // list.Add(new ServiceRecordValidationResultDC
+ // {
+ // ResultType = ServiceRecordValidationResult.Custom,
+ // Message = "Dieser Eintrag kann nur von Fachleitungen oder Bereichsleitungen angelegt werden."
+ // });
+ // }
+ // }
+
+
+
+ // bool hasZukunftResult = false;
+
+ // foreach (var r in list)
+ // {
+ // if (r.ResultType == ServiceRecordValidationResult.Custom && r.Message.Contains("Zukunft"))
+ // {
+ // hasZukunftResult = true;
+ // }
+ // }
+ // if (!hasZukunftResult)
+ // {
+ // if (newServiceRecord.End.Value > DateTime.Now.AddMinutes(20))
+ // {
+ // list.Add(new ServiceRecordValidationResultDC
+ // {
+ // ResultType = ServiceRecordValidationResult.Custom,
+ // Message = "Das gewählte Datum darf nicht in der Zukunft liegen."
+ // });
+ // }
+ // }
+
+
+ // return list;
+ // }
+ // }
+}
\ No newline at end of file
diff --git a/ReportImp/DrobDrogenhilfe/app.config b/ReportImp/DrobDrogenhilfe/app.config
new file mode 100644
index 000000000..677131bde
--- /dev/null
+++ b/ReportImp/DrobDrogenhilfe/app.config
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file