CustomServiceRecordStatisticFactory - Disablen der neuen flexiblen Ministatistik
This commit is contained in:
@@ -16,6 +16,10 @@ namespace QuerFaelltEin.Plugins
|
|||||||
{
|
{
|
||||||
public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory
|
public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory
|
||||||
{
|
{
|
||||||
|
public override bool UseFlexibleView() // damit deren Anpassungen nicht überschrieben werden
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate)
|
public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ namespace Wetterleuchten
|
|||||||
{
|
{
|
||||||
private Dictionary<long, decimal> sdOid2Hours = new Dictionary<long, decimal>();
|
private Dictionary<long, decimal> sdOid2Hours = new Dictionary<long, decimal>();
|
||||||
|
|
||||||
|
public override bool UseFlexibleView() // damit deren Anpassungen nicht überschrieben werden
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate)
|
public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate)
|
||||||
{
|
{
|
||||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(costBearer2SupportConceptOid);
|
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(costBearer2SupportConceptOid);
|
||||||
|
|||||||
Reference in New Issue
Block a user