PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg - Rundung LWV
This commit is contained in:
@@ -232,14 +232,14 @@ namespace PerspektivenEV.Invoicing
|
||||
}
|
||||
else
|
||||
{
|
||||
if (start > new DateTime(2023, 12, 31) && (cb2sc.CostBearer.Organisation.Name.Contains("Landeswohlfahrtsverband Hessen") || cb2sc.CostBearer.Organisation.Name.Contains("LWV")))
|
||||
{
|
||||
ii.AmountPerUnit = (decimal)Math.Round(LG * (decimal)Math.Truncate((double)data[0].AmountTotal / 60 * 10000) / 10000, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
else
|
||||
{
|
||||
//if (start > new DateTime(2023, 12, 31) && (cb2sc.CostBearer.Organisation.Name.Contains("Landeswohlfahrtsverband Hessen") || cb2sc.CostBearer.Organisation.Name.Contains("LWV")))
|
||||
//{
|
||||
// ii.AmountPerUnit = (decimal)Math.Round(LG * (decimal)Math.Truncate((double)data[0].AmountTotal / 60 * 10000) / 10000, 2, MidpointRounding.AwayFromZero);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
ii.AmountPerUnit = (decimal)Math.Round((double)data[0].AmountTotal * Math.Round((double)LG / 60, 2, MidpointRounding.AwayFromZero), 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
//}
|
||||
}
|
||||
// Leistung
|
||||
if (cat.Abbreviation.Substring(cat.Abbreviation.Length - 2) == "QA" || cat.Abbreviation.Substring(cat.Abbreviation.Length - 5) == "QAAlt")
|
||||
|
||||
Reference in New Issue
Block a user