diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Properties/DataSources/AWOMuensterlandRecklinghausen.Reporting.KannAllesWeissAllesRO.datasource b/ReportImp/AWOMuensterlandRecklinghausen/Properties/DataSources/AWOMuensterlandRecklinghausen.Reporting.KannAllesWeissAllesRO.datasource
new file mode 100644
index 000000000..3b083c63d
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Properties/DataSources/AWOMuensterlandRecklinghausen.Reporting.KannAllesWeissAllesRO.datasource
@@ -0,0 +1,10 @@
+
+
+
+ AWOMuensterlandRecklinghausen.Reporting.KannAllesWeissAllesRO, 3522103738_Reports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/CustomerRelations.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/CustomerRelations.cs
new file mode 100644
index 000000000..cc38d8eb9
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/CustomerRelations.cs
@@ -0,0 +1,30 @@
+using BeWo.Data.Entities;
+using BS.Shared.DataContracts;
+using System.Collections.Generic;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class CustomerRelations
+ {
+ public OrganisationDC Schule { get; set; } // Klientenorganisation, bei der Rolle "Schule" enthält
+ public OrganisationDC Kostentraeger { get; set; } // Klientenorganisation, bei der Rolle "KT" enthält
+ public SupportConceptDC Hilfeplan { get; set; }
+ public string Bewilligungsbezeichnungen { get; set; }
+ public Dictionary> Bewilligungen { get; set; }
+ public List Kliententeams { get; set; }
+
+ public EmployeeDC Schulbegleitung { get; set; } // Hauptbetreuuer
+ public string VertragsartDerSchulbegleitung { get; set; } // Mitarbeiter-Vertragsart
+
+ public KlientKontaktdaten KlientKontaktdaten { get; set; } // Person des Klienten + Anschrift & Kontaktinfos
+ public SchulleitungKontaktdaten SchulleitungKontaktdaten { get; set; } // Person der Schulleitung + Anschrift & Kontaktinfos
+ public SchulbegleitungKontaktdaten SchulbegleitungKontaktdaten { get; set; } // Person der Schulbegleitung + Anschrift & Kontaktinfos
+ public KostentraegerAnsprechpartnerKontaktdaten KostentraegerAnsprechpartnerKontaktdaten { get; set; } // Person des Ansprechpartners beim Kostenträger + Anschrift & Kontaktinfos
+
+ public string Klienteninfo { get; set; } // Klientenkommentar
+ public string Schulbegleiterinfo { get; set; } // Mitarbeiterkommentar
+ public string Hilfeplaninfo { get; set; } // Hilfeplankommentar
+
+ }
+
+}
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KannAllesWeissAllesRO.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KannAllesWeissAllesRO.cs
new file mode 100644
index 000000000..a1083142e
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KannAllesWeissAllesRO.cs
@@ -0,0 +1,240 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using BeWo.Data.Access;
+using BeWo.Data.Entities;
+using BeWo.Report;
+using BeWo.Report.ReportObjects;
+using BeWo.Service.DCEntityMapper;
+using BeWo.Service.ServiceImplementations;
+using BS.Shared.DataContracts;
+using DevExpress.XtraReports.UI;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class KannAllesWeissAllesRO
+ {
+ public DateTime Berichtsdatum { get; set; }
+ public Dictionary AllCustomerRelationsDict { get; set; }
+
+ public static KannAllesWeissAllesRO Create()
+ {
+ KannAllesWeissAllesRO ro = new KannAllesWeissAllesRO()
+ {
+ Berichtsdatum = DateTime.Now,
+ AllCustomerRelationsDict = new Dictionary()
+ };
+
+ // Alle Customer holen und für Perfomance auch direkt alle Hilfepläne
+ var allCustomers = MapperFactory.CustomerDC_Customer.MapToNewDCs(DAOFactory.GenericDAO.GetAllActive());
+ List allCustomerOids = new List();
+ foreach (var c in allCustomers)
+ {
+ if (c.CustomerOid.HasValue)
+ allCustomerOids.Add(c.CustomerOid.Value);
+ }
+ var allSupportConcepts = MapperFactory.SupportConceptDC_SupportConcept.MapToNewDCs(DAOFactory.SearchDAO.GetAllActiveSupportConceptsByCustomers(allCustomerOids, false));
+
+ // Für jeden einzelnen Customer alle Infos suchen und ins Dictionary speichern
+ foreach (var customer in allCustomers)
+ {
+ CustomerRelations cr = new CustomerRelations();
+
+ #region Klientenkontaktdaten
+ if (customer.PersonOid.HasValue)
+ {
+ var klientPerson = MapperFactory.PersonDC_Person.MapToNewDC(DAOFactory.GenericDAO.GetByID(customer.PersonOid.Value));
+ ContactDC mail = null;
+ ContactDC telefon = null;
+ ContactDC mobil = null;
+ ContactDC fax = null;
+ if (klientPerson.ContactInformations != null && klientPerson.ContactInformations.Count > 0)
+ {
+ mail = klientPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.business_Mail);
+ telefon = klientPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.business_Phone);
+ mobil = klientPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.business_MobilePhone);
+ fax = klientPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.business_Fax);
+ }
+ cr.KlientKontaktdaten = new KlientKontaktdaten()
+ {
+ Person = klientPerson,
+ Strasse = klientPerson.Street,
+ Ort = klientPerson.Town,
+ Postleitzahl = klientPerson.PostalCode,
+ Mailadresse = mail != null && mail.ContactValue != null ? mail.ContactValue : "",
+ Telefonnummer = telefon != null && telefon.ContactValue != null ? telefon.ContactValue : "",
+ Handynummer = mobil != null && mobil.ContactValue != null ? mobil.ContactValue : "",
+ Fax = fax != null && fax.ContactValue != null ? fax.ContactValue : "",
+ };
+
+ }
+ #endregion
+
+ cr.Bewilligungen = new Dictionary>();
+ cr.Kliententeams = new List();
+
+ // Kliententeams setzen
+ if (customer.RelatedTeams != null && customer.RelatedTeams.Count > 0)
+ {
+ List teamOids = new List();
+ foreach (var team in customer.RelatedTeams)
+ teamOids.Add(team.Team.TeamOid);
+
+ cr.Kliententeams = MapperFactory.TeamDC_Team.MapToNewDCs(DAOFactory.GenericDAO.GetActiveByIDs(teamOids));
+ }
+ // Hauptbetreuung bzw. Schulbegleitung setzen
+ if (customer.RelatedEmployees != null && customer.RelatedEmployees.Count > 0)
+ {
+ var betreuung = customer.RelatedEmployees.FirstOrDefault(e => e.RelationRole != null && e.RelationRole.DisplayName == "Hauptbetreuung");
+ if (betreuung != null)
+ {
+ if (betreuung.Employee != null)
+ {
+ cr.Schulbegleitung = MapperFactory.EmployeeDC_Employee.MapToNewDC(DAOFactory.GenericDAO.GetByID(betreuung.Employee.EmployeeOid));
+ cr.Schulbegleiterinfo = cr.Schulbegleitung.Notice2;
+ // Richtigen Vetrag raussuchen
+ if (cr.Schulbegleitung.Contracts != null && cr.Schulbegleitung.Contracts.Count > 0)
+ {
+ foreach (var c in cr.Schulbegleitung.Contracts)
+ {
+ if (c.EntryDate != null && c.ContractTypeValueListEntry != null)
+ {
+ if (c.ContractEndDate == null)
+ {
+ if (c.EntryDate.Value.Date <= ro.Berichtsdatum.Date)
+ cr.VertragsartDerSchulbegleitung = c.ContractTypeValueListEntry.DisplayName;
+ }
+ else
+ {
+ if (c.EntryDate.Value.Date <= ro.Berichtsdatum.Date && c.ContractEndDate.Value.Date >= ro.Berichtsdatum.Date)
+ cr.VertragsartDerSchulbegleitung = c.ContractTypeValueListEntry.DisplayName;
+ }
+ }
+ }
+ }
+
+
+ #region Schulbegleitungkontaktdaten
+ var schulbegleitungPerson = MapperFactory.PersonDC_Person.MapToNewDC(DAOFactory.GenericDAO.GetByID(betreuung.Employee.PersonOid));
+ ContactDC mail = null;
+ ContactDC telefon = null;
+ ContactDC mobil = null;
+ ContactDC fax = null;
+
+ if (schulbegleitungPerson.ContactInformations != null && schulbegleitungPerson.ContactInformations.Count > 0)
+ {
+ mail = schulbegleitungPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Mail);
+ telefon = schulbegleitungPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Phone);
+ mobil = schulbegleitungPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_MobilePhone);
+ fax = schulbegleitungPerson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Fax);
+
+ }
+ cr.SchulbegleitungKontaktdaten = new SchulbegleitungKontaktdaten()
+ {
+ Person = schulbegleitungPerson,
+ Strasse = schulbegleitungPerson.Street,
+ Ort = schulbegleitungPerson.Town,
+ Postleitzahl = schulbegleitungPerson.PostalCode,
+ Mailadresse = mail != null && mail.ContactValue != null ? mail.ContactValue : "",
+ Telefonnummer = telefon != null && telefon.ContactValue != null ? telefon.ContactValue : "",
+ Handynummer = mobil != null && mobil.ContactValue != null ? mobil.ContactValue : "",
+ Fax = fax != null && fax.ContactValue != null ? fax.ContactValue : "",
+ };
+ #endregion
+ }
+ }
+ }
+ if (customer.OrganisationRelations != null && customer.OrganisationRelations.Count > 0)
+ {
+ // Schule setzen
+ var compactSchule = customer.OrganisationRelations.FirstOrDefault(o => o.RolleInOrganisation != null && o.RolleInOrganisation.DisplayName.ToLower().Contains("schule"));
+ if (compactSchule != null && compactSchule.Organisation != null)
+ {
+ var schule = MapperFactory.OrganisationDC_OrganisationMapper.MapToNewDC(DAOFactory.GenericDAO.GetByID(compactSchule.Organisation.OrganisationOid));
+ cr.Schule = schule;
+ }
+ // Kostenträger setzen
+ var orga2person = customer.OrganisationRelations.FirstOrDefault(o => o.RolleInOrganisation != null && o.RolleInOrganisation.DisplayName.Contains("KT"));
+ if (orga2person != null && orga2person.Organisation != null)
+ {
+ var kostentrager = MapperFactory.OrganisationDC_OrganisationMapper.MapToNewDC(DAOFactory.GenericDAO.GetByID(orga2person.Organisation.OrganisationOid));
+ cr.Kostentraeger = kostentrager;
+ }
+ }
+
+ // Hilfeplan und Bewilligungen setzen
+ var hp = allSupportConcepts.FirstOrDefault(sc => sc.Customer.Oid == customer.CustomerOid);
+ if (hp != null)
+ {
+ cr.Hilfeplan = hp;
+ cr.Hilfeplaninfo = hp.Notice;
+ cr.Bewilligungsbezeichnungen = "";
+
+ // Bewilligungen setzen und den Ansprechpartner raussuchen
+ if (hp.CostBearerRelations != null && hp.CostBearerRelations.Count > 0)
+ {
+ // Ansprechpartner aus der ersten Bewilligung ziehen
+ var compactContactPerson = hp.CostBearerRelations[0].CostBearerContactPerson;
+ if (compactContactPerson != null)
+ {
+ #region Kontaktperson Kontaktdaten
+ var kostentraegerKontaktperson = MapperFactory.PersonDC_Person.MapToNewDC(DAOFactory.GenericDAO.GetByID(compactContactPerson.PersonOid));
+
+ ContactDC mail = null;
+ ContactDC telefon = null;
+ ContactDC mobil = null;
+ ContactDC fax = null;
+ if (kostentraegerKontaktperson.ContactInformations != null && kostentraegerKontaktperson.ContactInformations.Count > 0)
+ {
+ mail = kostentraegerKontaktperson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Mail);
+ telefon = kostentraegerKontaktperson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Phone);
+ mobil = kostentraegerKontaktperson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_MobilePhone);
+ fax = kostentraegerKontaktperson.ContactInformations.FirstOrDefault(c => c.ContactType == BS.Shared.ContactType.private_Fax);
+
+ }
+ cr.KostentraegerAnsprechpartnerKontaktdaten = new KostentraegerAnsprechpartnerKontaktdaten()
+ {
+ Person = kostentraegerKontaktperson,
+ Strasse = kostentraegerKontaktperson.Street,
+ Ort = kostentraegerKontaktperson.Town,
+ Postleitzahl = kostentraegerKontaktperson.PostalCode,
+ Mailadresse = mail != null && mail.ContactValue != null ? mail.ContactValue : "",
+ Telefonnummer = telefon != null && telefon.ContactValue != null ? telefon.ContactValue : "",
+ Handynummer = mobil != null && mobil.ContactValue != null ? mobil.ContactValue : "",
+ Fax = fax != null && fax.ContactValue != null ? fax.ContactValue : "",
+ };
+ #endregion
+ }
+
+ // Für jeden Kostenträger alle Bewilligungen raussuchen
+ foreach (var costBearerRelation in hp.CostBearerRelations)
+ {
+ List apList = new List();
+ cr.Bewilligungsbezeichnungen += costBearerRelation.AuswahlBezeichnung + "; ";
+
+ if (costBearerRelation.ApprovalPeriodList != null && costBearerRelation.ApprovalPeriodList.Count > 0)
+ {
+ foreach (var ap in costBearerRelation.ApprovalPeriodList)
+ apList.Add(ap);
+ }
+
+ cr.Bewilligungen.Add(costBearerRelation, apList);
+ }
+
+ }
+ }
+
+
+
+
+
+ cr.Klienteninfo = customer.Notice;
+
+ ro.AllCustomerRelationsDict.Add(customer, cr);
+ }
+
+ return ro;
+ }
+ }
+}
+
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KlientKontaktdaten.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KlientKontaktdaten.cs
new file mode 100644
index 000000000..56ed47d0d
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KlientKontaktdaten.cs
@@ -0,0 +1,19 @@
+using BeWo.Data.Entities;
+using BS.Shared.DataContracts;
+using System.Collections.Generic;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class KlientKontaktdaten
+ {
+ public PersonDC Person { get; set; }
+ public string Strasse { get; set; }
+ public string Postleitzahl { get; set; }
+ public string Ort { get; set; }
+ public string Telefonnummer { get; set; }
+ public string Handynummer { get; set; }
+ public string Fax { get; set; }
+ public string Mailadresse { get; set; }
+ }
+
+}
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KostentraegerAnsprechpartnerKontaktdaten.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KostentraegerAnsprechpartnerKontaktdaten.cs
new file mode 100644
index 000000000..479ef7fa5
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/KostentraegerAnsprechpartnerKontaktdaten.cs
@@ -0,0 +1,20 @@
+using BeWo.Data.Entities;
+using BS.Shared.DataContracts;
+using System.Collections.Generic;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class KostentraegerAnsprechpartnerKontaktdaten
+ {
+ public PersonDC Person { get; set; }
+ public string Rolle { get => "Kontakt beim Kostenträger"; }
+ public string Strasse { get; set; }
+ public string Postleitzahl { get; set; }
+ public string Ort { get; set; }
+ public string Telefonnummer { get; set; }
+ public string Handynummer { get; set; }
+ public string Fax { get; set; }
+ public string Mailadresse { get; set; }
+ }
+
+}
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulbegleitungKontaktdaten.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulbegleitungKontaktdaten.cs
new file mode 100644
index 000000000..44cb8eb3c
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulbegleitungKontaktdaten.cs
@@ -0,0 +1,20 @@
+using BeWo.Data.Entities;
+using BS.Shared.DataContracts;
+using System.Collections.Generic;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class SchulbegleitungKontaktdaten
+ {
+ public PersonDC Person { get; set; }
+ public string Rolle { get => "Schulbegleitung"; }
+ public string Strasse { get; set; }
+ public string Postleitzahl { get; set; }
+ public string Ort { get; set; }
+ public string Telefonnummer { get; set; }
+ public string Handynummer { get; set; }
+ public string Fax { get; set; }
+ public string Mailadresse { get; set; }
+ }
+
+}
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulleitungKontaktdaten.cs b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulleitungKontaktdaten.cs
new file mode 100644
index 000000000..855a970bd
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/Reporting/SchulleitungKontaktdaten.cs
@@ -0,0 +1,20 @@
+using BeWo.Data.Entities;
+using BS.Shared.DataContracts;
+using System.Collections.Generic;
+
+namespace AWOMuensterlandRecklinghausen.Reporting
+{
+ public class SchulleitungKontaktdaten
+ {
+ public PersonDC Person { get; set; }
+ public string Rolle { get => "Schulleitung"; }
+ public string Strasse { get; set; }
+ public string Postleitzahl { get; set; }
+ public string Ort { get; set; }
+ public string Telefonnummer { get; set; }
+ public string Handynummer { get; set; }
+ public string Fax { get; set; }
+ public string Mailadresse { get; set; }
+ }
+
+}
\ No newline at end of file
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.Designer.cs b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.Designer.cs
new file mode 100644
index 000000000..b46b49187
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.Designer.cs
@@ -0,0 +1,318 @@
+using BeWo.Report.ReportObjects;
+namespace AWOMuensterlandRecklinghausen
+{
+ partial class SBUebersicht
+ {
+ ///
+ /// 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();
+ this.Detail = new DevExpress.XtraReports.UI.DetailBand();
+ this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
+ this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
+ this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
+ this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRowHeader = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
+ this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
+ this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
+ this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
+ this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
+ this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
+ this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
+ this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
+ this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
+ this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
+ this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
+ this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
+ this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).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;
+ //
+ // Detail1
+ //
+ this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTableDetail});
+ this.Detail1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Detail1.HeightF = 25F;
+ this.Detail1.Name = "Detail1";
+ this.Detail1.StylePriority.UseFont = false;
+ //
+ // xrTableDetail
+ //
+ this.xrTableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTableDetail.Name = "xrTableDetail";
+ this.xrTableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
+ this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRowDetail});
+ this.xrTableDetail.SizeF = new System.Drawing.SizeF(1018F, 25F);
+ this.xrTableDetail.StylePriority.UseBorders = false;
+ this.xrTableDetail.StylePriority.UsePadding = false;
+ //
+ // xrTableRowDetail
+ //
+ this.xrTableRowDetail.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell3});
+ this.xrTableRowDetail.Name = "xrTableRowDetail";
+ this.xrTableRowDetail.Weight = 1D;
+ //
+ // xrTableCell3
+ //
+ this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")});
+ this.xrTableCell3.Multiline = true;
+ this.xrTableCell3.Name = "xrTableCell3";
+ this.xrTableCell3.StylePriority.UseFont = false;
+ this.xrTableCell3.Text = "xrTableCell3";
+ this.xrTableCell3.Weight = 1D;
+ //
+ // DetailReport
+ //
+ this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail1,
+ this.GroupHeader1});
+ this.DetailReport.DataMember = "Rows";
+ this.DetailReport.DataSource = this.bindingSource1;
+ this.DetailReport.Level = 0;
+ this.DetailReport.Name = "DetailReport";
+ //
+ // GroupHeader1
+ //
+ this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTableHeader});
+ this.GroupHeader1.HeightF = 25F;
+ this.GroupHeader1.Name = "GroupHeader1";
+ this.GroupHeader1.RepeatEveryPage = true;
+ //
+ // xrTableHeader
+ //
+ this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableHeader.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
+ this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTableHeader.Name = "xrTableHeader";
+ this.xrTableHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
+ this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRowHeader});
+ this.xrTableHeader.SizeF = new System.Drawing.SizeF(1018F, 25F);
+ this.xrTableHeader.StylePriority.UseBorders = false;
+ this.xrTableHeader.StylePriority.UseFont = false;
+ this.xrTableHeader.StylePriority.UsePadding = false;
+ //
+ // xrTableRowHeader
+ //
+ this.xrTableRowHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell5});
+ this.xrTableRowHeader.Name = "xrTableRowHeader";
+ this.xrTableRowHeader.Weight = 1D;
+ //
+ // xrTableCell5
+ //
+ this.xrTableCell5.Name = "xrTableCell5";
+ this.xrTableCell5.Weight = 1D;
+ //
+ // ReportHeader
+ //
+ this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel1});
+ this.ReportHeader.HeightF = 35F;
+ this.ReportHeader.Name = "ReportHeader";
+ //
+ // xrLabel1
+ //
+ this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
+ this.xrLabel1.Font = new System.Drawing.Font("Arial", 14F);
+ this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrLabel1.Multiline = true;
+ this.xrLabel1.Name = "xrLabel1";
+ this.xrLabel1.SizeF = new System.Drawing.SizeF(1018F, 25F);
+ this.xrLabel1.StyleName = "Title";
+ this.xrLabel1.StylePriority.UseFont = false;
+ //
+ // pageFooterBand1
+ //
+ this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrPageInfo2,
+ this.xrPageInfo1});
+ this.pageFooterBand1.HeightF = 48F;
+ this.pageFooterBand1.Name = "pageFooterBand1";
+ //
+ // xrPageInfo2
+ //
+ this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrPageInfo2.Format = "Seite {0} von {1}";
+ this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(924.0834F, 25F);
+ this.xrPageInfo2.Name = "xrPageInfo2";
+ this.xrPageInfo2.SizeF = new System.Drawing.SizeF(93.91663F, 23F);
+ this.xrPageInfo2.StyleName = "PageInfo";
+ this.xrPageInfo2.StylePriority.UseFont = false;
+ this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
+ //
+ // xrPageInfo1
+ //
+ this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
+ this.xrPageInfo1.Name = "xrPageInfo1";
+ this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
+ this.xrPageInfo1.SizeF = new System.Drawing.SizeF(924.0834F, 23F);
+ this.xrPageInfo1.StyleName = "PageInfo";
+ this.xrPageInfo1.StylePriority.UseFont = false;
+ //
+ // Title
+ //
+ this.Title.BackColor = System.Drawing.Color.White;
+ this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
+ this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.Title.BorderWidth = 1F;
+ this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
+ this.Title.ForeColor = System.Drawing.Color.Black;
+ this.Title.Name = "Title";
+ //
+ // FieldCaption
+ //
+ this.FieldCaption.BackColor = System.Drawing.Color.White;
+ this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
+ this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.FieldCaption.BorderWidth = 1F;
+ this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
+ this.FieldCaption.ForeColor = System.Drawing.Color.Black;
+ this.FieldCaption.Name = "FieldCaption";
+ //
+ // PageInfo
+ //
+ this.PageInfo.BackColor = System.Drawing.Color.White;
+ this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
+ this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.PageInfo.BorderWidth = 1F;
+ this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
+ this.PageInfo.ForeColor = System.Drawing.Color.Black;
+ this.PageInfo.Name = "PageInfo";
+ //
+ // DataField
+ //
+ this.DataField.BackColor = System.Drawing.Color.White;
+ this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
+ this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.DataField.BorderWidth = 1F;
+ this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
+ this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.DataField.Name = "DataField";
+ //
+ // fieldFLS
+ //
+ this.fieldFLS.DataMember = "FLSReportGroups";
+ this.fieldFLS.Expression = "[TotalFLM] / 60";
+ this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
+ this.fieldFLS.Name = "fieldFLS";
+ //
+ // topMarginBand1
+ //
+ this.topMarginBand1.HeightF = 50F;
+ this.topMarginBand1.Name = "topMarginBand1";
+ //
+ // bottomMarginBand1
+ //
+ this.bottomMarginBand1.HeightF = 50F;
+ this.bottomMarginBand1.Name = "bottomMarginBand1";
+ //
+ // bindingSource1
+ //
+ this.bindingSource1.DataSource = typeof(AWOMuensterlandRecklinghausen.Reporting.KannAllesWeissAllesRO);
+ //
+ // SBUebersicht
+ //
+ this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail,
+ this.DetailReport,
+ this.ReportHeader,
+ this.pageFooterBand1,
+ this.topMarginBand1,
+ this.bottomMarginBand1});
+ this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
+ this.fieldFLS});
+ this.DataSource = this.bindingSource1;
+ this.Landscape = true;
+ this.Margins = new System.Drawing.Printing.Margins(75, 75, 50, 50);
+ this.PageHeight = 827;
+ this.PageWidth = 1169;
+ this.PaperKind = System.Drawing.Printing.PaperKind.A4;
+ this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
+ this.Title,
+ this.FieldCaption,
+ this.PageInfo,
+ this.DataField});
+ this.Version = "17.1";
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraReports.UI.DetailBand Detail;
+ private System.Windows.Forms.BindingSource bindingSource1;
+ private DevExpress.XtraReports.UI.DetailBand Detail1;
+ private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
+ private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel1;
+ private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
+ private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
+ private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
+ private DevExpress.XtraReports.UI.XRControlStyle Title;
+ private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
+ private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
+ private DevExpress.XtraReports.UI.XRControlStyle DataField;
+ private DevExpress.XtraReports.UI.XRTable xrTableHeader;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
+ private DevExpress.XtraReports.UI.XRTable xrTableDetail;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRowDetail;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
+ private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
+ private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
+ private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
+ private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
+ }
+}
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.cs b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.cs
new file mode 100644
index 000000000..fae7b6021
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.cs
@@ -0,0 +1,25 @@
+using System;
+using BeWo.Report.ReportObjects;
+using BeWo.Report;
+using DevExpress.XtraReports.UI;
+using System.Data;
+using AWOMuensterlandRecklinghausen.Reporting;
+
+namespace AWOMuensterlandRecklinghausen
+{
+ public partial class SBUebersicht : DevExpress.XtraReports.UI.XtraReport, IBeWoReport
+ {
+ public SBUebersicht()
+ {
+ InitializeComponent();
+
+ }
+
+ public void SetReportDataSource(QueryRO pRO)
+ {
+ KannAllesWeissAllesRO ro = KannAllesWeissAllesRO.Create();
+
+ this.bindingSource1.DataSource = ro;
+ }
+ }
+}
diff --git a/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.resx b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.resx
new file mode 100644
index 000000000..d25f3eba2
--- /dev/null
+++ b/ReportImp/AWOMuensterlandRecklinghausen/SBUebersicht.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ 17, 17
+
+
\ No newline at end of file