Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo

This commit is contained in:
Christian
2023-09-25 19:03:14 +02:00
96 changed files with 14852 additions and 3901 deletions

View File

@@ -14,6 +14,7 @@
OpenObject="MainNavigationView_OpenObject"
DeleteObject="MainNavigationView_DeleteObject"
ExcelExport="MainNavigationView_ExcelExport"
Print="mainNavigationView_Print"
DeleteDemands="DeleteAll, EmployeeView_Delete"
CreateDemands="CreateAll, EmployeeView_Create"
ArchiveObject="MainNavigationView_ArchiveObject"

View File

@@ -294,5 +294,18 @@ namespace BeWo.View.Navigation
BeWoUtils.NavigateToReportUri(url, "Druckvorschau");
}
private void mainNavigationView_Print(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
{
var oids = e.Data.Cast<CompactEmployeeDC>().Select(c => c.EmployeeOid).ToList();
ServiceFacade.DoReportServiceAsync(s => s.CreateEmployeeListReport(oids), r =>
{
this.Dispatch(() =>
{
BeWoUtils.ShowReportWindow(r, Translator.Translate("Mitarbeiter"));
});
});
}
}
}

View File

@@ -17,6 +17,7 @@
DeleteDemands="DeleteAll, UserView_Delete"
CreateDemands="CreateAll, UserView_Create"
ExcelExport="mainNavigationView_ExcelExport"
Print="mainNavigationView_Print"
ContentGroupStyle="{StaticResource UserNavigationStyle}"
MainListItemStyle="{StaticResource SearchDetailStyle}"
HistoryListItemStyle="{StaticResource SearchSimpleStyle}"

View File

@@ -118,7 +118,18 @@ namespace BeWo.View.Navigation
ServiceFacade.DoDownloadServiceSync(s => BeWoUtils.WriteExcelFile(s.PrepareExcelFileUserExport(mainNavigationView.DownloadLinkEngine.ExcelFileId, e.Data.Cast<CompactUserDC>().Select(c => c.UserOid).ToList()), sf.FileName));
}
private void mainNavigationView_Print(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
{
var oids = e.Data.Cast<CompactUserDC>().Select(c => c.UserOid).ToList();
ServiceFacade.DoReportServiceAsync(s => s.CreateUserListReport(oids), r =>
{
this.Dispatch(() =>
{
BeWoUtils.ShowReportWindow(r, "Benutzer");
});
});
}
private void mainNavigationView_OpenObject(IFilterableDC obj)
{
CompactUserDC dc = obj as CompactUserDC;

View File

@@ -328,8 +328,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SPZLeverkusen", "ReportImp\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Weitblick-ambulantBeWo", "ReportImp\Weitblick-ambulantBeWo\Weitblick-ambulantBeWo.csproj", "{2E99BA67-61A2-47BD-8412-6ECBC126D83E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KomMitBewo", "ReportImp\KomMitBewo\KomMitBewo.csproj", "{1A585E99-09AB-4924-8FB9-9C9D1FE48044}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "skmRheydt", "ReportImp\skmRheydt\skmRheydt.csproj", "{B9C896DD-8C7D-4F37-B826-203D2E83D650}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FizHof", "ReportImp\FizHof\FizHof.csproj", "{D7E97D9E-0836-47AB-86C7-12E71CB5DA1E}"
@@ -800,6 +798,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DieLebenslotsen", "ReportIm
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SelfGbR", "ReportImp\SelfGbR\SelfGbR.csproj", "{BEAE2DED-A98E-4EF9-8390-A2432CF88E8B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KommMitBewo", "ReportImp\KomMitBewo\KommMitBewo.csproj", "{1A585E99-09AB-4924-8FB9-9C9D1FE48044}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -4163,26 +4163,6 @@ Global
{2E99BA67-61A2-47BD-8412-6ECBC126D83E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{2E99BA67-61A2-47BD-8412-6ECBC126D83E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{2E99BA67-61A2-47BD-8412-6ECBC126D83E}.Release|x86.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|.NET.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|x86.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|.NET.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|x86.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|x86.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|.NET.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Any CPU.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|x86.ActiveCfg = Release|Any CPU
{B9C896DD-8C7D-4F37-B826-203D2E83D650}.Debug|.NET.ActiveCfg = Debug|Any CPU
{B9C896DD-8C7D-4F37-B826-203D2E83D650}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B9C896DD-8C7D-4F37-B826-203D2E83D650}.Debug|Any CPU.Build.0 = Debug|Any CPU
@@ -9783,6 +9763,30 @@ Global
{BEAE2DED-A98E-4EF9-8390-A2432CF88E8B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{BEAE2DED-A98E-4EF9-8390-A2432CF88E8B}.Release|x86.ActiveCfg = Release|Any CPU
{BEAE2DED-A98E-4EF9-8390-A2432CF88E8B}.Release|x86.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|.NET.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|.NET.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|x86.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Debug|x86.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|.NET.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|x86.ActiveCfg = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.DebugRemote|x86.Build.0 = Debug|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|.NET.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|.NET.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Any CPU.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|x86.ActiveCfg = Release|Any CPU
{1A585E99-09AB-4924-8FB9-9C9D1FE48044}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -9945,7 +9949,6 @@ Global
{CC3A5299-3AB5-4572-8134-8A06E6456F6E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{D33B3EBB-286F-4293-9EAD-2DD48DCFD956} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{2E99BA67-61A2-47BD-8412-6ECBC126D83E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{1A585E99-09AB-4924-8FB9-9C9D1FE48044} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{B9C896DD-8C7D-4F37-B826-203D2E83D650} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{D7E97D9E-0836-47AB-86C7-12E71CB5DA1E} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{9D5A3145-0161-42CC-B122-E759C81C4246} = {D8A691C5-146D-4613-86CC-438F02FE9106}
@@ -10181,6 +10184,7 @@ Global
{95342759-C161-4A44-8130-9740E57FE3A1} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{1D72670D-FC74-4806-B6B8-847BB01718B9} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{BEAE2DED-A98E-4EF9-8390-A2432CF88E8B} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{1A585E99-09AB-4924-8FB9-9C9D1FE48044} = {D8A691C5-146D-4613-86CC-438F02FE9106}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}

View File

@@ -1062,10 +1062,13 @@ namespace BeWoPlanerMobil.Controllers
Model.NewServiceRecord.Goals = Model.SelectedGoals;
Model.NewServiceRecord.Start = zeitenFeld[0];
Model.NewServiceRecord.End = zeitenFeld[1];
if(marker)
{
Model.NewServiceRecord.ServiceRecordType = ServiceRecordTypeId.Content;
}
Model.NewServiceRecord.DistanceInMeter = null;
Model.NewServiceRecord.DistanceInMeterDecimal = distanceInMeters;
if(Model.Employee.EmployeeOid.HasValue)

View File

@@ -579,7 +579,7 @@ namespace BeWoPlanerMobil.Models
}
}
public string DistanceToEdit => SelectedServiceRecord?.DistanceInMeter.ToString() ?? string.Empty;
public string DistanceToEdit => SelectedServiceRecord?.DistanceInMeterDecimal.ToString() ?? string.Empty;
public string NoticeToEdit => SelectedServiceRecord?.NoticeList.FirstOrDefault() ?? string.Empty;

View File

@@ -10,9 +10,9 @@ namespace BeWo.Report
public abstract class AbstractReportCreator
{
public string TempPath { get; set; }
public long? TemplateOid { get; set; }
public long? TemplateOid { get; set; }
public abstract XtraReport CreateCustomerDataReport(long customerOid);
public abstract XtraReport CreateCustomerDataReport(long customerOid);
public abstract XtraReport CreateCustomerInvoiceReport(long invoiceOid);
@@ -24,27 +24,27 @@ namespace BeWo.Report
public abstract XtraReport CreateServiceInvoiceReport(String dcIds, long? invoiceBaseOid);
public abstract XtraReport CreateServiceOverviewReportNew(int month, int year, QBFilterEnum filterType, long? customerOid, long? teamOid, long? empOid, long? orgaOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende);
public abstract XtraReport CreateServiceOverviewReportNew(int month, int year, QBFilterEnum filterType, long? customerOid, long? teamOid, long? empOid, long? orgaOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende);
public abstract XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid,
long? serviceCategoryOid,
int startDay, int endDay, bool nurFehlende);
public abstract XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid,
long? serviceCategoryOid,
int startDay, int endDay, bool nurFehlende);
public abstract XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year,
long orgaOid, long empOid,
long? serviceCategoryOid, int startDay,
int endDay);
long orgaOid, long empOid,
long? serviceCategoryOid, int startDay,
int endDay);
public abstract XtraReport CreateServiceRecordListReport(long employeeOid, long customerOid, long supportConceptOid,
long costbearer2SupportConceptOid, bool isLimitedToAdditionalServices,
long costbearer2SupportConceptOid, bool isLimitedToAdditionalServices,
DateTimeSpan limitingTimeSpan);
public abstract XtraReport CreateSettlementReport(String dcId, long? invoiceBaseOid);
public abstract XtraReport CreateSupportConceptReport(IList<long> c2sOids, long? employeeOid, long? teamOid, long? catOid, int? expiredMonths, bool archivedSupportConcepts, DateTime? startDate, DateTime? endDate);
public abstract XtraReport CreateAdditionalServiceBookingReport(long addServiceRegionOid, Monat month, int year);
public abstract XtraReport CreateSupportConceptReport(IList<long> c2sOids, long? employeeOid, long? teamOid, long? catOid, int? expiredMonths, bool archivedSupportConcepts, DateTime? startDate, DateTime? endDate);
public abstract XtraReport CreateAdditionalServiceBookingReport(long addServiceRegionOid, Monat month, int year);
public abstract XtraReport CreateEmployeeHourReport(long? employeeOid, IList<long> teamOids, DateTime startDate, DateTime endDate, int ansicht);
@@ -63,35 +63,35 @@ namespace BeWo.Report
public abstract XtraReport CreateKassenbelegReport(BargeldtransaktionDC transaktion, long objectOid, TableID objectTid);
public abstract XtraReport CreateEmployeeDataReport(long oid);
public abstract XtraReport CreateEmployeeDataReport(long oid);
public abstract XtraReport CreateNotizenReport(long kategorieOid, DateTime start, DateTime end);
public abstract XtraReport CreateNotizenReport(long kategorieOid, DateTime start, DateTime end);
public abstract XtraReport CreateBewertungsstatistikReport(DateTime? start, DateTime? end, SupportConceptDC supportConcept, bool inclZeiterfassung, List<ValueListEntryDC> ziele, List<RatingDC> scZiele);
public abstract XtraReport CreateSBDCharacteristicsReport(long customerOid);
public abstract XtraReport CreateSBDCharacteristicsReport(long customerOid);
public abstract XtraReport CreateSbdLeistungsnachweisForAllCustomers(int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay, bool checkServiceRecords, string bundesland);
public abstract XtraReport CreateSbdLeistungsnachweisForAllCustomers(int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay, bool checkServiceRecords, string bundesland);
public abstract XtraReport CreateSbdLeistungsnachweisForSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay, bool checkServiceRecords, string bundesland);
public abstract XtraReport CreateSbdLeistungsnachweisForSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay, bool checkServiceRecords, string bundesland);
public abstract XtraReport CreateCustomReport(long employeeOid, String reportName);
public abstract XtraReport CreateCustomReport(long employeeOid, String reportName);
public abstract XtraReport CreateAbsenceReport(DateTime dt, List<long> abs, List<long> empTypes, List<long> teams, List<int> feiertage);
public abstract XtraReport CreateAbsenceReport(DateTime dt, List<long> abs, List<long> empTypes, List<long> teams, List<int> feiertage);
public abstract XtraReport CreateRosterReport(long wOid, DateTime dt, List<int> feiertage, int sortingIndex, bool aufsteigend, long creator);
public abstract XtraReport CreateRosterReport(long wOid, DateTime dt, List<int> feiertage, int sortingIndex, bool aufsteigend, long creator);
public abstract XtraReport CreateRosterReportIst(long wOid, DateTime dt);
public abstract XtraReport CreateRosterReportIst(long wOid, DateTime dt);
public abstract XtraReport CreateKilometerauswertung(long customerOid, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateKilometerauswertung(long customerOid, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateKilometerauswertungForAllCustomers(List<long> customerOids, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateKilometerauswertungForAllCustomers(List<long> customerOids, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateEmployeeKilometerauswertung(long employeeOid, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateEmployeeKilometerauswertung(long employeeOid, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateKilometerauswertungForAllEmployees(List<long> employeeOids, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateKilometerauswertungForAllEmployees(List<long> employeeOids, List<long> serviceDescriptionOids, DateTime start, DateTime end);
public abstract XtraReport CreateVorlagenReport(long template, List<long> objectOids, long table);
public abstract XtraReport CreateAbwesenheitsPrintReport(List<long> oids, string titel);
public abstract XtraReport CreateAbwesenheitsPrintReport(List<long> oids, string titel);
public abstract XtraReport CreateEmployeeCustomerListReport(long? employeeOid);
@@ -107,6 +107,12 @@ namespace BeWo.Report
public abstract XtraReport CreatePersonListReport(List<long> oids);
public abstract XtraReport CreateEmployeeListReport(List<long> oids);
public abstract XtraReport CreateUserListReport(List<long> oids);
public abstract XtraReport CreateUserGroupListReport(List<long> oids);
}
}

View File

@@ -17,6 +17,7 @@ using BS.Shared.DataContracts;
using DevExpress.XtraReports.UI;
using BS.Shared.DataContracts.Compact;
using BeWo.Service.Plugins;
using BeWo.Service.Reporting;
namespace BeWo.Report
{
@@ -119,7 +120,7 @@ namespace BeWo.Report
}
return attr.Identifier.Equals(specificReportId);
}
return false;
}
@@ -220,7 +221,7 @@ namespace BeWo.Report
{
var query = DAOFactory.GenericDAO.LoadByID<Query>(queryOid);
if(query is null)
if (query is null)
{
return new XtraReport();
}
@@ -396,7 +397,7 @@ namespace BeWo.Report
reportId = organisation.Name;
}
var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
var lServiceOverviewSingleCustomerReport = this.FindReportImp<ServicesOverviewRO>(reportId);
@@ -404,8 +405,8 @@ namespace BeWo.Report
{
lServiceOverviewSingleCustomerReport.SetReportDataSource(ro);
}
return lServiceOverviewSingleCustomerReport as XtraReport;
}
@@ -548,7 +549,7 @@ namespace BeWo.Report
customerOids.Add(c.Oid.Value);
}
}
}
}
@@ -717,10 +718,10 @@ namespace BeWo.Report
CostBearer2SupportConcept c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(lSettlementDC.CostBearer2SupportConceptOid.Value);
reportId = c2s.CostBearer.ID;
}
if (lSettlementDC.DifferentHourlyRateCount > 0)
{
IBeWoReport<SettlementRO> lSettlementReport = FindReportImp<SettlementRO>(reportId);
var ro = SettlementRO.Create(lSettlementDC);
lSettlementReport.SetReportDataSource(ro);
@@ -733,9 +734,9 @@ namespace BeWo.Report
lSettlementReport.SetReportDataSource(Settlement2RO.Create(lSettlementDC));
report = lSettlementReport as XtraReport;
}
if (createAnhang)
{
if (report != null)
@@ -750,7 +751,7 @@ namespace BeWo.Report
}
}
}
return report;
}
@@ -814,7 +815,7 @@ namespace BeWo.Report
}
}
var reportObject = MitarbeiterstundenkontoRO.Create(employeeOid, teamOids, startDate, endDate, null);
var reportObject = MitarbeiterstundenkontoRO.Create(employeeOid, teamOids, startDate, endDate, null);
report.SetReportDataSource(reportObject);
return report as XtraReport;
@@ -969,16 +970,16 @@ namespace BeWo.Report
{
var report = FindReportImp<EmployeeKilometerauswertungsRO>();
report.SetReportDataSource(EmployeeKilometerauswertungsRO.Create(MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(DAOFactory.GenericDAO.LoadByID<Employee>(employeeOid)), serviceDescriptionOids, start, end));
report.SetReportDataSource(EmployeeKilometerauswertungsRO.Create(MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(DAOFactory.GenericDAO.LoadByID<Employee>(employeeOid)), serviceDescriptionOids, start, end));
return report as XtraReport;
return report as XtraReport;
}
public override XtraReport CreateKilometerauswertungForAllEmployees(List<long> employeeOids, List<long> serviceDescriptionOids, DateTime start, DateTime end)
{
var report = FindReportImp<EmployeeKilometerauswertungsListRO>();
report.SetReportDataSource(EmployeeKilometerauswertungsListRO.Create(MapperFactory.CompactEmployeeDC_Employee.MapToNewDCs(DAOFactory.GenericDAO.LoadByIDs<Employee>(employeeOids)), serviceDescriptionOids, start, end));
report.SetReportDataSource(EmployeeKilometerauswertungsListRO.Create(MapperFactory.CompactEmployeeDC_Employee.MapToNewDCs(DAOFactory.GenericDAO.LoadByIDs<Employee>(employeeOids)), serviceDescriptionOids, start, end));
return report as XtraReport;
}
@@ -987,12 +988,12 @@ namespace BeWo.Report
{
var report = FindReportImp<AbsenceRO>();
var service = new OperationsServiceImp();
var filter = new AbsenceOverviewFilterDC() { AbsenceReasons = abs, EmploymentType = empTypes, Year = dt.Year, Month = dt.Month, Teams = teams};
var filter = new AbsenceOverviewFilterDC() { AbsenceReasons = abs, EmploymentType = empTypes, Year = dt.Year, Month = dt.Month, Teams = teams };
List<CompactTeamDC> compactTeams = new List<CompactTeamDC>();
if (teams != null)
{
if(teams.Count > 0)
if (teams.Count > 0)
compactTeams = service.GetCertainTeamsById(teams);
}
@@ -1043,7 +1044,7 @@ namespace BeWo.Report
var opertionsService = new OperationsServiceImp();
var customerService = new CustomerServiceImp();
var employeeService = new EmployeeServiceImp();
var report = FindReportImp<RosterIstRO>();
var dienstEintraege = opertionsService.GetAllDienstEintraegeAsList(wOid, dt.Year, dt.Month);
@@ -1099,7 +1100,7 @@ namespace BeWo.Report
}
}
report.SetReportDataSource(RosterIstRO.Create(dienstEintraege, vertretungen, employee, opertionsService.GetAllDienste(wOid),
report.SetReportDataSource(RosterIstRO.Create(dienstEintraege, vertretungen, employee, opertionsService.GetAllDienste(wOid),
customerService.GetAllActiveWohnheimeCompact().First(x => x.WohnheimOid == wOid), dt.Year, dt.Month, feiertageDCs, absences, stundenBeiAbwesenheit));
return report as XtraReport;
@@ -1114,11 +1115,11 @@ namespace BeWo.Report
OperationsServiceImp operations = new OperationsServiceImp();
XtraReport mainReport = null;
foreach (var oid in objectOids)
{
string text = operations.ReplacePlaceholdersInTemplate(templateDC, oid, table);
var report = FindReportImp<VorlageRO>();
report.SetReportDataSource(VorlageRO.Create(text));
((XtraReport)report).CreateDocument();
@@ -1188,7 +1189,7 @@ namespace BeWo.Report
IBeWoReport<ValidationMessageListRO> report = FindReportImp<ValidationMessageListRO>();
report.SetReportDataSource(ValidationMessageListRO.Create(startDate, endDate, DAOFactory.SearchDAO.GetValidationMessagesForMonth(startDate, endDate).ToList()));
return report as XtraReport;
}
@@ -1225,21 +1226,22 @@ namespace BeWo.Report
{
master.Pages.AddRange(report.Pages);
}
}
}
return master;
}
public override XtraReport CreateCustomerListReport(List<long> oids)
{
{
var ro = CustomerListRO.Create(oids);
IBeWoReport<CustomerListRO> report = FindReportImp<CustomerListRO>();
report.SetReportDataSource(ro);
return report as XtraReport;
}
public override XtraReport CreatePersonListReport(List<long> oids)
{
var ro = PersonListRO.Create(oids);
@@ -1248,41 +1250,115 @@ namespace BeWo.Report
return report as XtraReport;
}
public override XtraReport CreateUserGroupListReport(List<long> oids)
public override XtraReport CreateUserListReport(List<long> oids)
{
var queryReport = FindReportImp<QueryRO>(null, "Benutzergruppen");
var lUserGroups = DAOFactory.GenericDAO.LoadByIDs<UserGroup>(oids);
#region alt
//var lUser = DAOFactory.GenericDAO.LoadByIDs<ApplicationUser>(oids);
string[] lHeaderCaption = {
"Name", // 0
"Beschreibung", // 1
"zugeordnete Rechte", // 2
};
//string[] lHeaderCaption = {
// "Mitarbeiter", // 0
// "Login", // 1
// "zugeordnete Benutzergruppen", // 2
// };
string[][] lContent = new string[lUserGroups.Count][];
//string[][] lContent = new string[lUser.Count][];
for (int iRowCount = 0; iRowCount < lUserGroups.Count; iRowCount++)
//for (int iRowCount = 0; iRowCount < lUser.Count; iRowCount++)
//{
// lContent[iRowCount] = new string[lHeaderCaption.Count()];
// if (lUser[iRowCount].Employee != null)
// lContent[iRowCount][0] = lUser[iRowCount].Employee.Person.FirstNameLastName;
// else
// lContent[iRowCount][0] = string.Empty;
// if (lUser[iRowCount].LoginName != null)
// lContent[iRowCount][1] = lUser[iRowCount].LoginName;
// else
// lContent[iRowCount][1] = string.Empty;
// if (lUser[iRowCount].UserGroups != null && lUser[iRowCount].UserGroups.Count > 0)
// lContent[iRowCount][2] = string.Join(", ", lUser[iRowCount].UserGroups.Select(
// r => r.Name).OrderBy(s => s).ToArray());
// else
// lContent[iRowCount][2] = string.Empty;
//}
#endregion
var helper = new ExportAndPrintHelper();
string[] lHeaderCaption = helper.PrepareHeaderArrayForUserExport();
string[][] lContent = helper.PrepareContentArrayForUserExport(oids.ToArray());
// Zweidimensionales Array zu DataTable konvertieren
DataTable table = new DataTable();
int columnNumber = 3;
for (int i = 0; i < columnNumber; i++)
table.Columns.Add(lHeaderCaption[i], typeof(string));
int rowNumber = lContent.GetLength(0);
for (int i = 0; i < rowNumber; i++)
{
lContent[iRowCount] = new string[lHeaderCaption.Count()];
if (lUserGroups[iRowCount].Name != null)
lContent[iRowCount][0] = lUserGroups[iRowCount].Name;
else
lContent[iRowCount][0] = string.Empty;
if (lUserGroups[iRowCount].Description != null)
lContent[iRowCount][1] = lUserGroups[iRowCount].Description;
else
lContent[iRowCount][1] = string.Empty;
if (lUserGroups[iRowCount].Rights != null && lUserGroups[iRowCount].Rights.Count > 0)
lContent[iRowCount][2] = string.Join(", ", lUserGroups[iRowCount].Rights.Select(
r => EnumTranslations.UserRightType2Translations[r.RightType]).OrderBy(s => s).ToArray());
else
lContent[iRowCount][2] = string.Empty;
DataRow row = table.NewRow();
for (int j = 0; j < columnNumber; j++)
{
row[j] = lContent[i][j];
}
table.Rows.Add(row);
}
var queryReportObject = QueryRO.Create(new Query() { Title = "Benutzer" }, table);
queryReportObject.Name = "Benutzer";
queryReport.SetReportDataSource(queryReportObject);
return queryReport as XtraReport;
}
public override XtraReport CreateEmployeeListReport(List<long> oids)
{
var ro = EmployeeListRO.Create(oids);
IBeWoReport<EmployeeListRO> report = FindReportImp<EmployeeListRO>();
report.SetReportDataSource(ro);
return report as XtraReport;
}
public override XtraReport CreateUserGroupListReport(List<long> oids)
{
var queryReport = FindReportImp<QueryRO>(null, "Benutzergruppen");
var helper = new ExportAndPrintHelper();
//var lUserGroups = DAOFactory.GenericDAO.LoadByIDs<UserGroup>(oids);
string[] lHeaderCaption = helper.PrepareHeaderArrayForUserGroupExport();
string[][] lContent = helper.PrepareContentArrayForUserGroupExport(oids.ToArray());
#region alt
//for (int iRowCount = 0; iRowCount < lUserGroups.Count; iRowCount++)
//{
// lContent[iRowCount] = new string[lHeaderCaption.Count()];
// if (lUserGroups[iRowCount].Name != null)
// lContent[iRowCount][0] = lUserGroups[iRowCount].Name;
// else
// lContent[iRowCount][0] = string.Empty;
// if (lUserGroups[iRowCount].Description != null)
// lContent[iRowCount][1] = lUserGroups[iRowCount].Description;
// else
// lContent[iRowCount][1] = string.Empty;
// if (lUserGroups[iRowCount].Rights != null && lUserGroups[iRowCount].Rights.Count > 0)
// lContent[iRowCount][2] = string.Join(", ", lUserGroups[iRowCount].Rights.Select(
// r => EnumTranslations.UserRightType2Translations[r.RightType]).OrderBy(s => s).ToArray());
// else
// lContent[iRowCount][2] = string.Empty;
//}
#endregion
DataTable table = new DataTable();
int columnNumber = 3;
for (int i = 0; i < columnNumber; i++)
@@ -1306,6 +1382,5 @@ namespace BeWo.Report
return queryReport as XtraReport;
}
}
}

