using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
using BeWo.Service.Invoicing;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using BS.Shared.Services;

namespace BloemelingUndTeckhaus.Invoicing
{
	
	public class BuTSettlementInvoiceCreation : SettlementInvoiceCreation
	{
	    public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s)
	    {
	        return true;
	    }

	    public override bool IsServiceRecordBillable(ServiceRecord iRecord)
        {
            if (iRecord.ServiceDescription.ServiceCategory.Name.Contains("Assistenz"))
            {
                return false;
            }
            return true;
        }
    }
}
