Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo into master
This commit is contained in:
@@ -64,6 +64,12 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Mitarbeiterauslastung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Mitarbeiterauslastung.designer.cs">
|
||||
<DependentUpon>Mitarbeiterauslastung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="QuittierungsbelegMitDatum.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -85,6 +91,9 @@
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Mitarbeiterauslastung.resx">
|
||||
<DependentUpon>Mitarbeiterauslastung.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="QuittierungsbelegMitDatum.resx">
|
||||
<DependentUpon>QuittierungsbelegMitDatum.cs</DependentUpon>
|
||||
|
||||
43
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.cs
Normal file
43
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
using BS.Shared.Core;
|
||||
|
||||
|
||||
namespace BetreuungsbueroBaak
|
||||
{
|
||||
[IDSpecificClass(Identifier = "Mitarbeiterauslastung")]
|
||||
public partial class Mitarbeiterauslastung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<MitarbeiterauslastungRO>
|
||||
{
|
||||
|
||||
|
||||
public Mitarbeiterauslastung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(MitarbeiterauslastungRO pRO)
|
||||
{
|
||||
AuslastungBerechnung b = new AuslastungBerechnung();
|
||||
b.CreateReport(pRO);
|
||||
|
||||
foreach (var ed in pRO.EmployeeDetailList)
|
||||
{
|
||||
foreach (var sc in ed.SupportConceptDetailList)
|
||||
{
|
||||
decimal timeSum = 0;
|
||||
foreach (var sr in sc.CostBearer2SupportConcept.ServiceRecords)
|
||||
{
|
||||
if (sr.EmployeeOid == ed.Employee.Oid && sr.Start >= pRO.ReportStartDate && sr.End <= pRO.ReportEndDate)
|
||||
//if (sr.ServiceDescription.Name.ToLower().Contains("face"))
|
||||
timeSum += sr.RoundedDuration / 60;
|
||||
}
|
||||
sc.DirectIst = Math.Round(timeSum / 4.33m, 2);
|
||||
}
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
580
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.designer.cs
generated
Normal file
580
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.designer.cs
generated
Normal file
@@ -0,0 +1,580 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BetreuungsbueroBaak
|
||||
{
|
||||
partial class Mitarbeiterauslastung
|
||||
{
|
||||
/// <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();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowHeader = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellSollGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.lblMonat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.fieldTotalSC = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldTotalEmp = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).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.xrLabel2,
|
||||
this.xrLabel1});
|
||||
this.Detail1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Detail1.HeightF = 50F;
|
||||
this.Detail1.KeepTogether = true;
|
||||
this.Detail1.KeepTogetherWithDetailReports = true;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(676.9999F, 25F);
|
||||
this.xrLabel2.StyleName = "Title";
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.Text = "Wochenstunden: [WeeklyTotalHoursByContract!0.00], FLS/Woche: [FLSTotalHoursByCont" +
|
||||
"ract!0.00]";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.FullName")});
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(676.9999F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "xrLabel1";
|
||||
//
|
||||
// xrTableDetail
|
||||
//
|
||||
this.xrTableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableDetail.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableDetail.Name = "xrTableDetail";
|
||||
this.xrTableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowDetail});
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(683.7499F, 25F);
|
||||
this.xrTableDetail.StylePriority.UseBorders = false;
|
||||
this.xrTableDetail.StylePriority.UseFont = false;
|
||||
this.xrTableDetail.StylePriority.UsePadding = false;
|
||||
this.xrTableDetail.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableDetail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRowDetail
|
||||
//
|
||||
this.xrTableRowDetail.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell19,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell8});
|
||||
this.xrTableRowDetail.Name = "xrTableRowDetail";
|
||||
this.xrTableRowDetail.Weight = 1D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.CustomerFullName")});
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell3.Weight = 0.18034265103697025D;
|
||||
//
|
||||
// xrTableCell19
|
||||
//
|
||||
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.TimeRangeString", "{0:0.00}")});
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.Text = "xrTableCell19";
|
||||
this.xrTableCell19.Weight = 0.15329125338142471D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.OrganisationName")});
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "xrTableCell2";
|
||||
this.xrTableCell2.Weight = 0.15329125338142469D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.ApprovedHoursPerWeek", "{0:0.00}")});
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Text = "xrTableCell28";
|
||||
this.xrTableCell28.Weight = 0.064810585180201719D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.DetailReport1});
|
||||
this.DetailReport.DataMember = "EmployeeDetailList";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// DetailReport1
|
||||
//
|
||||
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail2,
|
||||
this.GroupHeader2,
|
||||
this.GroupFooter1});
|
||||
this.DetailReport1.DataMember = "EmployeeDetailList.SupportConceptDetailList";
|
||||
this.DetailReport1.DataSource = this.bindingSource1;
|
||||
this.DetailReport1.Level = 0;
|
||||
this.DetailReport1.Name = "DetailReport1";
|
||||
//
|
||||
// Detail2
|
||||
//
|
||||
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableDetail});
|
||||
this.Detail2.HeightF = 25F;
|
||||
this.Detail2.Name = "Detail2";
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableHeader});
|
||||
this.GroupHeader2.HeightF = 40F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTableHeader
|
||||
//
|
||||
this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableHeader.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableHeader.Name = "xrTableHeader";
|
||||
this.xrTableHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowHeader});
|
||||
this.xrTableHeader.SizeF = new System.Drawing.SizeF(683.7499F, 40F);
|
||||
this.xrTableHeader.StylePriority.UseBorders = false;
|
||||
this.xrTableHeader.StylePriority.UseFont = false;
|
||||
this.xrTableHeader.StylePriority.UsePadding = false;
|
||||
this.xrTableHeader.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRowHeader
|
||||
//
|
||||
this.xrTableRowHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell7});
|
||||
this.xrTableRowHeader.Name = "xrTableRowHeader";
|
||||
this.xrTableRowHeader.Weight = 1.5999999999999996D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Klient/in";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell5.Weight = 0.18034264782021736D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Zeitraum";
|
||||
this.xrTableCell4.Weight = 0.15329125478030675D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Kostenträger";
|
||||
this.xrTableCell1.Weight = 0.15329125478030678D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Text = "Bewilligt/ Woche";
|
||||
this.xrTableCell9.Weight = 0.0648106406194755D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupFooter1.HeightF = 60F;
|
||||
this.GroupFooter1.Level = 1;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(683.7501F, 25F);
|
||||
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.MiddleCenter;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell38,
|
||||
this.xrTableCell6,
|
||||
this.cellSollGesamt,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell35.Text = "Gesamt";
|
||||
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell35.Weight = 0.18034254096455143D;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
this.xrTableCell38.Name = "xrTableCell38";
|
||||
this.xrTableCell38.Weight = 0.15329111579090118D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Weight = 0.15329140580312939D;
|
||||
//
|
||||
// cellSollGesamt
|
||||
//
|
||||
this.cellSollGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.ApprovedHoursPerWeek", "{0:0.00}")});
|
||||
this.cellSollGesamt.Name = "cellSollGesamt";
|
||||
this.cellSollGesamt.Text = "cellSollGesamt";
|
||||
this.cellSollGesamt.Weight = 0.064810766208211384D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterauslastungRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblMonat});
|
||||
this.ReportHeader.HeightF = 60F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// lblMonat
|
||||
//
|
||||
this.lblMonat.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportStartDate", "Auslastung {0:MMMM yy}")});
|
||||
this.lblMonat.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.lblMonat.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.lblMonat.Multiline = true;
|
||||
this.lblMonat.Name = "lblMonat";
|
||||
this.lblMonat.SizeF = new System.Drawing.SizeF(676.9999F, 25F);
|
||||
this.lblMonat.StyleName = "Title";
|
||||
this.lblMonat.StylePriority.UseFont = false;
|
||||
this.lblMonat.Text = "lblMonat";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo2.Format = "Seite {0} von {1}";
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(342.4169F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(341.333F, 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(287F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// fieldFLS
|
||||
//
|
||||
this.fieldFLS.DataMember = "FLSReportGroups";
|
||||
this.fieldFLS.Expression = "[TotalFLM] / 60";
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// fieldTotalSC
|
||||
//
|
||||
this.fieldTotalSC.DataMember = "EmployeeDetailList.SupportConceptDetailList";
|
||||
this.fieldTotalSC.Expression = "[DirectIst]+[MittelbarIst]";
|
||||
this.fieldTotalSC.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTotalSC.Name = "fieldTotalSC";
|
||||
//
|
||||
// fieldTotalEmp
|
||||
//
|
||||
this.fieldTotalEmp.DataMember = "EmployeeDetailList";
|
||||
this.fieldTotalEmp.Expression = "[DirectIst]+[MittelbarIst]";
|
||||
this.fieldTotalEmp.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldTotalEmp.Name = "fieldTotalEmp";
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "Ist / Woche";
|
||||
this.xrTableCell7.Weight = 0.064810530547056586D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.DirectIst")});
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.Weight = 0.064810585180201719D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.SupportConceptDetailList.DirectIst")});
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
xrSummary1.FormatString = "{0:0.00}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell10.Summary = xrSummary1;
|
||||
this.xrTableCell10.Weight = 0.064810766208211384D;
|
||||
//
|
||||
// Mitarbeiterauslastung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldFLS,
|
||||
this.fieldTotalSC,
|
||||
this.fieldTotalEmp});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Margins = new System.Drawing.Printing.Margins(100, 30, 50, 30);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.Title,
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.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.XRLabel lblMonat;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellSollGesamt;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail2;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldTotalSC;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldTotalEmp;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
}
|
||||
}
|
||||
123
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.resx
Normal file
123
ReportImp/BetreuungsbueroBaak/Mitarbeiterauslastung.resx
Normal 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>
|
||||
1024
ReportImp/InputFamilienhilfe/AssessmentSheetReport.Designer.cs
generated
Normal file
1024
ReportImp/InputFamilienhilfe/AssessmentSheetReport.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
107
ReportImp/InputFamilienhilfe/AssessmentSheetReport.cs
Normal file
107
ReportImp/InputFamilienhilfe/AssessmentSheetReport.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.DataContracts;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
|
||||
namespace InputFamilienhilfe
|
||||
{
|
||||
public partial class Punktebogen : XtraReport, IBeWoReport<AssessmentSheetRO>
|
||||
{
|
||||
public Punktebogen()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(AssessmentSheetRO pRO)
|
||||
{
|
||||
bindingSource1.DataSource = pRO;
|
||||
|
||||
List<AssessmentSheetCategoryDC> cats = new List<AssessmentSheetCategoryDC>();
|
||||
// if (pRO.Rows[0].Day10. > 0)
|
||||
{
|
||||
foreach (var cat in pRO.Rows[0])
|
||||
{
|
||||
foreach (var day in cat)
|
||||
}
|
||||
//foreach (var cat in pRO.Rows[0].Day1.Color)
|
||||
cats.Add(day Value);
|
||||
}
|
||||
|
||||
xrLabel_Image.Text = dienste[0].Kurz;
|
||||
xrLabel_Image.BackColor = ColorTranslator.FromHtml(dienste[0].Farbe);
|
||||
xrLabel_Time.Text = AdaptTime(dienste[0].Start.TimeOfDay, dienste[0].Ende.TimeOfDay);
|
||||
dienste.RemoveAt(0);
|
||||
int zeile = 0;
|
||||
int elem = 1;
|
||||
int counter = 1;
|
||||
int schwellwert = 7;
|
||||
foreach (var d in dienste)
|
||||
{
|
||||
var foreColor = TransformStringToColor(d.Farbe).IsBrighter(70) ? Color.Black : Color.White;
|
||||
|
||||
this.ReportFooter.Controls.Add(
|
||||
new XRLabel()
|
||||
{
|
||||
LocationF = new PointF(xrLabel_Image.WidthF * elem + xrLabel_Time.WidthF * elem + 55f, xrLabel_Time.LocationF.Y + zeile * (xrLabel_Image.HeightF + 10)),
|
||||
Font = xrLabel_Image.Font,
|
||||
TextAlignment = xrLabel_Image.TextAlignment,
|
||||
WidthF = xrLabel_Image.WidthF,
|
||||
HeightF = xrLabel_Image.HeightF,
|
||||
Borders = xrLabel_Image.Borders,
|
||||
BorderWidth = xrLabel_Image.BorderWidth,
|
||||
BackColor = ColorTranslator.FromHtml(d.Farbe),
|
||||
ForeColor = foreColor,
|
||||
Text = d.Kurz
|
||||
});
|
||||
this.ReportFooter.Controls.Add(
|
||||
new XRLabel()
|
||||
{
|
||||
LocationF = new PointF(xrLabel_Image.WidthF * (elem + 1) + xrLabel_Time.WidthF * elem + 67f, xrLabel_Time.LocationF.Y + zeile * (xrLabel_Time.HeightF + 10)),
|
||||
Font = xrLabel_Time.Font,
|
||||
TextAlignment = xrLabel_Time.TextAlignment,
|
||||
WidthF = xrLabel_Time.WidthF,
|
||||
HeightF = xrLabel_Time.HeightF,
|
||||
Text = AdaptTime(d.Start.TimeOfDay, d.Ende.TimeOfDay),
|
||||
Padding = xrLabel_Time.Padding
|
||||
});
|
||||
|
||||
elem++;
|
||||
counter++;
|
||||
|
||||
if (counter % schwellwert == 0) //Hier muss Wert für x wieder resettet werden
|
||||
{
|
||||
zeile++;
|
||||
elem = 0;
|
||||
if (schwellwert == 7)
|
||||
schwellwert++;
|
||||
counter = 1;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void Cell_EvaluateBinding(object sender, BindingEventArgs e)
|
||||
{
|
||||
var cell = sender as XRTableCell;
|
||||
|
||||
|
||||
var sv = e.Value as SheetValue;
|
||||
if (sv != null && !String.IsNullOrEmpty(sv.Color))
|
||||
{
|
||||
int argb = Int32.Parse(sv.Color.Replace("#", ""), NumberStyles.HexNumber);
|
||||
Color clr = Color.FromArgb(argb);
|
||||
|
||||
cell.BackColor = clr;
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.BackColor = Color.Transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
123
ReportImp/InputFamilienhilfe/AssessmentSheetReport.resx
Normal file
123
ReportImp/InputFamilienhilfe/AssessmentSheetReport.resx
Normal 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>
|
||||
@@ -48,6 +48,12 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssessmentSheetReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AssessmentSheetReport.Designer.cs">
|
||||
<DependentUpon>AssessmentSheetReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomMitarbeiterstundenkontoBerechnung.cs" />
|
||||
<Compile Include="CustomMitarbeiterstundenkontoBerechnungMonate.cs" />
|
||||
<Compile Include="InvoiceCustomerReport.cs">
|
||||
@@ -131,6 +137,10 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="AssessmentSheetReport.resx">
|
||||
<DependentUpon>AssessmentSheetReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="InvoiceCustomerReport.resx">
|
||||
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell67 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
@@ -54,7 +53,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell71 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell72 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell73 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell74 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell75 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell76 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
@@ -203,7 +201,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell46,
|
||||
this.xrTableCell47,
|
||||
this.xrTableCell48,
|
||||
this.xrTableCell49,
|
||||
this.xrTableCell50,
|
||||
this.xrTableCell67});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
@@ -275,17 +272,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell48.Weight = 0.050926745144760255D;
|
||||
//
|
||||
// xrTableCell49
|
||||
//
|
||||
this.xrTableCell49.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategory")});
|
||||
this.xrTableCell49.Name = "xrTableCell49";
|
||||
this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
|
||||
this.xrTableCell49.StylePriority.UsePadding = false;
|
||||
this.xrTableCell49.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell49.Weight = 0.10146444726626641D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -307,7 +293,7 @@ namespace SBBMainzReports
|
||||
this.xrTableCell67.StylePriority.UsePadding = false;
|
||||
this.xrTableCell67.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell67.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell67.Weight = 0.50545497196073785D;
|
||||
this.xrTableCell67.Weight = 0.60691935892262916D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
@@ -346,7 +332,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell71,
|
||||
this.xrTableCell72,
|
||||
this.xrTableCell73,
|
||||
this.xrTableCell74,
|
||||
this.xrTableCell75,
|
||||
this.xrTableCell76});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
@@ -402,12 +387,6 @@ namespace SBBMainzReports
|
||||
this.xrTableCell73.Text = "Anz.\r\nMit.";
|
||||
this.xrTableCell73.Weight = 0.098358179054908151D;
|
||||
//
|
||||
// xrTableCell74
|
||||
//
|
||||
this.xrTableCell74.Name = "xrTableCell74";
|
||||
this.xrTableCell74.Text = "Ort";
|
||||
this.xrTableCell74.Weight = 0.19596464266689506D;
|
||||
//
|
||||
// xrTableCell75
|
||||
//
|
||||
this.xrTableCell75.Name = "xrTableCell75";
|
||||
@@ -418,7 +397,7 @@ namespace SBBMainzReports
|
||||
//
|
||||
this.xrTableCell76.Name = "xrTableCell76";
|
||||
this.xrTableCell76.Text = "Beteiligte Personen/ Themen";
|
||||
this.xrTableCell76.Weight = 0.97621720273302515D;
|
||||
this.xrTableCell76.Weight = 1.1721817703183275D;
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
@@ -862,7 +841,7 @@ namespace SBBMainzReports
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell19.StylePriority.UseFont = false;
|
||||
this.xrTableCell19.Text = "Stunden/Woche";
|
||||
this.xrTableCell19.Text = "Std/Woche";
|
||||
this.xrTableCell19.Weight = 0.12810401758588061D;
|
||||
//
|
||||
// xrTableCell20
|
||||
@@ -883,12 +862,14 @@ namespace SBBMainzReports
|
||||
this.xrTableCell54.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell54.StylePriority.UseFont = false;
|
||||
this.xrTableCell54.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell54.Text = "Leistungsort";
|
||||
this.xrTableCell54.Text = "Std/Monat";
|
||||
this.xrTableCell54.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell54.Weight = 0.10706009089455089D;
|
||||
//
|
||||
// xrTableCell59
|
||||
//
|
||||
this.xrTableCell59.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerMonth", "{0:0.00}")});
|
||||
this.xrTableCell59.Name = "xrTableCell59";
|
||||
this.xrTableCell59.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell59.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
@@ -1363,7 +1344,6 @@ namespace SBBMainzReports
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell46;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell47;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell67;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
@@ -1374,7 +1354,6 @@ namespace SBBMainzReports
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell71;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell72;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell73;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell74;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell75;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell76;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblBetreuer2;
|
||||
|
||||
@@ -776,7 +776,7 @@ namespace SBBMainzReports
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell19.StylePriority.UseFont = false;
|
||||
this.xrTableCell19.Text = "Stunden/Woche";
|
||||
this.xrTableCell19.Text = "Std/Woche";
|
||||
this.xrTableCell19.Weight = 0.12810401758588061D;
|
||||
//
|
||||
// xrTableCell20
|
||||
@@ -797,12 +797,14 @@ namespace SBBMainzReports
|
||||
this.xrTableCell54.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell54.StylePriority.UseFont = false;
|
||||
this.xrTableCell54.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell54.Text = "Leistungsort";
|
||||
this.xrTableCell54.Text = "Std/Monat";
|
||||
this.xrTableCell54.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell54.Weight = 0.10706009089455089D;
|
||||
//
|
||||
// xrTableCell59
|
||||
//
|
||||
this.xrTableCell59.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerMonth", "{0:0.00}")});
|
||||
this.xrTableCell59.Name = "xrTableCell59";
|
||||
this.xrTableCell59.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell59.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.SprungbrettReports.Neu
|
||||
namespace BeWo.SprungbrettReports
|
||||
{
|
||||
partial class Spitzabrechnung
|
||||
partial class Budgetnachweis
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
@@ -30,7 +30,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Budgetnachweis));
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel52 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -40,7 +40,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -84,20 +84,10 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.cellStundensatz1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLS1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellStart2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellEnde2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellStundensatz2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLS2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellStart3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellEnde3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellStundensatz3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLS3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrSubreport1 = new DevExpress.XtraReports.UI.XRSubreport();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableRechnungspositionen)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -120,7 +110,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.xrLabel14,
|
||||
this.xrLabel17,
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
this.lblAdresse,
|
||||
this.xrLabel11,
|
||||
this.xrPictureBox2,
|
||||
this.xrLabel1,
|
||||
@@ -149,7 +139,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.xrLabel42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel42.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel42.LocationFloat = new DevExpress.Utils.PointFloat(557.9997F, 87.37501F);
|
||||
this.xrLabel42.LocationFloat = new DevExpress.Utils.PointFloat(551F, 294.6667F);
|
||||
this.xrLabel42.Name = "xrLabel42";
|
||||
this.xrLabel42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel42.SizeF = new System.Drawing.SizeF(132.9999F, 23F);
|
||||
@@ -223,16 +213,16 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.xrLabel13.Text = "Ambulant Betreutes Wohnen - Budgetnachweis";
|
||||
this.xrLabel13.WordWrap = false;
|
||||
//
|
||||
// xrLabel12
|
||||
// lblAdresse
|
||||
//
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 145.8333F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(401.0004F, 131.5834F);
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientContactPerson]\r\n[Recipien" +
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 145.8333F);
|
||||
this.lblAdresse.Multiline = true;
|
||||
this.lblAdresse.Name = "lblAdresse";
|
||||
this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAdresse.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.lblAdresse.SizeF = new System.Drawing.SizeF(401.0004F, 131.5834F);
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
this.lblAdresse.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientContactPerson]\r\n[Recipien" +
|
||||
"tStreet]\r\n[RecipientPostCodeAndTown]";
|
||||
//
|
||||
// xrLabel11
|
||||
@@ -267,7 +257,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
//
|
||||
// xrLabel2
|
||||
//
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Bauhaus 93", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 10.00001F);
|
||||
this.xrLabel2.Multiline = true;
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
@@ -373,14 +363,14 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
//
|
||||
this.chkBeendet.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 25F);
|
||||
this.chkBeendet.Name = "chkBeendet";
|
||||
this.chkBeendet.SizeF = new System.Drawing.SizeF(324.9999F, 21.875F);
|
||||
this.chkBeendet.SizeF = new System.Drawing.SizeF(337F, 21.88F);
|
||||
this.chkBeendet.Text = " Die Betreuung wurde am beendet.";
|
||||
//
|
||||
// chkNichtBeendet
|
||||
//
|
||||
this.chkNichtBeendet.LocationFloat = new DevExpress.Utils.PointFloat(365.9998F, 25F);
|
||||
this.chkNichtBeendet.LocationFloat = new DevExpress.Utils.PointFloat(402.9996F, 25F);
|
||||
this.chkNichtBeendet.Name = "chkNichtBeendet";
|
||||
this.chkNichtBeendet.SizeF = new System.Drawing.SizeF(358.9999F, 21.875F);
|
||||
this.chkNichtBeendet.SizeF = new System.Drawing.SizeF(296.0001F, 21.875F);
|
||||
this.chkNichtBeendet.Text = " Die Betreuung dauert an.";
|
||||
//
|
||||
// xrLabel3
|
||||
@@ -437,10 +427,8 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.tableRechnungspositionen.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow2,
|
||||
this.xrTableRow3,
|
||||
this.xrTableRow4,
|
||||
this.xrTableRow5});
|
||||
this.tableRechnungspositionen.SizeF = new System.Drawing.SizeF(590F, 90F);
|
||||
this.xrTableRow3});
|
||||
this.tableRechnungspositionen.SizeF = new System.Drawing.SizeF(590F, 54F);
|
||||
this.tableRechnungspositionen.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
@@ -596,113 +584,33 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.Weight = 0.50769221379206719D;
|
||||
//
|
||||
// xrTableRow4
|
||||
//
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.cellStart2,
|
||||
this.cellEnde2,
|
||||
this.cellStundensatz2,
|
||||
this.cellFLS2,
|
||||
this.xrTableCell20});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 0.69119905500129186D;
|
||||
//
|
||||
// cellStart2
|
||||
//
|
||||
this.cellStart2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStart2.Name = "cellStart2";
|
||||
this.cellStart2.StylePriority.UseBorders = false;
|
||||
this.cellStart2.Weight = 0.60000001173753015D;
|
||||
//
|
||||
// cellEnde2
|
||||
//
|
||||
this.cellEnde2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellEnde2.Name = "cellEnde2";
|
||||
this.cellEnde2.StylePriority.UseBorders = false;
|
||||
this.cellEnde2.Weight = 0.59999994131234935D;
|
||||
//
|
||||
// cellStundensatz2
|
||||
//
|
||||
this.cellStundensatz2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStundensatz2.Name = "cellStundensatz2";
|
||||
this.cellStundensatz2.StylePriority.UseBorders = false;
|
||||
this.cellStundensatz2.Weight = 0.50769257765549891D;
|
||||
//
|
||||
// cellFLS2
|
||||
//
|
||||
this.cellFLS2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellFLS2.Name = "cellFLS2";
|
||||
this.cellFLS2.StylePriority.UseBorders = false;
|
||||
this.cellFLS2.Weight = 0.50769231942983784D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.StylePriority.UseBorders = false;
|
||||
this.xrTableCell20.Weight = 0.50769207294170671D;
|
||||
//
|
||||
// xrTableRow5
|
||||
//
|
||||
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.cellStart3,
|
||||
this.cellEnde3,
|
||||
this.cellStundensatz3,
|
||||
this.cellFLS3,
|
||||
this.xrTableCell25});
|
||||
this.xrTableRow5.Name = "xrTableRow5";
|
||||
this.xrTableRow5.Weight = 0.69119905500129186D;
|
||||
//
|
||||
// cellStart3
|
||||
//
|
||||
this.cellStart3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStart3.Name = "cellStart3";
|
||||
this.cellStart3.StylePriority.UseBorders = false;
|
||||
this.cellStart3.Weight = 0.60000001173753015D;
|
||||
//
|
||||
// cellEnde3
|
||||
//
|
||||
this.cellEnde3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellEnde3.Name = "cellEnde3";
|
||||
this.cellEnde3.StylePriority.UseBorders = false;
|
||||
this.cellEnde3.Weight = 0.59999994131234935D;
|
||||
//
|
||||
// cellStundensatz3
|
||||
//
|
||||
this.cellStundensatz3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStundensatz3.Name = "cellStundensatz3";
|
||||
this.cellStundensatz3.StylePriority.UseBorders = false;
|
||||
this.cellStundensatz3.Weight = 0.50769271850585951D;
|
||||
//
|
||||
// cellFLS3
|
||||
//
|
||||
this.cellFLS3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellFLS3.Name = "cellFLS3";
|
||||
this.cellFLS3.StylePriority.UseBorders = false;
|
||||
this.cellFLS3.Weight = 0.50769231942983772D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.StylePriority.UseBorders = false;
|
||||
this.xrTableCell25.Weight = 0.50769193209134611D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.tableRechnungspositionen});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.GroupHeader1.HeightF = 90F;
|
||||
this.GroupHeader1.HeightF = 54F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrSubreport1});
|
||||
this.GroupFooter2.HeightF = 11.45833F;
|
||||
this.GroupFooter2.Level = 1;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// xrSubreport1
|
||||
//
|
||||
this.xrSubreport1.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 0F);
|
||||
this.xrSubreport1.Name = "xrSubreport1";
|
||||
this.xrSubreport1.SizeF = new System.Drawing.SizeF(683.9999F, 10F);
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -711,7 +619,8 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupFooter1,
|
||||
this.GroupHeader1});
|
||||
this.GroupHeader1,
|
||||
this.GroupFooter2});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.ZwischensummeI,
|
||||
this.ZwischensummeII,
|
||||
@@ -761,7 +670,7 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
|
||||
@@ -795,18 +704,8 @@ namespace BeWo.SprungbrettReports.Neu
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStundensatz1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLS1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStart2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellEnde2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStundensatz2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLS2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStart3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellEnde3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStundensatz3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLS3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
|
||||
private DevExpress.XtraReports.UI.XRSubreport xrSubreport1;
|
||||
}
|
||||
}
|
||||
102
ReportImp/SprungbrettReports/Budgetnachweis.cs
Normal file
102
ReportImp/SprungbrettReports/Budgetnachweis.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.DataContracts;
|
||||
using System.Text;
|
||||
|
||||
namespace BeWo.SprungbrettReports
|
||||
{
|
||||
public partial class Budgetnachweis : DevExpress.XtraReports.UI.XtraReport//, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public Budgetnachweis()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
chkNichtBeendet.Checked = true;
|
||||
DateTime? terminationDate = null;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientContactPerson);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientStreet);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
|
||||
{
|
||||
sb.Append(pRO.RecipientPostCodeAndTown);
|
||||
}
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
if (pRO.Approvals != null && pRO.Approvals.Count > 0)
|
||||
{
|
||||
pRO.ApprovedFLSWeekly = pRO.Approvals[0].ApprovedPerUnit ?? 0;
|
||||
|
||||
pRO.ApprovedFLSWeeklyString = String.Format("{0:0.00}", pRO.ApprovedFLSWeekly);
|
||||
}
|
||||
|
||||
chkNichtBeendet.Checked = true;
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
chkBeendet.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
chkNichtBeendet.Checked = false;
|
||||
chkBeendet.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
ErstelleRechnungspositionen(pRO, terminationDate);
|
||||
|
||||
var anhang = new SpitzabrechnungSeite2();
|
||||
xrSubreport1.ReportSource = anhang;
|
||||
anhang.SetReportDataSource(pRO);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleRechnungspositionen(SettlementRO pRO, DateTime? terminationDate)
|
||||
{
|
||||
if (pRO.InvoiceItems != null)
|
||||
{
|
||||
XRTableRow newRow = null;
|
||||
int rowIndex = 2;
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
if (rowIndex > 2)
|
||||
newRow = tableRechnungspositionen.InsertRowBelow(tableRechnungspositionen.Rows[tableRechnungspositionen.Rows.Count - 1]);
|
||||
|
||||
newRow = tableRechnungspositionen.Rows[rowIndex];
|
||||
newRow.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodStart);
|
||||
newRow.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodEnd);
|
||||
newRow.Cells[2].Text = String.Format("{0:0.00}", ii.AmountPerUnit);
|
||||
newRow.Cells[3].Text = String.Format("{0:0.00}", ii.UnitCount);
|
||||
rowIndex += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1741
ReportImp/SprungbrettReports/BudgetnachweisSeite2.Designer.cs
generated
Normal file
1741
ReportImp/SprungbrettReports/BudgetnachweisSeite2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
23
ReportImp/SprungbrettReports/BudgetnachweisSeite2.cs
Normal file
23
ReportImp/SprungbrettReports/BudgetnachweisSeite2.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
|
||||
namespace BeWo.SprungbrettReports
|
||||
{
|
||||
public partial class SpitzabrechnungSeite2 : DevExpress.XtraReports.UI.XtraReport //, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public SpitzabrechnungSeite2()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
4670
ReportImp/SprungbrettReports/BudgetnachweisSeite2.resx
Normal file
4670
ReportImp/SprungbrettReports/BudgetnachweisSeite2.resx
Normal file
File diff suppressed because it is too large
Load Diff
69
ReportImp/SprungbrettReports/CustomReportCreator.cs
Normal file
69
ReportImp/SprungbrettReports/CustomReportCreator.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraReports.Design;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace BeWo.SprungbrettReports
|
||||
{
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
|
||||
{
|
||||
XtraReport report = null;
|
||||
|
||||
Settlement2DC lSettlementDC;
|
||||
|
||||
long result;
|
||||
|
||||
if (string.IsNullOrEmpty(dcId) && invoiceBaseOid.HasValue)
|
||||
lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.SearchDAO.GetSettlementInvoiceByInvoiceBaseOid(invoiceBaseOid.Value));
|
||||
|
||||
else if (Int64.TryParse(dcId, out result))
|
||||
lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.GenericDAO.LoadByID<SettlementInvoice>(result)); // = Utils.XMLDeserialize<SettlementDC>(lPath);
|
||||
|
||||
else
|
||||
{
|
||||
string lPath = BS.Shared.Core.Utils.CreateSavePath(TempPath, dcId);
|
||||
lSettlementDC = Utils.XMLDeserialize<Settlement2DC>(lPath);
|
||||
}
|
||||
if (lSettlementDC.RecordedBillableFLSNetto == 0)
|
||||
{
|
||||
lSettlementDC.RecordedBillableFLSNetto = lSettlementDC.RecordedBillableFLSBrutto ?? 0;
|
||||
}
|
||||
String reportId = null;
|
||||
if (lSettlementDC.CostBearer2SupportConceptOid.HasValue)
|
||||
{
|
||||
CostBearer2SupportConcept c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(lSettlementDC.CostBearer2SupportConceptOid.Value);
|
||||
reportId = c2s.CostBearer.ID;
|
||||
}
|
||||
|
||||
if (lSettlementDC.DifferentHourlyRateCount > 0 && lSettlementDC.DifferentHourlyRateCount < 4)
|
||||
{
|
||||
IBeWoReport<SettlementRO> lSettlementReport = FindReportImp<SettlementRO>(reportId);
|
||||
var ro = SettlementRO.Create(lSettlementDC);
|
||||
lSettlementReport.SetReportDataSource(ro);
|
||||
|
||||
report = lSettlementReport as XtraReport;
|
||||
}
|
||||
else
|
||||
{
|
||||
var ro = new Budgetnachweis();
|
||||
ro.SetReportDataSource(SettlementRO.Create(lSettlementDC));
|
||||
ro.CreateDocument();
|
||||
report = ro as XtraReport;
|
||||
}
|
||||
|
||||
|
||||
return report;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.SprungbrettReports
|
||||
namespace BeWo.SprungbrettReports.Alt
|
||||
{
|
||||
partial class Spitzabrechnung
|
||||
{
|
||||
@@ -70,8 +70,8 @@ namespace BeWo.SprungbrettReports
|
||||
this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.chkNichtBeendet = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.chkBeendet = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -306,8 +306,8 @@ namespace BeWo.SprungbrettReports
|
||||
this.xrLabel36,
|
||||
this.xrLabel35,
|
||||
this.xrLabel34,
|
||||
this.xrCheckBox2,
|
||||
this.xrCheckBox1,
|
||||
this.chkNichtBeendet,
|
||||
this.chkBeendet,
|
||||
this.xrLabel33,
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
@@ -658,19 +658,19 @@ namespace BeWo.SprungbrettReports
|
||||
this.xrLabel34.SizeF = new System.Drawing.SizeF(666.0001F, 89.58337F);
|
||||
this.xrLabel34.Text = resources.GetString("xrLabel34.Text");
|
||||
//
|
||||
// xrCheckBox2
|
||||
// chkNichtBeendet
|
||||
//
|
||||
this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(366F, 619.7917F);
|
||||
this.xrCheckBox2.Name = "xrCheckBox2";
|
||||
this.xrCheckBox2.SizeF = new System.Drawing.SizeF(358.9999F, 21.875F);
|
||||
this.xrCheckBox2.Text = "Die Betreuung dauert an.";
|
||||
this.chkNichtBeendet.LocationFloat = new DevExpress.Utils.PointFloat(402.9998F, 619.7917F);
|
||||
this.chkNichtBeendet.Name = "chkNichtBeendet";
|
||||
this.chkNichtBeendet.SizeF = new System.Drawing.SizeF(296.0001F, 21.875F);
|
||||
this.chkNichtBeendet.Text = "Die Betreuung dauert an.";
|
||||
//
|
||||
// xrCheckBox1
|
||||
// chkBeendet
|
||||
//
|
||||
this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(32.99993F, 619.7917F);
|
||||
this.xrCheckBox1.Name = "xrCheckBox1";
|
||||
this.xrCheckBox1.SizeF = new System.Drawing.SizeF(324.9999F, 21.875F);
|
||||
this.xrCheckBox1.Text = "Die Betreuung wurde am beendet.";
|
||||
this.chkBeendet.LocationFloat = new DevExpress.Utils.PointFloat(32.99993F, 619.7917F);
|
||||
this.chkBeendet.Name = "chkBeendet";
|
||||
this.chkBeendet.SizeF = new System.Drawing.SizeF(337F, 21.88F);
|
||||
this.chkBeendet.Text = "Die Betreuung wurde am beendet.";
|
||||
//
|
||||
// xrLabel33
|
||||
//
|
||||
@@ -3808,8 +3808,8 @@ namespace BeWo.SprungbrettReports
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel36;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel35;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel34;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox chkNichtBeendet;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox chkBeendet;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel42;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
|
||||
@@ -5,8 +5,10 @@ using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Data.Access;
|
||||
|
||||
namespace BeWo.SprungbrettReports
|
||||
namespace BeWo.SprungbrettReports.Alt
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
|
||||
{
|
||||
@@ -28,6 +30,21 @@ namespace BeWo.SprungbrettReports
|
||||
// lblClaimText2.Text = "Betrag:";
|
||||
//}
|
||||
|
||||
|
||||
chkNichtBeendet.Checked = true;
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
chkBeendet.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
chkNichtBeendet.Checked = false;
|
||||
chkBeendet.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
xrPanel1Amount.Location = xrPanel2Amounts.Location;
|
||||
xrPanel3Amounts.Location = xrPanel2Amounts.Location;
|
||||
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWo.SprungbrettReports.Neu
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<Settlement2RO>
|
||||
{
|
||||
public Spitzabrechnung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(Settlement2RO pRO)
|
||||
{
|
||||
chkNichtBeendet.Checked = true;
|
||||
DateTime? terminationDate = null;
|
||||
|
||||
if (pRO.InvoiceBaseOid.HasValue)
|
||||
{
|
||||
var ib = DAOFactory.GenericDAO.LoadByID<InvoiceBase>(pRO.InvoiceBaseOid.Value);
|
||||
|
||||
var c2s = ib.CostBearer2SupportConcept;
|
||||
|
||||
if (c2s != null && c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
terminationDate = c2s.SupportConcept.Customer.TerminationDate;
|
||||
chkBeendet.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
chkNichtBeendet.Checked = false;
|
||||
chkBeendet.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ErstelleRechnungspositionen(pRO, terminationDate);
|
||||
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleRechnungspositionen(Settlement2RO pRO, DateTime? terminationDate)
|
||||
{
|
||||
if (pRO.InvoiceItems != null)
|
||||
{
|
||||
int rowIndex = 0;
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
AddRechnungsposition(ii, rowIndex++);
|
||||
//if (ii.UnitCount.HasValue && ii.UnitCount.Value > 0)
|
||||
//{
|
||||
// AddRechnungsposition(ii, rowIndex++);
|
||||
//}
|
||||
}
|
||||
//if (pRO.InvoiceItems.Count == 3)
|
||||
//{
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1);
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[1], cellStart2, cellEnd2, cellHourlyRate2, cellFLS2);
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[2], cellStart3, cellEnd3, cellHourlyRate3, cellFLS3);
|
||||
//}
|
||||
//else if (pRO.InvoiceItems.Count == 2)
|
||||
//{
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1);
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[1], cellStart2, cellEnd2, cellHourlyRate2, cellFLS2);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1);
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
private void AddRechnungsposition(Settlement2RO.SettlementInvoiceItemRO ii, int rowIndex)
|
||||
{
|
||||
|
||||
XRTableRow newRow = null;
|
||||
if (rowIndex > 2)
|
||||
{
|
||||
newRow = tableRechnungspositionen.InsertRowBelow(tableRechnungspositionen.Rows[tableRechnungspositionen.Rows.Count - 1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
newRow = tableRechnungspositionen.Rows[rowIndex + 2];
|
||||
}
|
||||
newRow.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", ii.PeriodStartDate);
|
||||
newRow.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", ii.PeriodEndDate);
|
||||
newRow.Cells[2].Text = String.Format("{0:0.00}", ii.AmountPerUnit);
|
||||
|
||||
if (ii.RateFactor.HasValue && ii.RateFactor > 0)
|
||||
{
|
||||
ii.UnitCount *= (ii.RateFactor + 100) / 100;
|
||||
}
|
||||
newRow.Cells[3].Text = String.Format("{0:0.00}", ii.UnitCount);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,6 +104,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -111,11 +112,17 @@
|
||||
<Compile Include="ServicesOverviewReport.designer.cs">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport2.cs">
|
||||
<Compile Include="BudgetnachweisSeite2.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport2.Designer.cs">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<Compile Include="BudgetnachweisSeite2.Designer.cs">
|
||||
<DependentUpon>BudgetnachweisSeite2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Budgetnachweis.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Budgetnachweis.Designer.cs">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -129,8 +136,12 @@
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport2.resx">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<EmbeddedResource Include="BudgetnachweisSeite2.resx">
|
||||
<DependentUpon>BudgetnachweisSeite2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Budgetnachweis.resx">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport.resx">
|
||||
@@ -139,6 +150,10 @@
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\BeWo\BeWo.csproj">
|
||||
<Project>{3febb560-9275-413a-9767-bb68c44eebc3}</Project>
|
||||
<Name>BeWo</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
<Project>{B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE}</Project>
|
||||
<Name>Data</Name>
|
||||
@@ -147,6 +162,10 @@
|
||||
<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>
|
||||
|
||||
656
ReportImp/SprungbrettTheresia/Budgetnachweis.Designer.cs
generated
Normal file
656
ReportImp/SprungbrettTheresia/Budgetnachweis.Designer.cs
generated
Normal file
@@ -0,0 +1,656 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.SprungbrettTheresia
|
||||
{
|
||||
partial class Budgetnachweis
|
||||
{
|
||||
/// <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(Budgetnachweis));
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel52 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.ruleRateFactorNotNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ruleOldAmountNotNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ruleOldAmountNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ZwischensummeI = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.ZwischensummeII = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldSenderEMail = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldApprovedAmountWithOldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldApprovedAmountWithNewFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldApprovedTotal = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldApprovedTotalMinusEigenbeteiligun = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldApprovedWithNewMinusEigenbeteiligung = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.chkBeendet = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.chkNichtBeendet = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.tableRechnungspositionen = 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.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellStart1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellEnde1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellStundensatz1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLS1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrSubreport1 = new DevExpress.XtraReports.UI.XRSubreport();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableRechnungspositionen)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel52,
|
||||
this.xrLabel42,
|
||||
this.xrLabel33,
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel17,
|
||||
this.xrLabel13,
|
||||
this.lblAdresse});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.ReportHeader.HeightF = 505.205F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel52
|
||||
//
|
||||
this.xrLabel52.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel52.CanShrink = true;
|
||||
this.xrLabel52.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel52.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 366.875F);
|
||||
this.xrLabel52.Name = "xrLabel52";
|
||||
this.xrLabel52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel52.SizeF = new System.Drawing.SizeF(650F, 18F);
|
||||
this.xrLabel52.StylePriority.UseBackColor = false;
|
||||
this.xrLabel52.StylePriority.UseFont = false;
|
||||
this.xrLabel52.Text = "Aktenzeichen der Einrichtung: 60-33/01-03/40 N 15";
|
||||
this.xrLabel52.WordWrap = false;
|
||||
//
|
||||
// xrLabel42
|
||||
//
|
||||
this.xrLabel42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel42.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrLabel42.LocationFloat = new DevExpress.Utils.PointFloat(551F, 294.6667F);
|
||||
this.xrLabel42.Name = "xrLabel42";
|
||||
this.xrLabel42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel42.SizeF = new System.Drawing.SizeF(132.9999F, 23F);
|
||||
this.xrLabel42.StylePriority.UseFont = false;
|
||||
this.xrLabel42.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrLabel33
|
||||
//
|
||||
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(32.9998F, 465.625F);
|
||||
this.xrLabel33.Name = "xrLabel33";
|
||||
this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel33.SizeF = new System.Drawing.SizeF(580.54F, 39.58F);
|
||||
this.xrLabel33.Text = "Im Bewilligungszeitraum tatsächlich geleistete Fachleistungsstunden (FLS)";
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel15.CanShrink = true;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(32.9998F, 419.875F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(650F, 17F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = "Bewilligungszeitraum [AccountingPeriod]";
|
||||
this.xrLabel15.WordWrap = false;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel14.CanShrink = true;
|
||||
this.xrLabel14.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(32.9998F, 402.875F);
|
||||
this.xrLabel14.Multiline = true;
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(650F, 17F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.Text = "Aktenzeichen LWL: [CustomerReferenceNumber]";
|
||||
this.xrLabel14.WordWrap = false;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.CanShrink = true;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(32.9998F, 384.875F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(650F, 18F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.Text = "für [Salutation2] [CustomerName], geb. [CustomerBirthday!dd.MM.yyyy]";
|
||||
this.xrLabel17.WordWrap = false;
|
||||
//
|
||||
// xrLabel13
|
||||
//
|
||||
this.xrLabel13.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel13.CanShrink = true;
|
||||
this.xrLabel13.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(33.99989F, 333.3333F);
|
||||
this.xrLabel13.Name = "xrLabel13";
|
||||
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel13.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel13.StylePriority.UseBackColor = false;
|
||||
this.xrLabel13.StylePriority.UseFont = false;
|
||||
this.xrLabel13.Text = "Ambulant Betreutes Wohnen - Budgetnachweis";
|
||||
this.xrLabel13.WordWrap = false;
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 145.8333F);
|
||||
this.lblAdresse.Multiline = true;
|
||||
this.lblAdresse.Name = "lblAdresse";
|
||||
this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblAdresse.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.lblAdresse.SizeF = new System.Drawing.SizeF(401.0004F, 131.5834F);
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
this.lblAdresse.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientContactPerson]\r\n[Recipien" +
|
||||
"tStreet]\r\n[RecipientPostCodeAndTown]";
|
||||
//
|
||||
// ruleRateFactorNotNull
|
||||
//
|
||||
this.ruleRateFactorNotNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNotNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNotNull.Name = "ruleRateFactorNotNull";
|
||||
//
|
||||
// ruleOldAmountNotNull
|
||||
//
|
||||
this.ruleOldAmountNotNull.Condition = "[HourlyRateOld] == 0";
|
||||
this.ruleOldAmountNotNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleOldAmountNotNull.Name = "ruleOldAmountNotNull";
|
||||
//
|
||||
// ruleOldAmountNull
|
||||
//
|
||||
this.ruleOldAmountNull.Condition = "[HourlyRateOld] != 0";
|
||||
this.ruleOldAmountNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleOldAmountNull.Name = "ruleOldAmountNull";
|
||||
//
|
||||
// ZwischensummeI
|
||||
//
|
||||
this.ZwischensummeI.Expression = "[AmountTotalWithOldHourlyRate] - [AmountTotalAdvancedPaidWithOldHourlyRate]";
|
||||
this.ZwischensummeI.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.ZwischensummeI.Name = "ZwischensummeI";
|
||||
//
|
||||
// ZwischensummeII
|
||||
//
|
||||
this.ZwischensummeII.Expression = "[AmountTotalWithNewHourlyRate] - [AmountTotalAdvancedPaidWithNewHourlyRate]";
|
||||
this.ZwischensummeII.Name = "ZwischensummeII";
|
||||
//
|
||||
// fieldSenderEMail
|
||||
//
|
||||
this.fieldSenderEMail.Expression = "Substring([SenderContactPersonMail], 7)";
|
||||
this.fieldSenderEMail.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldSenderEMail.Name = "fieldSenderEMail";
|
||||
//
|
||||
// fieldApprovedAmountWithOldFLS
|
||||
//
|
||||
this.fieldApprovedAmountWithOldFLS.Expression = "[ApprovedFLSWeekly] * [WeeksWithOldHourlyRate] * [HourlyRateOld]";
|
||||
this.fieldApprovedAmountWithOldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldApprovedAmountWithOldFLS.Name = "fieldApprovedAmountWithOldFLS";
|
||||
//
|
||||
// fieldApprovedAmountWithNewFLS
|
||||
//
|
||||
this.fieldApprovedAmountWithNewFLS.Expression = "[ApprovedFLSWeekly] * [WeeksWithNewHourlyRate] * [HourlyRateNew]";
|
||||
this.fieldApprovedAmountWithNewFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldApprovedAmountWithNewFLS.Name = "fieldApprovedAmountWithNewFLS";
|
||||
//
|
||||
// fieldApprovedTotal
|
||||
//
|
||||
this.fieldApprovedTotal.Expression = "([ApprovedFLSWeekly] * [WeeksWithNewHourlyRate] * [HourlyRateNew]) + ([ApprovedFL" +
|
||||
"SWeekly] * [WeeksWithOldHourlyRate] * [HourlyRateOld])";
|
||||
this.fieldApprovedTotal.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldApprovedTotal.Name = "fieldApprovedTotal";
|
||||
//
|
||||
// fieldApprovedTotalMinusEigenbeteiligun
|
||||
//
|
||||
this.fieldApprovedTotalMinusEigenbeteiligun.Expression = "[AmountRecordedFLS] - [Eigenbeteiligung]";
|
||||
this.fieldApprovedTotalMinusEigenbeteiligun.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldApprovedTotalMinusEigenbeteiligun.Name = "fieldApprovedTotalMinusEigenbeteiligun";
|
||||
//
|
||||
// fieldApprovedWithNewMinusEigenbeteiligung
|
||||
//
|
||||
this.fieldApprovedWithNewMinusEigenbeteiligung.Expression = "([ApprovedFLSWeekly] * [WeeksWithNewHourlyRate] * [HourlyRateNew]) - [Eigenbeteil" +
|
||||
"igung]";
|
||||
this.fieldApprovedWithNewMinusEigenbeteiligung.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldApprovedWithNewMinusEigenbeteiligung.Name = "fieldApprovedWithNewMinusEigenbeteiligung";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 75F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.chkBeendet,
|
||||
this.chkNichtBeendet,
|
||||
this.xrLabel3,
|
||||
this.xrLabel4,
|
||||
this.xrLabel5,
|
||||
this.xrRichText1});
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.GroupFooter1.HeightF = 291.5694F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// chkBeendet
|
||||
//
|
||||
this.chkBeendet.LocationFloat = new DevExpress.Utils.PointFloat(32.99968F, 25F);
|
||||
this.chkBeendet.Name = "chkBeendet";
|
||||
this.chkBeendet.SizeF = new System.Drawing.SizeF(337F, 21.88F);
|
||||
this.chkBeendet.Text = " Die Betreuung wurde am beendet.";
|
||||
//
|
||||
// chkNichtBeendet
|
||||
//
|
||||
this.chkNichtBeendet.LocationFloat = new DevExpress.Utils.PointFloat(402.9995F, 25F);
|
||||
this.chkNichtBeendet.Name = "chkNichtBeendet";
|
||||
this.chkNichtBeendet.SizeF = new System.Drawing.SizeF(296.0002F, 21.875F);
|
||||
this.chkNichtBeendet.Text = " Die Betreuung dauert an.";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 67.70834F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(666.0001F, 89.58337F);
|
||||
this.xrLabel3.Text = resources.GetString("xrLabel3.Text");
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 211.4583F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(324.9999F, 17F);
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = "Stempel / Unterschrift";
|
||||
this.xrLabel4.WordWrap = false;
|
||||
//
|
||||
// xrLabel5
|
||||
//
|
||||
this.xrLabel5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrLabel5.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 247.9167F);
|
||||
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(324.9999F, 17F);
|
||||
this.xrLabel5.StylePriority.UseBackColor = false;
|
||||
this.xrLabel5.StylePriority.UseBorders = false;
|
||||
this.xrLabel5.StylePriority.UseFont = false;
|
||||
this.xrLabel5.WordWrap = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 264.9167F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(683.9998F, 23.875F);
|
||||
//
|
||||
// tableRechnungspositionen
|
||||
//
|
||||
this.tableRechnungspositionen.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 0F);
|
||||
this.tableRechnungspositionen.Name = "tableRechnungspositionen";
|
||||
this.tableRechnungspositionen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.tableRechnungspositionen.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow2,
|
||||
this.xrTableRow3});
|
||||
this.tableRechnungspositionen.SizeF = new System.Drawing.SizeF(590F, 54F);
|
||||
this.tableRechnungspositionen.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell9});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.691199055001292D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.Text = "Zeitraum";
|
||||
this.xrTableCell1.Weight = 0.60000001173753015D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.Weight = 0.59999994131234935D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.Text = "Vergütung pro";
|
||||
this.xrTableCell3.Weight = 0.50769229595477772D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseBorders = false;
|
||||
this.xrTableCell7.Text = "anz FLS";
|
||||
this.xrTableCell7.Weight = 0.50769231942983772D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell9.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.Text = "davon gesondert ";
|
||||
this.xrTableCell9.Weight = 0.50769235464242779D;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.69119905500129186D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.Text = "von";
|
||||
this.xrTableCell4.Weight = 0.60000001173753015D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.Text = "bis";
|
||||
this.xrTableCell5.Weight = 0.59999994131234935D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.Text = "Stunde";
|
||||
this.xrTableCell6.Weight = 0.50769243680513831D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseBorders = false;
|
||||
this.xrTableCell8.Weight = 0.50769231942983784D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.Text = "bewilligt*";
|
||||
this.xrTableCell10.Weight = 0.50769221379206719D;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.cellStart1,
|
||||
this.cellEnde1,
|
||||
this.cellStundensatz1,
|
||||
this.cellFLS1,
|
||||
this.xrTableCell15});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 0.69119905500129186D;
|
||||
//
|
||||
// cellStart1
|
||||
//
|
||||
this.cellStart1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStart1.Name = "cellStart1";
|
||||
this.cellStart1.StylePriority.UseBorders = false;
|
||||
this.cellStart1.Weight = 0.60000001173753015D;
|
||||
//
|
||||
// cellEnde1
|
||||
//
|
||||
this.cellEnde1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellEnde1.Name = "cellEnde1";
|
||||
this.cellEnde1.StylePriority.UseBorders = false;
|
||||
this.cellEnde1.Weight = 0.59999994131234935D;
|
||||
//
|
||||
// cellStundensatz1
|
||||
//
|
||||
this.cellStundensatz1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellStundensatz1.Name = "cellStundensatz1";
|
||||
this.cellStundensatz1.StylePriority.UseBorders = false;
|
||||
this.cellStundensatz1.Weight = 0.50769243680513831D;
|
||||
//
|
||||
// cellFLS1
|
||||
//
|
||||
this.cellFLS1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.cellFLS1.Name = "cellFLS1";
|
||||
this.cellFLS1.StylePriority.UseBorders = false;
|
||||
this.cellFLS1.Weight = 0.50769231942983784D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.Weight = 0.50769221379206719D;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.tableRechnungspositionen});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.GroupHeader1.HeightF = 54F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrSubreport1});
|
||||
this.GroupFooter2.HeightF = 11.45833F;
|
||||
this.GroupFooter2.Level = 1;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// xrSubreport1
|
||||
//
|
||||
this.xrSubreport1.LocationFloat = new DevExpress.Utils.PointFloat(32.99955F, 0F);
|
||||
this.xrSubreport1.Name = "xrSubreport1";
|
||||
this.xrSubreport1.SizeF = new System.Drawing.SizeF(683.9999F, 10F);
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupFooter1,
|
||||
this.GroupHeader1,
|
||||
this.GroupFooter2});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.ZwischensummeI,
|
||||
this.ZwischensummeII,
|
||||
this.fieldSenderEMail,
|
||||
this.fieldApprovedAmountWithOldFLS,
|
||||
this.fieldApprovedAmountWithNewFLS,
|
||||
this.fieldApprovedTotal,
|
||||
this.fieldApprovedTotalMinusEigenbeteiligun,
|
||||
this.fieldApprovedWithNewMinusEigenbeteiligung});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNotNull,
|
||||
this.ruleOldAmountNotNull,
|
||||
this.ruleOldAmountNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(50, 50, 75, 50);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableRechnungspositionen)).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.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNotNull;
|
||||
private DevExpress.XtraReports.UI.CalculatedField ZwischensummeI;
|
||||
private DevExpress.XtraReports.UI.CalculatedField ZwischensummeII;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleOldAmountNotNull;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleOldAmountNull;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldSenderEMail;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldApprovedAmountWithOldFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldApprovedAmountWithNewFLS;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldApprovedTotal;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldApprovedTotalMinusEigenbeteiligun;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldApprovedWithNewMinusEigenbeteiligung;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel14;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel17;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel33;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel42;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel52;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox chkBeendet;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox chkNichtBeendet;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRTable tableRechnungspositionen;
|
||||
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.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
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.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStart1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellEnde1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellStundensatz1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLS1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
|
||||
private DevExpress.XtraReports.UI.XRSubreport xrSubreport1;
|
||||
}
|
||||
}
|
||||
102
ReportImp/SprungbrettTheresia/Budgetnachweis.cs
Normal file
102
ReportImp/SprungbrettTheresia/Budgetnachweis.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.DataContracts;
|
||||
using System.Text;
|
||||
|
||||
namespace BeWo.SprungbrettTheresia
|
||||
{
|
||||
public partial class Budgetnachweis : DevExpress.XtraReports.UI.XtraReport//, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public Budgetnachweis()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
chkNichtBeendet.Checked = true;
|
||||
DateTime? terminationDate = null;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientContactPerson);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientStreet);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown))
|
||||
{
|
||||
sb.Append(pRO.RecipientPostCodeAndTown);
|
||||
}
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
if (pRO.Approvals != null && pRO.Approvals.Count > 0)
|
||||
{
|
||||
pRO.ApprovedFLSWeekly = pRO.Approvals[0].ApprovedPerUnit ?? 0;
|
||||
|
||||
pRO.ApprovedFLSWeeklyString = String.Format("{0:0.00}", pRO.ApprovedFLSWeekly);
|
||||
}
|
||||
|
||||
chkNichtBeendet.Checked = true;
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
chkBeendet.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
chkNichtBeendet.Checked = false;
|
||||
chkBeendet.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
ErstelleRechnungspositionen(pRO, terminationDate);
|
||||
|
||||
var anhang = new BudgetnachweisSeite2();
|
||||
xrSubreport1.ReportSource = anhang;
|
||||
anhang.SetReportDataSource(pRO);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleRechnungspositionen(SettlementRO pRO, DateTime? terminationDate)
|
||||
{
|
||||
if (pRO.InvoiceItems != null)
|
||||
{
|
||||
XRTableRow newRow = null;
|
||||
int rowIndex = 2;
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
if (rowIndex > 2)
|
||||
newRow = tableRechnungspositionen.InsertRowBelow(tableRechnungspositionen.Rows[tableRechnungspositionen.Rows.Count - 1]);
|
||||
|
||||
newRow = tableRechnungspositionen.Rows[rowIndex];
|
||||
newRow.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodStart);
|
||||
newRow.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodEnd);
|
||||
newRow.Cells[2].Text = String.Format("{0:0.00}", ii.AmountPerUnit);
|
||||
newRow.Cells[3].Text = String.Format("{0:0.00}", ii.UnitCount);
|
||||
rowIndex += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
129
ReportImp/SprungbrettTheresia/Budgetnachweis.resx
Normal file
129
ReportImp/SprungbrettTheresia/Budgetnachweis.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?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="xrLabel3.Text" xml:space="preserve">
|
||||
<value>Hiermit wird erklärt, dass die Verpflichtungen aus der Leistungs-, Prüfungs- und Vergütungsvereinbarung nach §§ 75 ff. SGB XII eingehalten wurden und alle hier gemachten Angaben anhand der vorgehaltenen Quittierungsbelege sowie der Betreuungsdokumentation jederzeit nachgewiesen werden können.</value>
|
||||
</data>
|
||||
<data name="xrRichText1.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABhAG4AcwBpAFwAYQBuAHMAaQBjAHAAZwAxADIANQAyAFwAZABlAGYAZgAwAHsAXABmAG8AbgB0AHQAYgBsAHsAXABmADAAXABmAHMAdwBpAHMAcwBcAGYAcAByAHEAMgBcAGYAYwBoAGEAcgBzAGUAdAAwACAAQQByAGkAYQBsADsAfQB7AFwAZgAxAFwAZgBuAGkAbAAgAFQAaQBtAGUAcwAgAE4AZQB3ACAAUgBvAG0AYQBuADsAfQB9AA0ACgBcAHYAaQBlAHcAawBpAG4AZAA0AFwAdQBjADEAXABwAGEAcgBkAFwAbABhAG4AZwAxADAAMwAxAFwAZgAwAFwAZgBzADIAMgAgACoAIAB2AG8AbQAgAEwAVwBMACAAZwBlAHMAbwBuAGQAZQByAHQAIABiAGUAdwBpAGwAbABpAGcAdABlACAATABlAGkAcwB0AHUAbgBnAGUAbgAgAHoAdQByACAARABlAGMAawB1AG4AZwAgAGUAaQBuAGUAcwAgAGUAaQBuAG0AYQBsAGkAZwBlAG4AIABCAGUAZABhAHIAZgBzAFwAZgAxAFwAZgBzADIANABcAHAAYQByAA0ACgB9AA0ACgA=</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>
|
||||
1686
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.Designer.cs
generated
Normal file
1686
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
23
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.cs
Normal file
23
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
|
||||
namespace BeWo.SprungbrettTheresia
|
||||
{
|
||||
public partial class BudgetnachweisSeite2 : DevExpress.XtraReports.UI.XtraReport //, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public BudgetnachweisSeite2()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
129
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.resx
Normal file
129
ReportImp/SprungbrettTheresia/BudgetnachweisSeite2.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?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="xrRichText1.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABhAG4AcwBpAFwAYQBuAHMAaQBjAHAAZwAxADIANQAyAFwAZABlAGYAZgAwAHsAXABmAG8AbgB0AHQAYgBsAHsAXABmADAAXABmAG4AaQBsAFwAZgBjAGgAYQByAHMAZQB0ADAAIABBAHIAaQBhAGwAOwB9AH0ADQAKAFwAdgBpAGUAdwBrAGkAbgBkADQAXAB1AGMAMQBcAHAAYQByAGQAXABsAGEAbgBnADEAMAAzADEAXABmAHMAMQA4ACAAZwBlAG4AZQByAGUAbABsAC4AIABBAGsAdABlAG4AegBlAGkAYwBoAGUAbgAgAGQAZQBzACAATABXAEwAOgBcAHAAYQByAA0ACgB9AA0ACgA=</value>
|
||||
</data>
|
||||
<data name="xrRichText15.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABhAG4AcwBpAFwAYQBuAHMAaQBjAHAAZwAxADIANQAyAFwAZABlAGYAZgAwAHsAXABmAG8AbgB0AHQAYgBsAHsAXABmADAAXABmAG4AaQBsAFwAZgBjAGgAYQByAHMAZQB0ADAAIABBAHIAaQBhAGwAOwB9AHsAXABmADEAXABmAG4AaQBsACAAVABpAG0AZQBzACAATgBlAHcAIABSAG8AbQBhAG4AOwB9AH0ADQAKAFwAdgBpAGUAdwBrAGkAbgBkADQAXAB1AGMAMQBcAHAAYQByAGQAXABsAGEAbgBnADEAMAAzADEAXAB1AGwAXABiAFwAZgBzADIAMAAgAEUAcgBrAGwAXAAnAGUANAByAHUAbgBnACAAZABlAHMAIABBAG4AYgBpAGUAdABlAHIAcwA6AFwAdQBsAG4AbwBuAGUAXABiADAAXABwAGEAcgANAAoASABpAGUAcgBtAGkAdAAgAHcAaQByAGQAIABlAHIAawBsAFwAJwBlADQAcgB0ACwAIABkAGEAcwBzACAAZABpAGUAIABWAGUAcgBwAGYAbABpAGMAaAB0AHUAbgBnAGUAbgAgAGEAdQBzACAAZABlAHIAIABMAGUAaQBzAHQAdQBuAGcAcwAtACwAIABQAHIAXAAnAGYAYwBmAHUAbgBnAHMALQAgAHUAbgBkACAAVgBlAHIAZwBcACcAZgBjAHQAdQBuAGcAcwB2AGUAcgBlAGkAbgBiAGEAcgB1AG4AZwAgAG4AYQBjAGgAIABcACcAYQA3AFwAJwBhADcAIAA5ADMAIABmAGYAIABCAFMASABHACAAYgB6AHcALgAgAFwAJwBhADcAXAAnAGEANwAgADcANQAgAGYAZgAgAFMARwBCACAAWABJAEkAIABlAGkAbgBnAGUAaABhAGwAdABlAG4AIAB3AHUAcgBkAGUAbgAgAHUAbgBkACAAZABpAGUAIAB2AG8AcgBnAGUAbgBhAG4AbgB0AGUAbgAgAEEAbgBnAGEAYgBlAG4AIABhAG4AaABhAG4AZAAgAGQAZQByACAAdgBvAHIAZwBlAGgAYQBsAHQAZQBuAGUAbgAgAFEAdQBpAHQAdABpAGUAcgB1AG4AZwBzAGIAZQBsAGUAZwBlACAAcwBvAHcAaQBlACAAZABlAHIAIABCAGUAdAByAGUAdQB1AG4AZwBzAGQAbwBrAHUAbQBlAG4AdABhAHQAaQBvAG4AIABuAGEAYwBoAGcAZQB3AGkAZQBzAGUAbgAgAHcAZQByAGQAZQBuACAAawBcACcAZgA2AG4AbgBlAG4ALgBcAGYAMQBcAGYAcwAyADQAXABwAGEAcgANAAoAfQANAAoA</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>
|
||||
67
ReportImp/SprungbrettTheresia/CustomReportCreator.cs
Normal file
67
ReportImp/SprungbrettTheresia/CustomReportCreator.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraReports.Design;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace BeWo.SprungbrettTheresia
|
||||
{
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
|
||||
{
|
||||
XtraReport report = null;
|
||||
|
||||
Settlement2DC lSettlementDC;
|
||||
|
||||
long result;
|
||||
|
||||
if (string.IsNullOrEmpty(dcId) && invoiceBaseOid.HasValue)
|
||||
lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.SearchDAO.GetSettlementInvoiceByInvoiceBaseOid(invoiceBaseOid.Value));
|
||||
|
||||
else if (Int64.TryParse(dcId, out result))
|
||||
lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.GenericDAO.LoadByID<SettlementInvoice>(result)); // = Utils.XMLDeserialize<SettlementDC>(lPath);
|
||||
|
||||
else
|
||||
{
|
||||
string lPath = BS.Shared.Core.Utils.CreateSavePath(TempPath, dcId);
|
||||
lSettlementDC = Utils.XMLDeserialize<Settlement2DC>(lPath);
|
||||
}
|
||||
if (lSettlementDC.RecordedBillableFLSNetto == 0)
|
||||
{
|
||||
lSettlementDC.RecordedBillableFLSNetto = lSettlementDC.RecordedBillableFLSBrutto ?? 0;
|
||||
}
|
||||
String reportId = null;
|
||||
if (lSettlementDC.CostBearer2SupportConceptOid.HasValue)
|
||||
{
|
||||
CostBearer2SupportConcept c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(lSettlementDC.CostBearer2SupportConceptOid.Value);
|
||||
reportId = c2s.CostBearer.ID;
|
||||
}
|
||||
|
||||
if (lSettlementDC.DifferentHourlyRateCount > 0 && lSettlementDC.DifferentHourlyRateCount < 4)
|
||||
{
|
||||
IBeWoReport<SettlementRO> lSettlementReport = FindReportImp<SettlementRO>(reportId);
|
||||
var ro = SettlementRO.Create(lSettlementDC);
|
||||
lSettlementReport.SetReportDataSource(ro);
|
||||
|
||||
report = lSettlementReport as XtraReport;
|
||||
}
|
||||
else
|
||||
{
|
||||
var ro = new Budgetnachweis();
|
||||
ro.SetReportDataSource(SettlementRO.Create(lSettlementDC));
|
||||
ro.CreateDocument();
|
||||
report = ro as XtraReport;
|
||||
}
|
||||
return report;
|
||||
}
|
||||
}
|
||||
}
|
||||
6297
ReportImp/SprungbrettTheresia/SettlementReport.Designer.cs
generated
6297
ReportImp/SprungbrettTheresia/SettlementReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,10 @@ using System.Text;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
namespace BeWo.SprungbrettTheresia
|
||||
namespace BeWo.SprungbrettTheresia.Alt
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
|
||||
{
|
||||
@@ -59,6 +61,20 @@ namespace BeWo.SprungbrettTheresia
|
||||
pRO.ApprovedFLSWeeklyString = String.Format("{0:0.00}", pRO.ApprovedFLSWeekly);
|
||||
}
|
||||
|
||||
chkNichtBeendet.Checked = true;
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
chkBeendet.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
chkNichtBeendet.Checked = false;
|
||||
chkBeendet.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
xrPanel1Amount.Location = xrPanel2Amounts.Location;
|
||||
xrPanel3Amounts.Location = xrPanel2Amounts.Location;
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
<Compile Include="CustomerDataReport.Designer.cs">
|
||||
<DependentUpon>CustomerDataReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceInvoiceReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -80,6 +81,18 @@
|
||||
<Compile Include="SettlementReport.Designer.cs">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Budgetnachweis.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Budgetnachweis.Designer.cs">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BudgetnachweisSeite2.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BudgetnachweisSeite2.Designer.cs">
|
||||
<DependentUpon>BudgetnachweisSeite2.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CustomerDataReport.resx">
|
||||
@@ -95,6 +108,14 @@
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Budgetnachweis.resx">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="BudgetnachweisSeite2.resx">
|
||||
<DependentUpon>BudgetnachweisSeite2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
@@ -105,6 +126,10 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user