View File

@@ -0,0 +1,305 @@
namespace BeWo.Report.DefaultReports
{
partial class EmployeeListReport
{
/// <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);
}
#region Designer generated code
/// <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();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.Einzahlungstextsichtbarkeitsformatierungsregel = new DevExpress.XtraReports.UI.FormattingRule();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.Auszahlungstextsichtbarkeitsformatierungsregel = new DevExpress.XtraReports.UI.FormattingRule();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.Detail.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Detail.HeightF = 25F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.StylePriority.UseFont = false;
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(700F, 25F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.StylePriority.UseBorders = false;
this.xrTableRow1.Weight = 0.59999992675782143D;
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Nachname";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell9.Weight = 0.69230768057016234D;
//
// xrTableCell1
//
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Vorname";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.69230768057016223D;
//
// xrTableCell2
//
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBorders = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Kürzel";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell2.Weight = 0.69230769817645732D;
//
// TopMargin
//
this.TopMargin.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.TopMargin.HeightF = 100F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.TopMargin.StylePriority.UseFont = false;
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel1
//
this.xrLabel1.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(650F, 37.33331F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "Mitarbeiter";
//
// BottomMargin
//
this.BottomMargin.HeightF = 74F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1});
this.DetailReport.DataMember = "EmployeeList";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.Detail1.HeightF = 25F;
this.Detail1.Name = "Detail1";
//
// xrTable2
//
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(700F, 25F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell4,
this.xrTableCell5});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 3, 0, 100F);
this.xrTableRow2.StylePriority.UsePadding = false;
this.xrTableRow2.Weight = 1D;
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeList.Employee.LastName", "{0:dd.MM.yyyy}")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.Weight = 0.69230768057016234D;
//
// xrTableCell4
//
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeList.Employee.FirstName", "{0:c}")});
this.xrTableCell4.FormattingRules.Add(this.Einzahlungstextsichtbarkeitsformatierungsregel);
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "xrTableCell4";
this.xrTableCell4.Weight = 0.69230768057016223D;
//
// Einzahlungstextsichtbarkeitsformatierungsregel
//
this.Einzahlungstextsichtbarkeitsformatierungsregel.Condition = "[Einzahlung] == 0";
this.Einzahlungstextsichtbarkeitsformatierungsregel.DataMember = "Transaktionen";
this.Einzahlungstextsichtbarkeitsformatierungsregel.Formatting.ForeColor = System.Drawing.Color.Transparent;
this.Einzahlungstextsichtbarkeitsformatierungsregel.Name = "Einzahlungstextsichtbarkeitsformatierungsregel";
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeList.Employee.Abbreviation", "{0:c}")});
this.xrTableCell5.FormattingRules.Add(this.Auszahlungstextsichtbarkeitsformatierungsregel);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "xrTableCell5";
this.xrTableCell5.Weight = 0.69230769817645732D;
//
// Auszahlungstextsichtbarkeitsformatierungsregel
//
this.Auszahlungstextsichtbarkeitsformatierungsregel.Condition = "[Auszahlung] == 0";
this.Auszahlungstextsichtbarkeitsformatierungsregel.DataMember = "Transaktionen";
this.Auszahlungstextsichtbarkeitsformatierungsregel.Formatting.ForeColor = System.Drawing.Color.Transparent;
this.Auszahlungstextsichtbarkeitsformatierungsregel.Name = "Auszahlungstextsichtbarkeitsformatierungsregel";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.EmployeeListRO);
//
// xrLabel2
//
this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.33332F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 25.66666F);
this.xrLabel2.StylePriority.UseFont = false;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrLabel1});
this.GroupHeader1.HeightF = 70F;
this.GroupHeader1.Name = "GroupHeader1";
//
// EmployeeListReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.TopMargin,
this.BottomMargin,
this.DetailReport,
this.GroupHeader1});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.Einzahlungstextsichtbarkeitsformatierungsregel,
this.Auszahlungstextsichtbarkeitsformatierungsregel});
this.Margins = new System.Drawing.Printing.Margins(75, 75, 100, 74);
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.FormattingRule Einzahlungstextsichtbarkeitsformatierungsregel;
private DevExpress.XtraReports.UI.FormattingRule Auszahlungstextsichtbarkeitsformatierungsregel;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
}
}

View File

@@ -0,0 +1,17 @@
using BeWo.Report.ReportObjects;
namespace BeWo.Report.DefaultReports
{
public partial class EmployeeListReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<EmployeeListRO>
{
public EmployeeListReport()
{
InitializeComponent();
}
public void SetReportDataSource(EmployeeListRO pRO)
{
bindingSource1.DataSource = pRO;
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -136,6 +136,12 @@
<Compile Include="DefaultReports\BudgetnachweisAnhang.Designer.cs">
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
</Compile>
<Compile Include="DefaultReports\EmployeeListReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="DefaultReports\EmployeeListReport.Designer.cs">
<DependentUpon>EmployeeListReport.cs</DependentUpon>
</Compile>
<Compile Include="DefaultReports\PersonListReport.cs">
<SubType>Component</SubType>
</Compile>
@@ -443,6 +449,7 @@
<Compile Include="DefaultReportCreator.cs" />
<Compile Include="ReportObjects\AbwesenheitsPrintRO.cs" />
<Compile Include="ReportObjects\BudgetnachweisAnhangRO.cs" />
<Compile Include="ReportObjects\EmployeeListRO.cs" />
<Compile Include="ReportObjects\PersonListRO.cs" />
<Compile Include="ReportObjects\CustomerListRO.cs" />
<Compile Include="ReportObjects\RatingRO.cs" />
@@ -503,6 +510,10 @@
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DefaultReports\EmployeeListReport.resx">
<DependentUpon>EmployeeListReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DefaultReports\PersonListReport.resx">
<DependentUpon>PersonListReport.cs</DependentUpon>
<SubType>Designer</SubType>

View File

@@ -0,0 +1,29 @@
using System.Collections.Generic;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
namespace BeWo.Report.ReportObjects
{
public class EmployeeListRO : AbstractBeWoReportObject<EmployeeListRO>
{
public List<EmployeeDataRO> EmployeeList { get; set; }
public static EmployeeListRO Create(List<long> oids)
{
var ro = new EmployeeListRO();
ro.EmployeeList = new List<EmployeeDataRO>();
var employees = DAOFactory.GenericDAO.LoadByIDs<Employee>(oids);
var dclist = MapperFactory.EmployeeDC_Employee.MapToNewDCs(employees);
foreach (var item in dclist)
{
var employeeRO = EmployeeDataRO.Create(item);
ro.EmployeeList.Add(employeeRO);
}
return ro;
}
}
}

View File

@@ -56,11 +56,17 @@
<Compile Include="CustomReportCreator.cs" />
<Compile Include="Export\CustomDataExporter.cs" />
<Compile Include="Export\DiamantExporter.cs" />
<Compile Include="Finanzauswertung.cs">
<Compile Include="StatusCheckAbrechnung.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Finanzauswertung.designer.cs">
<DependentUpon>Finanzauswertung.cs</DependentUpon>
<Compile Include="StatusCheckAbrechnung.designer.cs">
<DependentUpon>StatusCheckAbrechnung.cs</DependentUpon>
</Compile>
<Compile Include="Finanzplanung.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Finanzplanung.designer.cs">
<DependentUpon>Finanzplanung.cs</DependentUpon>
</Compile>
<Compile Include="FKPlanung.cs">
<SubType>Component</SubType>
@@ -164,8 +170,12 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Finanzauswertung.resx">
<DependentUpon>Finanzauswertung.cs</DependentUpon>
<EmbeddedResource Include="StatusCheckAbrechnung.resx">
<DependentUpon>StatusCheckAbrechnung.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Finanzplanung.resx">
<DependentUpon>Finanzplanung.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FKPlanung.resx">

View File

@@ -185,7 +185,21 @@ namespace AWOMuensterlandRecklinghausen
duration = item.RoundedDuration;
}
var d1 = item.Start.Value;
if (item.ServiceDescription != null && (item.ServiceDescription.Name.Contains("UT") || item.ServiceDescription.Name.Contains("Unterrichtsfrei")))
{
if (emp.Custom6 > 360)
{
emp.Custom6 = emp.Custom6 + 30;
}
duration = emp.Custom6;
}
if (!item.Notice.IsNullOrEmpty() && item.Notice.StartsWith("KF-Pauschale"))
{
duration = 645;
}
var d1 = item.Start.Value;
//if (item.Start.Value > new DateTime(2023, 05, 19))
//{
// string test = "jep";
@@ -303,6 +317,7 @@ namespace AWOMuensterlandRecklinghausen
{
if (c.WeeklyTotalHours.HasValue)
{
empDetail.Custom6 = c.WeeklyTotalHours.Value;
if (c.EmploymentType != null && c.EmploymentType.Name.StartsWith("MA mit"))
{
weeklyTotalHours = c.WeeklyTotalHours.Value + (c.WeeklyTotalHours.Value * 0.17m);
@@ -318,11 +333,13 @@ namespace AWOMuensterlandRecklinghausen
empDetail.ArbeitstageProWoche = c.WeeklyDays.Value;
}
empDetail.WeeklyFLS = c.WeeklyFLS;
empDetail.HourlyRate = c.HourlyRate;
empDetail.EmploymentType = c.EmploymentType;
}
empDetail.SollProTag = (weeklyTotalHours / empDetail.ArbeitstageProWoche);
empDetail.Custom6 = empDetail.Custom6 * 60 / empDetail.ArbeitstageProWoche; // echte Sollzeit auch für MA-Mit Ferienausgleich
empDetail.SollProTag = weeklyTotalHours / empDetail.ArbeitstageProWoche;
empDetail.SollProWoche = weeklyTotalHours; //BerechneSollProWoche(c, empDetail);
HandleServiceRecords(empDetail, groupFilteredRecords, c);
@@ -467,17 +484,10 @@ namespace AWOMuensterlandRecklinghausen
tageUrlaubGesamt += ath2.StundenUrlaub / empDetail.SollProTag;
}
}
}
tatSollStdGesamt += tatSollStdImVertragsUndBerichtzeitraum;
flsSollGesamt += BerechneFlsSoll(emp, c, berichtsAnfang, berichtsEnde, tatSollStdImVertragsUndBerichtzeitraum, stundenSollProMonat);
berichtsAnfang = berichtsEnde;
berichtsEnde = monatsEnde;
c = GetNextValidContractForDate(berichtsAnfang, emp);
@@ -509,13 +519,8 @@ namespace AWOMuensterlandRecklinghausen
empDetail.TageUrlaub = tageUrlaubGesamt;
empDetail.TageKrankheit = tageKrankheitGesamt;
empDetail.UrlaubUndKrankheit = abwesenheitTageGesamt;
empDetail.StundenSollOhneUrlaubKrankheit = tatSollStdGesamt;
empDetail.FlsSoll = flsSollGesamt;
empDetail.MittelbarIst = summaryTotal.IstNichtAbrechenbar;
empDetail.Bu = bu;
empDetail.FlsIst = summaryTotal.IstAbrechenbar;

View File

@@ -168,6 +168,12 @@ namespace AWOMuensterlandRecklinghausen
public override XtraReport CreateQueryReport(long queryOid, string queryReportId)
{
if (queryOid == 120)
return CreateFinanzplanung(queryOid, queryReportId);
if (queryOid == 199)
return CreateStatusCheck(queryOid, queryReportId);
if (queryOid == 1001)
return CreateValidationMessageReport(queryOid, queryReportId);
@@ -199,7 +205,59 @@ namespace AWOMuensterlandRecklinghausen
return new XtraReport();
}
private XtraReport CreateFinanzplanung(long queryOid, string queryReportId)
{
var query = DAOFactory.GenericDAO.LoadByID<Query>(queryOid);
if (query == null)
return new XtraReport();
var path = Path.Combine(TempPath, queryReportId + ".xml");
var table = Utils.XMLDeserialize<DataTable>(path);
var qro = QueryRO.Create(query, table);
if (qro.Rows.Count > 0)
{
DateTime monat = DateTime.Parse(qro.Rows[0].Field1.ToString());
DateTime start = new DateTime(monat.Year, 9, 1);
DateTime end = start.AddMonths(1).AddDays(-1);
var ro = FinanceRO.Create(start, end);
var druck = new Finanzplanung();
druck.SetReportDataSource(ro);
return druck;
}
return new XtraReport();
}
private XtraReport CreateStatusCheck(long queryOid, string queryReportId)
{
var query = DAOFactory.GenericDAO.LoadByID<Query>(queryOid);
if (query == null)
return new XtraReport();
var path = Path.Combine(TempPath, queryReportId + ".xml");
var table = Utils.XMLDeserialize<DataTable>(path);
var qro = QueryRO.Create(query, table);
if (qro.Rows.Count > 0)
{
DateTime monat = DateTime.Parse(qro.Rows[0].Field1.ToString());
DateTime start = new DateTime(monat.Year, monat.Month, 1);
DateTime end = start.AddMonths(1).AddDays(-1);
var ro = FinanceRO.Create(start, end);
var druck = new Statuscheck();
druck.SetReportDataSource(ro);
return druck;
}
return new XtraReport();
}
//public override XtraReport CreateServiceOverviewReportForCustomers(IList<long> customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende)
//{

View File

@@ -59,10 +59,11 @@ namespace AWOMuensterlandRecklinghausen.Export
StringBuilder sb = new StringBuilder();
List<DataRow> mergedRows = new List<DataRow>();
Dictionary<long, DataRow> oid2Row = new Dictionary<long, DataRow>();
Dictionary<string, DataRow> oid2Row = new Dictionary<string, DataRow>();
foreach (DataRow row in dt.Rows)
{
long oid = (long)row[0];
string oid = row[0].ToString();
bool storno = false;
if (!oid2Row.ContainsKey(oid))
{
@@ -81,10 +82,20 @@ namespace AWOMuensterlandRecklinghausen.Export
decimal betrag = ErzeugeBetrag(item);
if (betrag != 0)
{
if (betrag < 0)
{
storno = true;
}
sb.Append(String.Format("{0:0.##}", betrag).Replace(",", "."));
sb.Append(";");
}
}
else if (i == 16 && storno)
{
sb.Append("Storno ");
sb.Append(item);
sb.Append(";");
}
else if (i == stopIdx)
{
sb.Append(item);
@@ -173,7 +184,7 @@ namespace AWOMuensterlandRecklinghausen.Export
String sql = @"
SELECT
cb2sc.Oid,
CONCAT(cb2sc.Oid, ib.InvoiceNumber, Round(sip.Claim, 0)) AS OID,
'F',
'0',
'124',

View File

@@ -8,9 +8,9 @@ using BS.Shared;
namespace AWOMuensterlandRecklinghausen
{
public partial class Finanzauswertung : DevExpress.XtraReports.UI.XtraReport // , IBeWoReport<FinanceRO>
public partial class Finanzplanung : DevExpress.XtraReports.UI.XtraReport
{
public Finanzauswertung()
public Finanzplanung()
{
InitializeComponent();
}

View File

@@ -1,7 +1,7 @@
using BeWo.Report.ReportObjects;
namespace AWOMuensterlandRecklinghausen
{
partial class Finanzauswertung
partial class Finanzplanung
{
/// <summary>
/// Required designer variable.
@@ -31,14 +31,17 @@ namespace AWOMuensterlandRecklinghausen
{
this.components = new System.ComponentModel.Container();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
@@ -50,12 +53,16 @@ namespace AWOMuensterlandRecklinghausen
this.cellGeleistetImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
this.cellRateFactorHeader = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
@@ -69,9 +76,7 @@ namespace AWOMuensterlandRecklinghausen
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.fieldBillableAmountYear = new DevExpress.XtraReports.UI.CalculatedField();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
@@ -105,7 +110,7 @@ namespace AWOMuensterlandRecklinghausen
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(817.7084F, 25F);
this.xrTable2.SizeF = new System.Drawing.SizeF(942.9167F, 25F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.StylePriority.UsePadding = false;
@@ -119,7 +124,8 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell7,
this.xrTableCell3,
this.xrTableCell29,
this.xrTableCell26});
this.xrTableCell26,
this.xrTableCell9});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1D;
//
@@ -140,13 +146,23 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell7.Weight = 0.79763655127335309D;
//
// xrTableCell3
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.CustomerName")});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.79763654045261245D;
//
// xrTableCell29
//
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.Custom3", "{0:0.00}")});
this.xrTableCell29.Name = "xrTableCell29";
this.xrTableCell29.StylePriority.UseTextAlignment = false;
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell29.Weight = 0.37389115840758363D;
//
// xrTableCell26
@@ -158,13 +174,22 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell26.Weight = 0.55483772008254539D;
//
// xrTableCell9
//
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.fieldBillableAmountYear", "{0:c}")});
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell9.Weight = 0.55483772008254539D;
//
// lblTitel
//
this.lblTitel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
this.lblTitel.Name = "lblTitel";
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblTitel.SizeF = new System.Drawing.SizeF(1030F, 23F);
this.lblTitel.SizeF = new System.Drawing.SizeF(248.1252F, 23F);
this.lblTitel.StylePriority.UseFont = false;
this.lblTitel.Text = "Wirtschaftsplan";
//
@@ -206,7 +231,7 @@ namespace AWOMuensterlandRecklinghausen
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(817.7084F, 50F);
this.xrTable1.SizeF = new System.Drawing.SizeF(942.9167F, 50F);
this.xrTable1.StylePriority.UseBorders = false;
this.xrTable1.StylePriority.UseFont = false;
this.xrTable1.StylePriority.UsePadding = false;
@@ -220,7 +245,8 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell2,
this.cellGeleistetImZeitraumHeader,
this.cellRateFactorHeader,
this.xrTableCell25});
this.xrTableCell25,
this.xrTableCell8});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3953493323567705D;
//
@@ -262,6 +288,14 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell25.Weight = 0.5548377192100773D;
//
// xrTableCell8
//
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "Erlöse Prognose Jahr";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell8.Weight = 0.5548377192100773D;
//
// GroupFooter2
//
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -281,7 +315,7 @@ namespace AWOMuensterlandRecklinghausen
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable3.SizeF = new System.Drawing.SizeF(817.7083F, 25F);
this.xrTable3.SizeF = new System.Drawing.SizeF(942.9166F, 25F);
this.xrTable3.StylePriority.UseBorders = false;
this.xrTable3.StylePriority.UseFont = false;
this.xrTable3.StylePriority.UsePadding = false;
@@ -295,7 +329,8 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell16,
this.xrTableCell4,
this.xrTableCell5,
this.xrTableCell27});
this.xrTableCell27,
this.xrTableCell10});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1D;
//
@@ -314,6 +349,20 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.79763656271187944D;
//
// xrTableCell4
//
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell4.Weight = 0.79763690650198149D;
//
// xrTableCell5
//
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell5.Weight = 0.37389109139763022D;
//
// xrTableCell27
//
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
@@ -326,6 +375,18 @@ namespace AWOMuensterlandRecklinghausen
this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell27.Weight = 0.554837159761131D;
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.fieldBillableAmountYear")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UseTextAlignment = false;
xrSummary2.FormatString = "{0:c}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell10.Summary = xrSummary2;
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell10.Weight = 0.554837159761131D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FinanceRO);
@@ -349,9 +410,9 @@ namespace AWOMuensterlandRecklinghausen
//
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
this.xrPageInfo2.Format = "Seite {0} von {1}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(677.7084F, 25F);
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(817.7084F, 25F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(140F, 23F);
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(125.2083F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
@@ -362,7 +423,7 @@ namespace AWOMuensterlandRecklinghausen
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(270.0002F, 23F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(248.1252F, 23F);
this.xrPageInfo1.StyleName = "PageInfo";
this.xrPageInfo1.StylePriority.UseFont = false;
//
@@ -431,31 +492,13 @@ namespace AWOMuensterlandRecklinghausen
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrTableCell3
// fieldBillableAmountYear
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.CustomerName")});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 0.79763654045261245D;
this.fieldBillableAmountYear.DataMember = "SupportConceptFinanceList";
this.fieldBillableAmountYear.Expression = "[BillableAmountInReportTimeSpan]*12";
this.fieldBillableAmountYear.Name = "fieldBillableAmountYear";
//
// xrTableCell4
//
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell4.Weight = 0.79763690650198149D;
//
// xrTableCell5
//
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell5.Weight = 0.37389109139763022D;
//
// Finanzauswertung
// Finanzplanung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
@@ -465,6 +508,8 @@ namespace AWOMuensterlandRecklinghausen
this.topMarginBand1,
this.bottomMarginBand1,
this.ReportFooter});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.fieldBillableAmountYear});
this.DataSource = this.bindingSource1;
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(45, 40, 50, 30);
@@ -528,5 +573,9 @@ namespace AWOMuensterlandRecklinghausen
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.CalculatedField fieldBillableAmountYear;
}
}

View File

@@ -52,13 +52,21 @@ namespace AWOMuensterlandRecklinghausen.Invoicing
else
{
var emp = DAOFactory.GenericDAO.GetByID<Employee>(empOid);
if (emp.TaxNumber == null)
{
//throw new FaultException<BeWoFault>(new BeWoFault(String.Format("Bei Mitarbeiter*in {0} wurde keine Kostenstelle hinterlegt", emp.Person.FirstNameLastName), BeWoFaultType.CustomWithoutDetails));
emp.TaxNumber = "312510";
}
ccEmp = emp.TaxNumber.Substring(3, 3);
emp2Value.Add(empOid, ccEmp);
if (emp == null)
{
ccEmp = "312510".Substring(3, 3);
emp2Value.Add(0, ccEmp);
}
else
{
if (emp.TaxNumber == null)
{
//throw new FaultException<BeWoFault>(new BeWoFault(String.Format("Bei Mitarbeiter*in {0} wurde keine Kostenstelle hinterlegt", emp.Person.FirstNameLastName), BeWoFaultType.CustomWithoutDetails));
emp.TaxNumber = "312510";
}
ccEmp = emp.TaxNumber.Substring(3, 3);
emp2Value.Add(empOid, ccEmp);
}
}
}
//Sonderfälle -> wenn MA mit anderer Quali vertritt, teilweise weiter Ursprungskostenstelle:
@@ -166,6 +174,11 @@ namespace AWOMuensterlandRecklinghausen.Invoicing
item.UnitCount -= (decimal)0.5;
//hours = item.UnitCount ?? 0;
}
if (item.ServiceRecord.Notice != null && item.ServiceRecord.Notice.StartsWith("KF-Pauschale"))
{
item.UnitCount = 10;
item.ItemDescription = "Klassenfahrt-Pauschale";
}
item.UnitCount = Math.Round(item.UnitCount ?? 0, 2, MidpointRounding.AwayFromZero);
hours = item.UnitCount ?? 0;
hourlyRate = item.AmountPerUnit ?? 0;

View File

