MH: ganz viel Rechnungskram für AWO Plön
This commit is contained in:
19
BeWo.sln
19
BeWo.sln
@@ -527,6 +527,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Biotop", "ReportImp\Biotop\
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AwoKreisverbandPloen", "ReportImp\AwoKreisverbandPloen\AwoKreisverbandPloen.csproj", "{6A79BF8C-7F6A-43D9-BB33-9BE0CD6EBFCD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FreundeskreisSuchthilfe", "ReportImp\FreundeskreisSuchthilfe\FreundeskreisSuchthilfe.csproj", "{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -4130,6 +4132,22 @@ Global
|
||||
{6A79BF8C-7F6A-43D9-BB33-9BE0CD6EBFCD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{6A79BF8C-7F6A-43D9-BB33-9BE0CD6EBFCD}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6A79BF8C-7F6A-43D9-BB33-9BE0CD6EBFCD}.Release|x86.Build.0 = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -4389,6 +4407,7 @@ Global
|
||||
{370A9FEA-F0C5-469B-BFF7-C4049A08AC7F} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{3B233B57-6F1C-4153-A0E6-C2739A3AEFBD} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{6A79BF8C-7F6A-43D9-BB33-9BE0CD6EBFCD} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{AC8FC2BC-BF65-40D4-95EE-E9EE423736CA} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<NameOfLastUsedPublishProfile>BeWo2.0</NameOfLastUsedPublishProfile>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<Use64BitIISExpress>false</Use64BitIISExpress>
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
|
||||
@@ -51,6 +51,8 @@
|
||||
<Compile Include="Invoicing\AssistenzInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\DefaultInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\TagesstaetteInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\TagesstrukturInvoiceCreation.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Quittierungsbeleg.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -58,6 +60,36 @@
|
||||
<Compile Include="Quittierungsbeleg.Designer.cs">
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungTagesstaetteKiel.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungTagesstaetteKiel.Designer.cs">
|
||||
<DependentUpon>RechnungTagesstaetteKiel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenSelbstzahlerPreetz.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenSelbstzahlerPreetz.Designer.cs">
|
||||
<DependentUpon>RechnungVerpflegungskostenSelbstzahlerPreetz.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenSelbstzahlerKiel.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenSelbstzahlerKiel.Designer.cs">
|
||||
<DependentUpon>RechnungVerpflegungskostenSelbstzahlerKiel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenPreetz.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenPreetz.Designer.cs">
|
||||
<DependentUpon>RechnungVerpflegungskostenPreetz.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenKiel.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungVerpflegungskostenKiel.Designer.cs">
|
||||
<DependentUpon>RechnungVerpflegungskostenKiel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechungTeilhabe.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -70,6 +102,13 @@
|
||||
<Compile Include="RechnungAssistenz.Designer.cs">
|
||||
<DependentUpon>RechnungAssistenz.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Reporting\CustomReportCreator.cs" />
|
||||
<Compile Include="RechnungTagesstaettePreetz.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="RechnungTagesstaettePreetz.Designer.cs">
|
||||
<DependentUpon>RechnungTagesstaettePreetz.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
@@ -95,6 +134,26 @@
|
||||
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungTagesstaetteKiel.resx">
|
||||
<DependentUpon>RechnungTagesstaetteKiel.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungVerpflegungskostenSelbstzahlerPreetz.resx">
|
||||
<DependentUpon>RechnungVerpflegungskostenSelbstzahlerPreetz.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungVerpflegungskostenSelbstzahlerKiel.resx">
|
||||
<DependentUpon>RechnungVerpflegungskostenSelbstzahlerKiel.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungVerpflegungskostenPreetz.resx">
|
||||
<DependentUpon>RechnungVerpflegungskostenPreetz.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungVerpflegungskostenKiel.resx">
|
||||
<DependentUpon>RechnungVerpflegungskostenKiel.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechungTeilhabe.resx">
|
||||
<DependentUpon>RechungTeilhabe.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -103,6 +162,10 @@
|
||||
<DependentUpon>RechnungAssistenz.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungTagesstaettePreetz.resx">
|
||||
<DependentUpon>RechnungTagesstaettePreetz.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
BIN
ReportImp/AwoKreisverbandPloen/Briefpapier_VerpflegungKiel.jpg
Normal file
BIN
ReportImp/AwoKreisverbandPloen/Briefpapier_VerpflegungKiel.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
|
||||
@@ -13,18 +14,35 @@ namespace AwoKreisverbandPloen.Invoicing
|
||||
{
|
||||
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
|
||||
{
|
||||
foreach (var list in supportConcepts2ServiceRecords.Values)
|
||||
{
|
||||
|
||||
foreach (var sr in list)
|
||||
{
|
||||
var sd = sr.ServiceDescription.Category;
|
||||
var ic = GetInvoiceCreatorForCategory(sd);
|
||||
if (ic != null)
|
||||
return ic;
|
||||
}
|
||||
}
|
||||
return new DefaultInvoiceCreation();
|
||||
foreach (var list in supportConcepts2ServiceRecords)
|
||||
{
|
||||
if (list.Value.Count > 0)
|
||||
{
|
||||
foreach (var sr in list.Value)
|
||||
{
|
||||
var sd = sr.ServiceDescription.Category;
|
||||
var ic = GetInvoiceCreatorForCategory(sd);
|
||||
if (ic != null)
|
||||
return ic;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var os = new OperationsServiceImp();
|
||||
var sc = os.GetSupportConceptsById(new List<long>() { list.Key.SupportConceptOid });
|
||||
if (sc.Count > 0)
|
||||
{
|
||||
var cat = sc[0].CostBearerRelations[0].ApprovalPeriodList[0].ServiceCategory;
|
||||
if (cat != null)
|
||||
{
|
||||
var ic = GetInvoiceCreatorForCategory(cat);
|
||||
if (ic != null)
|
||||
return ic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return new DefaultInvoiceCreation();
|
||||
}
|
||||
|
||||
private InvoiceCreation GetInvoiceCreatorForCategory(ServiceCategoryDC sd)
|
||||
@@ -32,12 +50,15 @@ namespace AwoKreisverbandPloen.Invoicing
|
||||
if (sd != null && !String.IsNullOrEmpty(sd.Name))
|
||||
{
|
||||
String cat = sd.Name.ToLower().Trim();
|
||||
if (cat.Contains("assistenz"))
|
||||
{
|
||||
return new CustomAssistenzInvoiceCreation();
|
||||
}
|
||||
if (cat.Contains("assistenz"))
|
||||
{
|
||||
return new CustomAssistenzInvoiceCreation();
|
||||
}
|
||||
else if (cat.ToLower().Contains("tagesstätte"))
|
||||
return new TagesstaetteInvoiceCreation();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,5 +58,6 @@ namespace AwoKreisverbandPloen.Invoicing
|
||||
{
|
||||
return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, true);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,183 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
|
||||
namespace AwoKreisverbandPloen.Invoicing
|
||||
{
|
||||
|
||||
public class TagesstaetteInvoiceCreation : InvoiceCreation
|
||||
{
|
||||
public override void SetInvoiceId(ServiceInvoice invoice)
|
||||
{
|
||||
invoice.InvoiceBase.InvoiceId = "RechnungVerpflegungskosten";
|
||||
invoice.InvoiceBase.InvoiceTypeText = "Tagesstätte";
|
||||
}
|
||||
|
||||
public override void SetAmountAdvancePayments(ServiceInvoice invoice)
|
||||
{
|
||||
//do nothing
|
||||
}
|
||||
|
||||
public override void SetAmountEquityContribution(ServiceInvoice invoice)
|
||||
{
|
||||
//do nothing
|
||||
}
|
||||
|
||||
public override void CreateFixedAmounts(ServiceInvoicePeriod serviceInvoicePeriod, SupportConceptApprovalPeriodDC supportConceptApprovalPeriod, CostBearer2SupportConcept cb2sc)
|
||||
{
|
||||
DateTime start = serviceInvoicePeriod.Start.Value;
|
||||
DateTime end = serviceInvoicePeriod.End.Value;
|
||||
var serviceCategory = supportConceptApprovalPeriod.ServiceCategory;
|
||||
OperationsServiceImp os = new OperationsServiceImp();
|
||||
var cOid = serviceInvoicePeriod.Customer.Oid;
|
||||
List<AdditionalServiceBookingDC> additionalServices = null;
|
||||
|
||||
// Für die Tagesstätte Anzahl der Tage abzüglich Abwesenheiten errechnen
|
||||
int anzahlTage = 0;
|
||||
if (serviceCategory.Abbreviation.ToLower() == "tsk s" || serviceCategory.Abbreviation.ToLower() == "tsp s")
|
||||
{
|
||||
additionalServices = os.GetAllAdditionalServiceBookingsForCustomer(cOid.Value, serviceInvoicePeriod.Start.Value, serviceInvoicePeriod.End.Value); // CustomerOidDict enthält immer die OID des Customers und einen bool der angibt, ob teilgenommen wurde.
|
||||
foreach (var service in additionalServices)
|
||||
{ // Ein Service ist ein Tag/Event
|
||||
if (service.CustomerOidDict.ContainsKey(cOid.Value))
|
||||
{
|
||||
foreach (var kvpair in service.CustomerOidDict)
|
||||
{
|
||||
if (kvpair.Key == cOid && kvpair.Value)
|
||||
anzahlTage++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while (start <= serviceInvoicePeriod.End)
|
||||
{
|
||||
var absTimes = serviceInvoicePeriod.Customer.AbsenceTimes.Where(a => a.Start >= start && a.Start <= end || a.End >= start && a.End <= end).ToList();
|
||||
bool abwesenheit = false;
|
||||
if (absTimes.Count > 0)
|
||||
{
|
||||
foreach (var abs in absTimes)
|
||||
{
|
||||
if (abs.AbsenceSpan.ContainsDate(start))
|
||||
abwesenheit = true;
|
||||
}
|
||||
}
|
||||
//Gibt es keine Abwesenheit
|
||||
if (!abwesenheit)
|
||||
anzahlTage++;
|
||||
|
||||
start = start.AddDays(1);
|
||||
}
|
||||
}
|
||||
|
||||
var costrate = serviceCategory.CostRatePeriods.Count > 0 ? supportConceptApprovalPeriod.ServiceCategory.CostRatePeriods[0].CostRateValue : 0;
|
||||
|
||||
var item = new InvoiceItem()
|
||||
{
|
||||
AmountTotal = anzahlTage * costrate,
|
||||
GrossAmountTotal = anzahlTage * costrate,
|
||||
UnitCount = anzahlTage,
|
||||
ItemDescription = "Anweisenheitstage Tagesstätte",
|
||||
AmountPerUnit = costrate,
|
||||
ItemPeriodStart = start,
|
||||
ItemPeriodEnd = end
|
||||
};
|
||||
|
||||
serviceInvoicePeriod.InvoiceItemList.Add(item);
|
||||
|
||||
// Für die Verpflegungskosten Anzahl der Tage in AdditionalServices * die Verpflegungspauschale rechnen.
|
||||
var allSCs = os.GetAllServiceCategories();//.FirstOrDefault(s => s.Abbreviation.ToLower() == "ts");
|
||||
var sc = allSCs.FirstOrDefault(s => s.Abbreviation == "ts" || s.Abbreviation == "TS");
|
||||
if (sc != null)
|
||||
{
|
||||
var costrateVerpflegung = sc.CostRatePeriods.Count > 0 ? sc.CostRatePeriods[0].CostRateValue : null;
|
||||
additionalServices = additionalServices == null ? os.GetAllAdditionalServiceBookingsForCustomer(cOid.Value, serviceInvoicePeriod.Start.Value, serviceInvoicePeriod.End.Value) : additionalServices; // CustomerOidDict enthält immer die OID des Customers und einen bool der angibt, ob teilgenommen wurde.
|
||||
// Jetzt kann da die Anzahl aller Tage im Zeitraum ermittelt werden, an denen der Klient da war.
|
||||
int tage = 0;
|
||||
decimal? preis = costrate;
|
||||
|
||||
foreach (var service in additionalServices)
|
||||
{ // Ein Service ist ein Tag/Event
|
||||
if (service.CustomerOidDict.ContainsKey(cOid.Value))
|
||||
{
|
||||
foreach (var kvpair in service.CustomerOidDict)
|
||||
{
|
||||
if (kvpair.Key == cOid && kvpair.Value)
|
||||
tage++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var itemVerpflegung = new InvoiceItem()
|
||||
{
|
||||
AmountTotal = tage * costrateVerpflegung,
|
||||
GrossAmountTotal = tage * costrateVerpflegung,
|
||||
UnitCount = tage,
|
||||
ItemDescription = "Anweisenheitstage aus ergänzenden Diensten",
|
||||
AmountPerUnit = costrateVerpflegung,
|
||||
ItemPeriodStart = start,
|
||||
ItemPeriodEnd = end
|
||||
};
|
||||
serviceInvoicePeriod.InvoiceItemList.Add(itemVerpflegung);
|
||||
}
|
||||
}
|
||||
|
||||
public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc)
|
||||
{
|
||||
if (!iServiceRecord.ServiceDescription.CategoryName.Contains("Assistenz"))
|
||||
return null;
|
||||
|
||||
var ii = base.CreateInvoiceItem(iServiceRecord, scap, calc);
|
||||
DateTime start = ii.ItemPeriodStart.Value;
|
||||
decimal preisAssistenz = 0;
|
||||
|
||||
var cat = DAOFactory.SearchDAO.FindServiceCategoryByName("Assistenzleistungen");
|
||||
if (cat != null)
|
||||
{
|
||||
var crps = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(cat.CostRatePeriods);
|
||||
var cp = crps.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, start);
|
||||
if (cp != null && cp.CostRateValue.HasValue)
|
||||
preisAssistenz = (decimal)cp.CostRateValue;
|
||||
ii.AmountPerUnit = preisAssistenz;
|
||||
ii.RateFactor = null;
|
||||
ii.AmountTotal = preisAssistenz * ii.UnitCount;
|
||||
ii.GrossAmountTotal = preisAssistenz * ii.UnitCount;
|
||||
}
|
||||
return ii;
|
||||
}
|
||||
|
||||
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
|
||||
Calculations calc, bool summaryPerMonth, bool addRateFactorToUnitCount)
|
||||
{
|
||||
return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, true);
|
||||
}
|
||||
//public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc, bool summary)
|
||||
//{
|
||||
// return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false);
|
||||
//}
|
||||
|
||||
//public override IList<InvoiceItem> CreateInvoiceItems(List<ServiceRecordDC> serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc)
|
||||
//{
|
||||
// return base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc);
|
||||
//}
|
||||
|
||||
//public override void SetServiceInvoicePeriods(ServiceInvoice invoice, CostBearer2SupportConcept c2s, DateTimeSpan invoicePeriod, List<ServiceRecordDC> serviceRecords)
|
||||
//{
|
||||
// base.SetServiceInvoicePeriods(invoice, c2s, invoicePeriod, serviceRecords);
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,533 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
|
||||
namespace AwoKreisverbandPloen.Invoicing
|
||||
{
|
||||
|
||||
public class TagesstrukturInvoiceCreation : InvoiceCreation
|
||||
{
|
||||
private const decimal VERPFLEGUNGSPAUSCHALE_BISDez2020 = 3.40m;
|
||||
private const decimal VERPFLEGUNGSPAUSCHALE_ABJan2021 = 3.50m;
|
||||
private const decimal VERPFLEGUNGSPAUSCHALE_ABJan2022 = 3.60m;
|
||||
|
||||
|
||||
public override void SetInvoiceId(ServiceInvoice invoice)
|
||||
{
|
||||
invoice.InvoiceBase.InvoiceId = "RechnungTagesstruktur";
|
||||
invoice.InvoiceBase.InvoiceTypeText = "Tagesstruktur";
|
||||
}
|
||||
|
||||
public override List<ServiceInvoiceDC> GenerateServiceInvoices(long costBearerOid, DateTimeSpan invoicePeriod, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
|
||||
{
|
||||
var daten = CreateAbrechnungsdaten(invoicePeriod, supportConcepts2ServiceRecords);
|
||||
var invoiceList = CreateInvoices(invoicePeriod, daten);
|
||||
|
||||
return invoiceList.Select(item => MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item)).ToList();
|
||||
}
|
||||
|
||||
private IList<ServiceInvoice> CreateInvoices(DateTimeSpan invoicePeriod, IList<TagesstrukturRechnungsdaten> daten)
|
||||
{
|
||||
var invoiceList = new List<ServiceInvoice>();
|
||||
var invoiceCounter = 0;
|
||||
|
||||
foreach (var trd in daten)
|
||||
{
|
||||
var i = CreateInvoice(invoiceCounter, invoicePeriod, trd);
|
||||
|
||||
var c = i.GetTotalClaim();
|
||||
|
||||
if (c.HasValue && c.Value > 0)
|
||||
{
|
||||
invoiceList.Add(i);
|
||||
invoiceCounter++;
|
||||
}
|
||||
else
|
||||
{
|
||||
int test = 0;
|
||||
}
|
||||
}
|
||||
foreach (var trd in daten)
|
||||
{
|
||||
foreach (var sc in trd.SupportConcepts)
|
||||
{
|
||||
var i = CreateRechnungTagesstrukturVerpflegung(invoiceCounter, invoicePeriod, sc, trd.CostBearer);
|
||||
|
||||
var c = i.GetTotalClaim();
|
||||
|
||||
if (c.HasValue && c.Value > 0)
|
||||
{
|
||||
invoiceList.Add(i);
|
||||
invoiceCounter++;
|
||||
}
|
||||
else
|
||||
{
|
||||
int test = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return invoiceList;
|
||||
}
|
||||
|
||||
private ServiceInvoice CreateInvoice(int invoiceCounter, DateTimeSpan invoicePeriod, TagesstrukturRechnungsdaten trd)
|
||||
{
|
||||
var invoice = new ServiceInvoice();
|
||||
|
||||
SetInvoiceId(invoice);
|
||||
SetRecipientInformation(invoice, trd.CostBearer);
|
||||
|
||||
if (trd.SupportConcepts != null && trd.SupportConcepts.Count > 0)
|
||||
{
|
||||
foreach (var ts in trd.SupportConcepts)
|
||||
{
|
||||
if (ts.CostBearer2SupportConcept != null &&
|
||||
ts.CostBearer2SupportConcept.CostBearerContactPerson != null)
|
||||
{
|
||||
if (ts.CostBearer2SupportConcept.CostBearerContactPerson.Sex.HasValue &&
|
||||
ts.CostBearer2SupportConcept.CostBearerContactPerson.Sex.Value == Sex.Male)
|
||||
{
|
||||
invoice.InvoiceBase.RecipientPersonFirstName = "Herr ";
|
||||
}
|
||||
else if (ts.CostBearer2SupportConcept.CostBearerContactPerson.Sex.HasValue &&
|
||||
ts.CostBearer2SupportConcept.CostBearerContactPerson.Sex.Value == Sex.Female)
|
||||
{
|
||||
invoice.InvoiceBase.RecipientPersonFirstName = "Frau ";
|
||||
}
|
||||
else
|
||||
{
|
||||
invoice.InvoiceBase.RecipientPersonFirstName = "";
|
||||
}
|
||||
invoice.InvoiceBase.RecipientPersonFirstName += ts.CostBearer2SupportConcept.CostBearerContactPerson.FirstName;
|
||||
invoice.InvoiceBase.RecipientPersonLastName = ts.CostBearer2SupportConcept.CostBearerContactPerson.LastName;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
SetSenderInformation(invoice);
|
||||
SetInvoiceBaseData(invoiceCounter, invoice, trd.CostBearer, invoicePeriod, new List<CompactSupportConceptDC>());
|
||||
|
||||
foreach (var tsc in trd.SupportConcepts)
|
||||
{
|
||||
SetServiceInvoicePeriods(invoice, tsc, invoicePeriod);
|
||||
}
|
||||
|
||||
SetServiceInvoicePeriodAmounts(invoice);
|
||||
|
||||
// Spitzabrechnung
|
||||
if (invoicePeriod == null)
|
||||
{
|
||||
SetAmountAdvancePayments(invoice);
|
||||
}
|
||||
return invoice;
|
||||
|
||||
}
|
||||
|
||||
private ServiceInvoice CreateRechnungTagesstrukturVerpflegung(int invoiceCounter, DateTimeSpan invoicePeriod, TagesstrukturSupportConcept sc, CostBearer costBearer)
|
||||
{
|
||||
var invoice = new ServiceInvoice();
|
||||
|
||||
SetCustomerRecipientInformation(invoice, sc);
|
||||
|
||||
SetSenderInformation(invoice);
|
||||
SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, new List<CompactSupportConceptDC>());
|
||||
SetSingleInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, sc.SupportConcept);
|
||||
|
||||
|
||||
SetServiceInvoicePeriods(invoice, sc, invoicePeriod);
|
||||
|
||||
decimal verpflegungspauschale = VERPFLEGUNGSPAUSCHALE_ABJan2022;
|
||||
if (invoicePeriod.StartDate < new DateTime(2022, 1, 1))
|
||||
{
|
||||
verpflegungspauschale = VERPFLEGUNGSPAUSCHALE_ABJan2021;
|
||||
}
|
||||
if (invoicePeriod.StartDate < new DateTime(2021, 1, 1))
|
||||
{
|
||||
verpflegungspauschale = VERPFLEGUNGSPAUSCHALE_BISDez2020;
|
||||
}
|
||||
|
||||
foreach (var sip in invoice.ServiceInvoicePeriodList)
|
||||
{
|
||||
foreach (var ii in sip.InvoiceItemList)
|
||||
{
|
||||
if (ii.UnitDescription == "I" || ii.UnitDescription == "UE")
|
||||
{
|
||||
ii.AmountPerUnit = verpflegungspauschale;
|
||||
ii.AmountTotal = verpflegungspauschale;
|
||||
ii.GrossAmountTotal = verpflegungspauschale;
|
||||
}
|
||||
else
|
||||
{
|
||||
ii.UnitCount = 0;
|
||||
ii.AmountPerUnit = 0;
|
||||
ii.AmountTotal = 0;
|
||||
ii.GrossAmountTotal = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
SetServiceInvoicePeriodAmounts(invoice);
|
||||
|
||||
invoice.InvoiceBase.InvoiceId = "RechnungTagesstrukturVerpflegung";
|
||||
invoice.InvoiceBase.InvoiceTypeText = "Tagesstruktur Verpflegung";
|
||||
|
||||
return invoice;
|
||||
|
||||
}
|
||||
|
||||
private void SetCustomerRecipientInformation(ServiceInvoice serviceInvoice, TagesstrukturSupportConcept sc)
|
||||
{
|
||||
|
||||
if (sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.InvoiceAddress != null)
|
||||
{
|
||||
serviceInvoice.InvoiceBase.RecipientAddress = sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.InvoiceAddress.CopyToNew();
|
||||
}
|
||||
else if (sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.Address != null)
|
||||
{
|
||||
serviceInvoice.InvoiceBase.RecipientAddress = sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.Address.CopyToNew();
|
||||
}
|
||||
|
||||
serviceInvoice.InvoiceBase.RecipientPersonFirstName = sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.FirstName;
|
||||
serviceInvoice.InvoiceBase.RecipientPersonLastName = sc.CostBearer2SupportConcept.SupportConcept.Customer.Person.LastName;
|
||||
|
||||
serviceInvoice.InvoiceBase.CostBearer2SupportConcept = sc.CostBearer2SupportConcept;
|
||||
serviceInvoice.InvoiceBase.RecipientCustomerOid = sc.CostBearer2SupportConcept.SupportConcept.Customer.Oid;
|
||||
}
|
||||
|
||||
public override void SetSenderInformation(ServiceInvoice serviceInvoice)
|
||||
{
|
||||
ApplicationUser user = null;
|
||||
if (LoggedInUserOperationContextExt.Current != null)
|
||||
{
|
||||
user = LoggedInUserOperationContextExt.Current.User;
|
||||
}
|
||||
else
|
||||
{
|
||||
user = SessionFacade.LoggedInUser;
|
||||
}
|
||||
|
||||
var mandator = new OperationsServiceImp().GetMandator2(false);
|
||||
serviceInvoice.InvoiceBase.SenderAddress = new Address
|
||||
{
|
||||
Street = mandator.Street,
|
||||
PostalCode = mandator.PostalCode,
|
||||
Town = mandator.Town,
|
||||
State = mandator.State
|
||||
};
|
||||
|
||||
if (user != null)
|
||||
{
|
||||
serviceInvoice.InvoiceBase.CreatorFirstName = serviceInvoice.InvoiceBase.SenderFirstName = user.Employee.Person.FirstName;
|
||||
serviceInvoice.InvoiceBase.CreatorLastName = serviceInvoice.InvoiceBase.SenderLastName = user.Employee.Person.LastName;
|
||||
serviceInvoice.InvoiceBase.SenderContacts = user.Employee.Person.Contacts.Select(i => i.CopyToNew()).ToList();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void SetServiceInvoicePeriods(ServiceInvoice invoice, TagesstrukturSupportConcept tsc, DateTimeSpan invoicePeriod)
|
||||
{
|
||||
var invoiceAccountingPeriodSpan = new DateTimeSpan
|
||||
{
|
||||
StartDateTime = invoice.InvoiceBase.AccountingPeriodStart.Value,
|
||||
EndDateTime = invoice.InvoiceBase.AccountingPeriodEnd.Value
|
||||
};
|
||||
|
||||
if (tsc.SupportConceptApprovalPeriod != null)
|
||||
{
|
||||
SupportConceptApprovalPeriodDC approvalPeriodDC = MapperFactory.SupportConceptApprovalPeriodDC_SupportConceptApprovalPeriod.MapToNewDC(tsc.SupportConceptApprovalPeriod);
|
||||
|
||||
|
||||
|
||||
ServiceInvoicePeriod serviceInvoicePeriod = CreateServiceInvoicePeriod(approvalPeriodDC, invoiceAccountingPeriodSpan);
|
||||
serviceInvoicePeriod.SupportConceptApprovalPeriod = tsc.SupportConceptApprovalPeriod;
|
||||
serviceInvoicePeriod.Customer = tsc.CostBearer2SupportConcept.SupportConcept.Customer;
|
||||
|
||||
CostBearer costBearer = tsc.CostBearer2SupportConcept.CostBearer;
|
||||
List<CostRatePeriodDC> costRates = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(costBearer.CostRatePeriods);
|
||||
|
||||
CostRatePeriodDC serviceUnit = costRates.GetCostRatePeriodForDate(CostRatePeriodType.MinutesPerServiceUnit, DateTime.Now);
|
||||
serviceInvoicePeriod.ServiceUnitName = serviceUnit.UnitName;
|
||||
|
||||
|
||||
var itemList = CreateInvoiceItems(invoice, serviceInvoicePeriod, invoicePeriod, serviceInvoicePeriod.SupportConceptApprovalPeriod);
|
||||
serviceInvoicePeriod.InvoiceItemList.AddRange(itemList);
|
||||
|
||||
|
||||
if (serviceInvoicePeriod.InvoiceItemList.Count > 0)
|
||||
invoice.ServiceInvoicePeriodList.Add(serviceInvoicePeriod);
|
||||
}
|
||||
}
|
||||
|
||||
private IList<TagesstrukturRechnungsdaten> CreateAbrechnungsdaten(DateTimeSpan invoicePeriod, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
|
||||
{
|
||||
var key2Rd = new Dictionary<string, TagesstrukturRechnungsdaten>();
|
||||
|
||||
var daten = new List<TagesstrukturRechnungsdaten>();
|
||||
|
||||
foreach (var iSupportConcept2ServiceRecords in supportConcepts2ServiceRecords)
|
||||
{
|
||||
var sc = iSupportConcept2ServiceRecords.Key;
|
||||
|
||||
|
||||
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(sc.CostBearerRelOids[0]);
|
||||
var ap = c2s.CostBearerContactPerson;
|
||||
|
||||
long oOid = c2s.CostBearer.Organisation.Oid.Value;
|
||||
long pOid = 0;
|
||||
if (ap != null)
|
||||
{
|
||||
pOid = ap.Oid.Value;
|
||||
}
|
||||
|
||||
TagesstrukturSupportConcept tsc = new TagesstrukturSupportConcept();
|
||||
tsc.SupportConcept = sc;
|
||||
tsc.CostBearer2SupportConcept = c2s;
|
||||
|
||||
String leistungstyp = "";
|
||||
|
||||
foreach (var scap in c2s.ApprovalPeriodList)
|
||||
{
|
||||
if (scap.StartDate < invoicePeriod.EndDate && scap.EndDate >= invoicePeriod.StartDate && scap.ServiceCategory != null)
|
||||
{
|
||||
String name = scap.ServiceCategory.Name.ToLower().Trim();
|
||||
|
||||
if (name.Contains("pw118133") || name.Contains("pw118134"))
|
||||
{
|
||||
tsc.SupportConceptApprovalPeriod = scap;
|
||||
leistungstyp = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String key = String.Format("{0}_{1}_{2}", oOid, pOid, leistungstyp);
|
||||
|
||||
TagesstrukturRechnungsdaten td = null;
|
||||
if (!key2Rd.ContainsKey(key))
|
||||
{
|
||||
td = new TagesstrukturRechnungsdaten();
|
||||
td.CostBearer = c2s.CostBearer;
|
||||
td.Ansprechpartner = ap;
|
||||
td.SupportConcepts = new List<TagesstrukturSupportConcept>();
|
||||
|
||||
key2Rd.Add(key, td);
|
||||
daten.Add(td);
|
||||
}
|
||||
else
|
||||
{
|
||||
td = key2Rd[key];
|
||||
}
|
||||
td.SupportConcepts.Add(tsc);
|
||||
}
|
||||
|
||||
|
||||
return daten;
|
||||
}
|
||||
|
||||
|
||||
private List<InvoiceItem> CreateInvoiceItems(ServiceInvoice invoice, ServiceInvoicePeriod sip, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
sip.ApprovedFixedAmount = 0;
|
||||
List<InvoiceItem> list = new List<InvoiceItem>();
|
||||
|
||||
DateTime dt = invoicePeriod.StartDate;
|
||||
var bookings = DAOFactory.SearchDAO.GetAdditionalServiceBookingsForCustomer(sip.Customer.Oid.Value, invoicePeriod.StartDate, invoicePeriod.EndDate);
|
||||
|
||||
while (dt <= invoicePeriod.EndDate)
|
||||
{
|
||||
list.Add(CreateInvoiceItem(dt, scap, bookings, sip.Customer));
|
||||
dt = dt.AddDays(1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
private InvoiceItem CreateInvoiceItem(DateTime dt, SupportConceptApprovalPeriod scap, IEnumerable<AdditionalServiceBooking> bookings, Customer c)
|
||||
{
|
||||
var invoiceItem = new InvoiceItem();
|
||||
|
||||
|
||||
var hasBookings = HasBookings(dt, bookings, c);
|
||||
decimal ts = 0;
|
||||
|
||||
if (dt.DayOfWeek != DayOfWeek.Saturday && dt.DayOfWeek != DayOfWeek.Sunday)
|
||||
{
|
||||
var at = GetAbsenceTimes(dt, c.AbsenceTimes);
|
||||
if (at != null)
|
||||
{
|
||||
var name = at.AbsenceReason.Description.ToLower();
|
||||
if (name.Contains("urlaub"))
|
||||
{
|
||||
invoiceItem.UnitDescription = "U";
|
||||
}
|
||||
else if (name.Contains("krank"))
|
||||
{
|
||||
invoiceItem.UnitDescription = "K";
|
||||
}
|
||||
else if (name.Contains("unentschuldigt"))
|
||||
{
|
||||
invoiceItem.UnitDescription = "UE";
|
||||
}
|
||||
else if (name.Contains("entschuldigt"))
|
||||
{
|
||||
invoiceItem.UnitDescription = "E";
|
||||
}
|
||||
else if (name.Contains("corona"))
|
||||
{
|
||||
invoiceItem.UnitDescription = "C";
|
||||
}
|
||||
else
|
||||
{
|
||||
invoiceItem.UnitDescription = "U";
|
||||
}
|
||||
|
||||
if (DarfAbwesenheitAbrechnen(c, dt, scap))
|
||||
{
|
||||
ts = GetTagessatz(dt, scap) ?? 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (hasBookings && String.IsNullOrEmpty(invoiceItem.UnitDescription))
|
||||
{
|
||||
ts = GetTagessatz(dt, scap) ?? 0;
|
||||
invoiceItem.UnitDescription = "I";
|
||||
}
|
||||
|
||||
invoiceItem.AmountPerUnit = ts;
|
||||
invoiceItem.UnitCount = 1;
|
||||
invoiceItem.AmountTotal = ts;
|
||||
invoiceItem.ItemPeriodStart = dt;
|
||||
invoiceItem.ItemPeriodEnd = dt;
|
||||
invoiceItem.GrossAmountTotal = ts;
|
||||
invoiceItem.AccountingInterval = AccountingIntervalType.Daily;
|
||||
if (scap != null)
|
||||
{
|
||||
invoiceItem.SupportConceptApprovalPeriodOid = scap.Oid;
|
||||
|
||||
if (scap.ServiceCategory != null)
|
||||
{
|
||||
invoiceItem.ItemDescription = scap.ServiceCategory.Name;
|
||||
}
|
||||
}
|
||||
|
||||
return invoiceItem;
|
||||
}
|
||||
|
||||
private bool DarfAbwesenheitAbrechnen(Customer customer, DateTime dt, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool HasBookings(DateTime dt, IEnumerable<AdditionalServiceBooking> bookings, Customer c)
|
||||
{
|
||||
foreach (var b in bookings)
|
||||
{
|
||||
if (b.AdditionalServiceRegion.IsActive != ActivationTypeId.Deleted &&
|
||||
b.AdditionalServiceRegion.AdditionalService.IsActive != ActivationTypeId.Deleted)
|
||||
{
|
||||
var angebot = b.AdditionalServiceRegion.AdditionalService;
|
||||
if (angebot.Name == "Tagesstruktur")
|
||||
{
|
||||
if (b.Datum.Value.Date == dt.Date)
|
||||
{
|
||||
foreach (var c2a in b.Customer2AddServiceBookings)
|
||||
{
|
||||
if (c2a.CustomerOid == c.Oid.Value && c2a.Participated)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private AbsenceTime GetAbsenceTimes(DateTime dt, IList<AbsenceTime> absenceTimes)
|
||||
{
|
||||
foreach (var at in absenceTimes)
|
||||
{
|
||||
if (IstTsAbsenceTime(at))
|
||||
{
|
||||
if ((!at.Start.HasValue || at.Start.Value <= dt) && (!at.End.HasValue || at.End.Value >= dt))
|
||||
{
|
||||
return at;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
private bool IstTsAbsenceTime(AbsenceTime at)
|
||||
{
|
||||
var name = at.AbsenceReason.Description;
|
||||
if (!name.Contains("WST"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private decimal? GetTagessatz(DateTime dt, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
if (scap.ServiceCategory != null)
|
||||
{
|
||||
var crps = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(scap.ServiceCategory
|
||||
.CostRatePeriods);
|
||||
|
||||
var cr = crps.GetCostRatePeriodForDate(CostRatePeriodType.AmountOfMoney, dt);
|
||||
if (cr != null && cr.CostRateValue.HasValue)
|
||||
{
|
||||
return cr.CostRateValue.Value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class TagesstrukturRechnungsdaten
|
||||
{
|
||||
public CostBearer CostBearer { get; set; }
|
||||
|
||||
//public Organisation Organisation { get; set; }
|
||||
|
||||
public Person Ansprechpartner { get; set; }
|
||||
|
||||
public IList<TagesstrukturSupportConcept> SupportConcepts { get; set; }
|
||||
}
|
||||
|
||||
public class TagesstrukturSupportConcept
|
||||
{
|
||||
public CompactSupportConceptDC SupportConcept { get; set; }
|
||||
|
||||
public CostBearer2SupportConcept CostBearer2SupportConcept { get; set; }
|
||||
|
||||
public SupportConceptApprovalPeriod SupportConceptApprovalPeriod { get; set; }
|
||||
}
|
||||
}
|
||||
451
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.Designer.cs
generated
Normal file
451
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.Designer.cs
generated
Normal file
@@ -0,0 +1,451 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungTagesstaetteKiel
|
||||
{
|
||||
/// <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(RechnungTagesstaetteKiel));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 158F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel8,
|
||||
this.lblAbrechnungszeitraum,
|
||||
this.xrLabel5,
|
||||
this.xrLabel2,
|
||||
this.xrLabel7,
|
||||
this.xrLabel6,
|
||||
this.xrLabel10,
|
||||
this.xrLabel3,
|
||||
this.xrTable1});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 500.9584F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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]";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Kiel";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = "21 Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.xrLabel9,
|
||||
this.xrLabel11,
|
||||
this.xrLabel12});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(4.250157F, 122.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(4.083344F, 50.45829F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(4.083344F, 85.74991F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(4.250157F, 139.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(554.5449F, 246.875F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(147.4551F, 23F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// RechnungTagesstaetteKiel
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 50, 158, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungTagesstaetteKiel.Watermark.Image")));
|
||||
this.Watermark.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
}
|
||||
}
|
||||
38
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.cs
Normal file
38
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungTagesstaetteKiel : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungTagesstaetteKiel()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
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 Tätigkeiten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].GrossAmount);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
22460
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.resx
Normal file
22460
ReportImp/AwoKreisverbandPloen/RechnungTagesstaetteKiel.resx
Normal file
File diff suppressed because it is too large
Load Diff
451
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.Designer.cs
generated
Normal file
451
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.Designer.cs
generated
Normal file
@@ -0,0 +1,451 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungTagesstaettePreetz
|
||||
{
|
||||
/// <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(RechnungTagesstaettePreetz));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 158F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblAbrechnungszeitraum,
|
||||
this.xrLabel8,
|
||||
this.xrLabel5,
|
||||
this.xrLabel2,
|
||||
this.xrLabel7,
|
||||
this.xrLabel6,
|
||||
this.xrLabel10,
|
||||
this.xrLabel3,
|
||||
this.xrTable1});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 500.9584F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(555.7115F, 244.9168F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.2885F, 23.00002F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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]";
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Preetz";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = "21 Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.xrLabel9,
|
||||
this.xrLabel11,
|
||||
this.xrLabel12});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(4.250157F, 122.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(4.083344F, 50.45829F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(4.083344F, 85.74991F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(4.250157F, 139.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// RechnungTagesstaettePreetz
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 53, 158, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungTagesstaettePreetz.Watermark.Image")));
|
||||
this.Watermark.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
}
|
||||
}
|
||||
38
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.cs
Normal file
38
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungTagesstaettePreetz : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungTagesstaettePreetz()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
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 Tätigkeiten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].GrossAmount);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
1509
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.resx
Normal file
1509
ReportImp/AwoKreisverbandPloen/RechnungTagesstaettePreetz.resx
Normal file
File diff suppressed because it is too large
Load Diff
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenKiel.Designer.cs
generated
Normal file
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenKiel.Designer.cs
generated
Normal file
@@ -0,0 +1,450 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungVerpflegungskostenKiel
|
||||
{
|
||||
/// <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(RechnungVerpflegungskostenKiel));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = 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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 167F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel8,
|
||||
this.xrTable1,
|
||||
this.xrLabel3,
|
||||
this.xrLabel10,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel2,
|
||||
this.xrLabel5,
|
||||
this.lblAbrechnungszeitraum});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 528.0417F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = "21 Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Kiel";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 128.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel12,
|
||||
this.xrLabel11,
|
||||
this.xrLabel9,
|
||||
this.xrLabel15});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 145.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.74989F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.45828F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(553.7115F, 243.1459F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.2885F, 23.00002F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// RechnungVerpflegungskostenKiel
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 55, 167, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungVerpflegungskostenKiel.Watermark.Image")));
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
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.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungVerpflegungskostenKiel : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungVerpflegungskostenKiel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Monat {0:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].GrossAmount);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
22460
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenKiel.resx
Normal file
22460
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenKiel.resx
Normal file
File diff suppressed because it is too large
Load Diff
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenPreetz.Designer.cs
generated
Normal file
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenPreetz.Designer.cs
generated
Normal file
@@ -0,0 +1,450 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungVerpflegungskostenPreetz
|
||||
{
|
||||
/// <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(RechnungVerpflegungskostenPreetz));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = 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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 167F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel8,
|
||||
this.xrTable1,
|
||||
this.xrLabel3,
|
||||
this.xrLabel10,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel2,
|
||||
this.xrLabel5,
|
||||
this.lblAbrechnungszeitraum});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 528.0417F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = "21 Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Preetz";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 128.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel12,
|
||||
this.xrLabel11,
|
||||
this.xrLabel9,
|
||||
this.xrLabel15});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 145.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.74989F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.45828F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(555.7115F, 240.0209F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.2885F, 23.00002F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// RechnungVerpflegungskostenPreetz
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 53, 167, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungVerpflegungskostenPreetz.Watermark.Image")));
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
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.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungVerpflegungskostenPreetz : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungVerpflegungskostenPreetz()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Monat {0:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[1].GrossAmount);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
1509
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenPreetz.resx
Normal file
1509
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenPreetz.resx
Normal file
File diff suppressed because it is too large
Load Diff
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenSelbstzahlerKiel.Designer.cs
generated
Normal file
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenSelbstzahlerKiel.Designer.cs
generated
Normal file
@@ -0,0 +1,450 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungVerpflegungskostenSelbstzahlerKiel
|
||||
{
|
||||
/// <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(RechnungVerpflegungskostenSelbstzahlerKiel));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = 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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 167F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel8,
|
||||
this.xrTable1,
|
||||
this.xrLabel3,
|
||||
this.xrLabel10,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel2,
|
||||
this.xrLabel5,
|
||||
this.lblAbrechnungszeitraum});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 528.0417F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(553.7115F, 243.1459F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.2885F, 23.00002F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = " Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Kiel";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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 = "[CustomerFirstName] [CustomerLastName]\r\n[CustomerStreet]\r\n[CustomerPostalCode] [C" +
|
||||
"ustomerTown]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 128.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel12,
|
||||
this.xrLabel11,
|
||||
this.xrLabel9,
|
||||
this.xrLabel15});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 145.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.74989F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.45828F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// RechnungVerpflegungskostenSelbstzahlerKiel
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 55, 167, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungVerpflegungskostenSelbstzahlerKiel.Watermark.Image")));
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
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.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungVerpflegungskostenSelbstzahlerKiel : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungVerpflegungskostenSelbstzahlerKiel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Monat {0:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].GrossAmount);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenSelbstzahlerPreetz.Designer.cs
generated
Normal file
450
ReportImp/AwoKreisverbandPloen/RechnungVerpflegungskostenSelbstzahlerPreetz.Designer.cs
generated
Normal file
@@ -0,0 +1,450 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
partial class RechnungVerpflegungskostenSelbstzahlerPreetz
|
||||
{
|
||||
/// <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(RechnungVerpflegungskostenSelbstzahlerPreetz));
|
||||
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.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.tc_Tage = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_PreisProEinheit = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.tc_Gesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = 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.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 System.Drawing.Font("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.HeightF = 167F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Page1
|
||||
//
|
||||
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel8,
|
||||
this.xrTable1,
|
||||
this.xrLabel3,
|
||||
this.xrLabel10,
|
||||
this.xrLabel6,
|
||||
this.xrLabel7,
|
||||
this.xrLabel2,
|
||||
this.xrLabel5,
|
||||
this.lblAbrechnungszeitraum});
|
||||
this.Page1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Page1.HeightF = 528.0417F;
|
||||
this.Page1.Name = "Page1";
|
||||
this.Page1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(553.7115F, 243.1459F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.2885F, 23.00002F);
|
||||
this.xrLabel8.StylePriority.UsePadding = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Schönkirchen, den [InvoiceDate]";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(79.25008F, 475.9584F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(522.6665F, 25F);
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.tc_Tage,
|
||||
this.xrTableCell3,
|
||||
this.tc_PreisProEinheit,
|
||||
this.xrTableCell5,
|
||||
this.tc_Gesamtpreis});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// tc_Tage
|
||||
//
|
||||
this.tc_Tage.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Tage.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Tage.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Tage.Name = "tc_Tage";
|
||||
this.tc_Tage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Tage.StylePriority.UseBorderColor = false;
|
||||
this.tc_Tage.StylePriority.UseBorders = false;
|
||||
this.tc_Tage.StylePriority.UseFont = false;
|
||||
this.tc_Tage.StylePriority.UsePadding = false;
|
||||
this.tc_Tage.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Tage.Text = " Tage";
|
||||
this.tc_Tage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Tage.Weight = 0.50387798738645029D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "x";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell3.Weight = 0.22082662138479381D;
|
||||
//
|
||||
// tc_PreisProEinheit
|
||||
//
|
||||
this.tc_PreisProEinheit.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_PreisProEinheit.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_PreisProEinheit.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_PreisProEinheit.Name = "tc_PreisProEinheit";
|
||||
this.tc_PreisProEinheit.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorderColor = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseBorders = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseFont = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UsePadding = false;
|
||||
this.tc_PreisProEinheit.StylePriority.UseTextAlignment = false;
|
||||
this.tc_PreisProEinheit.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.tc_PreisProEinheit.Weight = 0.8801697801308106D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrTableCell5.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "=";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell5.Weight = 0.15694261151164241D;
|
||||
//
|
||||
// tc_Gesamtpreis
|
||||
//
|
||||
this.tc_Gesamtpreis.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.tc_Gesamtpreis.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.tc_Gesamtpreis.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tc_Gesamtpreis.Name = "tc_Gesamtpreis";
|
||||
this.tc_Gesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorderColor = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseBorders = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseFont = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UsePadding = false;
|
||||
this.tc_Gesamtpreis.StylePriority.UseTextAlignment = false;
|
||||
this.tc_Gesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.tc_Gesamtpreis.Weight = 0.5542825560626935D;
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 334.7918F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(317F, 17F);
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "Gerontopsychiatrische Tagesstätte Preetz";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 280.2084F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.Text = "KundenNr.: [DebitorNumber]";
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel6
|
||||
//
|
||||
this.xrLabel6.Font = new System.Drawing.Font("Arial", 7F);
|
||||
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel6.Name = "xrLabel6";
|
||||
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel6.SizeF = new System.Drawing.SizeF(385.4167F, 17F);
|
||||
this.xrLabel6.StylePriority.UseFont = false;
|
||||
this.xrLabel6.Text = "AWO Kreisverband Plön e.V., Schönberger Landstr. 67, 24232 Schönkirchen";
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.58333F);
|
||||
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 = "[CustomerFirstName] [CustomerLastName]\r\n[CustomerStreet]\r\n[CustomerPostalCode] [C" +
|
||||
"ustomerTown]";
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel2.CanShrink = true;
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.1667817F, 300.2084F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.8332F, 20F);
|
||||
this.xrLabel2.StylePriority.UseBackColor = false;
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "RechnungNr.: [InvoiceNumber]";
|
||||
this.xrLabel2.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 392.2917F);
|
||||
this.xrLabel5.Name = "xrLabel5";
|
||||
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel5.SizeF = new System.Drawing.SizeF(410.75F, 17F);
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.Text = "[CustomerSalutation] [CustomerLastName]";
|
||||
//
|
||||
// lblAbrechnungszeitraum
|
||||
//
|
||||
this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 423.9583F);
|
||||
this.lblAbrechnungszeitraum.Multiline = true;
|
||||
this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum";
|
||||
this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(668.8333F, 41.58337F);
|
||||
this.lblAbrechnungszeitraum.StylePriority.UseFont = false;
|
||||
this.lblAbrechnungszeitraum.Text = "für den ... berechnen wir Ihnen folgende Verpflegungskosten";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 128.125F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Mit freundlichen Grüßen";
|
||||
//
|
||||
// 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.HeightF = 0F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel12,
|
||||
this.xrLabel11,
|
||||
this.xrLabel9,
|
||||
this.xrLabel15});
|
||||
this.GroupFooter1.HeightF = 206.5833F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0.1668135F, 145.125F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(224.8332F, 17F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "AWO Kreisverband Plön e.V.";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.74989F);
|
||||
this.xrLabel11.Multiline = true;
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(668.8333F, 36.37511F);
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.Text = "Diese Leistung ist umsatzsteuerbefreit gemäß § 4 Nr. 16h UStG.";
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.45828F);
|
||||
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(668.8333F, 35.29161F);
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.Text = "Wir bitten um Überweisung des Rechnungsbetrages unter Angabe der o.a. Kundennumme" +
|
||||
"r auf unser Konto IBAN: DE10 2105 0170 0100 1109 64 BIC: NOLADE21KIE";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// RechnungVerpflegungskostenSelbstzahlerPreetz
|
||||
//
|
||||
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 System.Drawing.Font("Verdana", 10F);
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 55, 167, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("RechnungVerpflegungskostenSelbstzahlerPreetz.Watermark.Image")));
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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 xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
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.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Tage;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_PreisProEinheit;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell tc_Gesamtpreis;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public partial class RechnungVerpflegungskostenSelbstzahlerPreetz : XtraReport, IBeWoReport<ServiceInvoiceRO>
|
||||
{
|
||||
public RechnungVerpflegungskostenSelbstzahlerPreetz()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Monat {0:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAbrechnungszeitraum.Text = String.Format("für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} berechnen wir Ihnen folgende Verpflegungskosten:", start, end);
|
||||
}
|
||||
|
||||
var tage = pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].UnitCount;
|
||||
tc_Tage.Text = tage == 1 ? string.Format("{0:0 Tag}", tage) : string.Format("{0:0 Tage}", tage);
|
||||
tc_PreisProEinheit.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].AmountPerUnit);
|
||||
tc_Gesamtpreis.Text = string.Format("{0:c}", pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].GrossAmount);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
149
ReportImp/AwoKreisverbandPloen/Reporting/CustomReportCreator.cs
Normal file
149
ReportImp/AwoKreisverbandPloen/Reporting/CustomReportCreator.cs
Normal file
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Plugins;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using AwoKreisverbandPloen.Invoicing;
|
||||
|
||||
namespace AwoKreisverbandPloen
|
||||
{
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid)
|
||||
{
|
||||
IBeWoReport<ServiceInvoiceRO> allReports = null;
|
||||
IBeWoReport<ServiceInvoiceRO> singleReport = null;
|
||||
|
||||
var dcList = new List<ServiceInvoiceDC>();
|
||||
|
||||
if (!invoiceBaseOid.HasValue && !string.IsNullOrEmpty(dcIds))
|
||||
{
|
||||
var dcidStrs = dcIds.Split(';');
|
||||
foreach (var oidStr in dcidStrs)
|
||||
{
|
||||
var oid = long.Parse(oidStr);
|
||||
var invoice = DAOFactory.GenericDAO.LoadByID<ServiceInvoice>(oid);
|
||||
var dc = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(invoice);
|
||||
dcList.Add(dc);
|
||||
}
|
||||
}
|
||||
|
||||
if (invoiceBaseOid.HasValue && invoiceBaseOid.Value > 0)
|
||||
{
|
||||
var ib = DAOFactory.GenericDAO.LoadByID<InvoiceBase>(invoiceBaseOid.Value);
|
||||
var si = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(invoiceBaseOid.Value);
|
||||
var dc = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(si);
|
||||
dcList.Add(dc);
|
||||
}
|
||||
|
||||
ServiceCategoryDC scDC = null;
|
||||
|
||||
|
||||
|
||||
foreach (var idc in dcList)
|
||||
{
|
||||
if (idc.InvoiceBase.SupportConceptCostBearerRelDc.ApprovalPeriodList.Count > 0)
|
||||
//scDC = idc.ServiceInvoicePeriods[0].SupportConceptApprovalPeriod.ServiceCategory;
|
||||
scDC = idc.InvoiceBase.SupportConceptCostBearerRelDc.ApprovalPeriodList[0].ServiceCategory;
|
||||
if (idc.InvoiceBase.InvoiceId == "RechnungVerpflegungskosten" && idc.ServiceInvoicePeriods.Count > 0)
|
||||
{
|
||||
if (allReports == null)
|
||||
{
|
||||
if (scDC != null)
|
||||
{
|
||||
if (!scDC.Abbreviation.IsNullOrEmpty())
|
||||
{
|
||||
if (scDC.Abbreviation.ToLower() == "tsk s")
|
||||
allReports = new RechnungVerpflegungskostenSelbstzahlerKiel();
|
||||
else if (scDC.Abbreviation.ToLower() == "tsp s")
|
||||
allReports = new RechnungVerpflegungskostenSelbstzahlerPreetz();
|
||||
else if (scDC.Abbreviation.ToLower().Contains("tsk"))
|
||||
allReports = new RechnungTagesstaetteKiel();
|
||||
else if (scDC.Abbreviation.ToLower().Contains("tsp"))
|
||||
allReports = new RechnungTagesstaettePreetz();
|
||||
else
|
||||
allReports = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
}
|
||||
else
|
||||
allReports = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
}
|
||||
else
|
||||
{
|
||||
allReports = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
}
|
||||
allReports.SetReportDataSource(ServiceInvoiceRO.Create(idc));
|
||||
((XtraReport)allReports).CreateDocument();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (scDC != null)
|
||||
{
|
||||
IBeWoReport<ServiceInvoiceRO> newReport = null;
|
||||
if (!scDC.Abbreviation.IsNullOrEmpty())
|
||||
{
|
||||
if (scDC.Abbreviation.ToLower() == "tsk s")
|
||||
newReport = new RechnungVerpflegungskostenSelbstzahlerKiel();
|
||||
else if (scDC.Abbreviation.ToLower() == "tsp s")
|
||||
newReport = new RechnungVerpflegungskostenSelbstzahlerPreetz();
|
||||
else if (scDC.Abbreviation.ToLower().Contains("tsk"))
|
||||
newReport = new RechnungTagesstaetteKiel();
|
||||
else if (scDC.Abbreviation.ToLower().Contains("tsp"))
|
||||
newReport = new RechnungTagesstaettePreetz();
|
||||
else
|
||||
newReport = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
}
|
||||
else
|
||||
newReport = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
newReport.SetReportDataSource(ServiceInvoiceRO.Create(idc));
|
||||
((XtraReport)newReport).CreateDocument();
|
||||
((XtraReport)allReports).Pages.AddRange(((XtraReport)newReport).Pages);
|
||||
}
|
||||
}
|
||||
var sc = idc.InvoiceBase.SupportConceptCostBearerRelDc.SupportConcept;
|
||||
|
||||
if (idc.ServiceInvoicePeriods[0].InvoiceItems.Count > 1 && idc.ServiceInvoicePeriods[0].InvoiceItems[1].UnitCount > 0 && scDC != null)
|
||||
{
|
||||
if (scDC.Name.ToLower().Contains("kiel"))
|
||||
singleReport = new RechnungVerpflegungskostenKiel();
|
||||
else if (scDC.Name.ToLower().Contains("preetz"))
|
||||
singleReport = new RechnungVerpflegungskostenPreetz();
|
||||
|
||||
singleReport.SetReportDataSource(ServiceInvoiceRO.Create(idc));
|
||||
((XtraReport)singleReport).CreateDocument();
|
||||
}
|
||||
}
|
||||
else
|
||||
allReports = new BeWo.Report.DefaultReports.ServiceInvoiceReport();
|
||||
|
||||
|
||||
|
||||
if (allReports == null)
|
||||
allReports = singleReport;
|
||||
else if (allReports != null && singleReport != null)
|
||||
((XtraReport)allReports).Pages.AddRange(((XtraReport)singleReport).Pages);
|
||||
}
|
||||
if (allReports == null)
|
||||
{
|
||||
return new XtraReport();
|
||||
}
|
||||
return allReports as XtraReport;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,7 +81,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "8001550599"; // Biallas BeWo
|
||||
//t = "7282396774"; // Caritas Unna
|
||||
//t = "6884855402"; // IBP
|
||||
t = "4867997795"; // ADiK Kleve
|
||||
//t = "4867997795"; // ADiK Kleve
|
||||
//t = "3184859776"; // Sergej Becker
|
||||
//t = "7752610643"; // BWK Gbr
|
||||
//t = "3785623125"; // Betreuwo
|
||||
@@ -300,7 +300,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "3536079480"; // Behindertenhilfe Menden
|
||||
//t = "5427523619"; // ChristopherusHausFamilienhilfe
|
||||
//t = "8251343124"; // Rat Plus Tat
|
||||
//t = "6819347851"; // Awo Kreisverband Plön
|
||||
t = "6819347851"; // Awo Kreisverband Plön
|
||||
//t = "2385915144"; // AKGG GmbHd
|
||||
//t = "8002913382"; // AKGG GmbH (MID)
|
||||
//t = "5155880294"; // BHV Bergische Hauspflege
|
||||
|
||||
Reference in New Issue
Block a user