LebenshilfeBadKreuznachFUD/Invoicing/ Finetuning Format und Wegepauschale
This commit is contained in:
@@ -156,7 +156,7 @@ namespace LebenshilfeBadKreuznachFUD.Invoicing
|
||||
{
|
||||
var list = base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc);
|
||||
InvoiceItem wg = null;
|
||||
if (serviceRecordsInPeriod.Any(s => s.ServiceDescription.CategoryName.ToLower().Contains("entlastung")))
|
||||
if (list.Count > 0 && serviceRecordsInPeriod.Any(s => s.ServiceDescription.CategoryName.ToLower().Contains("entlastung")))
|
||||
{
|
||||
wg = CreateHausbesuchspauschale(serviceRecordsInPeriod, invoicePeriod, scap);
|
||||
if (wg != null)
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace LebenshilfeBadKreuznachFUD
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientAddressLine1))
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientAddressLine1) && pRO.RecipientOrganisation.ToLower() != "selbstzahler")
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientAddressLine1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user