@@ -0,0 +1,77 @@
using System;
using System.Linq;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared;
using BS.Shared.Core;
namespace AWOMuensterlandRecklinghausen
{
public partial class Statuscheck : DevExpress.XtraReports.UI.XtraReport
{
public Statuscheck()
{
InitializeComponent();
}
public void SetReportDataSource(FinanceRO pRO)
{
DateTime start = pRO.ReportStartDate.Value;
DateTime end = pRO.ReportEndDate.Value;
DateTimeSpan lastMonth = new DateTimeSpan();
lastMonth.StartDateTime = start;
lastMonth.EndDateTime = end.AddDays(1).AddTicks(-1);
if (pRO.SupportConceptFinanceList != null)
{
foreach (var scRo in pRO.SupportConceptFinanceList)
{
scRo.Custom1 = GetTeam(scRo);
// Customer c = DAOFactory.GenericDAO.LoadByID<Customer>(scro.Costbearer2Supportconcept.SupportConcept.Customer.CustomerOid);
var serviceRecordOids = scRo.ServiceRecords.Select(s => (long)s.ServiceRecordOid).ToList();
var customerSignature = DAOFactory.SearchDAO.GetConfirmationReceiptSignatureForServiceRecords(serviceRecordOids, SignatureType.Customer);
if (!(customerSignature?.SignatureImage is null))
{
//var CustomerSignatureDate = customerSignature.InsTs;
scRo.Custom2 = "x";
}
var invoices = DAOFactory.SearchDAO.GetServiceInvoices(scRo.Costbearer2Supportconcept.CostBearer2SupportConceptOid.Value, lastMonth);
var count = 0;
foreach (var ii in invoices)
{
if (ii.IsActive.Equals(ActivationTypeId.Active))
{
count += 1;
if (count == 1)
{
scRo.Custom3 = String.Format("{0:dd.MM.yyyy}", ii.InvoiceBase.InvoiceDate);
}
if (count > 1)
{
scRo.Custom3 += String.Format(", {0:dd.MM.yyyy}", ii.InvoiceBase.InvoiceDate);
}
}
}
}
}
this.bindingSource1.DataSource = pRO;
}
private string GetTeam(FinanceRO.SupportConceptFinanceRO scRo)
{
string team = " ";
Customer c = DAOFactory.GenericDAO.LoadByID<Customer>(scRo.Costbearer2Supportconcept.SupportConcept.Customer.Oid ?? 0);
if (c.Team2CustomerList.Count > 0)
{
team = c.Team2CustomerList[0].Team.Name;
}
return team;
}
}
}

View File

@@ -0,0 +1,475 @@
using BeWo.Report.ReportObjects;
namespace AWOMuensterlandRecklinghausen
{
partial class Statuscheck
{
/// <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);
}
#region Designer generated code
/// <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();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellGeleistetImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
this.cellRateFactorHeader = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.fieldBillableAmountYear = new DevExpress.XtraReports.UI.CalculatedField();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Expanded = false;
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.Detail1.Font = new System.Drawing.Font("Arial", 9F);
this.Detail1.HeightF = 25F;
this.Detail1.KeepTogetherWithDetailReports = true;
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// xrTable2
//
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(1084F, 25F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.StylePriority.UsePadding = false;
this.xrTable2.StylePriority.UseTextAlignment = false;
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.xrTableCell7,
this.xrTableCell3,
this.xrTableCell29,
this.xrTableCell26,
this.xrTableCell9});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1D;
//
// xrTableCell6
//
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.CustomerName")});
this.xrTableCell6.Multiline = true;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Weight = 0.88626284710752745D;
//
// xrTableCell7
//
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.CostBearerName")});
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell7.Weight = 0.88626283840426057D;
//
// xrTableCell3
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.Custom1")});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.8862628613917658D;
//
// xrTableCell29
//
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.Custom2", "{0:0.00}")});
this.xrTableCell29.Name = "xrTableCell29";
this.xrTableCell29.StylePriority.UseTextAlignment = false;
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell29.Weight = 0.44313142566772529D;
//
// xrTableCell26
//
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.Custom3", "{0:c}")});
this.xrTableCell26.Name = "xrTableCell26";
this.xrTableCell26.StylePriority.UseTextAlignment = false;
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell26.Weight = 0.44313115228486588D;
//
// xrTableCell9
//
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell9.Weight = 1.2584958013667649D;
//
// lblTitel
//
this.lblTitel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
this.lblTitel.Name = "lblTitel";
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblTitel.SizeF = new System.Drawing.SizeF(200F, 23F);
this.lblTitel.StylePriority.UseFont = false;
this.lblTitel.Text = "Status Abrechnung";
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1,
this.GroupHeader2});
this.DetailReport.DataMember = "SupportConceptFinanceList";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// GroupHeader2
//
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.GroupHeader2.HeightF = 50F;
this.GroupHeader2.Name = "GroupHeader2";
this.GroupHeader2.RepeatEveryPage = true;
//
// xrTable1
//
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(1084F, 50F);
this.xrTable1.StylePriority.UseBorders = false;
this.xrTable1.StylePriority.UseFont = false;
this.xrTable1.StylePriority.UsePadding = false;
this.xrTable1.StylePriority.UseTextAlignment = false;
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.cellGeleistetImZeitraumHeader,
this.cellRateFactorHeader,
this.xrTableCell25,
this.xrTableCell8});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3953493323567705D;
//
// xrTableCell1
//
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Text = "Klient, Vorname";
this.xrTableCell1.Weight = 0.8862628989566943D;
//
// xrTableCell2
//
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Kostenträger";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell2.Weight = 0.88626292606899781D;
//
// cellGeleistetImZeitraumHeader
//
this.cellGeleistetImZeitraumHeader.Name = "cellGeleistetImZeitraumHeader";
this.cellGeleistetImZeitraumHeader.StylePriority.UseTextAlignment = false;
this.cellGeleistetImZeitraumHeader.Text = "Team";
this.cellGeleistetImZeitraumHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.cellGeleistetImZeitraumHeader.Weight = 0.88626290163437182D;
//
// cellRateFactorHeader
//
this.cellRateFactorHeader.Name = "cellRateFactorHeader";
this.cellRateFactorHeader.StylePriority.UseTextAlignment = false;
this.cellRateFactorHeader.Text = "Gültige Unterschrift";
this.cellRateFactorHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.cellRateFactorHeader.Weight = 0.44313145800725584D;
//
// xrTableCell25
//
this.xrTableCell25.Name = "xrTableCell25";
this.xrTableCell25.StylePriority.UseTextAlignment = false;
this.xrTableCell25.Text = "Rechnung Ausdruck";
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell25.Weight = 0.44313145010736071D;
//
// xrTableCell8
//
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "Bemerkung";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell8.Weight = 1.2584944495007986D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FinanceRO);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrLabel1,
this.lblTitel});
this.ReportHeader.HeightF = 52.08333F;
this.ReportHeader.Name = "ReportHeader";
//
// pageFooterBand1
//
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.pageFooterBand1.HeightF = 48.00002F;
this.pageFooterBand1.Name = "pageFooterBand1";
//
// xrPageInfo2
//
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
this.xrPageInfo2.Format = "Seite {0} von {1}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(799.9999F, 25F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(284.0002F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(270.0002F, 23F);
this.xrPageInfo1.StyleName = "PageInfo";
this.xrPageInfo1.StylePriority.UseFont = false;
//
// Title
//
this.Title.BackColor = System.Drawing.Color.White;
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.Title.BorderWidth = 1F;
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
this.Title.ForeColor = System.Drawing.Color.Black;
this.Title.Name = "Title";
//
// FieldCaption
//
this.FieldCaption.BackColor = System.Drawing.Color.White;
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.FieldCaption.BorderWidth = 1F;
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
this.FieldCaption.Name = "FieldCaption";
//
// PageInfo
//
this.PageInfo.BackColor = System.Drawing.Color.White;
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.PageInfo.BorderWidth = 1F;
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
this.PageInfo.ForeColor = System.Drawing.Color.Black;
this.PageInfo.Name = "PageInfo";
//
// DataField
//
this.DataField.BackColor = System.Drawing.Color.White;
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.DataField.BorderWidth = 1F;
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
this.DataField.Name = "DataField";
//
// fieldFLS
//
this.fieldFLS.DataMember = "FLSReportGroups";
this.fieldFLS.DataSource = this.bindingSource1;
this.fieldFLS.Expression = "[TotalFLM] / 60";
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldFLS.Name = "fieldFLS";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 50F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 30F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// fieldBillableAmountYear
//
this.fieldBillableAmountYear.DataMember = "SupportConceptFinanceList";
this.fieldBillableAmountYear.Expression = "[BillableAmountInReportTimeSpan]*12";
this.fieldBillableAmountYear.Name = "fieldBillableAmountYear";
//
// xrLabel1
//
this.xrLabel1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(200F, 10.00001F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(200F, 23F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Abrechnungszeitraum:";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel2
//
this.xrLabel2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(400F, 10.00001F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(200F, 23F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "[ReportStartDate!dd.MM.yyyy] - [ReportEndDate!dd.MM.yyyy]";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// Statuscheck
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.DetailReport,
this.ReportHeader,
this.pageFooterBand1,
this.topMarginBand1,
this.bottomMarginBand1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.fieldBillableAmountYear});
this.DataSource = this.bindingSource1;
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(45, 40, 50, 30);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.Title,
this.FieldCaption,
this.PageInfo,
this.DataField});
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRControlStyle Title;
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
private DevExpress.XtraReports.UI.XRControlStyle DataField;
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRLabel lblTitel;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
private DevExpress.XtraReports.UI.XRTableCell cellGeleistetImZeitraumHeader;
private DevExpress.XtraReports.UI.XRTableCell cellRateFactorHeader;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.CalculatedField fieldBillableAmountYear;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -10,34 +10,95 @@ namespace AWOMuensterlandRecklinghausen.Validation
{
public class CustomServiceRecordValidator : ServiceRecordValidator
{
public override List<ServiceRecordValidationResultDC> ValidateServiceRecord(ServiceRecordDC newServiceRecord, SupportConceptStatisticsDC statistics,
int maxDaysEditServiceRecordsAllowed, IList<long> employeeOids, IList<long> cb2scOids)
{
var list = base.ValidateServiceRecord(newServiceRecord, statistics, maxDaysEditServiceRecordsAllowed, employeeOids, cb2scOids);
var vs = PluginLoader.FindClass<VacationService>();
var ferien = vs.GetFerien(newServiceRecord.Start.Value, "nrw");
if (ferien != null)
{
var e = DAOFactory.GenericDAO.LoadByID<Employee>(newServiceRecord.Employee.EmployeeOid);
var c = e.GetValidContractForDate(newServiceRecord.Start.Value);
if (c != null && c.EmploymentType != null)
{
if (c.EmploymentType.Name.StartsWith("MA mit"))
{
public override List<ServiceRecordValidationResultDC> ValidateServiceRecord(ServiceRecordDC newServiceRecord, SupportConceptStatisticsDC statistics,
int maxDaysEditServiceRecordsAllowed, IList<long> employeeOids, IList<long> cb2scOids)
{
var list = base.ValidateServiceRecord(newServiceRecord, statistics, maxDaysEditServiceRecordsAllowed, employeeOids, cb2scOids);
var e = DAOFactory.GenericDAO.LoadByID<Employee>(newServiceRecord.Employee.EmployeeOid);
var c = e.GetValidContractForDate(newServiceRecord.Start.Value);
var vs = PluginLoader.FindClass<VacationService>();
// Check für MA mit ob Eintrag in den Ferien liegt
var ferien = vs.GetFerien(newServiceRecord.Start.Value, "nrw");
if (ferien != null)
{
if (c != null && c.EmploymentType != null)
{
if (c.EmploymentType.Name.StartsWith("MA mit"))
{
String handlungsOption = "Möchten Sie trotzdem Speichern?";
bool hatDasRechtTrotzdemZuSpeichern = true;
list.Add(new ServiceRecordValidationResultDC
{
ResultType = ServiceRecordValidationResult.Custom,
Message = "Achtung dieser Zeiterfassungseintrag liegt in den Schulferien und damit außerhalb Ihrer Arbeitszeit.\n" + handlungsOption,
Allow = hatDasRechtTrotzdemZuSpeichern
{
ResultType = ServiceRecordValidationResult.Custom,
Message = "Achtung dieser Zeiterfassungseintrag liegt in den Schulferien und damit außerhalb Ihrer Arbeitszeit.\n" + handlungsOption,
Allow = hatDasRechtTrotzdemZuSpeichern
});
}
}
}
return list;
}
}
}
}
//Check ob MonatsMax erreicht ist, da Übertragbarkeit nur innerhalb des Monats ok
SupportConceptPeriodStatisticsDC periodStat = GetStatisticsForServiceRecord(statistics, newServiceRecord);
if (periodStat != null)
{
if (periodStat.SupportConceptApprovalPeriod != null && periodStat.SupportConceptApprovalPeriod.IsApprovedBEShifting)
{
DateTime start = new DateTime(newServiceRecord.Start.Value.Year, newServiceRecord.Start.Value.Month, 1);
DateTime end = start.AddMonths(1).AddDays(-1);
TimeSpan ts = end.Subtract(start);
int arbeitstageProWoche = 5;
var maxDays = (decimal)ts.TotalDays;
while (start < end)
{
var ferientag = vs.GetFerien(start, "nrw");
if (c != null && c.WeeklyDays.HasValue && c.WeeklyDays > 0)
{
arbeitstageProWoche = c.WeeklyDays.Value;
}
if (arbeitstageProWoche <= 5 && (start.DayOfWeek == DayOfWeek.Saturday || start.DayOfWeek == DayOfWeek.Sunday))
{
maxDays -= 1;
}
else
{
if (ferientag != null)
{
maxDays -= 1;
}
else
{
maxDays -= vs.GetFeiertagsFaktor(start);
}
}
start = start.AddDays(1);
}
decimal flsTotalForPeriod = Math.Round(periodStat.MinutesProvidedThisMonth / 60, 2, MidpointRounding.AwayFromZero);
if (periodStat.SupportConceptApprovalPeriod.ApprovedBEInterval.HasValue && periodStat.SupportConceptApprovalPeriod.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Weekly
&& periodStat.SupportConceptApprovalPeriod.ApprovedBEPerInterval.HasValue)
{
decimal newtotalfls = newServiceRecord.RoundedDuration / 60 + flsTotalForPeriod;
decimal maxAllowed = periodStat.SupportConceptApprovalPeriod.ApprovedBEPerInterval.Value / arbeitstageProWoche * maxDays;
if (maxAllowed > 0 && newtotalfls > maxAllowed)
{
String handlungsOption = "Möchten Sie trotzdem Speichern?";
bool hatDasRechtTrotzdemZuSpeichern = true;
list.Add(new ServiceRecordValidationResultDC
{
ResultType = ServiceRecordValidationResult.Custom,
Message = "Achtung dieser Zeiterfassungseintrag überschreitet das monatliche Maximum der bewilligten Stunden.\n" + handlungsOption,
Allow = hatDasRechtTrotzdemZuSpeichern
});
}
}
}
}
return list;
}
}
}

View File

@@ -73,7 +73,7 @@ namespace AkggMid.Export
sb.Append(String.Format("{0}, ", lastDate.Month.ToString())); //Period
sb.Append(String.Format("{0:yyyy}, , ", lastDate)); //Financial year
sb.Append(String.Format("{0}, ", row[2])); //Description
sb.Append(String.Format("{0:ddMMyyyy}, , ", row[3]));
sb.Append(String.Format("{0:ddMMyyyy}, , ", lastDate));
sb.Append(String.Format("{0}, , , ", row[10])); //Debtor
sb.Append(String.Format("{0:0.00}, ,", row[0].ToString().Replace(",", "."))); //amount
sb.Append("EUR, 1,B ,0.00,");
@@ -103,7 +103,7 @@ namespace AkggMid.Export
sb.Append(String.Format("{0}, ", lastDate.Month.ToString())); //Period
sb.Append(String.Format("{0:yyyy}, , ", lastDate)); //Financial year
sb.Append(String.Format("{0}, ", row[2])); //Description
sb.Append(String.Format("{0:ddMMyyyy},", row[3]));
sb.Append(String.Format("{0:ddMMyyyy},", lastDate));
if (srow[4] != null && srow[4].ToString() == "Klassenfahrt")
{
sb.Append("8145,");
@@ -112,7 +112,8 @@ namespace AkggMid.Export
{
sb.Append("8140,");
}
sb.Append(String.Format("{0}, , ,", row[10])); //Debtor
sb.Append(String.Format("{0}, ,", row[10])); //Debtor
sb.Append(String.Format("{0},", row[4])); //Invoicenr
sb.Append(String.Format("{0:0.00}, ,", srow[2].ToString().Replace(",", "."))); //amount
sb.Append("EUR, 1, , , ,");
sb.Append(" ,0 ,0.00 , , , , ,6100 , ,");
@@ -143,7 +144,7 @@ namespace AkggMid.Export
sb.Append(String.Format("{0}, ", lastDate.Month.ToString())); //Period
sb.Append(String.Format("{0:yyyy}, , ", lastDate)); //Financial year
sb.Append(String.Format("{0}, ", row[2])); //Description
sb.Append(String.Format("{0:ddMMyyyy},", row[3]));
sb.Append(String.Format("{0:ddMMyyyy},", lastDate));
if (srow[3] != null && srow[3].ToString() == "Klassenfahrt")
{
sb.Append("8145,");
@@ -152,7 +153,8 @@ namespace AkggMid.Export
{
sb.Append("8140,");
}
sb.Append(String.Format("{0}, , ,", row[10])); //Debtor
sb.Append(String.Format("{0}, ,", row[10])); //Debtor
sb.Append(String.Format("{0},", row[4])); //Invoicenr
sb.Append(String.Format("{0:0.00}, ,", srow[2].ToString().Replace(",", "."))); //amount
sb.Append("EUR, 1, , , ,");
sb.Append(" ,0 ,0.00 , , , , ,6100 , ,");

View File

@@ -163,7 +163,7 @@ namespace AkggMid
newSr.Notice = "Wochensumme";
newSr.IstFerien = true;
newSr.TimeRangeString = String.Format("{0:00}z", i);
newSr.Minutes = Rundeauf15Minuten(wochensumme);
newSr.Minutes = wochensumme; //Rundung am 25.09.2023 entfernt // Rundeauf15Minuten(wochensumme);
wochensumme = 0;
result.Add(newSr);
}
@@ -171,7 +171,7 @@ namespace AkggMid
}
double minutenGesamt = 0;
double stdGesamt = 0;
foreach (var record in result)
{
if (record.StartDate.DayOfWeek != DayOfWeek.Saturday && record.StartDate.DayOfWeek != DayOfWeek.Sunday && IstAbwesend(record.StartDate))
@@ -184,7 +184,7 @@ namespace AkggMid
}
if (record.IstFerien) // Wochensumme
{
minutenGesamt += record.Minutes;
stdGesamt += Math.Round(record.Minutes / 60, 2, MidpointRounding.AwayFromZero); //Anpassung, das Wochensumme nicht mehr gerundet auf 15 min
}
@@ -197,7 +197,7 @@ namespace AkggMid
record.IstSonntag = true;
}
}
pRO.TotalFLM = minutenGesamt;
pRO.TotalFLS = stdGesamt;
return result.OrderBy(r => r.TimeRangeString).ToList();
}

View File

@@ -73,9 +73,9 @@ namespace AkggMid
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.fieldStd = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldTotalStd = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
@@ -561,13 +561,9 @@ namespace AkggMid
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Summe der gel. Stunden: [fieldTotalStd!0.00]";
this.xrLabel1.Text = "Summe der gel. Stunden: [TotalFLS!0.00]";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// fieldStd
//
this.fieldStd.DataMember = "Services";
@@ -581,6 +577,10 @@ namespace AkggMid
this.fieldTotalStd.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldTotalStd.Name = "fieldTotalStd";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// LeistungsnachweisSozialamt
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {

View File

@@ -587,7 +587,7 @@ namespace AkggMid
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Summe der gel. Stunden: [fieldTotalStd!0.00]";
this.xrLabel1.Text = "Summe der gel. Stunden: [TotalFLS!0.00]";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// bindingSource1

View File

@@ -611,7 +611,7 @@ namespace AkggMid
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Summe der gel. Stunden: [fieldTotalStd!0.00]";
this.xrLabel1.Text = "Summe der gel. Stunden: [TotalFLS!0.00]";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// bindingSource1

View File

@@ -89,6 +89,7 @@ namespace AkggMid
this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -273,7 +274,7 @@ namespace AkggMid
this.xrLabel6.SizeF = new System.Drawing.SizeF(166.9165F, 51.04167F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "Fachbereich Beckoffice\r\nBuchhaltung";
this.xrLabel6.Text = "Fachbereich Backoffice\r\nBuchhaltung";
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrPictureBox1
@@ -507,6 +508,7 @@ namespace AkggMid
// Page1
//
this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel13,
this.xrLabel7,
this.xrLabel4,
this.xrLabel2,
@@ -550,7 +552,7 @@ namespace AkggMid
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UseForeColor = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.Text = "Ansprechpartner: Malte Zimmermann";
this.xrLabel4.Text = "Ansprechpartner: [SenderContactPerson]";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel2
@@ -567,7 +569,7 @@ namespace AkggMid
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UseForeColor = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "info@viva-stiftung.de";
this.xrLabel2.Text = "[SenderContactPersonMail]";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel19
@@ -585,8 +587,9 @@ namespace AkggMid
// xrLabel21
//
this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel21.CanGrow = false;
this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DebitorNumber")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrganisationDebitorNumber")});
this.xrLabel21.Font = new System.Drawing.Font("Lato", 8.5F, System.Drawing.FontStyle.Italic);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(584.1273F, 103.7492F);
this.xrLabel21.Multiline = true;
@@ -601,6 +604,7 @@ namespace AkggMid
// xrLabel17
//
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel17.CanGrow = false;
this.xrLabel17.Font = new System.Drawing.Font("Lato", 8.5F, System.Drawing.FontStyle.Italic);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(489.0829F, 121.9792F);
this.xrLabel17.Multiline = true;
@@ -616,21 +620,23 @@ namespace AkggMid
// xrLabel18
//
this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel18.CanGrow = false;
this.xrLabel18.Font = new System.Drawing.Font("Lato", 8.5F, System.Drawing.FontStyle.Italic);
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(489.0829F, 85.52087F);
this.xrLabel18.Multiline = true;
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(95.04443F, 36.45837F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(95.04443F, 18.22837F);
this.xrLabel18.StylePriority.UseBorders = false;
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.StylePriority.UseTextAlignment = false;
this.xrLabel18.Text = "Rechnung Nr.\r\nKunden-Nr.\r\n";
this.xrLabel18.Text = "Rechnung Nr.";
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel20
//
this.xrLabel20.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel20.CanGrow = false;
this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrLabel20.Font = new System.Drawing.Font("Lato", 8.5F, System.Drawing.FontStyle.Italic);
@@ -842,6 +848,22 @@ namespace AkggMid
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// xrLabel13
//
this.xrLabel13.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel13.CanGrow = false;
this.xrLabel13.Font = new System.Drawing.Font("Lato", 8.5F, System.Drawing.FontStyle.Italic);
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(489.0831F, 103.7492F);
this.xrLabel13.Multiline = true;
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(95.04443F, 18.22837F);
this.xrLabel13.StylePriority.UseBorders = false;
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.StylePriority.UseTextAlignment = false;
this.xrLabel13.Text = "Kunden-Nr.\r\n\r\n";
this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// ServiceInvoiceReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -928,5 +950,6 @@ namespace AkggMid
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
}
}

View File

@@ -61,6 +61,7 @@
<DependentUpon>RechnungPa.cs</DependentUpon>
</Compile>
<Compile Include="Service\CustomAccountingService.cs" />
<Compile Include="Service\CustomSaveInterceptor.cs" />
<Compile Include="StundenzettelBi2.cs">
<SubType>Component</SubType>
</Compile>

View File

