BeWoDellbrueck/SettlementReport2.cs - Ergänzung FLS in ItemDescription
This commit is contained in:
@@ -5,6 +5,7 @@ using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWoDellbrueck
|
||||
{
|
||||
@@ -33,13 +34,21 @@ namespace BeWoDellbrueck
|
||||
}
|
||||
pRO.RateFactor = (double)rateFactor;
|
||||
|
||||
if (pRO.RecipientOrganisation.Contains("(Assistenz"))
|
||||
if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count > 0)
|
||||
{
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
ii.DetailDescription = ii.DetailDescription.Replace("FLS", "Std.");
|
||||
if (ii.ItemDescription.IsNullOrEmpty())
|
||||
{
|
||||
ii.DetailDescription = "FLS" + ii.DetailDescription;
|
||||
if (pRO.RecipientOrganisation.Contains("(Assistenz"))
|
||||
{
|
||||
ii.DetailDescription = ii.DetailDescription.Replace("FLS", "Std.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!pRO.RecipientOrganisation.Contains("LVR"))
|
||||
{
|
||||
lblGP.Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user