diff --git a/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.Designer.cs b/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.Designer.cs index ed5ad403d..1cb9f2449 100644 --- a/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.Designer.cs +++ b/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.Designer.cs @@ -521,7 +521,7 @@ namespace MalteserJohanniterJohanneshaus this.xrTableCell21.BorderColor = System.Drawing.Color.Black; this.xrTableCell21.Borders = DevExpress.XtraPrinting.BorderSide.Right; this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecipientDivision")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderDivision")}); this.xrTableCell21.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell21.Multiline = true; diff --git a/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.cs b/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.cs index f3d28d317..c7b411b38 100644 --- a/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.cs +++ b/ReportImp/MalteserJohanniterJohanneshaus/InvoiceCustomerReport.cs @@ -50,11 +50,10 @@ namespace MalteserJohanniterJohanneshaus } lblAddress.Text = sb.ToString(); - pRO.CreatorFirstName = ""; if (pRO.InvoiceBase != null && pRO.InvoiceBase.SupportConceptOid != null) { var sc = DAOFactory.GenericDAO.LoadByID((long)pRO.InvoiceBase.SupportConceptOid); - pRO.RecipientDivision = sc.Customer.DebitorNumber; + pRO.SenderDivision = sc.Customer.DebitorNumber; } this.bindingSource1.DataSource = pRO;