@@ -19,7 +19,10 @@ namespace AlzeyTeilhabe.Export
{
DateTime dt = DateTime.Now;
DateTime.TryParse(query.Parameter[0].Value.ToString(), out dt);
long? scOid = query.Parameter[1].Value as long?;
long? scOid = null;
if (query.Parameter.Count >= 2)
scOid = query.Parameter[1].Value as long?;
ServiceCategory serviceCategory = scOid != null ? DAOFactory.GenericDAO.GetByID<ServiceCategory>(scOid.Value) : null;

View File

@@ -75,6 +75,72 @@ namespace AlzeyTeilhabe.Invoicing
return result.Count > 1 ? result.OrderBy(i => i.InvoiceBase.CustomerLastName).ToList() : result;
}
public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod,
CompactSupportConceptDC supportConcept, List<ServiceRecordDC> serviceRecords)
{
var s = base.CreateSingleInvoice(invoiceCounter, costBearer, invoicePeriod, supportConcept, serviceRecords);
SetAmountEquityContribution(s);
if (s.AmountEquityContribution != null && s.AmountEquityContribution != 0)
{
foreach (var sipl in s.ServiceInvoicePeriodList)
{
if (sipl == s.ServiceInvoicePeriodList.Last())
{
sipl.InvoiceItemList.Add(new InvoiceItem()
{
AmountPerUnit = s.AmountEquityContribution.Value,
AmountTotal = s.AmountEquityContribution.Value,
GrossAmountTotal = s.AmountEquityContribution.Value,
ItemDescription = "Eigenanteil",
ItemPeriodStart = sipl.Start,
ItemPeriodEnd = sipl.End,
RateFactor = null,
UnitCount = 1,
UnitDescription = "Eigenanteil"
});
}
}
}
return s;
}
public override void SetAmountEquityContribution(ServiceInvoice invoice)
{
decimal equity = 0;
IList<InvoiceBase> EquityInvoiceList =
DAOFactory.SearchDAO.GetInvoiceBaseByTypeAndSupportConceptOid(InvoiceType.CustomerEquity, invoice.InvoiceBase.SupportConceptOid.Value);
var list = new List<InvoiceBase>();
foreach (var ib in EquityInvoiceList)
{
if (ib.AccountingPeriodStart.HasValue && ib.AccountingPeriodEnd.HasValue)
{
if (ib.AccountingPeriodStart <= invoice.InvoiceBase.AccountingPeriodEnd &&
ib.AccountingPeriodEnd >= invoice.InvoiceBase.AccountingPeriodStart)
{
list.Add(ib);
}
}
}
foreach (InvoiceBase iEquityInvoice in list)
{
foreach (InvoiceItem item in iEquityInvoice.InvoiceItems)
{
if (item.AmountTotal != null)
{
equity += item.AmountTotal.Value;
}
}
}
invoice.AmountEquityContribution = equity;
}
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
Calculations calc)
{

View File

@@ -54,6 +54,7 @@ namespace AlzeyTeilhabe
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
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.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -89,7 +90,6 @@ namespace AlzeyTeilhabe
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
@@ -333,6 +333,19 @@ namespace AlzeyTeilhabe
this.Page1.Name = "Page1";
this.Page1.StylePriority.UseFont = false;
//
// xrLabel8
//
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AccountingPeriodEnd", "{0:dd.MM.yyyy}")});
this.xrLabel8.Font = new System.Drawing.Font("Arial", 12F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(419.7223F, 263.9127F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(257.2777F, 19.99994F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@@ -734,18 +747,6 @@ namespace AlzeyTeilhabe
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel8
//
this.xrLabel8.Font = new System.Drawing.Font("Arial", 12F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(419.7223F, 263.9127F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(257.2777F, 19.99994F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "[InvoiceDate]";
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);

View File

@@ -61,6 +61,13 @@ namespace AlzeyTeilhabe
foreach (var ii in sip.ServiceInvoiceItems)
{
ii.UnitCountString = String.Format("{0:0.00}", ii.UnitCount);
if (ii.ServiceDescription == "Eigenanteil")
{
ii.GrossAmount = "-" + ii.GrossAmount;
string[] grossClaimStringArray = pRO.GrossClaim.Split(' ');
var grossClaimOhneEigenanteil = Convert.ToDecimal(grossClaimStringArray[0]) - ii.AmountPerUnit;
pRO.GrossClaim = string.Format("{0:0.00} €", grossClaimOhneEigenanteil);
}
}
}
this.bindingSource1.DataSource = pRO;

View File

@@ -0,0 +1,19 @@
using BeWo.Data.Entities;
using BeWo.Service.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlzeyTeilhabe.Service
{
public class CustomSaveInterceptor : SaveInterceptor
{
public override void BeforeSaveServiceRecord(ServiceRecord sr)
{
if (sr.ServiceDescription.ServiceCategory.Name.ToLower().Contains("fahrt"))
sr.DistanceInMeter = sr.Customer.DistanceInMeter;
}
}
}

View File

@@ -51,6 +51,7 @@ namespace AlzeyTeilhabe
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
@@ -62,9 +63,11 @@ namespace AlzeyTeilhabe
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.piPage = new DevExpress.XtraReports.UI.XRPageInfo();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.lblGesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -74,16 +77,12 @@ namespace AlzeyTeilhabe
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldTotalSum = new DevExpress.XtraReports.UI.CalculatedField();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.lblGesamtpreis = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -343,6 +342,10 @@ namespace AlzeyTeilhabe
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell16.Weight = 0.11742309062325153D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -394,6 +397,7 @@ namespace AlzeyTeilhabe
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel3,
this.lblVersichertennummer,
this.xrLabel21,
this.xrLabel1});
@@ -431,9 +435,7 @@ namespace AlzeyTeilhabe
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrPageInfo1,
this.piPage});
this.xrLabel2});
this.bottomMarginBand1.HeightF = 98.95837F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
@@ -451,24 +453,6 @@ namespace AlzeyTeilhabe
"kumentation";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// xrPageInfo1
//
this.xrPageInfo1.Format = "{0:dd.MM.yyyy}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(871.9999F, 50.33331F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(100F, 23F);
//
// piPage
//
this.piPage.LocationFloat = new DevExpress.Utils.PointFloat(971.9999F, 50.33331F);
this.piPage.Name = "piPage";
this.piPage.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.piPage.SizeF = new System.Drawing.SizeF(100F, 23F);
this.piPage.StylePriority.UseTextAlignment = false;
this.piPage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -479,6 +463,49 @@ namespace AlzeyTeilhabe
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrTable2
//
this.xrTable2.BorderColor = System.Drawing.Color.Black;
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(802.0005F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable2.SizeF = new System.Drawing.SizeF(177.0001F, 40F);
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.lblGesamtpreis});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableRow3.Weight = 2D;
//
// xrTableCell6
//
this.xrTableCell6.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell6.Weight = 0.11174248242405439D;
//
// lblGesamtpreis
//
this.lblGesamtpreis.Name = "lblGesamtpreis";
this.lblGesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.lblGesamtpreis.StylePriority.UseFont = false;
this.lblGesamtpreis.StylePriority.UsePadding = false;
this.lblGesamtpreis.StylePriority.UseTextAlignment = false;
this.lblGesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.lblGesamtpreis.Weight = 0.11174248242405439D;
//
// xrTable1
//
this.xrTable1.BorderColor = System.Drawing.Color.Black;
@@ -554,52 +581,17 @@ namespace AlzeyTeilhabe
this.fieldTotalSum.Expression = "Round([TotalFLMBillable] / 60, 2) * [RateFactor]";
this.fieldTotalSum.Name = "fieldTotalSum";
//
// bindingSource1
// xrLabel3
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// xrTable2
//
this.xrTable2.BorderColor = System.Drawing.Color.Black;
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(802.0005F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable2.SizeF = new System.Drawing.SizeF(177.0001F, 40F);
this.xrTable2.StylePriority.UseFont = false;
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.lblGesamtpreis});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableRow3.Weight = 2D;
//
// lblGesamtpreis
//
this.lblGesamtpreis.Name = "lblGesamtpreis";
this.lblGesamtpreis.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.lblGesamtpreis.StylePriority.UseFont = false;
this.lblGesamtpreis.StylePriority.UsePadding = false;
this.lblGesamtpreis.StylePriority.UseTextAlignment = false;
this.lblGesamtpreis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.lblGesamtpreis.Weight = 0.11174248242405439D;
//
// xrTableCell6
//
this.xrTableCell6.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell6.Weight = 0.11174248242405439D;
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearer2SupportConceptList.CostBearer.Organisation.Name")});
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(788.8334F, 53.75001F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(273.1666F, 34.79166F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "xrLabel3";
//
// StundenzettelSoziotherapie
//
@@ -631,9 +623,9 @@ namespace AlzeyTeilhabe
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -683,11 +675,10 @@ namespace AlzeyTeilhabe
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRPageInfo piPage;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
private DevExpress.XtraReports.UI.XRTableCell lblGesamtpreis;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
}
}

View File

@@ -95,6 +95,7 @@ namespace BzhEssenGGmbH.Import
if (azDebitor == debitor)
{
az.Verwendungszweck += ", " + hp.CustomerLastName + ", " + hp.CustomerFirstName;
if (!CheckAbschlagszahlung(az, hp))
{
CreateAbschlagszahlung(az, hp);

View File

@@ -43,8 +43,6 @@ namespace BeWo.DiakonieKKKleve
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel();
this.lblAddress = new DevExpress.XtraReports.UI.XRLabel();
this.lblKonto = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel14 = 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();
@@ -54,31 +52,33 @@ namespace BeWo.DiakonieKKKleve
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.fieldMinuten = new DevExpress.XtraReports.UI.CalculatedField();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.lblKonto = new DevExpress.XtraReports.UI.XRLabel();
this.lblRechnungsbetragText2 = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtBetrag2 = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtBetrag = new DevExpress.XtraReports.UI.XRLabel();
this.lblRechnungsbetragText = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtUndFaktorStunden = new DevExpress.XtraReports.UI.XRLabel();
this.lblXMinutenEntsprechen = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtsumme = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtUndFaktorMinuten = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.lblFaktorMinuten = new DevExpress.XtraReports.UI.XRLabel();
this.lblRatefactorLabel = new DevExpress.XtraReports.UI.XRLabel();
this.lblFaktorMinuten = new DevExpress.XtraReports.UI.XRLabel();
this.lblGesamtMinuten = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.fieldMinuten = new DevExpress.XtraReports.UI.CalculatedField();
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
this.lblZwischensumme = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -196,29 +196,6 @@ namespace BeWo.DiakonieKKKleve
this.lblAddress.StylePriority.UseFont = false;
this.lblAddress.Text = "Adresse";
//
// lblKonto
//
this.lblKonto.LocationFloat = new DevExpress.Utils.PointFloat(0F, 210F);
this.lblKonto.Multiline = true;
this.lblKonto.Name = "lblKonto";
this.lblKonto.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblKonto.SizeF = new System.Drawing.SizeF(676.833F, 139.7222F);
this.lblKonto.StylePriority.UseFont = false;
this.lblKonto.Text = "Zahlungsziel 14 Tage nach Rechnungsdatum\r\n\r\nBitte überweisen Sie den Betrag auf u" +
"nser Konto IBAN DE95 3206 1384 0009 9910 18\r\nbei der Volksbank an der Niers e.V." +
"\r\n\r\nFreundliche Grüße";
//
// xrLabel14
//
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 349.7222F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F);
this.xrLabel14.StylePriority.UseFont = false;
this.xrLabel14.Text = "[CreatorName]";
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -251,7 +228,11 @@ namespace BeWo.DiakonieKKKleve
this.xrTable1});
this.Detail3.Font = new System.Drawing.Font("Arial", 11F);
this.Detail3.HeightF = 20F;
this.Detail3.KeepTogetherWithDetailReports = true;
this.Detail3.Name = "Detail3";
this.Detail3.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("HourlyRate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
new DevExpress.XtraReports.UI.GroupField("ServiceDescription", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)});
this.Detail3.StylePriority.UseFont = false;
//
// xrTable1
@@ -301,181 +282,6 @@ namespace BeWo.DiakonieKKKleve
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 1D;
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblRechnungsbetragText2,
this.lblGesamtBetrag2,
this.lblGesamtBetrag,
this.lblRechnungsbetragText,
this.lblGesamtUndFaktorStunden,
this.lblXMinutenEntsprechen,
this.lblGesamtUndFaktorMinuten,
this.xrLabel12,
this.lblFaktorMinuten,
this.lblRatefactorLabel,
this.lblGesamtMinuten,
this.xrLabel1,
this.xrLabel14,
this.lblKonto});
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 11F);
this.GroupFooter1.HeightF = 366.7222F;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.StylePriority.UseFont = false;
//
// lblRechnungsbetragText2
//
this.lblRechnungsbetragText2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblRechnungsbetragText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 155F);
this.lblRechnungsbetragText2.Multiline = true;
this.lblRechnungsbetragText2.Name = "lblRechnungsbetragText2";
this.lblRechnungsbetragText2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragText2.SizeF = new System.Drawing.SizeF(483.7914F, 45.83334F);
this.lblRechnungsbetragText2.StylePriority.UseFont = false;
this.lblRechnungsbetragText2.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragText2.Text = "Von Ihnen zu zahlender Betrag für\r\nxxx Stunden zu x Euro";
this.lblRechnungsbetragText2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtBetrag2
//
this.lblGesamtBetrag2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblGesamtBetrag2.LocationFloat = new DevExpress.Utils.PointFloat(483.7914F, 175.8333F);
this.lblGesamtBetrag2.Multiline = true;
this.lblGesamtBetrag2.Name = "lblGesamtBetrag2";
this.lblGesamtBetrag2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtBetrag2.SizeF = new System.Drawing.SizeF(193.2085F, 25F);
this.lblGesamtBetrag2.StylePriority.UseFont = false;
this.lblGesamtBetrag2.StylePriority.UseTextAlignment = false;
this.lblGesamtBetrag2.Text = "xxx Minuten";
this.lblGesamtBetrag2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblGesamtBetrag
//
this.lblGesamtBetrag.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblGesamtBetrag.LocationFloat = new DevExpress.Utils.PointFloat(483.7914F, 120F);
this.lblGesamtBetrag.Multiline = true;
this.lblGesamtBetrag.Name = "lblGesamtBetrag";
this.lblGesamtBetrag.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtBetrag.SizeF = new System.Drawing.SizeF(193.2085F, 25F);
this.lblGesamtBetrag.StylePriority.UseFont = false;
this.lblGesamtBetrag.StylePriority.UseTextAlignment = false;
this.lblGesamtBetrag.Text = "xxx Minuten";
this.lblGesamtBetrag.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblRechnungsbetragText
//
this.lblRechnungsbetragText.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F);
this.lblRechnungsbetragText.Multiline = true;
this.lblRechnungsbetragText.Name = "lblRechnungsbetragText";
this.lblRechnungsbetragText.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragText.SizeF = new System.Drawing.SizeF(483.7914F, 25F);
this.lblRechnungsbetragText.StylePriority.UseFont = false;
this.lblRechnungsbetragText.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragText.Text = "Rechnungsbetrag für x Stunden zu";
this.lblRechnungsbetragText.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtUndFaktorStunden
//
this.lblGesamtUndFaktorStunden.LocationFloat = new DevExpress.Utils.PointFloat(359.833F, 84.99998F);
this.lblGesamtUndFaktorStunden.Multiline = true;
this.lblGesamtUndFaktorStunden.Name = "lblGesamtUndFaktorStunden";
this.lblGesamtUndFaktorStunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtUndFaktorStunden.SizeF = new System.Drawing.SizeF(317F, 25F);
this.lblGesamtUndFaktorStunden.StylePriority.UseFont = false;
this.lblGesamtUndFaktorStunden.StylePriority.UseTextAlignment = false;
this.lblGesamtUndFaktorStunden.Text = "xxx Minuten";
this.lblGesamtUndFaktorStunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblXMinutenEntsprechen
//
this.lblXMinutenEntsprechen.LocationFloat = new DevExpress.Utils.PointFloat(108.3333F, 84.99998F);
this.lblXMinutenEntsprechen.Multiline = true;
this.lblXMinutenEntsprechen.Name = "lblXMinutenEntsprechen";
this.lblXMinutenEntsprechen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblXMinutenEntsprechen.SizeF = new System.Drawing.SizeF(251.4997F, 25F);
this.lblXMinutenEntsprechen.StylePriority.UseFont = false;
this.lblXMinutenEntsprechen.StylePriority.UseTextAlignment = false;
this.lblXMinutenEntsprechen.Text = "xx Minuten entsprechen";
this.lblXMinutenEntsprechen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtUndFaktorMinuten
//
this.lblGesamtUndFaktorMinuten.LocationFloat = new DevExpress.Utils.PointFloat(359.833F, 59.99997F);
this.lblGesamtUndFaktorMinuten.Multiline = true;
this.lblGesamtUndFaktorMinuten.Name = "lblGesamtUndFaktorMinuten";
this.lblGesamtUndFaktorMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtUndFaktorMinuten.SizeF = new System.Drawing.SizeF(317F, 25F);
this.lblGesamtUndFaktorMinuten.StylePriority.UseFont = false;
this.lblGesamtUndFaktorMinuten.StylePriority.UseTextAlignment = false;
this.lblGesamtUndFaktorMinuten.Text = "xxx Minuten";
this.lblGesamtUndFaktorMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel12
//
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(317F, 25F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.StylePriority.UseTextAlignment = false;
this.xrLabel12.Text = "Gesamtsumme";
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblFaktorMinuten
//
this.lblFaktorMinuten.CanShrink = true;
this.lblFaktorMinuten.LocationFloat = new DevExpress.Utils.PointFloat(359.833F, 34.99997F);
this.lblFaktorMinuten.Multiline = true;
this.lblFaktorMinuten.Name = "lblFaktorMinuten";
this.lblFaktorMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblFaktorMinuten.SizeF = new System.Drawing.SizeF(317F, 25F);
this.lblFaktorMinuten.StylePriority.UseFont = false;
this.lblFaktorMinuten.StylePriority.UseTextAlignment = false;
this.lblFaktorMinuten.Text = "xxx Minuten";
this.lblFaktorMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblRatefactorLabel
//
this.lblRatefactorLabel.CanShrink = true;
this.lblRatefactorLabel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.99997F);
this.lblRatefactorLabel.Multiline = true;
this.lblRatefactorLabel.Name = "lblRatefactorLabel";
this.lblRatefactorLabel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRatefactorLabel.SizeF = new System.Drawing.SizeF(333.6667F, 25F);
this.lblRatefactorLabel.StylePriority.UseFont = false;
this.lblRatefactorLabel.StylePriority.UseTextAlignment = false;
this.lblRatefactorLabel.Text = "Zuzüglich 20% für mittelbare Leistungen";
this.lblRatefactorLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtMinuten
//
this.lblGesamtMinuten.LocationFloat = new DevExpress.Utils.PointFloat(359.833F, 9.999974F);
this.lblGesamtMinuten.Multiline = true;
this.lblGesamtMinuten.Name = "lblGesamtMinuten";
this.lblGesamtMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtMinuten.SizeF = new System.Drawing.SizeF(317F, 25F);
this.lblGesamtMinuten.StylePriority.UseFont = false;
this.lblGesamtMinuten.StylePriority.UseTextAlignment = false;
this.lblGesamtMinuten.Text = "xxx Minuten";
this.lblGesamtMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel1
//
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 9.999974F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(317F, 25F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Zwischensumme";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// fieldMinuten
//
this.fieldMinuten.DataMember = "ServiceInvoicePeriods.ServiceInvoiceItems";
@@ -520,6 +326,213 @@ namespace BeWo.DiakonieKKKleve
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
this.xrRichText3.SizeF = new System.Drawing.SizeF(404.0417F, 13.625F);
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel14,
this.lblKonto,
this.lblRechnungsbetragText2,
this.lblGesamtBetrag2,
this.lblGesamtBetrag,
this.lblRechnungsbetragText,
this.lblGesamtUndFaktorStunden,
this.lblXMinutenEntsprechen,
this.lblGesamtsumme,
this.lblGesamtUndFaktorMinuten,
this.lblRatefactorLabel,
this.lblFaktorMinuten,
this.lblGesamtMinuten,
this.lblZwischensumme});
this.GroupFooter1.HeightF = 329.0139F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrLabel14
//
this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
this.xrLabel14.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 312.0139F);
this.xrLabel14.Name = "xrLabel14";
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F);
this.xrLabel14.StylePriority.UseFont = false;
this.xrLabel14.Text = "[CreatorName]";
//
// lblKonto
//
this.lblKonto.Font = new System.Drawing.Font("Arial", 11F);
this.lblKonto.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 172.2917F);
this.lblKonto.Multiline = true;
this.lblKonto.Name = "lblKonto";
this.lblKonto.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblKonto.SizeF = new System.Drawing.SizeF(676.833F, 139.7222F);
this.lblKonto.StylePriority.UseFont = false;
this.lblKonto.Text = "Zahlungsziel 14 Tage nach Rechnungsdatum\r\n\r\nBitte überweisen Sie den Betrag auf u" +
"nser Konto IBAN DE95 3206 1384 0009 9910 18\r\nbei der Volksbank an der Niers e.V." +
"\r\n\r\nFreundliche Grüße";
//
// lblRechnungsbetragText2
//
this.lblRechnungsbetragText2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblRechnungsbetragText2.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 136.8749F);
this.lblRechnungsbetragText2.Multiline = true;
this.lblRechnungsbetragText2.Name = "lblRechnungsbetragText2";
this.lblRechnungsbetragText2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragText2.SizeF = new System.Drawing.SizeF(533.4582F, 25F);
this.lblRechnungsbetragText2.StylePriority.UseFont = false;
this.lblRechnungsbetragText2.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragText2.Text = "Von Ihnen zu zahlender Betrag";
this.lblRechnungsbetragText2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtBetrag2
//
this.lblGesamtBetrag2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblGesamtBetrag2.LocationFloat = new DevExpress.Utils.PointFloat(534.4574F, 136.8749F);
this.lblGesamtBetrag2.Multiline = true;
this.lblGesamtBetrag2.Name = "lblGesamtBetrag2";
this.lblGesamtBetrag2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtBetrag2.SizeF = new System.Drawing.SizeF(143.3749F, 25F);
this.lblGesamtBetrag2.StylePriority.UseFont = false;
this.lblGesamtBetrag2.StylePriority.UseTextAlignment = false;
this.lblGesamtBetrag2.Text = "xxx Minuten";
this.lblGesamtBetrag2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblGesamtBetrag
//
this.lblGesamtBetrag.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.lblGesamtBetrag.LocationFloat = new DevExpress.Utils.PointFloat(534.6241F, 100F);
this.lblGesamtBetrag.Multiline = true;
this.lblGesamtBetrag.Name = "lblGesamtBetrag";
this.lblGesamtBetrag.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtBetrag.SizeF = new System.Drawing.SizeF(143.3749F, 24.99999F);
this.lblGesamtBetrag.StylePriority.UseFont = false;
this.lblGesamtBetrag.StylePriority.UseTextAlignment = false;
this.lblGesamtBetrag.Text = "xxx Minuten";
this.lblGesamtBetrag.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblRechnungsbetragText
//
this.lblRechnungsbetragText.Font = new System.Drawing.Font("Arial", 11F);
this.lblRechnungsbetragText.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 100F);
this.lblRechnungsbetragText.Multiline = true;
this.lblRechnungsbetragText.Name = "lblRechnungsbetragText";
this.lblRechnungsbetragText.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRechnungsbetragText.SizeF = new System.Drawing.SizeF(533.6251F, 24.99999F);
this.lblRechnungsbetragText.StylePriority.UseFont = false;
this.lblRechnungsbetragText.StylePriority.UseTextAlignment = false;
this.lblRechnungsbetragText.Text = "Rechnungsbetrag für x Stunden zu";
this.lblRechnungsbetragText.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtUndFaktorStunden
//
this.lblGesamtUndFaktorStunden.Font = new System.Drawing.Font("Arial", 11F);
this.lblGesamtUndFaktorStunden.LocationFloat = new DevExpress.Utils.PointFloat(535.626F, 75F);
this.lblGesamtUndFaktorStunden.Multiline = true;
this.lblGesamtUndFaktorStunden.Name = "lblGesamtUndFaktorStunden";
this.lblGesamtUndFaktorStunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtUndFaktorStunden.SizeF = new System.Drawing.SizeF(142.2063F, 25F);
this.lblGesamtUndFaktorStunden.StylePriority.UseFont = false;
this.lblGesamtUndFaktorStunden.StylePriority.UseTextAlignment = false;
this.lblGesamtUndFaktorStunden.Text = "xxx Minuten";
this.lblGesamtUndFaktorStunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblXMinutenEntsprechen
//
this.lblXMinutenEntsprechen.Font = new System.Drawing.Font("Arial", 11F);
this.lblXMinutenEntsprechen.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 75F);
this.lblXMinutenEntsprechen.Multiline = true;
this.lblXMinutenEntsprechen.Name = "lblXMinutenEntsprechen";
this.lblXMinutenEntsprechen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblXMinutenEntsprechen.SizeF = new System.Drawing.SizeF(533.4582F, 25F);
this.lblXMinutenEntsprechen.StylePriority.UseFont = false;
this.lblXMinutenEntsprechen.StylePriority.UseTextAlignment = false;
this.lblXMinutenEntsprechen.Text = "xx Minuten entsprechen";
this.lblXMinutenEntsprechen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtsumme
//
this.lblGesamtsumme.Font = new System.Drawing.Font("Arial", 11F);
this.lblGesamtsumme.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 50F);
this.lblGesamtsumme.Multiline = true;
this.lblGesamtsumme.Name = "lblGesamtsumme";
this.lblGesamtsumme.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtsumme.SizeF = new System.Drawing.SizeF(533.4582F, 25F);
this.lblGesamtsumme.StylePriority.UseFont = false;
this.lblGesamtsumme.StylePriority.UseTextAlignment = false;
this.lblGesamtsumme.Text = "Gesamtsumme";
this.lblGesamtsumme.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblGesamtUndFaktorMinuten
//
this.lblGesamtUndFaktorMinuten.Font = new System.Drawing.Font("Arial", 11F);
this.lblGesamtUndFaktorMinuten.LocationFloat = new DevExpress.Utils.PointFloat(534.4574F, 50F);
this.lblGesamtUndFaktorMinuten.Multiline = true;
this.lblGesamtUndFaktorMinuten.Name = "lblGesamtUndFaktorMinuten";
this.lblGesamtUndFaktorMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtUndFaktorMinuten.SizeF = new System.Drawing.SizeF(143.3749F, 25F);
this.lblGesamtUndFaktorMinuten.StylePriority.UseFont = false;
this.lblGesamtUndFaktorMinuten.StylePriority.UseTextAlignment = false;
this.lblGesamtUndFaktorMinuten.Text = "xxx Minuten";
this.lblGesamtUndFaktorMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblRatefactorLabel
//
this.lblRatefactorLabel.CanShrink = true;
this.lblRatefactorLabel.Font = new System.Drawing.Font("Arial", 11F);
this.lblRatefactorLabel.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 25F);
this.lblRatefactorLabel.Multiline = true;
this.lblRatefactorLabel.Name = "lblRatefactorLabel";
this.lblRatefactorLabel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblRatefactorLabel.SizeF = new System.Drawing.SizeF(533.4582F, 25F);
this.lblRatefactorLabel.StylePriority.UseFont = false;
this.lblRatefactorLabel.StylePriority.UseTextAlignment = false;
this.lblRatefactorLabel.Text = "Zuzüglich 20% für mittelbare Leistungen";
this.lblRatefactorLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// lblFaktorMinuten
//
this.lblFaktorMinuten.CanShrink = true;
this.lblFaktorMinuten.Font = new System.Drawing.Font("Arial", 11F);
this.lblFaktorMinuten.LocationFloat = new DevExpress.Utils.PointFloat(535.626F, 25F);
this.lblFaktorMinuten.Multiline = true;
this.lblFaktorMinuten.Name = "lblFaktorMinuten";
this.lblFaktorMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblFaktorMinuten.SizeF = new System.Drawing.SizeF(143.3749F, 25F);
this.lblFaktorMinuten.StylePriority.UseFont = false;
this.lblFaktorMinuten.StylePriority.UseTextAlignment = false;
this.lblFaktorMinuten.Text = "xxx Minuten";
this.lblFaktorMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblGesamtMinuten
//
this.lblGesamtMinuten.Font = new System.Drawing.Font("Arial", 11F);
this.lblGesamtMinuten.LocationFloat = new DevExpress.Utils.PointFloat(534.4574F, 0F);
this.lblGesamtMinuten.Multiline = true;
this.lblGesamtMinuten.Name = "lblGesamtMinuten";
this.lblGesamtMinuten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblGesamtMinuten.SizeF = new System.Drawing.SizeF(143.3749F, 25F);
this.lblGesamtMinuten.StylePriority.UseFont = false;
this.lblGesamtMinuten.StylePriority.UseTextAlignment = false;
this.lblGesamtMinuten.Text = "xxx Minuten";
this.lblGesamtMinuten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// lblZwischensumme
//
this.lblZwischensumme.Font = new System.Drawing.Font("Arial", 11F);
this.lblZwischensumme.LocationFloat = new DevExpress.Utils.PointFloat(0.999176F, 0F);
this.lblZwischensumme.Multiline = true;
this.lblZwischensumme.Name = "lblZwischensumme";
this.lblZwischensumme.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblZwischensumme.SizeF = new System.Drawing.SizeF(533.4582F, 25F);
this.lblZwischensumme.StylePriority.UseFont = false;
this.lblZwischensumme.StylePriority.UseTextAlignment = false;
this.lblZwischensumme.Text = "Zwischensumme";
this.lblZwischensumme.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// ServiceInvoiceReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -544,10 +557,10 @@ namespace BeWo.DiakonieKKKleve
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -562,14 +575,11 @@ namespace BeWo.DiakonieKKKleve
private DevExpress.XtraReports.UI.GroupHeaderBand Page1;
private DevExpress.XtraReports.UI.XRLabel lblRechnungstext;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel lblKonto;
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
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 lblAddress;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
@@ -577,18 +587,6 @@ namespace BeWo.DiakonieKKKleve
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.CalculatedField fieldMinuten;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragText2;
private DevExpress.XtraReports.UI.XRLabel lblGesamtBetrag2;
private DevExpress.XtraReports.UI.XRLabel lblGesamtBetrag;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragText;
private DevExpress.XtraReports.UI.XRLabel lblGesamtUndFaktorStunden;
private DevExpress.XtraReports.UI.XRLabel lblXMinutenEntsprechen;
private DevExpress.XtraReports.UI.XRLabel lblGesamtUndFaktorMinuten;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRLabel lblFaktorMinuten;
private DevExpress.XtraReports.UI.XRLabel lblRatefactorLabel;
private DevExpress.XtraReports.UI.XRLabel lblGesamtMinuten;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
@@ -596,5 +594,20 @@ namespace BeWo.DiakonieKKKleve
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
private DevExpress.XtraReports.UI.XRLabel lblKonto;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragText2;
private DevExpress.XtraReports.UI.XRLabel lblGesamtBetrag2;
private DevExpress.XtraReports.UI.XRLabel lblGesamtBetrag;
private DevExpress.XtraReports.UI.XRLabel lblRechnungsbetragText;
private DevExpress.XtraReports.UI.XRLabel lblGesamtUndFaktorStunden;
private DevExpress.XtraReports.UI.XRLabel lblXMinutenEntsprechen;
private DevExpress.XtraReports.UI.XRLabel lblGesamtsumme;
private DevExpress.XtraReports.UI.XRLabel lblGesamtUndFaktorMinuten;
private DevExpress.XtraReports.UI.XRLabel lblRatefactorLabel;
private DevExpress.XtraReports.UI.XRLabel lblFaktorMinuten;
private DevExpress.XtraReports.UI.XRLabel lblGesamtMinuten;
private DevExpress.XtraReports.UI.XRLabel lblZwischensumme;
}
}

