MH: Die Brücke Rechnungswahl verbessert
This commit is contained in:
@@ -20,7 +20,8 @@ namespace DieBrueckeHilfeUndHalt.Invoicing
|
||||
{
|
||||
var csc = item.Key;
|
||||
var sc = DAOFactory.GenericDAO.GetByID<SupportConcept>(csc.SupportConceptOid);
|
||||
var ap = sc.CostBearer2SupportConceptList.FirstOrDefault(cb2sc => csc.CostBearer.Contains(cb2sc.CostBearer.Organisation.Name));
|
||||
var ap = sc.CostBearer2SupportConceptList.FirstOrDefault(cb2sc => csc.CostBearer.Contains(cb2sc.CostBearer.Organisation.Name)
|
||||
&& csc.StartDate == cb2sc.StartDate && csc.EndDate == cb2sc.EndDate);
|
||||
if (ap != null)
|
||||
{
|
||||
if (ap.CostBearer.Organisation.Function != null && ap.CostBearer.Organisation.Function.Value.ToLower().Contains("neue vereinbarung"))
|
||||
|
||||
Reference in New Issue
Block a user