46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using BeWo.Data.Access;
|
|
using BeWo.Data.Entities;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared;
|
|
using BS.Shared.DataContracts;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace TemplateNeuKunde.Service
|
|
{
|
|
//public class CustomVacationService : VacationService
|
|
//{
|
|
// //public override string Bundesland { get => "Bayern"; }
|
|
|
|
// // public override List<FeiertagDC> GetFeiertage(int year, String bundesland)
|
|
// // {
|
|
// // List<FeiertagDC> list = base.GetFeiertage(year, bundesland);
|
|
// // list.Add(new FeiertagDC { Datum = new DateTime(year, 12, 31), Name = "Silvester" });
|
|
|
|
// // return list;
|
|
// // }
|
|
|
|
|
|
// //Wenn halbe Feiertage konfiguriert werden sollen, muss diese Methode auch in CustomMitarbeiterstundenkontoBerechnung einkommentiert werden
|
|
// //public override decimal GetFeiertagsFaktor(DateTime start)
|
|
// //{
|
|
// // if (start.Month == 12)
|
|
// // {
|
|
// // if (start.Day == 24 || start.Day == 31)
|
|
// // {
|
|
// // return 0.5m;
|
|
// // }
|
|
// // }
|
|
|
|
// // return base.GetFeiertagsFaktor(start);
|
|
// //}
|
|
//}
|
|
|
|
|
|
}
|