View File

@@ -67,9 +67,13 @@ namespace BeWo.DiakonieKKKleve
decimal rateFactor = 1;
decimal hourlyRate = 0;
decimal minutenGesamt = 0;
decimal minutenFk = 0;
decimal betragFk = 0;
decimal hourlyRateFk = 0;
bool isAlltagsbegleitung = false;
bool isAlltagsbegleitung = false;
bool isVerhinderungspflege = false;
bool hasFehlkontakt = false;
if (pRO.ServiceInvoicePeriods != null)
{
@@ -103,11 +107,19 @@ namespace BeWo.DiakonieKKKleve
i.ServiceDescription = "Verhinderungspflege";
isVerhinderungspflege = true;
}
else
else if (!String.IsNullOrEmpty(i.ServiceDescription) && i.ServiceDescription.StartsWith("Fehlkontakt"))
{
minutenFk += i.UnitCount.Value * 60;
betragFk += (decimal)i.NetAmount;
hourlyRateFk = i.HourlyRate.Value;
i.ServiceDescription = "BEWO - Fehlkontakt";
hasFehlkontakt = true;
}
else
{
i.ServiceDescription = "BEWO";
}
if (i.UnitCount.HasValue)
if (i.UnitCount.HasValue && !String.IsNullOrEmpty(i.ServiceDescription) && !i.ServiceDescription.Contains("Fehlkontakt"))
{
minutenGesamt += i.UnitCount.Value*60;
}
@@ -119,7 +131,7 @@ namespace BeWo.DiakonieKKKleve
rateFactor = (100m + rfInt)/100m;
}
if (i.HourlyRate.HasValue)
if (i.HourlyRate.HasValue && !String.IsNullOrEmpty(i.ServiceDescription) && !i.ServiceDescription.Contains("Fehlkontakt"))
{
hourlyRate = i.HourlyRate.Value;
}
@@ -180,13 +192,26 @@ Freundliche Gr
lblFaktorMinuten.Text = String.Format("{0:0} Minuten", faktorMinuten);
lblGesamtUndFaktorMinuten.Text = String.Format("{0:0} Minuten", faktorMinuten + minutenGesamt);
lblGesamtUndFaktorStunden.Text = String.Format("{0:0.##} Stunden", (faktorMinuten + minutenGesamt) / 60);
lblGesamtBetrag.Text = pRO.GrossClaim.Replace("€", "EUR");
lblGesamtBetrag2.Text = lblGesamtBetrag.Text;
lblXMinutenEntsprechen.Text = String.Format("{0:0} Minuten entsprechen", faktorMinuten + minutenGesamt);
lblRechnungsbetragText.Text = String.Format("Rechnungsbetrag für {0:0.##} Stunden zu {1:0.00} EUR/Std.", (faktorMinuten + minutenGesamt) / 60, hourlyRate);
lblRechnungsbetragText2.Text = String.Format("Von Ihnen zu zahlender Betrag für\r\n{0:0.##} Stunden zu {1:0.00} EUR/Std.", (faktorMinuten + minutenGesamt) / 60, hourlyRate);
if (!hasFehlkontakt)
{
lblXMinutenEntsprechen.Text = String.Format("\t \t {0:0} Minuten entsprechen", faktorMinuten + minutenGesamt);
lblRechnungsbetragText.Text = String.Format("Rechnungsbetrag für {0:0.##} Stunden zu {1:0.00} EUR/Std.", (faktorMinuten + minutenGesamt) / 60, hourlyRate);
lblRechnungsbetragText2.Text = String.Format("Von Ihnen zu zahlender Betrag für\r\n{0:0.##} Stunden zu {1:0.00} EUR/Std.", (faktorMinuten + minutenGesamt) / 60, hourlyRate);
lblGesamtBetrag.Text = pRO.GrossClaim.Replace("€", "EUR");
lblGesamtBetrag2.Text = lblGesamtBetrag.Text;
}
else
{
lblZwischensumme.Text = "Zwischensumme der Leistungen ohne Fehlkontakte";
lblGesamtsumme.Visible = false;
lblGesamtUndFaktorMinuten.Visible = false;
lblXMinutenEntsprechen.Text = String.Format("{0:0} Minuten Fehlkontakte entsprechen {1:0.##} Stunden zu {2:0.00} EUR/Std.", minutenFk, (minutenFk) / 60, hourlyRateFk);
lblGesamtUndFaktorStunden.Text = String.Format("{0:n2} EUR", betragFk);
lblRechnungsbetragText.Text = String.Format("{0:0} Minuten Leistungen entsprechen {1:0.##} Stunden zu {2:0.00} EUR/Std.", faktorMinuten + minutenGesamt, (faktorMinuten + minutenGesamt) / 60, hourlyRate);
lblRechnungsbetragText2.Text = String.Format("Von Ihnen zu zahlender Betrag");
lblGesamtBetrag.Text = String.Format("{0:n2} EUR", Math.Round(faktorMinuten + minutenGesamt / 60 * hourlyRate, 2, MidpointRounding.AwayFromZero));
lblGesamtBetrag2.Text = pRO.GrossClaim.Replace("€", "EUR");
}
this.bindingSource1.DataSource = pRO;
}

View File

