DiakonieWerkEssenBeWo67InvoiceCreation
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
<Reference Include="DevExpress.Printing.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Data.Desktop.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Utils.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Xpo.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.XtraPrinting.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.Charts.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraCharts.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
@@ -61,6 +62,7 @@
|
||||
<Compile Include="Invoicing\CustomInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\CustomLWLDiggaBerechnung.cs" />
|
||||
<Compile Include="Invoicing\DiakonieWerkEssenBeWo67InvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
@@ -88,6 +90,12 @@
|
||||
<Compile Include="Reporting\SettlementReport2.Designer.cs">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Reporting\ServiceInvoiceReport67.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Reporting\ServiceInvoiceReport67.Designer.cs">
|
||||
<DependentUpon>ServiceInvoiceReport67.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
@@ -125,6 +133,9 @@
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Reporting\ServiceInvoiceReport67.resx">
|
||||
<DependentUpon>ServiceInvoiceReport67.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
@@ -6,60 +6,44 @@ using BeWo.Service.Invoicing;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
|
||||
namespace TemplateNeuKunde.Invoicing
|
||||
namespace DiakonieWerkEssen.Invoicing
|
||||
{
|
||||
public class CustomInvoiceFactory : InvoiceFactory
|
||||
{
|
||||
// public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> 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<CostBearer2SupportConcept>(csc.CostBearerRelOids[0]);
|
||||
public class CustomInvoiceFactory : InvoiceFactory
|
||||
{
|
||||
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant,
|
||||
Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
|
||||
{
|
||||
// §67-Kostenträger über Hilfeplanzuordnung erkennen
|
||||
foreach (var item in supportConcepts2ServiceRecords)
|
||||
{
|
||||
var csc = item.Key;
|
||||
var sc = DAOFactory.GenericDAO.LoadByID<SupportConcept>(csc.SupportConceptOid);
|
||||
|
||||
// foreach (var scap in cb2sc.ApprovalPeriodList)
|
||||
// {
|
||||
// if (scap.ServiceCategory != null)
|
||||
// {
|
||||
// var ic = GetInvoiceCreatorForCategory(scap.ServiceCategory.Name);
|
||||
// if (ic != null)
|
||||
// return ic;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
foreach (var cb2sc in sc.CostBearer2SupportConceptList)
|
||||
{
|
||||
if (cb2sc.CostBearer.Organisation != null && (cb2sc.CostBearer.Organisation.Name.Contains("§67") || cb2sc.CostBearer.Organisation.Name.Contains("§ 67")))
|
||||
{
|
||||
return new DiakonieWerkEssenBeWo67InvoiceCreation();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////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;
|
||||
// §67-Kostenträger über Leistungskategorie der Leistungsbelege erkennen
|
||||
foreach (var list in supportConcepts2ServiceRecords.Values)
|
||||
{
|
||||
if (list == null) continue;
|
||||
|
||||
// //Hier wird Organisation geprüft
|
||||
// if (sr.CostBearer.Name.ToLower().Contains("selbstzahler"))
|
||||
// {
|
||||
// return new CustomInvoiceCreation();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
foreach (var sr in list)
|
||||
{
|
||||
var sd = sr.ServiceDescription.Category;
|
||||
if (!String.IsNullOrEmpty(sd.Name) && (sd.Name.Contains("§67") || sd.Name.Contains("§ 67")))
|
||||
{
|
||||
return new DiakonieWerkEssenBeWo67InvoiceCreation();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 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;
|
||||
// }
|
||||
return base.CreateInvoiceCreator(specificId, tenant, supportConcepts2ServiceRecords);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Services;
|
||||
|
||||
namespace DiakonieWerkEssen.Invoicing
|
||||
{
|
||||
public class DiakonieWerkEssenBeWo67InvoiceCreation : InvoiceCreation
|
||||
{
|
||||
public override void SetInvoiceId(ServiceInvoice invoice)
|
||||
{
|
||||
invoice.InvoiceBase.InvoiceId = "BeWo67";
|
||||
}
|
||||
|
||||
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc, bool summaryPerMonth)
|
||||
{
|
||||
var newlist = new List<InvoiceItem>();
|
||||
var rateToItem = new Dictionary<String, InvoiceItem>();
|
||||
|
||||
foreach (InvoiceItem iitem in itemList)
|
||||
{
|
||||
String key = String.Format("{0}_{1}", iitem.AmountPerUnit, iitem.RateFactor);
|
||||
|
||||
InvoiceItem item;
|
||||
if (rateToItem.ContainsKey(key))
|
||||
{
|
||||
item = rateToItem[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
item = new InvoiceItem();
|
||||
newlist.Add(item);
|
||||
|
||||
item.AmountPerUnit = iitem.AmountPerUnit;
|
||||
if (invoicePeriod != null)
|
||||
{
|
||||
item.ItemPeriodStart = invoicePeriod.StartDate;
|
||||
item.ItemPeriodEnd = invoicePeriod.EndDate;
|
||||
}
|
||||
else
|
||||
{
|
||||
item.ItemPeriodStart = scap.StartDate;
|
||||
item.ItemPeriodEnd = scap.EndDate;
|
||||
}
|
||||
|
||||
item.RateFactor = iitem.RateFactor;
|
||||
item.AccountingInterval = iitem.AccountingInterval;
|
||||
item.ItemDescription = iitem.ItemDescription;
|
||||
item.UnitDescription = iitem.UnitDescription;
|
||||
item.SupportConceptApprovalPeriodOid = scap.Oid;
|
||||
|
||||
rateToItem[key] = item;
|
||||
}
|
||||
|
||||
if (!item.UnitCount.HasValue)
|
||||
item.UnitCount = 0;
|
||||
|
||||
item.UnitCount += iitem.UnitCount ?? 0;
|
||||
}
|
||||
|
||||
BerechneSummaryItemsSummen(newlist);
|
||||
return newlist;
|
||||
}
|
||||
|
||||
private void BerechneSummaryItemsSummen(List<InvoiceItem> newlist)
|
||||
{
|
||||
foreach (InvoiceItem invoiceItem in newlist)
|
||||
{
|
||||
if (invoiceItem.RateFactor.HasValue)
|
||||
{
|
||||
decimal minuten = Math.Round((invoiceItem.UnitCount ?? 0) * 60, 0, MidpointRounding.AwayFromZero);
|
||||
var abgerundet = RundeMinutenAuf10MinutenAb(minuten);
|
||||
invoiceItem.UnitCount = Math.Round(abgerundet / 40, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
|
||||
invoiceItem.AmountTotal = Math.Round((invoiceItem.AmountPerUnit ?? 0) * (invoiceItem.UnitCount ?? 0), 2, MidpointRounding.AwayFromZero);
|
||||
invoiceItem.GrossAmountTotal = invoiceItem.AmountTotal;
|
||||
}
|
||||
}
|
||||
|
||||
private decimal RundeMinutenAuf10MinutenAb(decimal minuten)
|
||||
{
|
||||
decimal rest = minuten % 10;
|
||||
return minuten - rest;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
@@ -10,192 +7,74 @@ using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace TemplateNeuKunde.Reporting
|
||||
namespace DiakonieWerkEssen.Reporting
|
||||
{
|
||||
//public class CustomReportCreator : DefaultReportCreator
|
||||
//{
|
||||
// //Einkommentiere für LWL Prüfliste, ZAD Nummer und ServiceDescription ergänzen
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid)
|
||||
{
|
||||
if (String.IsNullOrEmpty(dcIds) && invoiceBaseOid.HasValue)
|
||||
{
|
||||
var serviceInvoice = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(invoiceBaseOid.Value);
|
||||
dcIds = String.Format("{0}", serviceInvoice.Oid);
|
||||
}
|
||||
|
||||
if (String.IsNullOrEmpty(dcIds))
|
||||
{
|
||||
return base.CreateServiceInvoiceReport(dcIds, invoiceBaseOid);
|
||||
}
|
||||
|
||||
// //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);
|
||||
var dcidStrs = dcIds.Split(';');
|
||||
|
||||
// //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);
|
||||
// Prüfen ob irgendeine Rechnung vom Typ BeWo67 ist
|
||||
bool hasBeWo67 = false;
|
||||
foreach (var oidStr in dcidStrs)
|
||||
{
|
||||
var oid = long.Parse(oidStr);
|
||||
var invoice = DAOFactory.GenericDAO.LoadByID<ServiceInvoice>(oid);
|
||||
if (!String.IsNullOrEmpty(invoice.InvoiceBase.InvoiceId) && invoice.InvoiceBase.InvoiceId == "BeWo67")
|
||||
{
|
||||
hasBeWo67 = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// //public override XtraReport CreateQueryReport(long queryOid, string queryReportId)
|
||||
// //{
|
||||
// // if (queryOid == 500)
|
||||
// // {
|
||||
// // return CreateLwlPruefliste(CreateQueryRO(queryOid, queryReportId));
|
||||
if (!hasBeWo67)
|
||||
{
|
||||
return base.CreateServiceInvoiceReport(dcIds, invoiceBaseOid);
|
||||
}
|
||||
|
||||
// // }
|
||||
// // return base.CreateQueryReport(queryOid, queryReportId);
|
||||
// //}
|
||||
// BeWo67: Seite 1 (ServiceInvoiceReport) + Seite 2 (RechnungBeWo67) kombinieren
|
||||
XtraReport masterReport = null;
|
||||
|
||||
// //private LwlPruefliste CreateLwlPruefliste(QueryRO queryRo)
|
||||
// //{
|
||||
// // var liste = new LwlPruefliste();
|
||||
foreach (var oidStr in dcidStrs)
|
||||
{
|
||||
var oid = long.Parse(oidStr);
|
||||
var invoice = DAOFactory.GenericDAO.LoadByID<ServiceInvoice>(oid);
|
||||
var dc = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(invoice);
|
||||
var ro = ServiceInvoiceRO.Create(dc);
|
||||
|
||||
// // if (queryRo.Rows.Count > 0)
|
||||
// // {
|
||||
// // DateTime start = DateTime.MaxValue;
|
||||
// // DateTime end = DateTime.MinValue;
|
||||
var seite1 = new DiakonieWerkEssen.ServiceInvoiceReport();
|
||||
seite1.SetReportDataSource(ro);
|
||||
seite1.CreateDocument();
|
||||
|
||||
// // 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 seite2 = new RechnungBeWo67();
|
||||
seite2.SetReportDataSource(ro);
|
||||
seite2.CreateDocument();
|
||||
|
||||
// // var customerList = DAOFactory.GenericDAO.GetAllActive<Customer>();
|
||||
// // 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;
|
||||
// // }
|
||||
seite1.Pages.AddRange(seite2.Pages);
|
||||
|
||||
// // 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;
|
||||
// // }
|
||||
// // }
|
||||
if (masterReport == null)
|
||||
{
|
||||
masterReport = seite1;
|
||||
}
|
||||
else
|
||||
{
|
||||
masterReport.Pages.AddRange(seite1.Pages);
|
||||
}
|
||||
}
|
||||
|
||||
// // 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<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay);
|
||||
|
||||
// // if (lROs.Count > 0)
|
||||
// // {
|
||||
|
||||
// // var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid);
|
||||
// // rootReport.CreateDocument();
|
||||
|
||||
// // for (int i = 1; i < lROs.Count; i++)
|
||||
// // {
|
||||
// // var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid);
|
||||
// // lNext.CreateDocument();
|
||||
// // rootReport.Pages.AddRange(lNext.Pages);
|
||||
// // }
|
||||
|
||||
// // return rootReport;
|
||||
// // }
|
||||
// // return new XtraReport();
|
||||
// //}
|
||||
|
||||
// //public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
// //{
|
||||
// // var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
|
||||
// // return CreateServicesOverviewReportForRo(ro, serviceCategoryOid);
|
||||
// //}
|
||||
// //public override XtraReport CreateServiceOverviewReportForCustomers(IList<long> customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende)
|
||||
// //{
|
||||
// // var roList = new List<ServicesOverviewRO>();
|
||||
|
||||
// // foreach (var coid in customerOids)
|
||||
// // {
|
||||
// // var ro = ServicesOverviewRO.Create(coid, month, year, true, orgaOid ?? 0, empOid ?? 0, startDay, endDay, serviceCategoryOid);
|
||||
// // if (ro != null)
|
||||
// // {
|
||||
// // roList.Add(ro);
|
||||
// // }
|
||||
// // }
|
||||
|
||||
// // if (roList.Count > 0)
|
||||
// // {
|
||||
|
||||
// // var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid);
|
||||
// // rootReport.CreateDocument();
|
||||
|
||||
// // for (int i = 1; i < roList.Count; i++)
|
||||
// // {
|
||||
// // var lNext = CreateServicesOverviewReportForRo(roList[i], serviceCategoryOid);
|
||||
// // lNext.CreateDocument();
|
||||
// // rootReport.Pages.AddRange(lNext.Pages);
|
||||
// // }
|
||||
|
||||
// // return rootReport;
|
||||
// // }
|
||||
// // return new XtraReport();
|
||||
|
||||
// //}
|
||||
//public override XtraReport CreateReportForServicesOverviewRo(ServicesOverviewRO ro, String reportId)
|
||||
//{
|
||||
// return CreateServicesOverviewReportForRo(ro, null);
|
||||
//}
|
||||
|
||||
// //private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid)
|
||||
// //{
|
||||
// // IBeWoReport<ServicesOverviewRO> report = null;
|
||||
// // String kt = "";
|
||||
// // if (!String.IsNullOrWhiteSpace(ro.Costbearer))
|
||||
// // kt = ro.Costbearer.Trim();
|
||||
|
||||
// // String function = "";
|
||||
// // if (ro.CostBearer2SupportConceptList != null)
|
||||
// // {
|
||||
// // foreach (var c2s in ro.CostBearer2SupportConceptList)
|
||||
// // {
|
||||
// // if (c2s.CostBearer.Organisation.Function != null && !String.IsNullOrWhiteSpace(ro.Costbearer) && c2s.CostBearer.Organisation.Name == ro.Costbearer)
|
||||
// // function = c2s.CostBearer.Organisation.Function.Value;
|
||||
// // }
|
||||
// // }
|
||||
|
||||
// // 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;
|
||||
// //}
|
||||
|
||||
//}
|
||||
return masterReport ?? new XtraReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.Extensions;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace DiakonischesWerkDinslakenBeWo
|
||||
namespace DiakonieWerkEssen
|
||||
{
|
||||
public partial class ServiceInvoiceReport : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
@@ -18,14 +18,6 @@ namespace DiakonischesWerkDinslakenBeWo
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Monat {0:MMMM yyyy} folgende erbrachte Leistungen:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Leistungen:", start, end);
|
||||
}
|
||||
|
||||
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0)
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
905
ReportImp/DiakoniewerkEssen/Reporting/ServiceInvoiceReport67.Designer.cs
generated
Normal file
905
ReportImp/DiakoniewerkEssen/Reporting/ServiceInvoiceReport67.Designer.cs
generated
Normal file
@@ -0,0 +1,905 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace DiakonieWerkEssen
|
||||
{
|
||||
partial class RechnungBeWo67
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RechnungBeWo67));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.lblGP = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell6 = 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.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).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;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 0F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPictureBox2,
|
||||
this.xrLabel10});
|
||||
this.topMarginBand1.HeightF = 179.125F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// xrPictureBox2
|
||||
//
|
||||
this.xrPictureBox2.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox2.ImageSource"));
|
||||
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(465.0002F, 0F);
|
||||
this.xrPictureBox2.Name = "xrPictureBox2";
|
||||
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(233.9998F, 89.99999F);
|
||||
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120.5F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(363.5417F, 17F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "Hilfe zum selbstständigen Wohnen";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel9,
|
||||
this.xrLabel19,
|
||||
this.xrLabel20,
|
||||
this.xrLabel21,
|
||||
this.xrLabel22,
|
||||
this.xrPictureBox1});
|
||||
this.bottomMarginBand1.HeightF = 80.8671F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.37498F);
|
||||
this.xrLabel9.Multiline = true;
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(144.7917F, 46.54166F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Vorsitzender der\r\nGesellschafterversammlung:\r\nPfarrer Andreas Müller\r\n";
|
||||
//
|
||||
// xrLabel19
|
||||
//
|
||||
this.xrLabel19.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
|
||||
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(144.7917F, 25.37498F);
|
||||
this.xrLabel19.Multiline = true;
|
||||
this.xrLabel19.Name = "xrLabel19";
|
||||
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel19.SizeF = new System.Drawing.SizeF(90.625F, 46.54166F);
|
||||
this.xrLabel19.StylePriority.UseFont = false;
|
||||
this.xrLabel19.Text = "Geschäftsführer:\r\nM. Gierse";
|
||||
//
|
||||
// xrLabel20
|
||||
//
|
||||
this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
|
||||
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(235.4167F, 25.37498F);
|
||||
this.xrLabel20.Multiline = true;
|
||||
this.xrLabel20.Name = "xrLabel20";
|
||||
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel20.SizeF = new System.Drawing.SizeF(198.0835F, 46.54F);
|
||||
this.xrLabel20.StylePriority.UseFont = false;
|
||||
this.xrLabel20.Text = "[Mandator.BankAccount.BankName]\r\nIBAN: [Mandator.BankAccount.IBAN]\r\nBIC: [Mandato" +
|
||||
"r.BankAccount.Bic]";
|
||||
//
|
||||
// xrLabel21
|
||||
//
|
||||
this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
|
||||
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(433.5002F, 25.37498F);
|
||||
this.xrLabel21.Multiline = true;
|
||||
this.xrLabel21.Name = "xrLabel21";
|
||||
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel21.SizeF = new System.Drawing.SizeF(139.8333F, 46.54166F);
|
||||
this.xrLabel21.StylePriority.UseFont = false;
|
||||
this.xrLabel21.Text = "HRB Essen Nr. 20427\r\nSteuer-Nr. 112/5736/1912";
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Verdana", 7F);
|
||||
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel22.Multiline = true;
|
||||
this.xrLabel22.Name = "xrLabel22";
|
||||
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel22.SizeF = new System.Drawing.SizeF(328.125F, 25.37498F);
|
||||
this.xrLabel22.StylePriority.UseFont = false;
|
||||
this.xrLabel22.Text = "Die Leistung ist umsatzsteuerbefreit.";
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(573.3336F, 25.37498F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(125.6664F, 46.54166F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel24,
|
||||
this.lblGP,
|
||||
this.xrLabel6,
|
||||
this.xrLabel18,
|
||||
this.xrTable2,
|
||||
this.xrLabel17,
|
||||
this.xrLabel11,
|
||||
this.xrLabel4,
|
||||
this.xrLabel3,
|
||||
this.xrRichText2,
|
||||
this.xrLabel14,
|
||||
this.xrLabel16,
|
||||
this.xrLabel5,
|
||||
this.xrLabel2,
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
this.xrLabel7,
|
||||
this.xrLabel8});
|
||||
this.Page1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.Page1.HeightF = 528.3647F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblGP
|
||||
//
|
||||
this.lblGP.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BusinessPartnerId]")});
|
||||
this.lblGP.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.lblGP.LocationFloat = new DevExpress.Utils.PointFloat(495.8769F, 147F);
|
||||
this.lblGP.Name = "lblGP";
|
||||
this.lblGP.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGP.SizeF = new System.Drawing.SizeF(181.1229F, 23F);
|
||||
this.lblGP.StylePriority.UseFont = false;
|
||||
this.lblGP.StylePriority.UseTextAlignment = false;
|
||||
this.lblGP.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblGP.TextFormatString = "GP-Nr.: {0}";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Verdana", 6F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 9.999973F);
|
||||
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(379.53F, 12F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "Diakoniewerk Essen Diakoniezentrum Mitte";
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Verdana", 6F);
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 21.99996F);
|
||||
this.xrLabel18.Multiline = true;
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(379.53F, 16F);
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.Text = "[Mandator.Street] • [Mandator.PostalCode] [Mandator.Town] Telefon: 0201-2664-2061" +
|
||||
"00\r\n";
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Font = new DevExpress.Drawing.DXFont("Verdana", 8F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(420.0414F, 9.999974F);
|
||||
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.xrTableRow11});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(257.9582F, 128F);
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell6});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.10596026490066227D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.CanGrow = false;
|
||||
this.xrTableCell6.CanShrink = true;
|
||||
this.xrTableCell6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Mandator].[Name]")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell6.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell6.Weight = 1D;
|
||||
//
|
||||
// xrTableRow5
|
||||
//
|
||||
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell13});
|
||||
this.xrTableRow5.Name = "xrTableRow5";
|
||||
this.xrTableRow5.Weight = 0.10596026490066225D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.CanGrow = false;
|
||||
this.xrTableCell13.CanShrink = true;
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.StylePriority.UsePadding = false;
|
||||
this.xrTableCell13.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell13.Text = "Gefährdetenhilfe gGmbH";
|
||||
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.10596026490066228D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.CanGrow = false;
|
||||
this.xrTableCell11.CanShrink = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UsePadding = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "[Mandator.Street]";
|
||||
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.10596026490066225D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.CanGrow = false;
|
||||
this.xrTableCell8.CanShrink = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UsePadding = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "[Mandator.PostalCode] [Mandator.Town]";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell8.Weight = 1D;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell7});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.10596026490066227D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.CanGrow = false;
|
||||
this.xrTableCell7.CanShrink = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell7.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell7.StylePriority.UseFont = false;
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Telefon: 0201 • 2664-0";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell7.Weight = 1D;
|
||||
//
|
||||
// xrTableRow6
|
||||
//
|
||||
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow6.Name = "xrTableRow6";
|
||||
this.xrTableRow6.Weight = 0.10596026490066229D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.CanGrow = false;
|
||||
this.xrTableCell10.CanShrink = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell10.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Telefax: 0201 • 2664-595 900";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 1D;
|
||||
//
|
||||
// xrTableRow8
|
||||
//
|
||||
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
this.xrTableRow8.Weight = 0.10596026490066224D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.CanGrow = false;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
this.xrTableCell14.Weight = 1D;
|
||||
//
|
||||
// xrTableRow11
|
||||
//
|
||||
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell15});
|
||||
this.xrTableRow11.Name = "xrTableRow11";
|
||||
this.xrTableRow11.Weight = 0.10596026490066227D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.CanGrow = false;
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F);
|
||||
this.xrTableCell15.StylePriority.UsePadding = false;
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell15.TextFormatString = "GP-Nr.: {0}";
|
||||
this.xrTableCell15.Weight = 1D;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 212.243F);
|
||||
this.xrLabel17.Multiline = true;
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(294.2085F, 23.22519F);
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.Text = "Rechnung: [InvoiceNumber]";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(433.916F, 333.6798F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(183.0417F, 17F);
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.Text = "Geburtsdatum";
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(39.49397F, 333.6798F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(362.8333F, 17F);
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = "Name, Vorname";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(39.49397F, 386.284F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(362.8333F, 17F);
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Aktenzeichen des Landschaftsverbandes Rheinland";
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 438.5797F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(616.9584F, 56.59717F);
|
||||
this.xrRichText2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(433.916F, 316.6798F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(183.0417F, 17F);
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel16.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel16.CanShrink = true;
|
||||
this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 255.6109F);
|
||||
this.xrLabel16.Name = "xrLabel16";
|
||||
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel16.SizeF = new System.Drawing.SizeF(616.9582F, 21.91217F);
|
||||
this.xrLabel16.StylePriority.UseBackColor = false;
|
||||
this.xrLabel16.StylePriority.UseBorders = false;
|
||||
this.xrLabel16.StylePriority.UseFont = false;
|
||||
this.xrLabel16.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel16.Text = "Abrechnung über Dienstleistungsstunden im Betreuten Wohnen § 67 SGB XII";
|
||||
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrLabel16.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 368.7632F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(32.29624F, 16.99997F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "für: ";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(39.49397F, 316.6798F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(362.8333F, 17F);
|
||||
this.xrLabel2.StylePriority.UseBorders = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "[CustomerLastname], [CustomerFirstname]";
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(39.49397F, 369.2841F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(362.8333F, 17F);
|
||||
this.xrLabel13.StylePriority.UseBorders = false;
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.Text = "[CustomerReferenceNumber]";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 506.6351F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(637.5001F, 21.72961F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "Hieraus ergibt sich eine Forderung von ";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.99995F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(317F, 111.5F);
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.Text = "[RecipientOrganisation]\r\n[RecipientContactPerson]\r\n[RecipientDivision]\r\n[Recipien" +
|
||||
"tStreet]\r\n[RecipientPostCodeAndTown]";
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(443.9158F, 212.2429F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(203.5837F, 23.22522F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Datum: [InvoiceDateTime!dd.MM.yyyy]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.DetailReport2});
|
||||
this.DetailReport.DataMember = "ServiceInvoicePeriods";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.HeightF = 0F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
//
|
||||
// DetailReport2
|
||||
//
|
||||
this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail3,
|
||||
this.GroupFooter1});
|
||||
this.DetailReport2.DataMember = "ServiceInvoicePeriods.ServiceInvoiceItems";
|
||||
this.DetailReport2.DataSource = this.bindingSource1;
|
||||
this.DetailReport2.Level = 0;
|
||||
this.DetailReport2.Name = "DetailReport2";
|
||||
this.DetailReport2.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
|
||||
//
|
||||
// Detail3
|
||||
//
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable6});
|
||||
this.Detail3.HeightF = 25F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(245.6285F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow25});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(400.8298F, 25F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow25
|
||||
//
|
||||
this.xrTableRow25.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell43,
|
||||
this.xrTableCell44,
|
||||
this.xrTableCell45,
|
||||
this.xrTableCell47});
|
||||
this.xrTableRow25.Name = "xrTableRow25";
|
||||
this.xrTableRow25.Weight = 1D;
|
||||
//
|
||||
// xrTableCell43
|
||||
//
|
||||
this.xrTableCell43.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell43.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell43.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Hours]")});
|
||||
this.xrTableCell43.Name = "xrTableCell43";
|
||||
this.xrTableCell43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell43.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell43.StylePriority.UseBorders = false;
|
||||
this.xrTableCell43.StylePriority.UsePadding = false;
|
||||
this.xrTableCell43.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell43.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell43.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell43.Weight = 0.31811641424505266D;
|
||||
//
|
||||
// xrTableCell44
|
||||
//
|
||||
this.xrTableCell44.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell44.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell44.Name = "xrTableCell44";
|
||||
this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell44.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell44.StylePriority.UseBorders = false;
|
||||
this.xrTableCell44.StylePriority.UsePadding = false;
|
||||
this.xrTableCell44.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell44.Text = "Stunden x ";
|
||||
this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell44.Weight = 0.4206682085548879D;
|
||||
//
|
||||
// xrTableCell45
|
||||
//
|
||||
this.xrTableCell45.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell45.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell45.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[HourlyRate]")});
|
||||
this.xrTableCell45.Name = "xrTableCell45";
|
||||
this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell45.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell45.StylePriority.UseBorders = false;
|
||||
this.xrTableCell45.StylePriority.UsePadding = false;
|
||||
this.xrTableCell45.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell45.Weight = 0.43442356433034046D;
|
||||
//
|
||||
// xrTableCell47
|
||||
//
|
||||
this.xrTableCell47.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell47.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell47.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[GrossAmount]")});
|
||||
this.xrTableCell47.Name = "xrTableCell47";
|
||||
this.xrTableCell47.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell47.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell47.StylePriority.UseBorders = false;
|
||||
this.xrTableCell47.StylePriority.UsePadding = false;
|
||||
this.xrTableCell47.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell47.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell47.Weight = 0.60299493363019874D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.BorderWidth = 2F;
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1,
|
||||
this.xrLabel15,
|
||||
this.lblNotice});
|
||||
this.GroupFooter1.HeightF = 318.5798F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseBorderWidth = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 253.976F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(642F, 40.41669F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Unterschrift und Stempel des Anbieters ";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel15.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[GrossClaim]")});
|
||||
this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(530.2866F, 0F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(116.1716F, 25F);
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrLabel15.TextFormatString = "{0}";
|
||||
//
|
||||
// lblNotice
|
||||
//
|
||||
this.lblNotice.CanShrink = true;
|
||||
this.lblNotice.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.85304F);
|
||||
this.lblNotice.Name = "lblNotice";
|
||||
this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblNotice.SizeF = new System.Drawing.SizeF(616.9581F, 128.1666F);
|
||||
this.lblNotice.StylePriority.UseFont = false;
|
||||
this.lblNotice.StylePriority.UseTextAlignment = false;
|
||||
this.lblNotice.Text = resources.GetString("lblNotice.Text");
|
||||
this.lblNotice.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
|
||||
//
|
||||
// xrLabel24
|
||||
//
|
||||
this.xrLabel24.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
|
||||
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[OrganisationDebitorNumber]")});
|
||||
this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Verdana", 9F);
|
||||
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(420.0415F, 170F);
|
||||
this.xrLabel24.Name = "xrLabel24";
|
||||
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrLabel24.SizeF = new System.Drawing.SizeF(256.9583F, 23F);
|
||||
this.xrLabel24.StylePriority.UseFont = false;
|
||||
this.xrLabel24.StylePriority.UsePadding = false;
|
||||
this.xrLabel24.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrLabel24.TextFormatString = "Kostenträger: {0}";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// RechnungBeWo67
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.Page1,
|
||||
this.DetailReport});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(74.99997F, 39F, 179.125F, 80.8671F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 826;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand Page1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable6;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow25;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell43;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell44;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell45;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell47;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel16;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblNotice;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
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 xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblGP;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel19;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel20;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel21;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel22;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel24;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace DiakonieWerkEssen
|
||||
{
|
||||
[IDSpecificClass(Identifier = "BeWo67")]
|
||||
|
||||
public partial class RechnungBeWo67 : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungBeWo67()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
//hier wird auf deren ausdrücklichen mit Stunden gerechnet, die mit dem Faktor multipliziert wurden und am Ende ganzzahlig gerundet werden
|
||||
decimal hours = 0;
|
||||
decimal factor = 1;
|
||||
|
||||
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0)
|
||||
{
|
||||
foreach (var p in pRO.ServiceInvoicePeriods)
|
||||
{
|
||||
if (p.ServiceInvoiceItems != null && p.ServiceInvoiceItems.Count > 0)
|
||||
{
|
||||
foreach (var i in p.ServiceInvoiceItems)
|
||||
{
|
||||
if (i.Hours.HasValue)
|
||||
hours += i.Hours.Value;
|
||||
//if (!String.IsNullOrEmpty(i.RateFactor))
|
||||
//{
|
||||
// var rfStr = i.RateFactor.Replace("%", "").Replace(",00", "").Trim();
|
||||
// int rfInt = 0;
|
||||
// Int32.TryParse(rfStr, out rfInt);
|
||||
// factor = (100m + rfInt) / 100m;
|
||||
//}
|
||||
//i.Notice = String.Format("{0:0.##}", hours * factor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pRO.CreatorDivision = String.Format("{0:0.##}", hours);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user