MH: Nous Spitzabrechnung FLS Summierung
This commit is contained in:
19
ReportImp/Nous/Invoicing/CustomSettlementInvoiceCreation.cs
Normal file
19
ReportImp/Nous/Invoicing/CustomSettlementInvoiceCreation.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.Invoicing;
|
||||
using BS.Shared.DataContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Nous.Invoicing
|
||||
{
|
||||
public class CustomSettlementInvoiceCreation : SettlementInvoiceCreation
|
||||
{
|
||||
public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -57,6 +57,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Invoicing\CustomCalculations.cs" />
|
||||
<Compile Include="Invoicing\CustomSettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\DefaultInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="LeistungsnachweisFamilienhilfe.cs">
|
||||
|
||||
46
ReportImp/Nous/SettlementReport.Designer.cs
generated
46
ReportImp/Nous/SettlementReport.Designer.cs
generated
@@ -30,6 +30,8 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -83,13 +85,12 @@
|
||||
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow30 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblGesamtforderung = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -104,12 +105,13 @@
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -667,10 +669,6 @@
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell23.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -716,21 +714,25 @@
|
||||
// xrTableRow31
|
||||
//
|
||||
this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell49,
|
||||
this.lblGesamtforderung,
|
||||
this.xrTableCell50});
|
||||
this.xrTableRow31.Name = "xrTableRow31";
|
||||
this.xrTableRow31.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell49
|
||||
// lblGesamtforderung
|
||||
//
|
||||
this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell49.Name = "xrTableCell49";
|
||||
this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell49.StylePriority.UseBorders = false;
|
||||
this.xrTableCell49.StylePriority.UseFont = false;
|
||||
this.xrTableCell49.StylePriority.UsePadding = false;
|
||||
this.xrTableCell49.Text = "Gesamtforderung:";
|
||||
this.xrTableCell49.Weight = 0.78314100999098546D;
|
||||
this.lblGesamtforderung.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblGesamtforderung.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitCount")});
|
||||
this.lblGesamtforderung.Name = "lblGesamtforderung";
|
||||
this.lblGesamtforderung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamtforderung.StylePriority.UseBorders = false;
|
||||
this.lblGesamtforderung.StylePriority.UseFont = false;
|
||||
this.lblGesamtforderung.StylePriority.UsePadding = false;
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.lblGesamtforderung.Summary = xrSummary1;
|
||||
this.lblGesamtforderung.TextFormatString = "Gesamtforderung ({0:0.00} FLS):";
|
||||
this.lblGesamtforderung.Weight = 0.78314100999098546D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
@@ -885,6 +887,10 @@
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -906,12 +912,14 @@
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -973,7 +981,7 @@
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow31;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblGesamtforderung;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow32;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
|
||||
45
ReportImp/Nous/SettlementReport2.Designer.cs
generated
45
ReportImp/Nous/SettlementReport2.Designer.cs
generated
@@ -32,6 +32,7 @@ namespace Nous
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
@@ -91,11 +92,10 @@ namespace Nous
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblGesamtforderung = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -110,13 +110,14 @@ namespace Nous
|
||||
this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -731,10 +732,6 @@ namespace Nous
|
||||
this.xrTableCell7.StylePriority.UsePadding = false;
|
||||
this.xrTableCell7.Weight = 3D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -763,22 +760,26 @@ namespace Nous
|
||||
// xrTableRow31
|
||||
//
|
||||
this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell49,
|
||||
this.lblGesamtforderung,
|
||||
this.xrTableCell50});
|
||||
this.xrTableRow31.Name = "xrTableRow31";
|
||||
this.xrTableRow31.Weight = 0.085D;
|
||||
//
|
||||
// xrTableCell49
|
||||
// lblGesamtforderung
|
||||
//
|
||||
this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell49.Font = new DevExpress.Drawing.DXFont("Open Sans", 10F);
|
||||
this.xrTableCell49.Name = "xrTableCell49";
|
||||
this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell49.StylePriority.UseBorders = false;
|
||||
this.xrTableCell49.StylePriority.UseFont = false;
|
||||
this.xrTableCell49.StylePriority.UsePadding = false;
|
||||
this.xrTableCell49.Text = "Gesamtforderung:";
|
||||
this.xrTableCell49.Weight = 0.836025672325721D;
|
||||
this.lblGesamtforderung.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblGesamtforderung.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.UnitCount")});
|
||||
this.lblGesamtforderung.Font = new DevExpress.Drawing.DXFont("Open Sans", 10F);
|
||||
this.lblGesamtforderung.Name = "lblGesamtforderung";
|
||||
this.lblGesamtforderung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGesamtforderung.StylePriority.UseBorders = false;
|
||||
this.lblGesamtforderung.StylePriority.UseFont = false;
|
||||
this.lblGesamtforderung.StylePriority.UsePadding = false;
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.lblGesamtforderung.Summary = xrSummary2;
|
||||
this.lblGesamtforderung.TextFormatString = "Gesamtforderung ({0:0.00} FLS):";
|
||||
this.lblGesamtforderung.Weight = 0.836025672325721D;
|
||||
//
|
||||
// xrTableCell50
|
||||
//
|
||||
@@ -944,6 +945,10 @@ namespace Nous
|
||||
this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell60.Weight = 0.16397432767427886D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -973,8 +978,8 @@ namespace Nous
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -1027,7 +1032,7 @@ namespace Nous
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable5;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow31;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblGesamtforderung;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow32;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
|
||||
Reference in New Issue
Block a user