@@ -1,5 +1,5 @@
using BeWo.Report.ReportObjects;
namespace HausDuelken
namespace HausDuelken.Alt
{
partial class Klientenstammblatt
{

View File

@@ -6,7 +6,7 @@ using DevExpress.XtraReports.UI;
using BeWo.Report.ReportObjects;
using BeWo.Report;
namespace HausDuelken
namespace HausDuelken.Alt
{
public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
{

View File

@@ -1,5 +1,5 @@
using BeWo.Report.ReportObjects;
namespace BeWo.HPHBersenbrueck
namespace HausDuelken
{
partial class Klientenstammblatt
{

View File

@@ -15,7 +15,7 @@ using BeWo.Service.DCEntityMapper;
using System.Collections.Generic;
using BS.Shared.DataContracts;
namespace BeWo.HPHBersenbrueck
namespace HausDuelken
{
public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
{
@@ -55,6 +55,7 @@ namespace BeWo.HPHBersenbrueck
{
if (pRO.EnvironmentPersons != null && pRO.EnvironmentPersons.Count > 0)
{
var hauptbetreuer = pRO.EnvironmentPersons.FirstOrDefault(p => p.RelationRole.TypeDescription.Trim() == "Gesetzlicher Vertreter");
if (hauptbetreuer != null)
{
@@ -65,64 +66,97 @@ namespace BeWo.HPHBersenbrueck
lblBetreuerRolle.Text = hauptbetreuer.RelationRole.DisplayName;
lblBetreuerName.Text = hauptbetreuer.Person.FullName;
lblBetreuerStraße.Text = person.Address.Street;
lblBetreuerPlzOrt.Text = person.Address.PostalCode + " " + person.Address.Town;
lblBetreuerStraße.Text = person.Address != null && person.Address.Street != null ? person.Address.Street : "-";
lblBetreuerPlzOrt.Text = person.Address != null && person.Address.PostalCode != null && person.Address.Town != null ? person.Address.PostalCode + " " + person.Address.Town : "-";
lblBetreuerTelefon.Text = phone != null ? phone.Value : "-";
lblBetreuerHandy.Text = mobile != null ? mobile.Value : "-";
}
// Hier zwei Angehörige holen, die NICHT Gesetzlicher Vertreter, Allgemeinmediziner und Arzt sind. 2. Angehöriger zustätzl. != erster AngehörigerB
// Hier zwei Angehörige holen, die NICHT Gesetzlicher Vertreter und Arzt sind. 2. Angehöriger zustätzl. != erster Angehöriger
List<string> arztrollen = HoleListeMitSpeziellenArztrollen();
var angehoeriger1 = pRO.EnvironmentPersons.FirstOrDefault(p => !p.RelationRole.TypeDescription.ToLower().Contains("gesetzlicher vertreter")
&& !p.RelationRole.DisplayName.ToLower().Contains("allgemeinmediziner") && !p.RelationRole.DisplayName.ToLower().Contains("arzt"));
&& !p.RelationRole.DisplayName.ToLower().Contains("allgemeinmediziner") && !p.RelationRole.DisplayName.ToLower().Contains("hausarzt") && p.RelationRole.DisplayName.ToLower() != "arzt" && !arztrollen.Contains(p.RelationRole.DisplayName.ToLower()));
if (angehoeriger1 != null)
{
lblAngehoeriger1Verhaeltnis.Text = angehoeriger1.RelationRole.DisplayName;
lblAngehoeriger1Name.Text = angehoeriger1.Person.FullName;
lblAngehoeriger1Straße.Text = angehoeriger1.Person.Street;
lblAngehoeriger1PlzOrt.Text = angehoeriger1.Person.PostalCode + " " + angehoeriger1.Person.Town;
lblAngehoeriger1Straße.Text = !angehoeriger1.Person.Street.IsNullOrEmpty() ? angehoeriger1.Person.Street : "-";
lblAngehoeriger1PlzOrt.Text = !angehoeriger1.Person.PostalCode.IsNullOrEmpty() && !angehoeriger1.Person.Town.IsNullOrEmpty() ? angehoeriger1.Person.PostalCode + " " + angehoeriger1.Person.Town : "-";
lblAngehoeriger1Telefon.Text = !angehoeriger1.Person.Communication1.IsNullOrEmpty() ? angehoeriger1.Person.Communication1 : "-";
lblAngehoeriger1Handy.Text = !angehoeriger1.Person.Communication2.IsNullOrEmpty() ? angehoeriger1.Person.Communication2 : "-";
var angehoeriger2 = pRO.EnvironmentPersons.FirstOrDefault(p => !p.RelationRole.TypeDescription.ToLower().Contains("gesetzlicher vertreter")
&& !p.RelationRole.DisplayName.ToLower().Contains("allgemeinmediziner") && !p.RelationRole.DisplayName.ToLower().Contains("arzt") && p.Customer2PersonOid != angehoeriger1.Customer2PersonOid);
&& !p.RelationRole.DisplayName.ToLower().Contains("allgemeinmediziner") && !p.RelationRole.DisplayName.ToLower().Contains("hausarzt") && p.RelationRole.DisplayName.ToLower() != "arzt"
&& !arztrollen.Contains(p.RelationRole.DisplayName.ToLower()) && p.Customer2PersonOid != angehoeriger1.Customer2PersonOid);
if (angehoeriger2 != null)
{
var p2 = pRO.EnvironmentPersons[1];
lblAngehoeriger2Verhaeltnis.Text = p2.RelationRole.DisplayName;
lblAngehoeriger2Name.Text = p2.Person.FullName;
lblAngehoeriger2Straße.Text = p2.Person.Street;
lblAngehoeriger2PlzOrt.Text = p2.Person.PostalCode + " " + p2.Person.Town;
lblAngehoeriger2Telefon.Text = !p2.Person.Communication1.IsNullOrEmpty() ? p2.Person.Communication1 : "-";
lblAngehoeriger2Handy.Text = !p2.Person.Communication2.IsNullOrEmpty() ? p2.Person.Communication2 : "-";
lblAngehoeriger2Verhaeltnis.Text = angehoeriger2.RelationRole.DisplayName;
lblAngehoeriger2Name.Text = angehoeriger2.Person.FullName;
lblAngehoeriger2Straße.Text = !angehoeriger2.Person.Street.IsNullOrEmpty() ? angehoeriger2.Person.Street : "-";
lblAngehoeriger2PlzOrt.Text = !angehoeriger2.Person.PostalCode.IsNullOrEmpty() && !angehoeriger2.Person.Town.IsNullOrEmpty() ? angehoeriger2.Person.PostalCode + " " + angehoeriger2.Person.Town : "-";
lblAngehoeriger2Telefon.Text = !angehoeriger2.Person.Communication1.IsNullOrEmpty() ? angehoeriger2.Person.Communication1 : "-";
lblAngehoeriger2Handy.Text = !angehoeriger2.Person.Communication2.IsNullOrEmpty() ? angehoeriger2.Person.Communication2 : "-";
}
}
List<CustomerPersonRelationDC> c2pList = new List<CustomerPersonRelationDC>();
c2pList.AddRange(pRO.EnvironmentPersons.Where(p => p.RelationRole.DisplayName.ToLower() == "allgemeinmediziner" || p.RelationRole.DisplayName.ToLower().Contains("arzt")));
//var allgmemeinmediziner = pRO.EnvironmentPersons.FirstOrDefault(p => p.RelationRole.DisplayName.ToLower() == "allgemeinmediziner");
if (c2pList.Count >= 1)
// Das erste Arztfeld ist IMMER Allgemeinmediziner, Arzt oder Hausarzt. Wenn es den nicht gibt, bleibt es leer
var allgmemeinmediziner = pRO.EnvironmentPersons.FirstOrDefault(p => p.RelationRole.DisplayName.ToLower().Contains("allgemeinmediziner") || p.RelationRole.DisplayName.ToLower().Contains("hausarzt") || p.RelationRole.DisplayName.ToLower() == "arzt");
if (allgmemeinmediziner != null)
{
lblAerztlVersorgung1Verhaeltnis.Text = c2pList[0].RelationRole.DisplayName;
lblAerztlVersorgung1Name.Text = c2pList[0].Person.FullName;
lblAerztlVersorgung1Straße.Text = c2pList[0].Person.Street;
lblAerztlVersorgung1PlzOrt.Text = c2pList[0].Person.PostalCode + " " + c2pList[0].Person.Town;
lblAerztlVersorgung1Telefon.Text = c2pList[0].Person.Communication1 != null ? c2pList[0].Person.Communication1 : "-";
lblAerztlVersorgung1Verhaeltnis.Text = allgmemeinmediziner.RelationRole.DisplayName;
lblAerztlVersorgung1Name.Text = allgmemeinmediziner.Person.FullName;
lblAerztlVersorgung1Straße.Text = allgmemeinmediziner.Person.Street;
lblAerztlVersorgung1PlzOrt.Text = allgmemeinmediziner.Person.PostalCode + " " + allgmemeinmediziner.Person.Town;
lblAerztlVersorgung1Telefon.Text = allgmemeinmediziner.Person.Communication1 != null ? allgmemeinmediziner.Person.Communication1 : "-";
}
//var arzt = pRO.EnvironmentPersons.FirstOrDefault(p => p.RelationRole.DisplayName.ToLower().Contains("arzt"));
if (c2pList.Count >= 1)
// Das zweite Arztfeld soll ein Arzt sein, dessen Rolle einen Begriff aus der Liste "arztrollen" enthält und nicht Hausarzt ist
var arzt = pRO.EnvironmentPersons.FirstOrDefault(p => !p.RelationRole.DisplayName.ToLower().Contains("hausarzt") && p.RelationRole.DisplayName.ToLower() != "arzt" && arztrollen.Contains(p.RelationRole.DisplayName.ToLower()));
if (arzt != null)
{
lblAerztlVersorgung2Verhaeltnis.Text = c2pList[1].RelationRole.DisplayName;
lblAerztlVersorgung2Name.Text = c2pList[1].Person.FullName;
lblAerztlVersorgung2Straße.Text = c2pList[1].Person.Street;
lblAerztlVersorgung2PlzOrt.Text = c2pList[1].Person.PostalCode + " " + c2pList[1].Person.Town;
lblAerztlVersorgung2Telefon.Text = c2pList[1].Person.Communication1 != null ? c2pList[1].Person.Communication1 : "-";
lblAerztlVersorgung2Verhaeltnis.Text = arzt.RelationRole.DisplayName;
lblAerztlVersorgung2Name.Text = arzt.Person.FullName;
lblAerztlVersorgung2Straße.Text = arzt.Person.Street;
lblAerztlVersorgung2PlzOrt.Text = arzt.Person.PostalCode + " " + arzt.Person.Town;
lblAerztlVersorgung2Telefon.Text = arzt.Person.Communication1 != null ? arzt.Person.Communication1 : "-";
}
}
//if (pRO.Customer.AssistanceBegin.HasValue)
// lblAufnahmeAm.Text = pRO.Customer.AssistanceBegin.Value.Date.ToString();
}
// Allgemeinmediziner oder Hausarzt sind IMMER im ersten Arztfeld. Daher werden die nicht überprüft.
private List<string> HoleListeMitSpeziellenArztrollen()
{
List<string> rollen = new List<string>();
// alle lowercase zur einfacheren Überprüfung
rollen.Add("ohrenarzt");
rollen.Add("hautarzt");
rollen.Add("frauenarzt");
rollen.Add("hno-arzt");
rollen.Add("zahnarzt");
rollen.Add("augenarzt");
rollen.Add("psychiater");
rollen.Add("drogen- und suchtberatung");
rollen.Add("internist");
rollen.Add("kardiologe");
rollen.Add("nephrologe");
rollen.Add("neurologe");
rollen.Add("orthopäde");
rollen.Add("psychotherapeut");
rollen.Add("sexualtherapeut");
rollen.Add("urologe");
rollen.Add("diabethologe");
rollen.Add("gasteroenterologe");
rollen.Add("gesichtschirug");
rollen.Add("neurologe/psychiater");
rollen.Add("neurologe/psychologe");
return rollen;
}
private void SetSupportConceptValue(CustomerDataRO pRO)
{
var allSCs = MapperFactory.SupportConceptDC_SupportConcept.MapToNewDCs(DAOFactory.SearchDAO.FindSupportConcept(pRO.FirstName, pRO.LastName, pRO.ReferenceNumber,

View File

@@ -60,6 +60,7 @@ namespace BeWo.IntegraHeinsbergReports
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -75,16 +76,16 @@ namespace BeWo.IntegraHeinsbergReports
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -437,6 +438,7 @@ namespace BeWo.IntegraHeinsbergReports
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel3,
this.xrRichText4,
this.xrTable4});
this.ReportFooter.Font = new System.Drawing.Font("Calibri", 12F);
@@ -445,6 +447,13 @@ namespace BeWo.IntegraHeinsbergReports
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrRichText4
//
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(68.75006F, 52.6527F);
this.xrRichText4.Name = "xrRichText4";
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
this.xrRichText4.SizeF = new System.Drawing.SizeF(681.811F, 153.6807F);
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(640.1676F, 0F);
@@ -592,12 +601,18 @@ namespace BeWo.IntegraHeinsbergReports
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO);
//
// xrRichText4
// xrLabel3
//
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(68.75006F, 51.65269F);
this.xrRichText4.Name = "xrRichText4";
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
this.xrRichText4.SizeF = new System.Drawing.SizeF(681.811F, 173.5973F);
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(68.75006F, 206.3334F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(284.375F, 20F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "[CreatorFirstName] [CreatorLastName]";
this.xrLabel3.WordWrap = false;
//
// InvoiceCustomerReport
//
@@ -622,10 +637,10 @@ namespace BeWo.IntegraHeinsbergReports
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -677,5 +692,6 @@ namespace BeWo.IntegraHeinsbergReports
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -86,10 +86,10 @@ namespace BeWo.IntegraHeinsbergReports.Alt
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.lblAbwesenheiten = 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.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
@@ -460,7 +460,7 @@ namespace BeWo.IntegraHeinsbergReports.Alt
this.xrLabel10.StylePriority.UseBorders = false;
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.StylePriority.UseTextAlignment = false;
this.xrLabel10.Text = "gez. Rebecca Kunz";
this.xrLabel10.Text = "[SenderContactPerson]";
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrPageInfo1
@@ -683,10 +683,6 @@ namespace BeWo.IntegraHeinsbergReports.Alt
"";
this.xrTableCell24.Weight = 1.0003293648442897D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -729,6 +725,10 @@ namespace BeWo.IntegraHeinsbergReports.Alt
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Teil- bzw. stationäre Aufenthalte ";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
//
// Spitzabrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {

File diff suppressed because one or more lines are too long

View File

@@ -608,7 +608,7 @@ namespace BeWo.IntegraHeinsbergReports
this.xrLabel10.StylePriority.UseBorders = false;
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.StylePriority.UseTextAlignment = false;
this.xrLabel10.Text = "gez. Rebecca Kunz";
this.xrLabel10.Text = "[SenderContactPerson]";
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel7

File diff suppressed because one or more lines are too long

View File

@@ -121,7 +121,6 @@
<Compile Include="Teamstundenkonto.designer.cs">
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
</Compile>
<Compile Include="Validation\CustomServiceRecordValidator.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Data\Data.csproj">

View File

@@ -2,11 +2,11 @@
namespace KompassBeWoWesel.Validation
{
public class CustomServiceRecordValidator : ServiceRecordValidator
{
public override bool CheckZukunft()
{
return false;
}
}
//public class CustomServiceRecordValidator : ServiceRecordValidator
//{
// public override bool CheckZukunft()
// {
// return false;
// }
//}
}

View File

@@ -72,7 +72,9 @@ namespace LebenshilfeCoburg
if (item.ServiceDescription != null &&
item.ServiceDescription.ServiceCategory != null)
{
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit"))
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit") ||
item.ServiceDescription.ServiceCategory.Name.ToLower() == "organisation neues wohnen" &&
item.ServiceDescription.Name.ToLower() == "organisation neues wohnen")
{
arbeitszeit += duration;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,126 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="xrLabel12.Text" xml:space="preserve">
<value>Hiermit wird erklärt, dass die Verpflichtungen aus den Vereinbarungen nach §§75 ff. SGB XII bzw. §§125 ff. SGB IX eingehalten wurden und alle hier gemachten Angaben je Betreuungskontakt anhand der Quittierungsbelege sowie der Betreuungsdokumentation jederzeit nachgewiesen werden können. Diese Unterlagen sind 5 Jahre aufzubewahren und auf Verlangen des Sozialhilfeträgers bzw. des Trägers der Eingliederungshilfe vorzulegen (§2 Abs.1 der Vergütungsvereinbarung).</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="xrLabel12.Text" xml:space="preserve">
<value>Hiermit wird erklärt, dass die Verpflichtungen aus den Vereinbarungen nach §§75 ff. SGB XII bzw. §§125 ff. SGB IX eingehalten wurden und alle hier gemachten Angaben je Betreuungskontakt anhand der Quittierungsbelege sowie der Betreuungsdokumentation jederzeit nachgewiesen werden können. Diese Unterlagen sind 5 Jahre aufzubewahren und auf Verlangen des Sozialhilfeträgers bzw. des Trägers der Eingliederungshilfe vorzulegen (§2 Abs.1 der Vergütungsvereinbarung).</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@@ -1,127 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="xrLabel6.Text" xml:space="preserve">
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="xrLabel6.Text" xml:space="preserve">
<value>anbei sende ich Ihnen die unterschriebenen Nachweise über die im Rahmen des Betreuten Wohnens für [Salutation2] [CustomerName] erbrachten Leistungen zu. Nach unserer Berechnung ergeben sich für den Betreuungszeitraum [AccountingPeriod] hieraus:
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -34,6 +34,19 @@ namespace LebenshilfeDorsten
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
@@ -50,6 +63,11 @@ namespace LebenshilfeDorsten
this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine3 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -104,31 +122,13 @@ namespace LebenshilfeDorsten
this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine3 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -148,6 +148,128 @@ namespace LebenshilfeDorsten
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel9
//
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel9.SizeF = new System.Drawing.SizeF(280F, 62.41665F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "Lebenshilfe Dorsten gGmbH\r\nBarbarastraße 70\r\n46282 Dorsten";
//
// xrTable7
//
this.xrTable7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(320.9171F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15});
this.xrTable7.SizeF = new System.Drawing.SizeF(329.0829F, 79.99998F);
this.xrTable7.StylePriority.UseBorders = false;
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UsePadding = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.49230806213045536D;
//
// xrTableCell12
//
this.xrTableCell12.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell12.Multiline = true;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.StylePriority.UseBorders = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "Ansprechpartner/in: Frau Weßling";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell12.Weight = 1.3084113393443779D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14,
this.xrTableCell15});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.49230806213045525D;
//
// xrTableCell14
//
this.xrTableCell14.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseBorders = false;
this.xrTableCell14.Text = "Telefon:";
this.xrTableCell14.Weight = 0.27036336658195903D;
//
// xrTableCell15
//
this.xrTableCell15.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")});
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseBorders = false;
this.xrTableCell15.Weight = 1.0380479727624188D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17,
this.xrTableCell19});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.49230806213045514D;
//
// xrTableCell17
//
this.xrTableCell17.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.Text = "Fax:";
this.xrTableCell17.Weight = 0.27036335407370077D;
//
// xrTableCell19
//
this.xrTableCell19.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonFax")});
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.Weight = 1.038047985270677D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20,
this.xrTableCell24});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 0.49230806213045536D;
//
// xrTableCell20
//
this.xrTableCell20.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseBorders = false;
this.xrTableCell20.Text = "E-Mail:";
this.xrTableCell20.Weight = 0.27036335407370077D;
//
// xrTableCell24
//
this.xrTableCell24.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonMail")});
this.xrTableCell24.Name = "xrTableCell24";
this.xrTableCell24.StylePriority.UseBorders = false;
this.xrTableCell24.Weight = 1.038047985270677D;
//
// xrLabel8
//
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
@@ -334,6 +456,53 @@ namespace LebenshilfeDorsten
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel11
//
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 263.6877F);
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.Text = "Anlage";
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel12
//
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(344.1695F, 211.7918F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(305.8303F, 41.66667F);
this.xrLabel12.StylePriority.UseBackColor = false;
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Marc Kühnast\r\nLeiter AUW";
//
// xrLine3
//
this.xrLine3.LocationFloat = new DevExpress.Utils.PointFloat(344.1695F, 202.042F);
this.xrLine3.Name = "xrLine3";
this.xrLine3.SizeF = new System.Drawing.SizeF(305.8303F, 9.749969F);
//
// xrLabel7
//
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 211.7918F);
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(292.2076F, 41.66667F);
this.xrLabel7.StylePriority.UseBackColor = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Antonius von Hebel\r\nGeschäftsführer";
//
// xrLine1
//
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 202.042F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(292.2076F, 9.749969F);
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 133F);
@@ -873,175 +1042,6 @@ namespace LebenshilfeDorsten
this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell60.Weight = 0.16397432767427886D;
//
// xrLabel9
//
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel9.SizeF = new System.Drawing.SizeF(280F, 62.41665F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "Lebenshilfe Dorsten gGmbH\r\nBarbarastraße 70\r\n46282 Dorsten";
//
// xrTable7
//
this.xrTable7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(320.9171F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15});
this.xrTable7.SizeF = new System.Drawing.SizeF(329.0829F, 79.99998F);
this.xrTable7.StylePriority.UseBorders = false;
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UsePadding = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.49230806213045536D;
//
// xrTableCell12
//
this.xrTableCell12.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell12.Multiline = true;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.StylePriority.UseBorders = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "Ansprechpartner/in: Frau Weßling";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell12.Weight = 1.3084113393443779D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14,
this.xrTableCell15});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.49230806213045525D;
//
// xrTableCell14
//
this.xrTableCell14.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseBorders = false;
this.xrTableCell14.Text = "Telefon:";
this.xrTableCell14.Weight = 0.27036336658195903D;
//
// xrTableCell15
//
this.xrTableCell15.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")});
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseBorders = false;
this.xrTableCell15.Weight = 1.0380479727624188D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17,
this.xrTableCell19});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.49230806213045514D;
//
// xrTableCell17
//
this.xrTableCell17.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.Text = "Fax:";
this.xrTableCell17.Weight = 0.27036335407370077D;
//
// xrTableCell19
//
this.xrTableCell19.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonFax")});
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.Weight = 1.038047985270677D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20,
this.xrTableCell24});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 0.49230806213045536D;
//
// xrTableCell20
//
this.xrTableCell20.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseBorders = false;
this.xrTableCell20.Text = "E-Mail:";
this.xrTableCell20.Weight = 0.27036335407370077D;
//
// xrTableCell24
//
this.xrTableCell24.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonMail")});
this.xrTableCell24.Name = "xrTableCell24";
this.xrTableCell24.StylePriority.UseBorders = false;
this.xrTableCell24.Weight = 1.038047985270677D;
//
// xrLabel11
//
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 263.6877F);
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.Text = "Anlage";
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel12
//
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(344.1695F, 211.7918F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(305.8303F, 41.66667F);
this.xrLabel12.StylePriority.UseBackColor = false;
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Oliver Gellenbeck\r\nLeiter AUW";
//
// xrLine3
//
this.xrLine3.LocationFloat = new DevExpress.Utils.PointFloat(344.1695F, 202.042F);
this.xrLine3.Name = "xrLine3";
this.xrLine3.SizeF = new System.Drawing.SizeF(305.8303F, 9.749969F);
//
// xrLabel7
//
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 211.7918F);
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(292.2076F, 41.66667F);
this.xrLabel7.StylePriority.UseBackColor = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Antonius von Hebel\r\nGeschäftsführer";
//
// xrLine1
//
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 202.042F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(292.2076F, 9.749969F);
//
// Spitzabrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -1064,13 +1064,13 @@ namespace LebenshilfeDorsten
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}

View File

@@ -7,6 +7,7 @@ using BeWo.Data.Entities;
using BeWo.Service.Invoicing;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using BS.Shared.Services;
namespace MobileEV.Invoicing
@@ -24,5 +25,40 @@ namespace MobileEV.Invoicing
{
return itemList;
}
public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc)
{
var invoiceItem = base.CreateInvoiceItem(iServiceRecord, scap, calc);
var betreuungsaufwand = GetBetreuungsaufwand(invoiceItem);
if (betreuungsaufwand != null && betreuungsaufwand != 0)
{
invoiceItem.AmountTotal += betreuungsaufwand;
invoiceItem.GrossAmountTotal += betreuungsaufwand;
}
return invoiceItem;
}
private decimal GetBetreuungsaufwand(InvoiceItem ii)
{
decimal amount = 0;
if (ii.ServiceRecord != null && !ii.ServiceRecord.Notice3.IsNullOrEmpty())
{
ii.ServiceRecord.Notice3 = ii.ServiceRecord.Notice3.Trim();
if (ii.ServiceRecord.Notice3.Contains("€"))
{
if (Decimal.TryParse(ii.ServiceRecord.Notice3.Replace("€", ""), out amount))
{
return amount;
}
}
else if (Decimal.TryParse(ii.ServiceRecord.Notice3, out amount))
{
return amount;
}
}
return 0;
}
}
}

View File

@@ -133,6 +133,8 @@ namespace MobileEV
this.lblSumme4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
@@ -183,6 +185,7 @@ namespace MobileEV
this.xrTableRow12,
this.xrTableRow11,
this.xrTableRow9,
this.xrTableRow17,
this.xrTableRow2,
this.xrTableRow5,
this.xrTableRow4,
@@ -192,7 +195,7 @@ namespace MobileEV
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow13});
this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 224F);
this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 244F);
this.xrTable2.StylePriority.UseFont = false;
//
// xrTableRow12
@@ -227,7 +230,7 @@ namespace MobileEV
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.Text = "Tel.: 0231 /58 06 34 79";
this.xrTableCell14.Text = "Tel.: 0231 / 58 06 34 79";
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell14.Weight = 1D;
//
@@ -240,10 +243,13 @@ namespace MobileEV
//
// xrTableCell7
//
this.xrTableCell7.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Begleitete Elternschaft";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell7.Weight = 1D;
//
@@ -1486,6 +1492,23 @@ namespace MobileEV
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell27});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 0.13245033112582783D;
//
// xrTableCell27
//
this.xrTableCell27.Name = "xrTableCell27";
this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell27.StylePriority.UsePadding = false;
this.xrTableCell27.StylePriority.UseTextAlignment = false;
this.xrTableCell27.Text = "Tel.: 0231 / 98 12 83 53";
this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell27.Weight = 1D;
//
// Sammelrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -1619,5 +1642,7 @@ namespace MobileEV
private DevExpress.XtraReports.UI.XRTableCell lblSummeGelFLS4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
private DevExpress.XtraReports.UI.XRTableCell lblSumme4;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
}
}

View File

@@ -42,7 +42,6 @@ namespace MobileEV
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -142,8 +141,7 @@ namespace MobileEV
this.xrTableCell12,
this.xrTableCell13,
this.xrTableCell14,
this.xrTableCell15,
this.xrTableCell39});
this.xrTableCell15});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -239,33 +237,20 @@ namespace MobileEV
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell15.Weight = 0.2382376505443205D;
this.xrTableCell15.Weight = 0.47647505857226014D;
//
// picSignature
//
this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(37.22203F, 3.178914E-05F);
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(37.22203F, 0F);
this.picSignature.Name = "picSignature";
this.picSignature.SizeF = new System.Drawing.SizeF(407.0374F, 36.66667F);
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.picSignature.StylePriority.UseBorders = false;
this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint);
//
// xrTableCell39
//
this.xrTableCell39.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell39.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell39.Name = "xrTableCell39";
this.xrTableCell39.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F);
this.xrTableCell39.StylePriority.UseBorders = false;
this.xrTableCell39.StylePriority.UseFont = false;
this.xrTableCell39.StylePriority.UsePadding = false;
this.xrTableCell39.StylePriority.UseTextAlignment = false;
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell39.Weight = 0.2382376505443205D;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -885,7 +870,6 @@ namespace MobileEV
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell40;

View File

@@ -14,6 +14,86 @@ namespace PZDDuesseldorf
return true;
}
public override MitarbeiterstundenkontoRO.DayDetail CreateDayDetail(DateTime date, MitarbeiterstundenkontoRO.EmployeeDetail ed)
{
var dd = base.CreateDayDetail(date, ed);
dd.MaxHoursUntilBreak = null;
dd.MaxHoursUntilBreak2 = null;
dd.BreakMinutes = null;
dd.BreakMinutes2 = null;
return dd;
}
public override bool AddServiceRecordToDuration(ServiceRecord item)
{
if (item.ServiceDescription != null && item.ServiceDescription.ServiceCategory != null)
{
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit"))
{
return true;
}
}
return false;
}
protected override ServiceRecordSummary BerechneStunden(MitarbeiterstundenkontoRO.EmployeeDetail empDetail, IList<ServiceRecord> groupFilteredRecords, DateTime berichtsAnfang,
DateTime berichtsEnde)
{
decimal flsGesamt = 0;
decimal arbeitszeit = 0;
var sum = new ServiceRecordSummary();
sum.RecordsImBerichtszeitraum = new List<ServiceRecord>();
//base.CorrectOverlappingTimes(groupFilteredRecords);
foreach (var item in groupFilteredRecords)
{
if (!IsServiceRecordFehlzeit(item))
{
if (item.Start.Value >= berichtsAnfang && item.Start.Value < berichtsEnde)
{
//if (AddServiceRecordToDuration(item))
//{
decimal duration = 0;
if (item.GroupRoundedDuration.HasValue)
{
duration = item.GroupRoundedDuration.Value;
}
else
{
duration = item.RoundedDuration;
}
if (item.ServiceDescription != null &&
item.ServiceDescription.ServiceCategory != null)
{
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit"))
{
arbeitszeit += duration;
}
else if (item.ServiceDescription.ServiceCategory.IsBillable)
{
flsGesamt += duration;
}
}
sum.RecordsImBerichtszeitraum.Add(item);
}
}
}
sum.IstAbrechenbar = flsGesamt;
sum.IstNichtAbrechenbar = arbeitszeit - flsGesamt;
return sum;
}
public override void HandleServiceRecord(MitarbeiterstundenkontoRO.EmployeeDetail emp, ServiceRecord item)
{
if (item.ServiceDescription != null && item.ServiceDescription.ServiceCategory != null)

View File

@@ -42,7 +42,16 @@ namespace PZDDuesseldorf.Invoicing
if (factorInSpanList.Count > 1)
return false;
return true;
foreach (var sr in GetBillableServiceRecords(c2s))
{
if (IsServiceRecordBillable(sr) && sr.DurationMinutes > 0)
{
if (sr.ServiceDescription.Name.ToLower().Contains("fehlkontakt") || (sr.ServiceDescription.ProzentAbrechnung.HasValue && sr.ServiceDescription.ProzentAbrechnung.Value < 100))
return false;
}
}
return true;
}
public override bool IsServiceRecordBillable(ServiceRecord iRecord)

View File

@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
@@ -106,6 +108,83 @@ namespace PerspektivenEV
return allReports as XtraReport;
}
public override XtraReport CreateUserListReport(List<long> oids)
{
var queryReport = FindReportImp<QueryRO>(null, "Benutzergruppen");
var lUser = DAOFactory.GenericDAO.LoadByIDs<ApplicationUser>(oids);
var teams = DAOFactory.GenericDAO.GetAllActive<Team>();
string[] lHeaderCaption = {
"Mitarbeiter", // 0
"Login", // 1
"zugeordnete Benutzergruppen", // 2
"Teams", // 3
};
string[][] lContent = new string[lUser.Count][];
for (int iRowCount = 0; iRowCount < lUser.Count; iRowCount++)
{
lContent[iRowCount] = new string[lHeaderCaption.Count()];
if (lUser[iRowCount].Employee != null)
lContent[iRowCount][0] = lUser[iRowCount].Employee.Person.FirstNameLastName;
else
lContent[iRowCount][0] = string.Empty;
if (lUser[iRowCount].LoginName != null)
lContent[iRowCount][1] = lUser[iRowCount].LoginName;
else
lContent[iRowCount][1] = string.Empty;
if (lUser[iRowCount].UserGroups != null && lUser[iRowCount].UserGroups.Count > 0)
lContent[iRowCount][2] = string.Join(", ", lUser[iRowCount].UserGroups.Select(
r => r.Name).OrderBy(s => s).ToArray());
else
lContent[iRowCount][2] = string.Empty;
// ZUSÄTZLICHE SPALTE FÜR TEAMS
string teamsString = "";
foreach (var team in teams)
{
if (team.MemberList.Any(m => m.Oid == lUser[iRowCount].Employee.Oid))
teamsString += team.Name + ", ";
}
if (teamsString != "")
{
teamsString = teamsString.Remove(teamsString.Length - 2, 2);
lContent[iRowCount][3] = teamsString;
}
else
lContent[iRowCount][3] = string.Empty;
}
// Zweidimensionales Array zu DataTable konvertieren
DataTable table = new DataTable();
int columnNumber = 4;
for (int i = 0; i < columnNumber; i++)
table.Columns.Add(lHeaderCaption[i], typeof(string));
int rowNumber = lContent.GetLength(0);
for (int i = 0; i < rowNumber; i++)
{
DataRow row = table.NewRow();
for (int j = 0; j < columnNumber; j++)
{
row[j] = lContent[i][j];
}
table.Rows.Add(row);
}
var queryReportObject = QueryRO.Create(new Query() { Title = "Benutzer inkl. Teams" }, table);
queryReportObject.Name = "Benutzer inkl. Teams";
queryReport.SetReportDataSource(queryReportObject);
return queryReport as XtraReport;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

View File

@@ -0,0 +1,283 @@
namespace QuerFaelltEin
{
partial class KassenbelegReport
{
/// <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);
}
#region Designer generated code
/// <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(KassenbelegReport));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.beguenstigterValueLabel = new DevExpress.XtraReports.UI.XRLabel();
this.beguenstigterLabel = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrLabel3,
this.xrLabel10,
this.xrLabel11,
this.xrLabel8,
this.xrLabel9,
this.xrLabel7,
this.xrLine1,
this.xrLabel6,
this.xrLabel4,
this.xrLabel5,
this.beguenstigterValueLabel,
this.beguenstigterLabel,
this.xrLabel1});
this.Detail.HeightF = 315.7917F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel2
//
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 152.2917F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(120.9167F, 23F);
this.xrLabel2.StylePriority.UsePadding = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Belegnummer:";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel3
//
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Belegnummer")});
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(120.9167F, 152.2917F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(552.0833F, 23F);
this.xrLabel3.StylePriority.UsePadding = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 193.9583F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(120.9167F, 23F);
this.xrLabel10.StylePriority.UsePadding = false;
this.xrLabel10.StylePriority.UseTextAlignment = false;
this.xrLabel10.Text = "Notiz:";
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel11
//
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(120.9167F, 193.9583F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(552.0833F, 50.08333F);
this.xrLabel11.StylePriority.UsePadding = false;
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.Text = "[Notiz]";
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel8
//
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(120.9167F, 129.2917F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(552.0833F, 23F);
this.xrLabel8.StylePriority.UsePadding = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "[Belegdatum!dd.MM.yyyy]";
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel9
//
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.2917F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(110.5F, 23F);
this.xrLabel9.StylePriority.UsePadding = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.Text = "Belegdatum:";
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel7
//
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(316.4551F, 260.4999F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(356.545F, 23.00003F);
this.xrLabel7.StylePriority.UseTextAlignment = false;
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
//
// xrLine1
//
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(306.2917F, 287.5F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(366.7084F, 5.291687F);
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(325.4166F, 292.7917F);
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(348.5835F, 22.99997F);
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "Datum, Unterschrift";
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel4
//
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 106.2917F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(120.9167F, 22.99999F);
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.Text = "Betrag:";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel5
//
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(120.9167F, 106.2917F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(552.0833F, 22.99998F);
this.xrLabel5.StylePriority.UsePadding = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "[Betrag!c]";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// beguenstigterValueLabel
//
this.beguenstigterValueLabel.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Beguenstigter")});
this.beguenstigterValueLabel.LocationFloat = new DevExpress.Utils.PointFloat(120.9167F, 83.29166F);
this.beguenstigterValueLabel.Name = "beguenstigterValueLabel";
this.beguenstigterValueLabel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.beguenstigterValueLabel.SizeF = new System.Drawing.SizeF(552.0833F, 23F);
this.beguenstigterValueLabel.StylePriority.UsePadding = false;
this.beguenstigterValueLabel.StylePriority.UseTextAlignment = false;
this.beguenstigterValueLabel.Text = "beguenstigterValueLabel";
this.beguenstigterValueLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// beguenstigterLabel
//
this.beguenstigterLabel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 83.29166F);
this.beguenstigterLabel.Name = "beguenstigterLabel";
this.beguenstigterLabel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.beguenstigterLabel.SizeF = new System.Drawing.SizeF(120.9167F, 23F);
this.beguenstigterLabel.StylePriority.UsePadding = false;
this.beguenstigterLabel.StylePriority.UseTextAlignment = false;
this.beguenstigterLabel.Text = "Begünstigter:";
this.beguenstigterLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Titel")});
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(674.0001F, 36.54167F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "xrLabel1";
//
// TopMargin
//
this.TopMargin.HeightF = 132F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// BottomMargin
//
this.BottomMargin.HeightF = 100F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.KassenbelegRO);
//
// KassenbelegReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.TopMargin,
this.BottomMargin});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 76, 132, 100);
this.Version = "17.1";
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("KassenbelegReport.Watermark.Image")));
this.Watermark.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel beguenstigterValueLabel;
private DevExpress.XtraReports.UI.XRLabel beguenstigterLabel;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
}
}

