AsbRuhr und DiePerspektive
This commit is contained in:
@@ -48,6 +48,18 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Budgetnachweis.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Budgetnachweis.Designer.cs">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BudgetnachweisAnhang.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BudgetnachweisAnhang.Designer.cs">
|
||||
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Export\FibuNetExporter.cs" />
|
||||
@@ -119,6 +131,13 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Budgetnachweis.resx">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="BudgetnachweisAnhang.resx">
|
||||
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Finanzauswertung.resx">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
598
ReportImp/AsbRuhr/Budgetnachweis.Designer.cs
generated
Normal file
598
ReportImp/AsbRuhr/Budgetnachweis.Designer.cs
generated
Normal file
@@ -0,0 +1,598 @@
|
||||
namespace AsbRuhr
|
||||
{
|
||||
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.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAktenzeichen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine2 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPanel1,
|
||||
this.xrLabel4,
|
||||
this.xrLine1,
|
||||
this.xrLabel35,
|
||||
this.xrLabel12,
|
||||
this.xrCheckBox2,
|
||||
this.xrCheckBox1});
|
||||
this.Detail.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.Detail.HeightF = 559.6457F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrPanel1
|
||||
//
|
||||
this.xrPanel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.lblAktenzeichen,
|
||||
this.xrLabel7,
|
||||
this.xrLabel10,
|
||||
this.xrLabel3,
|
||||
this.xrLabel9});
|
||||
this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrPanel1.Name = "xrPanel1";
|
||||
this.xrPanel1.SizeF = new System.Drawing.SizeF(673.3192F, 179.1617F);
|
||||
this.xrPanel1.StylePriority.UseBorders = false;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel15.CanShrink = true;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 29.99999F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.Text = "[CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]";
|
||||
this.xrLabel15.WordWrap = false;
|
||||
//
|
||||
// lblAktenzeichen
|
||||
//
|
||||
this.lblAktenzeichen.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblAktenzeichen.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblAktenzeichen.CanShrink = true;
|
||||
this.lblAktenzeichen.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.lblAktenzeichen.LocationFloat = new DevExpress.Utils.PointFloat(10F, 65F);
|
||||
this.lblAktenzeichen.Multiline = true;
|
||||
this.lblAktenzeichen.Name = "lblAktenzeichen";
|
||||
this.lblAktenzeichen.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.lblAktenzeichen.StylePriority.UseBackColor = false;
|
||||
this.lblAktenzeichen.StylePriority.UseBorders = false;
|
||||
this.lblAktenzeichen.StylePriority.UseFont = false;
|
||||
this.lblAktenzeichen.StylePriority.UsePadding = false;
|
||||
this.lblAktenzeichen.Text = "Aktenzeichen: [CustomerReferenceNumber] Geburtsdatum: [CustomerBirthdayStr" +
|
||||
"ing]";
|
||||
this.lblAktenzeichen.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel7.CanShrink = true;
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(10F, 100F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel7.StylePriority.UseBackColor = false;
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UsePadding = false;
|
||||
this.xrLabel7.Text = "Bewilligungszeitraum von [AccountingPeriod]";
|
||||
this.xrLabel7.WordWrap = false;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(10F, 135F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(551.3751F, 27.08333F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.Text = "Tatsächlich geleistete Fachleistungsstunden im Bewilligungszeitraum lt. Anlage:";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel3.BorderWidth = 2F;
|
||||
this.xrLabel3.CanShrink = true;
|
||||
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal", "{0:0.00}")});
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(561.38F, 132F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(98.62469F, 27.08333F);
|
||||
this.xrLabel3.StylePriority.UseBackColor = false;
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrLabel3.WordWrap = false;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel9.CanShrink = true;
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 9.999974F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel9.StylePriority.UseBackColor = false;
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UsePadding = false;
|
||||
this.xrLabel9.Text = "Leistungsberechtigte/r:";
|
||||
this.xrLabel9.WordWrap = false;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 380.9583F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(663.5623F, 81.58331F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = resources.GetString("xrLabel4.Text");
|
||||
//
|
||||
// xrLine1
|
||||
//
|
||||
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 512.0624F);
|
||||
this.xrLine1.Name = "xrLine1";
|
||||
this.xrLine1.SizeF = new System.Drawing.SizeF(678.3188F, 10.79163F);
|
||||
//
|
||||
// xrLabel35
|
||||
//
|
||||
this.xrLabel35.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel35.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel35.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel35.LocationFloat = new DevExpress.Utils.PointFloat(0F, 522.8541F);
|
||||
this.xrLabel35.Multiline = true;
|
||||
this.xrLabel35.Name = "xrLabel35";
|
||||
this.xrLabel35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel35.SizeF = new System.Drawing.SizeF(657F, 24.29156F);
|
||||
this.xrLabel35.StylePriority.UseBackColor = false;
|
||||
this.xrLabel35.StylePriority.UseBorders = false;
|
||||
this.xrLabel35.StylePriority.UseFont = false;
|
||||
this.xrLabel35.Text = "Stempel / Funktion und Unterschrift der / des Verantwortlichen";
|
||||
this.xrLabel35.WordWrap = false;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 267.0832F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(695.3123F, 99.70834F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = resources.GetString("xrLabel12.Text");
|
||||
//
|
||||
// xrCheckBox2
|
||||
//
|
||||
this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 226.0367F);
|
||||
this.xrCheckBox2.Name = "xrCheckBox2";
|
||||
this.xrCheckBox2.SizeF = new System.Drawing.SizeF(211.0832F, 21.875F);
|
||||
this.xrCheckBox2.StylePriority.UseFont = false;
|
||||
this.xrCheckBox2.Text = " Die Betreuung dauert an.";
|
||||
//
|
||||
// xrCheckBox1
|
||||
//
|
||||
this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192.7034F);
|
||||
this.xrCheckBox1.Name = "xrCheckBox1";
|
||||
this.xrCheckBox1.SizeF = new System.Drawing.SizeF(493.5575F, 21.875F);
|
||||
this.xrCheckBox1.StylePriority.UseFont = false;
|
||||
this.xrCheckBox1.Text = " Die Betreuung wurde beendet am";
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 35.41667F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1,
|
||||
this.xrLine2,
|
||||
this.xrRichText3});
|
||||
this.bottomMarginBand1.HeightF = 140.5489F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrRichText4,
|
||||
this.xrRichText1,
|
||||
this.xrPictureBox2,
|
||||
this.xrPictureBox1,
|
||||
this.lblAdresse,
|
||||
this.xrTable2,
|
||||
this.xrLabel8});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.GroupHeader1.HeightF = 445.5001F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 142.0257F);
|
||||
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(315.3336F, 126.6492F);
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(490.1252F, 308.4722F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow2,
|
||||
this.xrTableRow3});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(210F, 62F);
|
||||
this.xrTable2.StylePriority.UseBorderColor = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.11000000000000001D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
|
||||
this.xrTableCell2.CanGrow = false;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(1, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Rechnungsnr:";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell2.Weight = 0.16153846153846155D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
|
||||
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Erbrachte Leistungen:";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell1.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.09D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
||||
this.xrTableCell3.CanGrow = false;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(1, 0, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Belegdatum:";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell3.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "xrTableCell4";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell4.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 0.11000000000000001D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(1, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.Text = "Kundennr:";
|
||||
this.xrTableCell5.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DebitorNumber")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.Text = "xrTableCell6";
|
||||
this.xrTableCell6.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 374.6667F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(673.319F, 40.00003F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Budgetnachweis\r\nüber die Abrechnung von Fachleistungsstunden im Rahmen der Eingli" +
|
||||
"ederungshilfe";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// xrRichText4
|
||||
//
|
||||
this.xrRichText4.Font = new System.Drawing.Font("Calibri", 8F);
|
||||
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.1646F);
|
||||
this.xrRichText4.Name = "xrRichText4";
|
||||
this.xrRichText4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
|
||||
this.xrRichText4.SizeF = new System.Drawing.SizeF(395.54F, 37.86108F);
|
||||
this.xrRichText4.StylePriority.UseFont = false;
|
||||
this.xrRichText4.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(490.1252F, 94.75002F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(216.8749F, 213.7222F);
|
||||
this.xrRichText1.StylePriority.UseBorderColor = false;
|
||||
this.xrRichText1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrPictureBox2
|
||||
//
|
||||
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
|
||||
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(474.0417F, 204.9999F);
|
||||
this.xrPictureBox2.Name = "xrPictureBox2";
|
||||
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(16.08371F, 86.12503F);
|
||||
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(490.1252F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(226.8748F, 94.75002F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(626.3889F, 50F);
|
||||
this.xrLabel1.StylePriority.UseBorders = false;
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "KZ: 500512975, Gläubiger ID: DE90ASB00000472291\r\nDer Gesamtbetrag gem. § 4 UStG u" +
|
||||
"msatzsteuerbefreit.\r\nSteuernummer: 111/5727/1262\r\n";
|
||||
//
|
||||
// xrLine2
|
||||
//
|
||||
this.xrLine2.ForeColor = System.Drawing.Color.Maroon;
|
||||
this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 50.54893F);
|
||||
this.xrLine2.Name = "xrLine2";
|
||||
this.xrLine2.SizeF = new System.Drawing.SizeF(705.5555F, 9.999932F);
|
||||
this.xrLine2.StylePriority.UseForeColor = false;
|
||||
//
|
||||
// xrRichText3
|
||||
//
|
||||
this.xrRichText3.Font = new System.Drawing.Font("Calibri", 8F);
|
||||
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 60.54878F);
|
||||
this.xrRichText3.Name = "xrRichText3";
|
||||
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
|
||||
this.xrRichText3.SizeF = new System.Drawing.SizeF(707F, 80.00007F);
|
||||
this.xrRichText3.StylePriority.UseFont = false;
|
||||
//
|
||||
// Budgetnachweis
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupHeader1});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(80, 30, 35, 141);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel35;
|
||||
private DevExpress.XtraReports.UI.XRLine xrLine1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRPanel xrPanel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRLine xrLine2;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
|
||||
}
|
||||
}
|
||||
78
ReportImp/AsbRuhr/Budgetnachweis.cs
Normal file
78
ReportImp/AsbRuhr/Budgetnachweis.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace AsbRuhr
|
||||
{
|
||||
[IDSpecificClass(Identifier = "LWLNEU")]
|
||||
|
||||
public partial class Budgetnachweis : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public Budgetnachweis()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
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.AppendLine(pRO.RecipientPostCodeAndTown);
|
||||
}
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
|
||||
xrCheckBox2.Checked = true;
|
||||
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
xrCheckBox1.Text = String.Format(" Die Betreuung wurde beendet am {0:dd.MM.yyyy}",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
xrCheckBox2.Checked = false;
|
||||
xrCheckBox1.Checked = true;
|
||||
}
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonPhone))
|
||||
pRO.SenderContactPersonPhone = pRO.SenderContactPersonPhone.Replace("Tel.:", "").Trim();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonFax))
|
||||
pRO.SenderContactPersonFax = pRO.SenderContactPersonFax.Replace("Fax:", "").Trim();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))
|
||||
pRO.SenderContactPersonMail = pRO.SenderContactPersonMail.Replace("E-Mail:", "").Trim();
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
897
ReportImp/AsbRuhr/Budgetnachweis.resx
Normal file
897
ReportImp/AsbRuhr/Budgetnachweis.resx
Normal file
File diff suppressed because one or more lines are too long
1398
ReportImp/AsbRuhr/BudgetnachweisAnhang.Designer.cs
generated
Normal file
1398
ReportImp/AsbRuhr/BudgetnachweisAnhang.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
ReportImp/AsbRuhr/BudgetnachweisAnhang.cs
Normal file
31
ReportImp/AsbRuhr/BudgetnachweisAnhang.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace AsbRuhr
|
||||
{
|
||||
public partial class BudgetnachweisAnhang : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<BudgetnachweisAnhangRO>
|
||||
{
|
||||
public BudgetnachweisAnhang()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(BudgetnachweisAnhangRO pRO)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(pRO.CustomerDC.LastName))
|
||||
{
|
||||
//pRO.CustomerDC.LastName = pRO.CustomerDC.LastName.Replace("/", "").Replace("LWL Psych", "").Replace("LWL Sucht", "").Trim();
|
||||
|
||||
|
||||
}
|
||||
//if (pRO.Transaktionen != null)
|
||||
//{
|
||||
// pRO.Transaktionen = pRO.Transaktionen.OrderBy(o => o.Belegdatum).ToList();
|
||||
//}
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
126
ReportImp/AsbRuhr/BudgetnachweisAnhang.resx
Normal file
126
ReportImp/AsbRuhr/BudgetnachweisAnhang.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="xrLabel1.Text" xml:space="preserve">
|
||||
<value>Über den Budgetnachweis werden auf Grundlage der Quittierungsbelege im nachstehenden Umfang folgende, im direkten Betreuungskontakt erbrachte Minuten zur Abrechnung beantragt (direkte Fachleistungsminuten = D-FLMin). Die Summe der D-FLMin wird in direkte Fachleistungsstunden (D-FLS) umgerechnet.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -15,16 +15,42 @@ namespace AsbRuhr
|
||||
{
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
//public override XtraReport CreateFinanceReport(DateTime? start, DateTime? end)
|
||||
//{
|
||||
// var report = FindReportImp<FinanceRO>();
|
||||
public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
|
||||
{
|
||||
long oid = 0;
|
||||
long? ibOid = null;
|
||||
|
||||
// report.SetReportDataSource(FinanceRO.Create(start, end, true));
|
||||
if (string.IsNullOrEmpty(dcId) && invoiceBaseOid.HasValue)
|
||||
{
|
||||
ibOid = invoiceBaseOid.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
Int64.TryParse(dcId, out oid);
|
||||
var si = DAOFactory.GenericDAO.LoadByID<SettlementInvoice>(oid);
|
||||
ibOid = si.InvoiceBase.Oid;
|
||||
}
|
||||
|
||||
// return report as XtraReport;
|
||||
// }
|
||||
if (ibOid.HasValue && ibOid.Value > 0)
|
||||
{
|
||||
var ib = DAOFactory.GenericDAO.LoadByID<InvoiceBase>(ibOid.Value);
|
||||
string cbName = ib.CostBearer2SupportConcept.CostBearer.Organisation.Name;
|
||||
if (cbName.Contains("Landschaftsverband Westfalen-Lippe") || cbName.StartsWith("LWL"))
|
||||
return base.CreateSettlementReport(null, ibOid, true);
|
||||
}
|
||||
return base.CreateSettlementReport(dcId, invoiceBaseOid, false);
|
||||
}
|
||||
|
||||
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
//public override XtraReport CreateFinanceReport(DateTime? start, DateTime? end)
|
||||
//{
|
||||
// var report = FindReportImp<FinanceRO>();
|
||||
|
||||
// report.SetReportDataSource(FinanceRO.Create(start, end, true));
|
||||
|
||||
// return report as XtraReport;
|
||||
// }
|
||||
|
||||
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
|
||||
{
|
||||
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid);
|
||||
|
||||
|
||||
@@ -23,10 +23,15 @@ namespace AsbRuhr.Export
|
||||
query.FileName = String.Format("BWP Stammdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetDebitorenString(dt);
|
||||
}
|
||||
else if (query.Title == "FibuNet Export Rechnungsdaten")
|
||||
{
|
||||
query.FileName = String.Format("BWP Rg Buchungsdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetAbrechnungenString(dt);
|
||||
}
|
||||
else
|
||||
{
|
||||
query.FileName = String.Format("BWP Buchungsdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetAbrechnungenString(dt);
|
||||
query.QueryResult = GetAbgrenzungString(dt);
|
||||
}
|
||||
|
||||
return query;
|
||||
@@ -43,8 +48,6 @@ namespace AsbRuhr.Export
|
||||
return GetAbrechnungenString(dt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -91,7 +94,13 @@ namespace AsbRuhr.Export
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
return GetMonatlicheRechnungen(date);
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetAbgrenzungString(DateTime date)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
return GetMonatlicheAbgrenzung(date);
|
||||
}
|
||||
|
||||
public static String GetMonatlicheRechnungen(DateTime date)
|
||||
@@ -154,7 +163,22 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
rowIndex++;
|
||||
}
|
||||
|
||||
dt = ExecuteQuery(GetMonatlicheBetraegeSql(date), date);
|
||||
sb.AppendLine(String.Format("( ):5;"));
|
||||
|
||||
//F,0,050,,BEWO,DA,01012016,012016,iBelegNr1,Belegnr1,220001,,,,999.99, "Name AZ Abrechnung 01/2016 LVR",,,EUR,,,,,,,,,,,R,,,
|
||||
//G,0,1695,,,-999.99,"Name AZ Abrechnung 01/2016 LVR",
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheAbgrenzung(DateTime date)
|
||||
{
|
||||
var dt = ExecuteQuery(GetMonatlicheBetraegeSql(date), date);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format("( ):1000;;{0:ddMMyyyy}", date));
|
||||
int rowIndex = 1;
|
||||
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(row[3].ToString()))
|
||||
@@ -170,9 +194,6 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
|
||||
sb.AppendLine(String.Format("( ):5;"));
|
||||
|
||||
//F,0,050,,BEWO,DA,01012016,012016,iBelegNr1,Belegnr1,220001,,,,999.99, "Name AZ Abrechnung 01/2016 LVR",,,EUR,,,,,,,,,,,R,,,
|
||||
//G,0,1695,,,-999.99,"Name AZ Abrechnung 01/2016 LVR",
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
@@ -220,7 +241,6 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
sb.Append(";;");
|
||||
sb.Append(row[4].ToString()); // Buchungstext
|
||||
sb.Append(";;;0");
|
||||
|
||||
}
|
||||
|
||||
private static void Erstelle2010Satz(StringBuilder sb, DataRow row, DateTime date, int rowIndex)
|
||||
@@ -263,23 +283,23 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
{
|
||||
|
||||
String sql = @"
|
||||
SELECT
|
||||
distinct
|
||||
p.`FirstName`,
|
||||
p.`LastName`,
|
||||
c.DebitorNumber,
|
||||
cb2sc.CustomerRefenrenceNumber,
|
||||
a.Street,
|
||||
a.PostalCode,
|
||||
a.Town
|
||||
FROM `customer` c
|
||||
INNER JOIN `person` p ON p.`Oid` = c.`PersonOid`
|
||||
INNER JOIN supportconcept sc on sc.CustomerOID = c.Oid
|
||||
INNER JOIN costbearer2supportconcept cb2sc on cb2sc.SupportConceptOID = sc.Oid
|
||||
LEFT JOIN Address a on p.addressOid = a.oid
|
||||
WHERE c.isactive=1
|
||||
order by p.`LastName`, p.FirstName
|
||||
";
|
||||
SELECT
|
||||
distinct
|
||||
p.`FirstName`,
|
||||
p.`LastName`,
|
||||
c.DebitorNumber,
|
||||
cb2sc.CustomerRefenrenceNumber,
|
||||
a.Street,
|
||||
a.PostalCode,
|
||||
a.Town
|
||||
FROM `customer` c
|
||||
INNER JOIN `person` p ON p.`Oid` = c.`PersonOid`
|
||||
INNER JOIN supportconcept sc on sc.CustomerOID = c.Oid
|
||||
INNER JOIN costbearer2supportconcept cb2sc on cb2sc.SupportConceptOID = sc.Oid
|
||||
LEFT JOIN Address a on p.addressOid = a.oid
|
||||
WHERE c.isactive=1
|
||||
order by p.`LastName`, p.FirstName
|
||||
";
|
||||
return sql;
|
||||
}
|
||||
|
||||
@@ -320,23 +340,23 @@ order by ib.invoicenumber
|
||||
//Ertragskonto: 8100
|
||||
|
||||
String sql = @"
|
||||
SELECT
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
Round(si.Claim, 2),
|
||||
CONCAT('Endabrechnung ', date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.InvoiceNumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
'LVR oder LWL' AS 'ii.ItemDescription'
|
||||
from invoicebase ib
|
||||
join settlementinvoice si on si.invoicebaseoid = ib.oid
|
||||
join supportconcept sc on sc.oid = ib.supportconceptoid
|
||||
join customer c on c.oid = sc.customeroid
|
||||
join `person` p on c.`PersonOid` = p.`Oid`
|
||||
where ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End'
|
||||
and ib.type = 1 and ib.isactive = 1 and c.isactive <> 0
|
||||
";
|
||||
SELECT
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
Round(si.Claim, 2),
|
||||
CONCAT('Endabrechnung ', date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.InvoiceNumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
'LVR oder LWL' AS 'ii.ItemDescription'
|
||||
from invoicebase ib
|
||||
join settlementinvoice si on si.invoicebaseoid = ib.oid
|
||||
join supportconcept sc on sc.oid = ib.supportconceptoid
|
||||
join customer c on c.oid = sc.customeroid
|
||||
join `person` p on c.`PersonOid` = p.`Oid`
|
||||
where ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End'
|
||||
and ib.type = 1 and ib.isactive = 1 and c.isactive <> 0
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AsbRuhr
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(FinanceRO pRO)
|
||||
public void SetReportDataSource(FinanceRO pRO)
|
||||
{
|
||||
if (pRO.SupportConceptFinanceList != null)
|
||||
{
|
||||
@@ -35,45 +35,45 @@ namespace AsbRuhr
|
||||
pRO.CalculateBillableAmountInReportTimeSpan();
|
||||
|
||||
if (pRO.ReportStartDate.HasValue && pRO.ReportEndDate.HasValue)
|
||||
{
|
||||
DateTime start = pRO.ReportStartDate.Value;
|
||||
DateTime end = pRO.ReportEndDate.Value;
|
||||
{
|
||||
DateTime start = pRO.ReportStartDate.Value;
|
||||
DateTime end = pRO.ReportEndDate.Value;
|
||||
|
||||
if (start.Year == end.Year && start.Month == end.Month && start.Day == 1 &&
|
||||
end.Day == DateTime.DaysInMonth(end.Year, end.Month))
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:MMMM yyyy}", start);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:MMMM}", start);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:MMMM}", start);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
|
||||
}
|
||||
if (pRO.RateFactor.HasValue)
|
||||
{
|
||||
cellRateFactorHeader.Text = String.Format("geleistete Std. x {0:0.##}", pRO.RateFactor);
|
||||
}
|
||||
else
|
||||
{
|
||||
cellRateFactorHeader.Visible = false;
|
||||
cellRateFactor.Visible = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
cellBewilligtImZeitraumHeader.Visible = false;
|
||||
cellBewilligteFLSImBereich.Visible = false;
|
||||
cellGeleistetImBereich.Visible = false;
|
||||
cellGeleistetImZeitraumHeader.Visible = false;
|
||||
cellRateFactorHeader.Visible = false;
|
||||
cellRateFactor.Visible = false;
|
||||
}
|
||||
if (start.Year == end.Year && start.Month == end.Month && start.Day == 1 &&
|
||||
end.Day == DateTime.DaysInMonth(end.Year, end.Month))
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:MMMM yyyy}", start);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:MMMM}", start);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:MMMM}", start);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
|
||||
}
|
||||
if (pRO.RateFactor.HasValue)
|
||||
{
|
||||
cellRateFactorHeader.Text = String.Format("geleistete Std. x {0:0.##}", pRO.RateFactor);
|
||||
}
|
||||
else
|
||||
{
|
||||
cellRateFactorHeader.Visible = false;
|
||||
cellRateFactor.Visible = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
cellBewilligtImZeitraumHeader.Visible = false;
|
||||
cellBewilligteFLSImBereich.Visible = false;
|
||||
cellGeleistetImBereich.Visible = false;
|
||||
cellGeleistetImZeitraumHeader.Visible = false;
|
||||
cellRateFactorHeader.Visible = false;
|
||||
cellRateFactor.Visible = false;
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
@@ -120,7 +120,5 @@ namespace AsbRuhr
|
||||
|
||||
return dc;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
575
ReportImp/DiePerspektive/Budgetnachweis.Designer.cs
generated
Normal file
575
ReportImp/DiePerspektive/Budgetnachweis.Designer.cs
generated
Normal file
@@ -0,0 +1,575 @@
|
||||
namespace DiePerspektive
|
||||
{
|
||||
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.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAktenzeichen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
|
||||
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrRichText4 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPanel1,
|
||||
this.xrLabel4,
|
||||
this.xrLine1,
|
||||
this.xrLabel35,
|
||||
this.xrLabel12,
|
||||
this.xrCheckBox2,
|
||||
this.xrCheckBox1});
|
||||
this.Detail.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.Detail.HeightF = 601.3124F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrPanel1
|
||||
//
|
||||
this.xrPanel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel15,
|
||||
this.lblAktenzeichen,
|
||||
this.xrLabel7,
|
||||
this.xrLabel10,
|
||||
this.xrLabel3,
|
||||
this.xrLabel9});
|
||||
this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrPanel1.Name = "xrPanel1";
|
||||
this.xrPanel1.SizeF = new System.Drawing.SizeF(673.3192F, 179.1617F);
|
||||
this.xrPanel1.StylePriority.UseBorders = false;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel15.CanShrink = true;
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 29.99999F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.Text = "[CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]";
|
||||
this.xrLabel15.WordWrap = false;
|
||||
//
|
||||
// lblAktenzeichen
|
||||
//
|
||||
this.lblAktenzeichen.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblAktenzeichen.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.lblAktenzeichen.CanShrink = true;
|
||||
this.lblAktenzeichen.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.lblAktenzeichen.LocationFloat = new DevExpress.Utils.PointFloat(10F, 65F);
|
||||
this.lblAktenzeichen.Multiline = true;
|
||||
this.lblAktenzeichen.Name = "lblAktenzeichen";
|
||||
this.lblAktenzeichen.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.lblAktenzeichen.StylePriority.UseBackColor = false;
|
||||
this.lblAktenzeichen.StylePriority.UseBorders = false;
|
||||
this.lblAktenzeichen.StylePriority.UseFont = false;
|
||||
this.lblAktenzeichen.StylePriority.UsePadding = false;
|
||||
this.lblAktenzeichen.Text = "Aktenzeichen: [CustomerReferenceNumber] Geburtsdatum: [CustomerBirthdayStr" +
|
||||
"ing]";
|
||||
this.lblAktenzeichen.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel7.CanShrink = true;
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(10F, 100F);
|
||||
this.xrLabel7.Multiline = true;
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel7.StylePriority.UseBackColor = false;
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UsePadding = false;
|
||||
this.xrLabel7.Text = "Bewilligungszeitraum von [AccountingPeriod]";
|
||||
this.xrLabel7.WordWrap = false;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(10F, 135F);
|
||||
this.xrLabel10.Multiline = true;
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(551.3751F, 27.08333F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.Text = "Tatsächlich geleistete Fachleistungsstunden im Bewilligungszeitraum lt. Anlage:";
|
||||
//
|
||||
// xrLabel3
|
||||
//
|
||||
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel3.BorderWidth = 2F;
|
||||
this.xrLabel3.CanShrink = true;
|
||||
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal", "{0:0.00}")});
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(561.38F, 132F);
|
||||
this.xrLabel3.Multiline = true;
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel3.SizeF = new System.Drawing.SizeF(98.62469F, 27.08333F);
|
||||
this.xrLabel3.StylePriority.UseBackColor = false;
|
||||
this.xrLabel3.StylePriority.UseBorders = false;
|
||||
this.xrLabel3.StylePriority.UseBorderWidth = false;
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrLabel3.WordWrap = false;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel9.CanShrink = true;
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Arial", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))));
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 9.999974F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(650F, 20F);
|
||||
this.xrLabel9.StylePriority.UseBackColor = false;
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UsePadding = false;
|
||||
this.xrLabel9.Text = "Leistungsberechtigte/r:";
|
||||
this.xrLabel9.WordWrap = false;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 390.3333F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(663.5623F, 81.58331F);
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.Text = resources.GetString("xrLabel4.Text");
|
||||
//
|
||||
// xrLine1
|
||||
//
|
||||
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 530.8125F);
|
||||
this.xrLine1.Name = "xrLine1";
|
||||
this.xrLine1.SizeF = new System.Drawing.SizeF(678.3188F, 10.79163F);
|
||||
//
|
||||
// xrLabel35
|
||||
//
|
||||
this.xrLabel35.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel35.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel35.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel35.LocationFloat = new DevExpress.Utils.PointFloat(3.997358F, 541.6042F);
|
||||
this.xrLabel35.Multiline = true;
|
||||
this.xrLabel35.Name = "xrLabel35";
|
||||
this.xrLabel35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel35.SizeF = new System.Drawing.SizeF(657F, 24.29156F);
|
||||
this.xrLabel35.StylePriority.UseBackColor = false;
|
||||
this.xrLabel35.StylePriority.UseBorders = false;
|
||||
this.xrLabel35.StylePriority.UseFont = false;
|
||||
this.xrLabel35.Text = "Stempel / Funktion und Unterschrift der / des Verantwortlichen";
|
||||
this.xrLabel35.WordWrap = false;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 267.0832F);
|
||||
this.xrLabel12.Multiline = true;
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(695.3123F, 107F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.Text = resources.GetString("xrLabel12.Text");
|
||||
//
|
||||
// xrCheckBox2
|
||||
//
|
||||
this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 226.0367F);
|
||||
this.xrCheckBox2.Name = "xrCheckBox2";
|
||||
this.xrCheckBox2.SizeF = new System.Drawing.SizeF(211.0832F, 21.875F);
|
||||
this.xrCheckBox2.StylePriority.UseFont = false;
|
||||
this.xrCheckBox2.Text = " Die Betreuung dauert an.";
|
||||
//
|
||||
// xrCheckBox1
|
||||
//
|
||||
this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192.7034F);
|
||||
this.xrCheckBox1.Name = "xrCheckBox1";
|
||||
this.xrCheckBox1.SizeF = new System.Drawing.SizeF(493.5575F, 21.875F);
|
||||
this.xrCheckBox1.StylePriority.UseFont = false;
|
||||
this.xrCheckBox1.Text = " Die Betreuung wurde beendet am";
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 35.41667F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrRichText3,
|
||||
this.xrLabel1});
|
||||
this.bottomMarginBand1.HeightF = 135.1946F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblAdresse,
|
||||
this.xrRichText2,
|
||||
this.xrRichText4,
|
||||
this.xrPictureBox1,
|
||||
this.xrTable2,
|
||||
this.xrLabel8});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Arial", 11F);
|
||||
this.GroupHeader1.HeightF = 399.6667F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 335.0833F);
|
||||
this.xrLabel8.Multiline = true;
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(673.319F, 40.00003F);
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Budgetnachweis\r\nüber die Abrechnung von Fachleistungsstunden im Rahmen der Eingli" +
|
||||
"ederungshilfe";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 142.0257F);
|
||||
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(315.3336F, 126.6492F);
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(1F, 115.2757F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(371.2364F, 26.74999F);
|
||||
this.xrRichText2.StylePriority.UseFont = false;
|
||||
this.xrRichText2.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrRichText4
|
||||
//
|
||||
this.xrRichText4.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrRichText4.Font = new System.Drawing.Font("Verdana", 9F);
|
||||
this.xrRichText4.LocationFloat = new DevExpress.Utils.PointFloat(497.6409F, 142.0257F);
|
||||
this.xrRichText4.Name = "xrRichText4";
|
||||
this.xrRichText4.SerializableRtfString = resources.GetString("xrRichText4.SerializableRtfString");
|
||||
this.xrRichText4.SizeF = new System.Drawing.SizeF(213.9584F, 105.9167F);
|
||||
this.xrRichText4.StylePriority.UseBorderColor = false;
|
||||
this.xrRichText4.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(458.5993F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(257.4007F, 142.0257F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Font = new System.Drawing.Font("Arial", 10F);
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(497.0001F, 259.4007F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1,
|
||||
this.xrTableRow2,
|
||||
this.xrTableRow3});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(210F, 62F);
|
||||
this.xrTable2.StylePriority.UseBorderColor = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 0.11000000000000001D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
|
||||
this.xrTableCell2.CanGrow = false;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Rechnungsnr:";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell2.Weight = 0.16153846153846155D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
|
||||
this.xrTableCell1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell1.Text = "Erbrachte Leistungen:";
|
||||
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
|
||||
this.xrTableCell1.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 0.09D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
||||
this.xrTableCell3.CanGrow = false;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 0, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Belegdatum:";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell3.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "xrTableCell4";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell4.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 0.11000000000000001D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.Text = "Kundennr:";
|
||||
this.xrTableCell5.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DebitorNumber")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.Text = "xrTableCell6";
|
||||
this.xrTableCell6.Weight = 0.16153846153846152D;
|
||||
//
|
||||
// xrRichText3
|
||||
//
|
||||
this.xrRichText3.Font = new System.Drawing.Font("Calibri", 8F);
|
||||
this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(1.000023F, 45.19456F);
|
||||
this.xrRichText3.Name = "xrRichText3";
|
||||
this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString");
|
||||
this.xrRichText3.SizeF = new System.Drawing.SizeF(710.1794F, 90F);
|
||||
this.xrRichText3.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.xrLabel1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(626.3889F, 45.19458F);
|
||||
this.xrLabel1.StylePriority.UseBorders = false;
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Steuernummer: 111/5727/3020\r\nGläubiger ID: DE38DPV00000557811";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// Budgetnachweis
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupHeader1});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(80, 30, 35, 135);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).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.FormattingRule ruleRateFactorNull;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2;
|
||||
private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel35;
|
||||
private DevExpress.XtraReports.UI.XRLine xrLine1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
|
||||
private DevExpress.XtraReports.UI.XRPanel xrPanel1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText4;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
}
|
||||
}
|
||||
78
ReportImp/DiePerspektive/Budgetnachweis.cs
Normal file
78
ReportImp/DiePerspektive/Budgetnachweis.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.DataContracts;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace DiePerspektive
|
||||
{
|
||||
[IDSpecificClass(Identifier = "LWLNEU")]
|
||||
|
||||
public partial class Budgetnachweis : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
|
||||
{
|
||||
public Budgetnachweis()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
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.AppendLine(pRO.RecipientPostCodeAndTown);
|
||||
}
|
||||
lblAdresse.Text = sb.ToString();
|
||||
|
||||
|
||||
xrCheckBox2.Checked = true;
|
||||
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
if (c2s.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
xrCheckBox1.Text = String.Format(" Die Betreuung wurde beendet am {0:dd.MM.yyyy}",
|
||||
c2s.SupportConcept.Customer.TerminationDate);
|
||||
xrCheckBox2.Checked = false;
|
||||
xrCheckBox1.Checked = true;
|
||||
}
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonPhone))
|
||||
pRO.SenderContactPersonPhone = pRO.SenderContactPersonPhone.Replace("Tel.:", "").Trim();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonFax))
|
||||
pRO.SenderContactPersonFax = pRO.SenderContactPersonFax.Replace("Fax:", "").Trim();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))
|
||||
pRO.SenderContactPersonMail = pRO.SenderContactPersonMail.Replace("E-Mail:", "").Trim();
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
1277
ReportImp/DiePerspektive/Budgetnachweis.resx
Normal file
1277
ReportImp/DiePerspektive/Budgetnachweis.resx
Normal file
File diff suppressed because one or more lines are too long
1398
ReportImp/DiePerspektive/BudgetnachweisAnhang.Designer.cs
generated
Normal file
1398
ReportImp/DiePerspektive/BudgetnachweisAnhang.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
ReportImp/DiePerspektive/BudgetnachweisAnhang.cs
Normal file
31
ReportImp/DiePerspektive/BudgetnachweisAnhang.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace DiePerspektive
|
||||
{
|
||||
public partial class BudgetnachweisAnhang : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<BudgetnachweisAnhangRO>
|
||||
{
|
||||
public BudgetnachweisAnhang()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(BudgetnachweisAnhangRO pRO)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(pRO.CustomerDC.LastName))
|
||||
{
|
||||
//pRO.CustomerDC.LastName = pRO.CustomerDC.LastName.Replace("/", "").Replace("LWL Psych", "").Replace("LWL Sucht", "").Trim();
|
||||
|
||||
|
||||
}
|
||||
//if (pRO.Transaktionen != null)
|
||||
//{
|
||||
// pRO.Transaktionen = pRO.Transaktionen.OrderBy(o => o.Belegdatum).ToList();
|
||||
//}
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
126
ReportImp/DiePerspektive/BudgetnachweisAnhang.resx
Normal file
126
ReportImp/DiePerspektive/BudgetnachweisAnhang.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="xrLabel1.Text" xml:space="preserve">
|
||||
<value>Über den Budgetnachweis werden auf Grundlage der Quittierungsbelege im nachstehenden Umfang folgende, im direkten Betreuungskontakt erbrachte Minuten zur Abrechnung beantragt (direkte Fachleistungsminuten = D-FLMin). Die Summe der D-FLMin wird in direkte Fachleistungsstunden (D-FLS) umgerechnet.</value>
|
||||
</data>
|
||||
</root>
|
||||
42
ReportImp/DiePerspektive/CustomReportCreator.cs
Normal file
42
ReportImp/DiePerspektive/CustomReportCreator.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
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 DevExpress.XtraReports.Design;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace DiePerspektive
|
||||
{
|
||||
public class CustomReportCreator : DefaultReportCreator
|
||||
{
|
||||
public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid)
|
||||
{
|
||||
long oid = 0;
|
||||
long? ibOid = null;
|
||||
|
||||
if (string.IsNullOrEmpty(dcId) && invoiceBaseOid.HasValue)
|
||||
{
|
||||
ibOid = invoiceBaseOid.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
Int64.TryParse(dcId, out oid);
|
||||
var si = DAOFactory.GenericDAO.LoadByID<SettlementInvoice>(oid);
|
||||
ibOid = si.InvoiceBase.Oid;
|
||||
}
|
||||
|
||||
if (ibOid.HasValue && ibOid.Value > 0)
|
||||
{
|
||||
var ib = DAOFactory.GenericDAO.LoadByID<InvoiceBase>(ibOid.Value);
|
||||
string cbName = ib.CostBearer2SupportConcept.CostBearer.Organisation.Name;
|
||||
if (cbName.Contains("Landschaftsverband Westfalen-Lippe") || cbName.StartsWith("LWL"))
|
||||
return base.CreateSettlementReport(null, ibOid, true);
|
||||
}
|
||||
return base.CreateSettlementReport(dcId, invoiceBaseOid, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,13 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BudgetnachweisAnhang.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BudgetnachweisAnhang.Designer.cs">
|
||||
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Export\FibuNetExporter.cs" />
|
||||
<Compile Include="Finanzauswertung.cs">
|
||||
@@ -77,6 +84,12 @@
|
||||
<Compile Include="ServiceInvoiceReport.Designer.cs">
|
||||
<DependentUpon>ServiceInvoiceReport.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>
|
||||
</Compile>
|
||||
@@ -103,6 +116,9 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="BudgetnachweisAnhang.resx">
|
||||
<DependentUpon>BudgetnachweisAnhang.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Finanzauswertung.resx">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -120,6 +136,10 @@
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Budgetnachweis.resx">
|
||||
<DependentUpon>Budgetnachweis.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport.resx">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -18,7 +18,6 @@ namespace DiePerspektive.Export
|
||||
{
|
||||
public class FibuNetExporter
|
||||
{
|
||||
|
||||
public static QueryDC CreateQuery(QueryDC query)
|
||||
{
|
||||
DateTime dt = DateTime.Now;
|
||||
@@ -29,10 +28,15 @@ namespace DiePerspektive.Export
|
||||
query.FileName = String.Format("BWP Stammdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetDebitorenString(dt);
|
||||
}
|
||||
else if (query.Title == "FibuNet Export Rechnungsdaten")
|
||||
{
|
||||
query.FileName = String.Format("BWP Rg Buchungsdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetAbrechnungenString(dt);
|
||||
}
|
||||
else
|
||||
{
|
||||
query.FileName = String.Format("BWP Buchungsdaten {0:yyyyMM}.txt", dt);
|
||||
query.QueryResult = GetAbrechnungenString(dt);
|
||||
query.QueryResult = GetAbgrenzungString(dt);
|
||||
}
|
||||
|
||||
return query;
|
||||
@@ -49,8 +53,6 @@ namespace DiePerspektive.Export
|
||||
return GetAbrechnungenString(dt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -97,7 +99,13 @@ namespace DiePerspektive.Export
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
return GetMonatlicheRechnungen(date);
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetAbgrenzungString(DateTime date)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
return GetMonatlicheAbgrenzung(date);
|
||||
}
|
||||
|
||||
public static String GetMonatlicheRechnungen(DateTime date)
|
||||
@@ -160,7 +168,22 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
rowIndex++;
|
||||
}
|
||||
|
||||
dt = ExecuteQuery(GetMonatlicheBetraegeSql(date), date);
|
||||
sb.AppendLine(String.Format("( ):5;"));
|
||||
|
||||
//F,0,050,,BEWO,DA,01012016,012016,iBelegNr1,Belegnr1,220001,,,,999.99, "Name AZ Abrechnung 01/2016 LVR",,,EUR,,,,,,,,,,,R,,,
|
||||
//G,0,1695,,,-999.99,"Name AZ Abrechnung 01/2016 LVR",
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheAbgrenzung(DateTime date)
|
||||
{
|
||||
var dt = ExecuteQuery(GetMonatlicheBetraegeSql(date), date);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format("( ):1000;;{0:ddMMyyyy}", date));
|
||||
int rowIndex = 1;
|
||||
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(row[3].ToString()))
|
||||
@@ -176,9 +199,6 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
|
||||
sb.AppendLine(String.Format("( ):5;"));
|
||||
|
||||
//F,0,050,,BEWO,DA,01012016,012016,iBelegNr1,Belegnr1,220001,,,,999.99, "Name AZ Abrechnung 01/2016 LVR",,,EUR,,,,,,,,,,,R,,,
|
||||
//G,0,1695,,,-999.99,"Name AZ Abrechnung 01/2016 LVR",
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
@@ -280,50 +300,50 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61)
|
||||
{
|
||||
|
||||
String sql = @"
|
||||
SELECT
|
||||
distinct
|
||||
p.`FirstName`,
|
||||
p.`LastName`,
|
||||
c.DebitorNumber,
|
||||
cb2sc.CustomerRefenrenceNumber,
|
||||
a.Street,
|
||||
a.PostalCode,
|
||||
a.Town
|
||||
FROM `customer` c
|
||||
INNER JOIN `person` p ON p.`Oid` = c.`PersonOid`
|
||||
INNER JOIN supportconcept sc on sc.CustomerOID = c.Oid
|
||||
INNER JOIN costbearer2supportconcept cb2sc on cb2sc.SupportConceptOID = sc.Oid
|
||||
LEFT JOIN Address a on p.addressOid = a.oid
|
||||
WHERE c.isactive=1
|
||||
order by p.`LastName`, p.FirstName
|
||||
";
|
||||
SELECT
|
||||
distinct
|
||||
p.`FirstName`,
|
||||
p.`LastName`,
|
||||
c.DebitorNumber,
|
||||
cb2sc.CustomerRefenrenceNumber,
|
||||
a.Street,
|
||||
a.PostalCode,
|
||||
a.Town
|
||||
FROM `customer` c
|
||||
INNER JOIN `person` p ON p.`Oid` = c.`PersonOid`
|
||||
INNER JOIN supportconcept sc on sc.CustomerOID = c.Oid
|
||||
INNER JOIN costbearer2supportconcept cb2sc on cb2sc.SupportConceptOID = sc.Oid
|
||||
LEFT JOIN Address a on p.addressOid = a.oid
|
||||
WHERE c.isactive=1
|
||||
order by p.`LastName`, p.FirstName
|
||||
";
|
||||
return sql;
|
||||
}
|
||||
|
||||
private static String GetMonatlicheRechnungenSql(DateTime date)
|
||||
{
|
||||
String sql = @"
|
||||
select
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
sip.Claim,
|
||||
CONCAT(date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.invoicenumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
ii.ItemDescription
|
||||
from
|
||||
person p
|
||||
inner join customer c on c.personoid = p.oid
|
||||
inner join supportconcept sc on sc.customeroid = c.oid
|
||||
inner join costbearer2supportconcept c2s on c2s.supportconceptoid = sc.oid
|
||||
inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid
|
||||
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||
inner join invoiceitem ii on ii.serviceinvoiceperiodoid = sip.oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1
|
||||
order by ib.invoicenumber
|
||||
";
|
||||
select
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
sip.Claim,
|
||||
CONCAT(date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.invoicenumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
ii.ItemDescription
|
||||
from
|
||||
person p
|
||||
inner join customer c on c.personoid = p.oid
|
||||
inner join supportconcept sc on sc.customeroid = c.oid
|
||||
inner join costbearer2supportconcept c2s on c2s.supportconceptoid = sc.oid
|
||||
inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid
|
||||
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||
inner join invoiceitem ii on ii.serviceinvoiceperiodoid = sip.oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1
|
||||
order by ib.invoicenumber
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
@@ -337,23 +357,23 @@ order by ib.invoicenumber
|
||||
//Ertragskonto: 8100
|
||||
|
||||
String sql = @"
|
||||
SELECT
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
Round(si.Claim, 2),
|
||||
CONCAT('Endabrechnung ', date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.InvoiceNumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
'LVR oder LWL' AS 'ii.ItemDescription'
|
||||
from invoicebase ib
|
||||
join settlementinvoice si on si.invoicebaseoid = ib.oid
|
||||
join supportconcept sc on sc.oid = ib.supportconceptoid
|
||||
join customer c on c.oid = sc.customeroid
|
||||
join `person` p on c.`PersonOid` = p.`Oid`
|
||||
where ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End'
|
||||
and ib.type = 1 and ib.isactive = 1 and c.isactive <> 0
|
||||
";
|
||||
SELECT
|
||||
ib.InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
Round(si.Claim, 2),
|
||||
CONCAT('Endabrechnung ', date_format(ib.AccountingPeriodStart, '%d.%m.%Y'), ' - ', date_format(ib.AccountingPeriodEnd, '%d.%m.%Y'), ' ', p.`FirstName`, ' ', p.`LastName`),
|
||||
ib.InvoiceNumber,
|
||||
(select t.name from team t inner join team2customer t2c on t2c.teamoid = t.oid where t2c.customeroid = c.Oid limit 1),
|
||||
'LVR oder LWL' AS 'ii.ItemDescription'
|
||||
from invoicebase ib
|
||||
join settlementinvoice si on si.invoicebaseoid = ib.oid
|
||||
join supportconcept sc on sc.oid = ib.supportconceptoid
|
||||
join customer c on c.oid = sc.customeroid
|
||||
join `person` p on c.`PersonOid` = p.`Oid`
|
||||
where ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End'
|
||||
and ib.type = 1 and ib.isactive = 1 and c.isactive <> 0
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
@@ -361,36 +381,36 @@ and ib.type = 1 and ib.isactive = 1 and c.isactive <> 0
|
||||
private static String GetMonatlicheBetraegeSql(DateTime date)
|
||||
{
|
||||
String sql = @"
|
||||
SELECT
|
||||
':End_Datum' AS InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 )),
|
||||
ROUND(ROUND((sr.`GeleisteteFLM` / 60), 2) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ) * ((100 + crpRateFactor.`CostRateValue`)/100), 2)) AS 'Betrag',
|
||||
CONCAT(:PeriodeSlash, ' FLStd/BeWo ', p.`LastName`) as 'Verwendung',
|
||||
':Periode' AS invoicenumber,
|
||||
cb2sc.Oid,
|
||||
Cat
|
||||
FROM `supportconcept` sc
|
||||
INNER JOIN `costbearer2supportconcept` cb2sc ON sc.`Oid` = cb2sc.`SupportConceptOid`
|
||||
INNER JOIN `costbearer` cb ON cb2sc.`CostBearerOid` = cb.`Oid`
|
||||
LEFT JOIN
|
||||
(SELECT crp.`ObjectOid`, crp.`CostRateValue` FROM `costrateperiod` crp
|
||||
WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 2 AND (crp.`EndDate` is null or crp.`EndDate` > NOW()))
|
||||
AS crpRateFactor ON crpRateFactor.`ObjectOid` = cb.`Oid`
|
||||
INNER JOIN `organisation` org ON org.`CostBearerOid` = cb.`Oid`
|
||||
INNER JOIN `customer` c ON sc.`CustomerOid` = c.`Oid`
|
||||
INNER JOIN `person` p on c.`PersonOid` = p.`Oid`
|
||||
LEFT JOIN
|
||||
(SELECT sr2.`CostBearer2SupportConceptOid`, sc.`Name` AS Cat, SUM(sr2.`roundedduration` / IF(sr2.`GroupEmployeeCount` is null, 1, sr2.`GroupEmployeeCount`)) AS GeleisteteFLM FROM `servicerecord` sr2
|
||||
INNER JOIN `servicedescription` sd ON sr2.`ServiceDescriptionOid` = sd.`Oid`
|
||||
INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid`
|
||||
WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 GROUP BY sr2.`CostBearer2SupportConceptOid`)
|
||||
AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid`
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1
|
||||
and (sr.`GeleisteteFLM` is not null) and org.Name = 'LVR' OR org.Name = 'LWL'
|
||||
ORDER BY p.`LastName`, p.`FirstName`, cb2sc.`ApprovedStartDate`
|
||||
";
|
||||
SELECT
|
||||
':End_Datum' AS InvoiceDate,
|
||||
c.DebitorNumber,
|
||||
c.CostCenter,
|
||||
IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 )),
|
||||
ROUND(ROUND((sr.`GeleisteteFLM` / 60), 2) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ) * ((100 + crpRateFactor.`CostRateValue`)/100), 2)) AS 'Betrag',
|
||||
CONCAT(:PeriodeSlash, ' FLStd/BeWo ', p.`LastName`) as 'Verwendung',
|
||||
':Periode' AS invoicenumber,
|
||||
cb2sc.Oid,
|
||||
Cat
|
||||
FROM `supportconcept` sc
|
||||
INNER JOIN `costbearer2supportconcept` cb2sc ON sc.`Oid` = cb2sc.`SupportConceptOid`
|
||||
INNER JOIN `costbearer` cb ON cb2sc.`CostBearerOid` = cb.`Oid`
|
||||
LEFT JOIN
|
||||
(SELECT crp.`ObjectOid`, crp.`CostRateValue` FROM `costrateperiod` crp
|
||||
WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 2 AND (crp.`EndDate` is null or crp.`EndDate` > NOW()))
|
||||
AS crpRateFactor ON crpRateFactor.`ObjectOid` = cb.`Oid`
|
||||
INNER JOIN `organisation` org ON org.`CostBearerOid` = cb.`Oid`
|
||||
INNER JOIN `customer` c ON sc.`CustomerOid` = c.`Oid`
|
||||
INNER JOIN `person` p on c.`PersonOid` = p.`Oid`
|
||||
LEFT JOIN
|
||||
(SELECT sr2.`CostBearer2SupportConceptOid`, sc.`Name` AS Cat, SUM(sr2.`roundedduration` / IF(sr2.`GroupEmployeeCount` is null, 1, sr2.`GroupEmployeeCount`)) AS GeleisteteFLM FROM `servicerecord` sr2
|
||||
INNER JOIN `servicedescription` sd ON sr2.`ServiceDescriptionOid` = sd.`Oid`
|
||||
INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid`
|
||||
WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 GROUP BY sr2.`CostBearer2SupportConceptOid`)
|
||||
AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid`
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1
|
||||
and (sr.`GeleisteteFLM` is not null) and org.Name = 'LVR' OR org.Name = 'LWL'
|
||||
ORDER BY p.`LastName`, p.`FirstName`, cb2sc.`ApprovedStartDate`
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user