MalteserJohanniterJohanneshaus/InvoiceCustomerReport - immer noch Debitornummer

This commit is contained in:
2024-10-09 15:16:51 +02:00
parent e3747ce63e
commit fc8f0a1e31
2 changed files with 2 additions and 3 deletions

View File

@@ -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;

View File

@@ -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<SupportConcept>((long)pRO.InvoiceBase.SupportConceptOid);
pRO.RecipientDivision = sc.Customer.DebitorNumber;
pRO.SenderDivision = sc.Customer.DebitorNumber;
}
this.bindingSource1.DataSource = pRO;