View File

@@ -0,0 +1,26 @@
using BeWo.Report;
using BeWo.Report.ReportObjects;
using DevExpress.XtraReports.UI;
namespace QuerFaelltEin
{
public partial class KassenbelegReport : XtraReport, IBeWoReport<KassenbelegRO>
{
public KassenbelegReport()
{
InitializeComponent();
}
public void SetReportDataSource(KassenbelegRO pRO)
{
bindingSource1.DataSource = pRO;
if (pRO.Beguenstigter == null)
{
beguenstigterLabel.Visible = false;
beguenstigterValueLabel.Visible = false;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,424 @@
namespace QuerFaelltEin
{
partial class KassenbuchReport
{
/// <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);
}
#region Designer generated code
/// <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(KassenbuchReport));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.Einzahlungstextsichtbarkeitsformatierungsregel = new DevExpress.XtraReports.UI.FormattingRule();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.Auszahlungstextsichtbarkeitsformatierungsregel = new DevExpress.XtraReports.UI.FormattingRule();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel2,
this.xrLabel3,
this.xrLabel1});
this.Detail.HeightF = 85.25003F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(674.0001F, 25F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.BackColor = System.Drawing.Color.Gainsboro;
this.xrTableRow1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell11,
this.xrTableCell7,
this.xrTableCell3});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.StylePriority.UseBackColor = false;
this.xrTableRow1.StylePriority.UseBorders = false;
this.xrTableRow1.Weight = 0.59999992675782143D;
//
// xrTableCell9
//
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StylePriority.UseBorders = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Datum";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell9.Weight = 0.3692307574932393D;
//
// xrTableCell1
//
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Einzahlungen";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell1.Weight = 0.46153848501352163D;
//
// xrTableCell2
//
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
this.xrTableCell2.StylePriority.UseBorders = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Auszahlungen";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 0.46153846740722654D;
//
// xrTableCell11
//
this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StylePriority.UseBorders = false;
this.xrTableCell11.StylePriority.UseTextAlignment = false;
this.xrTableCell11.Text = "Belegnummer";
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell11.Weight = 0.46153844686654888D;
//
// xrTableCell7
//
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseBorders = false;
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "Notiz";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell7.Weight = 1.0153846007127025D;
//
// xrTableCell3
//
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
this.xrTableCell3.StylePriority.UseBorders = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Saldo";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 0.46153847327599179D;
//
// TopMargin
//
this.TopMargin.HeightF = 158.4167F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel2
//
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Anfangsbestand", "{0:c}")});
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(574.0018F, 60.25003F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(99.99823F, 25F);
this.xrLabel2.StylePriority.UsePadding = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "xrLabel2";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel1
//
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(674.0001F, 47.33333F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "[ReportTitle]";
//
// xrLabel3
//
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(388.5866F, 60.25003F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(185.4151F, 25F);
this.xrLabel3.StylePriority.UsePadding = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "Anfangsbestand:";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// BottomMargin
//
this.BottomMargin.HeightF = 92.75004F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1,
this.GroupHeader1});
this.DetailReport.DataMember = "Transaktionen";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.Detail1.HeightF = 25F;
this.Detail1.Name = "Detail1";
//
// xrTable2
//
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(674.0001F, 25F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseFont = false;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell4,
this.xrTableCell5,
this.xrTableCell12,
this.xrTableCell8,
this.xrTableCell6});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 3, 0, 100F);
this.xrTableRow2.StylePriority.UsePadding = false;
this.xrTableRow2.Weight = 1D;
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Belegdatum", "{0:dd.MM.yyyy}")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 3, 2, 100F);
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.StylePriority.UseTextAlignment = false;
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell10.Weight = 0.36923100398137021D;
//
// xrTableCell4
//
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Einzahlung", "{0:c}")});
this.xrTableCell4.FormattingRules.Add(this.Einzahlungstextsichtbarkeitsformatierungsregel);
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 3, 2, 100F);
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "xrTableCell4";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell4.Weight = 0.46153841458834133D;
//
// Einzahlungstextsichtbarkeitsformatierungsregel
//
this.Einzahlungstextsichtbarkeitsformatierungsregel.Condition = "[Einzahlung] == 0";
this.Einzahlungstextsichtbarkeitsformatierungsregel.DataMember = "Transaktionen";
this.Einzahlungstextsichtbarkeitsformatierungsregel.Formatting.ForeColor = System.Drawing.Color.Transparent;
this.Einzahlungstextsichtbarkeitsformatierungsregel.Name = "Einzahlungstextsichtbarkeitsformatierungsregel";
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Auszahlung", "{0:c}")});
this.xrTableCell5.FormattingRules.Add(this.Auszahlungstextsichtbarkeitsformatierungsregel);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 3, 2, 100F);
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "xrTableCell5";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell5.Weight = 0.46153853783240684D;
//
// Auszahlungstextsichtbarkeitsformatierungsregel
//
this.Auszahlungstextsichtbarkeitsformatierungsregel.Condition = "[Auszahlung] == 0";
this.Auszahlungstextsichtbarkeitsformatierungsregel.DataMember = "Transaktionen";
this.Auszahlungstextsichtbarkeitsformatierungsregel.Formatting.ForeColor = System.Drawing.Color.Transparent;
this.Auszahlungstextsichtbarkeitsformatierungsregel.Name = "Auszahlungstextsichtbarkeitsformatierungsregel";
//
// xrTableCell12
//
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Belegnummer")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 3, 2, 100F);
this.xrTableCell12.StylePriority.UsePadding = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "xrTableCell12";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell12.Weight = 0.46153848207913922D;
//
// xrTableCell8
//
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 3, 2, 100F);
this.xrTableCell8.StylePriority.UsePadding = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "[Notiz]";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell8.Weight = 1.0153846359252932D;
//
// xrTableCell6
//
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Bestand", "{0:c}")});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 3, 2, 100F);
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "xrTableCell6";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell6.Weight = 0.46153843806340167D;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.GroupHeader1.HeightF = 25F;
this.GroupHeader1.Name = "GroupHeader1";
this.GroupHeader1.RepeatEveryPage = true;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.KassenbuchRO);
//
// KassenbuchReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.TopMargin,
this.BottomMargin,
this.DetailReport});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.Einzahlungstextsichtbarkeitsformatierungsregel,
this.Auszahlungstextsichtbarkeitsformatierungsregel});
this.Margins = new System.Drawing.Printing.Margins(101, 75, 158, 93);
this.Version = "17.1";
this.Watermark.Image = ((System.Drawing.Image)(resources.GetObject("KassenbuchReport.Watermark.Image")));
this.Watermark.ImageViewMode = DevExpress.XtraPrinting.Drawing.ImageViewMode.Zoom;
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.FormattingRule Einzahlungstextsichtbarkeitsformatierungsregel;
private DevExpress.XtraReports.UI.FormattingRule Auszahlungstextsichtbarkeitsformatierungsregel;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
}
}

View File

@@ -0,0 +1,24 @@
using System.Linq;
using BeWo.Report;
using BeWo.Report.ReportObjects;
namespace QuerFaelltEin
{
public partial class KassenbuchReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<KassenbuchRO>
{
public KassenbuchReport()
{
InitializeComponent();
}
public void SetReportDataSource(KassenbuchRO pRO)
{
//if (pRO.Transaktionen != null)
//{
// pRO.Transaktionen = pRO.Transaktionen.OrderBy(o => o.Belegdatum).ToList();
//}
bindingSource1.DataSource = pRO;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -48,6 +48,18 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="KassenbelegReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="KassenbelegReport.Designer.cs">
<DependentUpon>KassenbelegReport.cs</DependentUpon>
</Compile>
<Compile Include="KassenbuchReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="KassenbuchReport.Designer.cs">
<DependentUpon>KassenbuchReport.cs</DependentUpon>
</Compile>
<Compile Include="Plugins\CustomServiceRecordStatisticFactory.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Quittierungsbeleg.cs">
@@ -82,6 +94,13 @@
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="KassenbelegReport.resx">
<DependentUpon>KassenbelegReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KassenbuchReport.resx">
<DependentUpon>KassenbuchReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Quittierungsbeleg.resx">
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>

View File

@@ -178,7 +178,7 @@ namespace SpzRatingen
}
}
if (function == "Krankemkasse")
if (function == "Krankenkasse")
report = new SpzRatingen.LeistungsnachweisSoziotherapie();
if (report == null)

View File

@@ -24,7 +24,6 @@ namespace SpzRatingen
public void SetReportDataSource(ServicesOverviewRO pRO)
{
double gesamt = 0;
if (pRO.Services != null)
{
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
@@ -34,15 +33,19 @@ namespace SpzRatingen
if (s.IsBillable)
{
servicesBillable.Add(s);
s.Minutes = s.Minutes * (double)pRO.RateFactor;
gesamt += s.Minutes;
}
s.Notice5 = "E"; //Einzel
if (s.ServiceDescription.Contains("Probation") || s.ServiceDescription.Contains("(P)"))
{
s.Notice5 = "P";
else if (s.Minutes == s.GroupMinutes)
s.Notice5 = "E";
else if (s.Minutes != s.GroupMinutes)
}
else if (s.ServiceDescription.Contains("(G)"))
{
s.Notice5 = "G";
}
if (s.ServiceDescription.Contains("(A)"))
{
@@ -61,6 +64,7 @@ namespace SpzRatingen
s.ServiceDescription = "(E)";
}
ServicesOverviewRO.CreateSignatureString(s);
}

View File

@@ -74,7 +74,6 @@ namespace SpzRatingen
this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
@@ -104,6 +103,7 @@ namespace SpzRatingen
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldArt = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldGroup = new DevExpress.XtraReports.UI.CalculatedField();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
@@ -613,33 +613,20 @@ namespace SpzRatingen
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5});
this.bottomMarginBand1.HeightF = 54.95828F;
this.bottomMarginBand1.HeightF = 35.66659F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrLabel5
//
this.xrLabel5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 9.999974F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(1109F, 30.29169F);
this.xrLabel5.StylePriority.UseBorders = false;
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = resources.GetString("xrLabel5.Text");
this.xrLabel5.Visible = false;
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel20,
this.xrLabel3,
this.xrLabel11,
this.xrLabel8,
this.xrLabel6,
this.cellGesamt});
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
this.ReportFooter.HeightF = 140.125F;
this.ReportFooter.HeightF = 178.6667F;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
@@ -794,7 +781,7 @@ namespace SpzRatingen
//
this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedEndDate", "{0:dd.MM.yyyy}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EndDate", "{0:dd.MM.yyyy}")});
this.xrLabel19.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(378.4589F, 184.1667F);
this.xrLabel19.Name = "xrLabel19";
@@ -807,7 +794,7 @@ namespace SpzRatingen
//
this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedStartDate", "{0:dd.MM.yyyy}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "{0:dd.MM.yyyy}")});
this.xrLabel10.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(124.8126F, 184.1667F);
this.xrLabel10.Name = "xrLabel10";
@@ -944,6 +931,18 @@ namespace SpzRatingen
this.fieldGroup.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldGroup.Name = "fieldGroup";
//
// xrLabel20
//
this.xrLabel20.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0.001049042F, 148.375F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(1085.229F, 30.29169F);
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.Text = resources.GetString("xrLabel20.Text");
this.xrLabel20.Visible = false;
//
// LeistungsnachweisSoziotherapie
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -966,7 +965,7 @@ namespace SpzRatingen
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(30, 30, 50, 55);
this.Margins = new System.Drawing.Printing.Margins(30, 30, 50, 36);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
@@ -1052,7 +1051,7 @@ namespace SpzRatingen
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
private DevExpress.XtraReports.UI.XRLabel xrLabel20;
}
}

View File

@@ -120,7 +120,7 @@
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>21, 17</value>
</metadata>
<data name="xrLabel5.Text" xml:space="preserve">
<data name="xrLabel20.Text" xml:space="preserve">
<value>Die Daten werden von der gesetzlichen Krankenkasse zur Erfüllung der Aufgaben nach § 284 Abs. 1 Nr. 8 SGB V erhoben und verarbeitet. Nach dem Vertrag nach 132b SGB V in Verbindung mit § 37a SGB V zur Versorgung mit Soziotherapie sind Sie verpflichtet, die erforderlichen Angaben zu machen.</value>
</data>
</root>

View File

