MalteserJohanniterJohanneshaus/InvoiceCustomerReport - immer noch Debitornummer
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user