@@ -39,6 +39,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
@@ -48,10 +49,16 @@ namespace BeWo.TeamGSReports
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.lblHatAbwesenheiten = new DevExpress.XtraReports.UI.XRLabel();
this.textAbsenceTimes = new DevExpress.XtraReports.UI.XRRichText();
this.lblAbsenceTimes = new DevExpress.XtraReports.UI.XRLabel();
@@ -84,7 +91,6 @@ namespace BeWo.TeamGSReports
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.fieldTotalMitFaktor = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldCustomerCount = new DevExpress.XtraReports.UI.CalculatedField();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -111,7 +117,7 @@ namespace BeWo.TeamGSReports
this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(590F, 38F);
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(603.5416F, 38F);
this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableRow2
@@ -121,7 +127,8 @@ namespace BeWo.TeamGSReports
this.xrTableCell4,
this.xrTableCell11,
this.xrTableCell9,
this.xrTableCell12});
this.xrTableCell12,
this.xrTableCell1});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -136,7 +143,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Datum";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell3.Weight = 0.18831235419843567D;
this.xrTableCell3.Weight = 0.16281172768976165D;
//
// xrTableCell4
//
@@ -148,7 +155,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "von";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell4.Weight = 0.24480606045796641D;
this.xrTableCell4.Weight = 0.15064988335874852D;
//
// xrTableCell11
//
@@ -159,7 +166,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell11.StylePriority.UseTextAlignment = false;
this.xrTableCell11.Text = "bis";
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell11.Weight = 0.24480606045796649D;
this.xrTableCell11.Weight = 0.15064988335874863D;
//
// xrTableCell9
//
@@ -170,7 +177,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Anzahl Teilnehmer";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell9.Weight = 0.18831235419843573D;
this.xrTableCell9.Weight = 0.16948111877859221D;
//
// xrTableCell12
//
@@ -180,9 +187,23 @@ namespace BeWo.TeamGSReports
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
this.xrTableCell12.StylePriority.UseForeColor = false;
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "Anzahl Minuten";
this.xrTableCell12.Text = "Minuten";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell12.Weight = 0.24480606045796638D;
this.xrTableCell12.Weight = 0.19396172482438875D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.WhiteSmoke;
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Unterschrift Klient/in";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell1.Weight = 0.30898910643374272D;
//
// DetailReport
//
@@ -214,7 +235,7 @@ namespace BeWo.TeamGSReports
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable3.SizeF = new System.Drawing.SizeF(590F, 20F);
this.xrTable3.SizeF = new System.Drawing.SizeF(603.5416F, 20F);
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableRow6
@@ -224,7 +245,8 @@ namespace BeWo.TeamGSReports
this.xrTableCell14,
this.xrTableCell15,
this.xrTableCell16,
this.xrTableCell17});
this.xrTableCell17,
this.xrTableCell2});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -243,7 +265,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell13.StylePriority.UseTextAlignment = false;
this.xrTableCell13.Text = "xrTableCell13";
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell13.Weight = 0.17246315217675193D;
this.xrTableCell13.Weight = 0.14910877115197019D;
//
// xrTableCell14
//
@@ -258,7 +280,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.Text = "xrTableCell14";
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell14.Weight = 0.22420211147537716D;
this.xrTableCell14.Weight = 0.13797060036363124D;
//
// xrTableCell15
//
@@ -273,7 +295,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Text = "xrTableCell15";
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell15.Weight = 0.22420209828722498D;
this.xrTableCell15.Weight = 0.13797062664916238D;
//
// xrTableCell16
//
@@ -288,7 +310,7 @@ namespace BeWo.TeamGSReports
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "xrTableCell16";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell16.Weight = 0.17246300116596158D;
this.xrTableCell16.Weight = 0.15521663315414019D;
//
// xrTableCell17
//
@@ -303,7 +325,32 @@ namespace BeWo.TeamGSReports
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.Text = "xrTableCell17";
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell17.Weight = 0.22420224432905717D;
this.xrTableCell17.Weight = 0.1776370504764006D;
//
// xrTableCell2
//
this.xrTableCell2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.picSignature});
this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 4, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell2.Weight = 0.28298312594584579D;
//
// picSignature
//
this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(7.04155F, 0F);
this.picSignature.Name = "picSignature";
this.picSignature.SizeF = new System.Drawing.SizeF(150F, 20.00001F);
this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.picSignature.StylePriority.UseBorders = false;
this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint);
//
// bindingSource1
//
@@ -328,7 +375,10 @@ namespace BeWo.TeamGSReports
// Detail2
//
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel7,
this.xrPictureBox1,
this.xrPictureBox2,
this.xrLabel18,
this.xrLabel17,
this.lblHatAbwesenheiten,
this.textAbsenceTimes,
this.lblAbsenceTimes,
@@ -342,6 +392,53 @@ namespace BeWo.TeamGSReports
this.Detail2.StylePriority.UseBorders = false;
this.Detail2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrPictureBox1
//
this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "EmployeeSignature")});
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(484.1806F, 80.49997F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.Scripts.OnBeforePrint = "xrPictureBox1_BeforePrint";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(199.3611F, 35.50002F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrPictureBox2
//
this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "CustomerSignature")});
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(172.1392F, 80.49997F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(199.3611F, 35.50002F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrLabel18
//
this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate", "{0:dd.MM.yyyy}")});
this.xrLabel18.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(79.99979F, 80.50003F);
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(92.13944F, 35.50002F);
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.StylePriority.UseTextAlignment = false;
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
//
// xrLabel17
//
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeSignatureDate", "{0:dd.MM.yyyy}")});
this.xrLabel17.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(391.7496F, 80.49997F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(92.431F, 35.50002F);
this.xrLabel17.StylePriority.UseBackColor = false;
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.StylePriority.UseTextAlignment = false;
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
//
// lblHatAbwesenheiten
//
this.lblHatAbwesenheiten.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
@@ -383,15 +480,15 @@ namespace BeWo.TeamGSReports
// xrLabel3
//
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(180F, 0F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(80.00005F, 0F);
this.xrLabel3.Multiline = true;
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(360F, 34.66669F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(336.4583F, 34.66669F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "Summe der direkt abrechenbaren Leistungen";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel3.Text = "Summe der direkt abrechenbaren Leistungen: ";
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel4
//
@@ -402,10 +499,10 @@ namespace BeWo.TeamGSReports
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")});
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(540.0001F, 0F);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(416.4584F, 0F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(130F, 34.6667F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(103F, 34.6667F);
this.xrLabel4.StylePriority.UseBorders = false;
this.xrLabel4.StylePriority.UseBorderWidth = false;
this.xrLabel4.StylePriority.UseFont = false;
@@ -423,12 +520,12 @@ namespace BeWo.TeamGSReports
this.xrLabel2.Multiline = true;
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(230F, 23.99997F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(291.5002F, 24F);
this.xrLabel2.StylePriority.UseBorders = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UseForeColor = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Unterschrift Mitarbeiter/in";
this.xrLabel2.Text = "Datum, Unterschrift Mitarbeiter/in";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel5
@@ -436,16 +533,16 @@ namespace BeWo.TeamGSReports
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel5.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel5.ForeColor = System.Drawing.SystemColors.ControlText;
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(440.0002F, 116F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(391.7496F, 116F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(229.9998F, 24F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(291.7919F, 24F);
this.xrLabel5.StylePriority.UseBorders = false;
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseForeColor = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "Unterschrift Klient/in";
this.xrLabel5.Text = "Datum, Unterschrift Klient/in";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// DetailReport2
@@ -691,23 +788,6 @@ namespace BeWo.TeamGSReports
this.fieldCustomerCount.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldCustomerCount.Name = "fieldCustomerCount";
//
// xrLabel7
//
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel7.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel7.ForeColor = System.Drawing.SystemColors.ControlText;
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(343.9166F, 116F);
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(96.08359F, 24F);
this.xrLabel7.StylePriority.UseBorders = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.StylePriority.UseForeColor = false;
this.xrLabel7.StylePriority.UseTextAlignment = false;
this.xrLabel7.Text = "Datum";
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// Stundenzettel
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -797,6 +877,12 @@ namespace BeWo.TeamGSReports
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel lblHatAbwesenheiten;
private DevExpress.XtraReports.UI.XRRichText textAbsenceTimes;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRLabel xrLabel18;
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
private DevExpress.XtraReports.UI.XRPictureBox picSignature;
}
}

View File

@@ -3,8 +3,12 @@ using BS.Shared;
using BeWo.Report.ReportObjects;
using BeWo.Report;
using System.Collections.Generic;
using BeWo.Data.Entities;
using BeWo.Data.Access;
using DevExpress.XtraReports.UI;
using System.Text.RegularExpressions;
using BS.Shared.Core;
using System.IO;
using BeWo.Data.Entities;
namespace BeWo.TeamGSReports
{
@@ -76,5 +80,30 @@ namespace BeWo.TeamGSReports
}
this.bindingSource1.DataSource = pRO;
}
private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRPictureBox xrBox = sender as XRPictureBox;
string base64String = xrBox.Tag as string;
if (!String.IsNullOrWhiteSpace(base64String))
{
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
var binData = Convert.FromBase64String(base64Data);
System.Drawing.Image img = ByteArrayToImage(binData);
xrBox.Image = Utils.CropImage(img);
}
else
{
xrBox.Image = null;
}
}
public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn)
{
using (var memoryStream = new MemoryStream(byteArrayIn))
{
return System.Drawing.Image.FromStream(memoryStream);
}
}
}
}

View File

@@ -121,7 +121,7 @@
<value>21, 17</value>
</metadata>
<data name="textAbsenceTimes.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABiAGUAawBhAG4AbgB0ACAAbwBkAGUAcgAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABhAGIAcgBlAGMAaABuAHUAbgBnAHMAcgBlAGwAZQB2AGEAbgB0AH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIAAgAGkAbQB9AHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAIAB9AHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A</value>
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABzAGwAMgA3ADUAXABzAGwAbQB1AGwAdAAxAFwAcwBhADIAMAAwAHsAXABsAGEAbgBnADcAXABsAGEAbgBnAGYAZQA3AFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAASwBlAGkAbgBlACAAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAcgBhAG4AawBlAG4AaABhAHUAcwBhAHUAZgBlAG4AdABoAGEAbAB0AGUAIABiAGUAawBhAG4AbgB0ACAAbwBkAGUAcgAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwA3AFwAbABhAG4AZwBmAGUANwBcAGYAcwAyADIAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="Stundenzettel.Watermark.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@@ -0,0 +1,22 @@
using BeWo.Service.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisionReports
{
public class CustomCustomerService : CustomerService
{
protected override string GetBrushForNearlyExpiredSupportConcept()
{
return "#FFFFFF";
}
protected override string GetBrushForExpiredSupportConcept()
{
return "#FAF200";
}
}
}

View File

@@ -95,7 +95,9 @@
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Presentation" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
@@ -106,6 +108,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CustomCustomerService.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServicesOverviewReport.cs">
<SubType>Component</SubType>
@@ -134,6 +137,14 @@
<Project>{40D8B312-EA64-49E3-A31A-5E57ED4D5654}</Project>
<Name>Report</Name>
</ProjectReference>
<ProjectReference Include="..\..\Service\Service.csproj">
<Project>{094331c3-ecee-4c89-bbfd-4c9ded89f0ef}</Project>
<Name>Service</Name>
</ProjectReference>
<ProjectReference Include="..\..\Shared\Shared.csproj">
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">

View File

@@ -152,12 +152,15 @@ namespace BeWo.WegweiserBetreuungsdienstReports
if (scap != null && scap.CostBearer2SupportConcept != null && scap.CostBearer2SupportConcept.CostBearer != null && scap.CostBearer2SupportConcept.CostBearer.Organisation != null)
{
var cb = scap.CostBearer2SupportConcept.CostBearer.Organisation.Name;
if (!cb.IsNullOrEmpty() && !cb.ToLower().Contains("lvr") && !cb.ToLower().Contains("jugendhilfe") && !cb.ToLower().Contains("jugendhilfe") && !cb.ToLower().Contains("stadt willich"))
if (iServiceRecord.Start.HasValue && iServiceRecord.Start.Value.Date >= new DateTime(2023, 06, 01).Date)
{
if (iServiceRecord.ServiceDescription.CategoryName == "besondere Betreuungsleistungen nach §45b SGB XI" || iServiceRecord.ServiceDescription.CategoryName == "Pflegesachleistung gem. § 36 SGB XI"
|| iServiceRecord.ServiceDescription.CategoryName == "Verhinderungspflege gem. § 39 SGB 11")
if (!cb.IsNullOrEmpty() && !cb.ToLower().Contains("lvr") && !cb.ToLower().Contains("jugendhilfe") && !cb.ToLower().Contains("jugendhilfe") && !cb.ToLower().Contains("stadt willich"))
{
list.Add(CreateKontaktpauschalenItem(1, iServiceRecord.Start, iServiceRecord.End));
if (iServiceRecord.ServiceDescription.CategoryName == "besondere Betreuungsleistungen nach §45b SGB XI" || iServiceRecord.ServiceDescription.CategoryName == "Pflegesachleistung gem. § 36 SGB XI"
|| iServiceRecord.ServiceDescription.CategoryName == "Verhinderungspflege gem. § 39 SGB 11")
{
list.Add(CreateKontaktpauschalenItem(1, iServiceRecord.Start, iServiceRecord.End));
}
}
}
}

View File

@@ -77,8 +77,12 @@ namespace BeWo.WegweiserBetreuungsdienstReports
if (String.IsNullOrEmpty(ii.RateFactor) || ii.RateFactor == "1" || ii.RateFactor == "0,00 %")
{
ii.ServiceDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} {3}x {4:c}", ii.AccountingPeriodStart, ii.AccountingPeriodEnd,
ii.UnitCount, "", ii.AmountPerUnit);
string einheit = "";
if (ii.ServiceDescription != "Kontaktpauschale")
einheit = "Std. ";
ii.ServiceDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} {3}x {4:c}", ii.AccountingPeriodStart, ii.AccountingPeriodEnd,
ii.UnitCount, einheit, ii.AmountPerUnit);
}
else
{

View File

@@ -299,7 +299,8 @@ namespace ReportingService.ServiceImplementations
public MemoryStream CreateUserListReport(List<long> oids)
{
return null;
var reportCreator = GetReportCreator();
return CreateReportStream(reportCreator.CreateUserListReport(oids));
}
public MemoryStream CreateUserGroupListReport(List<long> oids)

View File

@@ -122,7 +122,13 @@ namespace BeWo.Service.Dienstplanung
root.AlleDienstvertretungen = GetAllDienstvertretungenAsList(wohnheimOid, date.Year, date.Month);
root.DienstDCListe = GetDienstEintraege(wohnheimOid, date.Year, date.Month); //BP
root.DienstDCListe.AddRange(GetDienstvertretungen(wohnheimOid, date.Year, date.Month)); // Hier muss dringend eingebaut werden, dass bereits enthaltene Mitarbeiter ignoriert oder verrechnet werden
var dienstvertretungen = GetDienstvertretungen(wohnheimOid, date.Year, date.Month); // Hier muss dringend eingebaut werden, dass bereits enthaltene Mitarbeiter ignoriert oder verrechnet werden
foreach (var dv in dienstvertretungen)
{
if (!root.DienstDCListe.Any(dc => dc.Employee.EmployeeOid == dv.Employee.EmployeeOid))
root.DienstDCListe.Add(dv);
}
if (wh.Sortierungsart == 0) // Alphabetisch
{

View File

@@ -483,6 +483,9 @@ namespace BeWo.Service.Plugins
dc.SupportConceptOid = pEntity.Oid.Value;
dc.SupportConceptVersion = pEntity.Version.Value;
dc.NearlyExpiredBrush = GetBrushForNearlyExpiredSupportConcept();
dc.ExpiredBrush = GetBrushForExpiredSupportConcept();
Customer cust = pEntity.Customer;
var customerDC = new CompactCustomerDC();
@@ -560,6 +563,15 @@ namespace BeWo.Service.Plugins
return dc;
}
protected virtual string GetBrushForNearlyExpiredSupportConcept()
{
return System.Windows.Media.Brushes.Yellow.ToString();
}
protected virtual string GetBrushForExpiredSupportConcept()
{
return System.Windows.Media.Brushes.Red.ToString();
}
private Dictionary<long, long> CreateTeamOidDict(long employeeOid)
{
var teamOids = new Dictionary<long, long>();
@@ -712,6 +724,8 @@ namespace BeWo.Service.Plugins
dc.ConferenceDate = sc.ConferenceDate;
dc.IsApproved = cb2sc.Status == CostBearer2SupportConceptStatus.Approved;
dc.NearlyExpiredBrush = GetBrushForNearlyExpiredSupportConcept();
dc.ExpiredBrush = GetBrushForExpiredSupportConcept();
var costBearer = new CompactCostBearerDC();

View File

@@ -116,7 +116,7 @@ namespace BeWo.Service.Plugins
//t = "3890031575"; // Die Wohnhelfer Kuhrau
//t = "3536719736"; // BeWo Stefanie Schäfer (BeWoKerpen)
//t = "7739670213"; // SPZ Leverkusen
t = "3341456098"; // Hilfe Daheim (früher BeWo Schillinger)
//t = "3341456098"; // Hilfe Daheim (früher BeWo Schillinger)
//t = "4271389563"; // Komm Mit
//t = "5430005891"; // Marienhospital Eickel
//t = "3265049248"; // Gerdas Pflegedienst
@@ -310,7 +310,7 @@ namespace BeWo.Service.Plugins
//t = "1344064965"; // ABW Klaßen
//t = "3625103678"; // Pro Hilfe GbR | MID
//t = "6028314513"; // Grundstein e.V.
t = "6178735147"; // Ilka Link ivi. - ambulante Hilfen, Beratung &amp; Therapie
//t = "6178735147"; // Ilka Link ivi. - ambulante Hilfen, Beratung &amp; Therapie
//t = "9416221963"; // Übergangshilfe Unna e.V.
//t = "1316958991"; // Aidshilfe Essen
//t = "3718732195"; // Diakonie Remscheid Lennep (Jobfit)
@@ -363,6 +363,7 @@ namespace BeWo.Service.Plugins
//t = "7564067748"; // SKM Aachen
//t = "3892746107"; // Die Lebenslotsen
//t = "6320805883"; // SELF GbR
//t = "5205940740"; // Team GS
return t;
#else

View File

@@ -0,0 +1,160 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.ServiceUtils;
using BS.Shared;
using BS.Shared.Extensions;
using BS.Shared.Translation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Service.Reporting
{
public class ExportAndPrintHelper
{
// Hier ist der Code, der die StringArrays für den Excel-Export und die Print-Versionen des Exports erstellt
public virtual string[] PrepareHeaderArrayForPersonExport()
{
return new string[] {
"Titel", // 0
"Nachname", // 1
"Vorname", // 2
"Funktion", // 3
"Geburtsdatum", // 4
"Strasse", // 5
"PLZ", // 6
"Ort", // 7
"Telefon", // 8
"Mobil", // 9
"Mail", // 10
"Fax", // 11
"Bemerkung" // 12
};
}
public virtual string[][] PrepareContentArrayForPersonExport(long[] pSortedOids)
{
var lPersons = DAOFactory.GenericDAO.LoadByIDs<Person>(pSortedOids);
string[][] lContent = new string[lPersons.Count][];
for (int iRowCount = 0; iRowCount < lPersons.Count; iRowCount++)
{
lContent[iRowCount] = new string[PrepareHeaderArrayForPersonExport().Count()];
if (lPersons[iRowCount].Title != null)
{
lContent[iRowCount][0] = lPersons[iRowCount].Title.Value;
}
else
{
lContent[iRowCount][0] = string.Empty;
}
lContent[iRowCount][1] = lPersons[iRowCount].LastName;
lContent[iRowCount][2] = lPersons[iRowCount].FirstName;
if (lPersons[iRowCount].Function != null)
{
lContent[iRowCount][3] = lPersons[iRowCount].Function.Value;
}
else
{
lContent[iRowCount][3] = string.Empty;
}
lContent[iRowCount][4] = lPersons[iRowCount].DateOfBirth.DoIfNotNull(d => d.ToShortDateString());
// lContent[iRowCount][4] = lPersons[iRowCount].Sex == Sex.Male ? "männlich" : "weiblich";
if (lPersons[iRowCount].Address != null)
{
lContent[iRowCount][5] = lPersons[iRowCount].Address.Street;
lContent[iRowCount][6] = lPersons[iRowCount].Address.PostalCode;
lContent[iRowCount][7] = lPersons[iRowCount].Address.Town;
}
foreach (var iContact in lPersons[iRowCount].Contacts)
{
switch (iContact.Type)
{
case ContactType.private_Phone:
lContent[iRowCount][8] = iContact.Value;
break;
case ContactType.private_MobilePhone:
lContent[iRowCount][9] = iContact.Value;
break;
case ContactType.private_Mail:
lContent[iRowCount][10] = iContact.Value;
break;
case ContactType.private_Fax:
lContent[iRowCount][11] = iContact.Value;
break;
}
}
lContent[iRowCount][12] = lPersons[iRowCount].Notice;
}
return lContent;
}
public virtual string[] PrepareHeaderArrayForUserExport()
{
return new string[]{ "Mitarbeiter", "Login", "zugeordnete Benutzergruppen" };
}
public virtual string[][] PrepareContentArrayForUserExport(long[] pSortedOids)
{
var lUser = DAOFactory.GenericDAO.LoadByIDs<ApplicationUser>(pSortedOids);
string[][] lContent = new string[lUser.Count][];
for (int iRowCount = 0; iRowCount < lUser.Count; iRowCount++)
{
lContent[iRowCount] = new string[3];
if (lUser[iRowCount].Employee != null)
{
lContent[iRowCount][0] = lUser[iRowCount].Employee.Person.ToString();
}
else
{
lContent[iRowCount][0] = "";
}
lContent[iRowCount][1] = lUser[iRowCount].LoginName;
lContent[iRowCount][2] = string.Join(", ", lUser[iRowCount].UserGroups.Select(ug => ug.Name).ToArray());
}
return lContent;
}
public virtual string[] PrepareHeaderArrayForUserGroupExport()
{
return new string[] { "Name", "Beschreibung", "zugeordnete Rechte" };
}
public virtual string[][] PrepareContentArrayForUserGroupExport(long[] pSortedOids)
{
Translator t = new Translator(new ServiceTranslator());
var lUserGroups = DAOFactory.GenericDAO.LoadByIDs<UserGroup>(pSortedOids);
string[][] lContent = new string[lUserGroups.Count][];
for (int iRowCount = 0; iRowCount < lUserGroups.Count; iRowCount++)
{
lContent[iRowCount] = new string[3];
lContent[iRowCount][0] = lUserGroups[iRowCount].Name;
lContent[iRowCount][1] = lUserGroups[iRowCount].Description;
lContent[iRowCount][2] = string.Join(", ", lUserGroups[iRowCount].Rights.Select(r => BS.Shared.Core.EnumTranslations.UserRightType2Translations[r.RightType]).OrderBy(s => s).ToArray());
}
return lContent;
}
}
}

View File

@@ -429,6 +429,7 @@
<Compile Include="Plugins\SchulbegleitenderDienstService.cs" />
<Compile Include="Plugins\VacationService.cs" />
<Compile Include="Reporting\AnnualReportEngine.cs" />
<Compile Include="Reporting\ExportAndPrintHelper.cs" />
<Compile Include="Reporting\IJahresBerichtElement.cs" />
<Compile Include="Reporting\JahresBerichtNachVarFieldDef.cs" />
<Compile Include="Reporting\JahresBerichtNachKlinikaufenthalt.cs" />

View File

@@ -21,6 +21,7 @@ using BeWo.Data;
using Utils = BeWo.Service.Core.Utils;
using BeWo.Service.ServiceUtils;
using BS.Shared.Translation;
using BeWo.Service.Reporting;
namespace BeWo.Service.ServiceImplementations
{
@@ -611,83 +612,89 @@ namespace BeWo.Service.ServiceImplementations
{
string lPath = BS.Shared.Core.Utils.CreateSavePath(AppDomain.CurrentDomain.BaseDirectory, pFileID + ".tmp");
var lPersons = DAOFactory.GenericDAO.LoadByIDs<Person>(pSortedOids);
var helper = new ExportAndPrintHelper();
var lHeaderCaption = helper.PrepareHeaderArrayForPersonExport();
var lContent = helper.PrepareContentArrayForPersonExport(pSortedOids);
string[] lHeaderCaption = {
"Titel", // 0
"Nachname", // 1
"Vorname", // 2
"Funktion", // 3
"Geburtsdatum", // 4
"Strasse", // 5
"PLZ", // 6
"Ort", // 7
"Telefon", // 8
"Mobil", // 9
"Mail", // 10
"Fax", // 11
"Bemerkung" // 12
};
string[][] lContent = new string[lPersons.Count][];
#region alt
//var lPersons = DAOFactory.GenericDAO.LoadByIDs<Person>(pSortedOids);
for (int iRowCount = 0; iRowCount < lPersons.Count; iRowCount++)
{
lContent[iRowCount] = new string[lHeaderCaption.Count()];
//string[] lHeaderCaption = {
// "Titel", // 0
// "Nachname", // 1
// "Vorname", // 2
// "Funktion", // 3
// "Geburtsdatum", // 4
// "Strasse", // 5
// "PLZ", // 6
// "Ort", // 7
// "Telefon", // 8
// "Mobil", // 9
// "Mail", // 10
// "Fax", // 11
// "Bemerkung" // 12
// };
//string[][] lContent = new string[lPersons.Count][];
if (lPersons[iRowCount].Title != null)
{
lContent[iRowCount][0] = lPersons[iRowCount].Title.Value;
}
else
{
lContent[iRowCount][0] = string.Empty;
}
lContent[iRowCount][1] = lPersons[iRowCount].LastName;
//for (int iRowCount = 0; iRowCount < lPersons.Count; iRowCount++)
//{
// lContent[iRowCount] = new string[lHeaderCaption.Count()];
lContent[iRowCount][2] = lPersons[iRowCount].FirstName;
// if (lPersons[iRowCount].Title != null)
// {
// lContent[iRowCount][0] = lPersons[iRowCount].Title.Value;
// }
// else
// {
// lContent[iRowCount][0] = string.Empty;
// }
// lContent[iRowCount][1] = lPersons[iRowCount].LastName;
if (lPersons[iRowCount].Function != null)
{
lContent[iRowCount][3] = lPersons[iRowCount].Function.Value;
}
else
{
lContent[iRowCount][3] = string.Empty;
}
lContent[iRowCount][4] = lPersons[iRowCount].DateOfBirth.DoIfNotNull(d => d.ToShortDateString());
// lContent[iRowCount][2] = lPersons[iRowCount].FirstName;
// lContent[iRowCount][4] = lPersons[iRowCount].Sex == Sex.Male ? "männlich" : "weiblich";
if (lPersons[iRowCount].Address != null)
{
lContent[iRowCount][5] = lPersons[iRowCount].Address.Street;
lContent[iRowCount][6] = lPersons[iRowCount].Address.PostalCode;
lContent[iRowCount][7] = lPersons[iRowCount].Address.Town;
}
foreach (var iContact in lPersons[iRowCount].Contacts)
{
switch (iContact.Type)
{
case ContactType.private_Phone:
lContent[iRowCount][8] = iContact.Value;
break;
case ContactType.private_MobilePhone:
lContent[iRowCount][9] = iContact.Value;
break;
case ContactType.private_Mail:
lContent[iRowCount][10] = iContact.Value;
break;
case ContactType.private_Fax:
lContent[iRowCount][11] = iContact.Value;
break;
}
}
// if (lPersons[iRowCount].Function != null)
// {
// lContent[iRowCount][3] = lPersons[iRowCount].Function.Value;
// }
// else
// {
// lContent[iRowCount][3] = string.Empty;
// }
lContent[iRowCount][12] = lPersons[iRowCount].Notice;
}
// lContent[iRowCount][4] = lPersons[iRowCount].DateOfBirth.DoIfNotNull(d => d.ToShortDateString());
// // lContent[iRowCount][4] = lPersons[iRowCount].Sex == Sex.Male ? "männlich" : "weiblich";
// if (lPersons[iRowCount].Address != null)
// {
// lContent[iRowCount][5] = lPersons[iRowCount].Address.Street;
// lContent[iRowCount][6] = lPersons[iRowCount].Address.PostalCode;
// lContent[iRowCount][7] = lPersons[iRowCount].Address.Town;
// }
// foreach (var iContact in lPersons[iRowCount].Contacts)
// {
// switch (iContact.Type)
// {
// case ContactType.private_Phone:
// lContent[iRowCount][8] = iContact.Value;
// break;
// case ContactType.private_MobilePhone:
// lContent[iRowCount][9] = iContact.Value;
// break;
// case ContactType.private_Mail:
// lContent[iRowCount][10] = iContact.Value;
// break;
// case ContactType.private_Fax:
// lContent[iRowCount][11] = iContact.Value;
// break;
// }
// }
// lContent[iRowCount][12] = lPersons[iRowCount].Notice;
//}
#endregion
return WriteHtmlFile(lHeaderCaption, lContent);
}
@@ -764,28 +771,34 @@ namespace BeWo.Service.ServiceImplementations
{
string lPath = BS.Shared.Core.Utils.CreateSavePath(AppDomain.CurrentDomain.BaseDirectory, pFileID + ".tmp");
var lUser = DAOFactory.GenericDAO.LoadByIDs<ApplicationUser>(pSortedOids);
#region alt
//var lUser = DAOFactory.GenericDAO.LoadByIDs<ApplicationUser>(pSortedOids);
string[] lHeaderCaption = {
"Mitarbeiter", "Login", "zugeordnete Benutzergruppen"
};
string[][] lContent = new string[lUser.Count][];
//string[] lHeaderCaption = {
// "Mitarbeiter", "Login", "zugeordnete Benutzergruppen"
// };
//string[][] lContent = new string[lUser.Count][];
for (int iRowCount = 0; iRowCount < lUser.Count; iRowCount++)
{
lContent[iRowCount] = new string[3];
if (lUser[iRowCount].Employee != null)
{
lContent[iRowCount][0] = lUser[iRowCount].Employee.Person.ToString();
}
else
{
lContent[iRowCount][0] = "";
}
//for (int iRowCount = 0; iRowCount < lUser.Count; iRowCount++)
//{
// lContent[iRowCount] = new string[3];
// if (lUser[iRowCount].Employee != null)
// {
// lContent[iRowCount][0] = lUser[iRowCount].Employee.Person.ToString();
// }
// else
// {
// lContent[iRowCount][0] = "";
// }
lContent[iRowCount][1] = lUser[iRowCount].LoginName;
lContent[iRowCount][2] = string.Join(", ", lUser[iRowCount].UserGroups.Select(ug => ug.Name).ToArray());
}
// lContent[iRowCount][1] = lUser[iRowCount].LoginName;
// lContent[iRowCount][2] = string.Join(", ", lUser[iRowCount].UserGroups.Select(ug => ug.Name).ToArray());
//}
#endregion
var helper = new ExportAndPrintHelper();
var lHeaderCaption = helper.PrepareHeaderArrayForUserExport();
var lContent = helper.PrepareContentArrayForUserExport(pSortedOids);
return WriteHtmlFile(lHeaderCaption, lContent);
}
@@ -799,23 +812,31 @@ namespace BeWo.Service.ServiceImplementations
{
try
{
Translator t = new Translator(new ServiceTranslator());
var lUserGroups = DAOFactory.GenericDAO.LoadByIDs<UserGroup>(pSortedOids);
var helper = new ExportAndPrintHelper();
var lHeaderCaption = helper.PrepareHeaderArrayForUserGroupExport();
var lContent = helper.PrepareContentArrayForUserGroupExport(pSortedOids);
string[] lHeaderCaption = {
"Name", "Beschreibung", "zugeordnete Rechte"
};
string[][] lContent = new string[lUserGroups.Count][];
#region alt
//Translator t = new Translator(new ServiceTranslator());
for (int iRowCount = 0; iRowCount < lUserGroups.Count; iRowCount++)
{
lContent[iRowCount] = new string[3];
//var lUserGroups = DAOFactory.GenericDAO.LoadByIDs<UserGroup>(pSortedOids);
lContent[iRowCount][0] = lUserGroups[iRowCount].Name;
lContent[iRowCount][1] = lUserGroups[iRowCount].Description;
lContent[iRowCount][2] = string.Join(", ", lUserGroups[iRowCount].Rights.Select(r => BS.Shared.Core.EnumTranslations.UserRightType2Translations[r.RightType]).OrderBy(s => s).ToArray());
}
//string[] lHeaderCaption = {
// "Name", "Beschreibung", "zugeordnete Rechte"
// };
//string[][] lContent = new string[lUserGroups.Count][];
//for (int iRowCount = 0; iRowCount < lUserGroups.Count; iRowCount++)
//{
// lContent[iRowCount] = new string[3];
// lContent[iRowCount][0] = lUserGroups[iRowCount].Name;
// lContent[iRowCount][1] = lUserGroups[iRowCount].Description;
// lContent[iRowCount][2] = string.Join(", ", lUserGroups[iRowCount].Rights.Select(r => BS.Shared.Core.EnumTranslations.UserRightType2Translations[r.RightType]).OrderBy(s => s).ToArray());
//}
#endregion
return WriteHtmlFile(lHeaderCaption, lContent);
}

View File

@@ -199,11 +199,13 @@ namespace BS.Shared.DataContracts.Compact
{
if (this.IsAboutToExpire)
{
return Brushes.Red;
Color color = (Color)ColorConverter.ConvertFromString(this.ExpiredBrush);
return new SolidColorBrush(color);
}
else if (this.ExpiresIn3MonthOrLess)
{
return Brushes.Yellow;
Color color = (Color)ColorConverter.ConvertFromString(this.NearlyExpiredBrush);
return new SolidColorBrush(color);
}
else
{

View File

@@ -70,5 +70,11 @@ namespace BS.Shared.DataContracts.Compact
[DataMember]
public long SupportConceptVersion { get; set; }
[DataMember]
public string NearlyExpiredBrush { get; set; }
[DataMember]
public string ExpiredBrush { get; set; }
}
}