iju
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<NameOfLastUsedPublishProfile>C:\Projects\Bewo\BeWo - Main\Host\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<Use64BitIISExpress>
|
||||
</Use64BitIISExpress>
|
||||
<IISExpressSSLPort />
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Ink;
|
||||
using BS.Shared.Core;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
@@ -76,6 +76,10 @@ namespace AidshilfeDortmund
|
||||
// 19.05.2025 Stunden über Bewilligung werden nicht abgerechnet
|
||||
foreach (var sc in pRO.SupportConceptFinanceList)
|
||||
{
|
||||
if (sc.CustomerName.Contains("Kök"))
|
||||
{
|
||||
|
||||
}
|
||||
decimal bewilligtGesamt = 0;
|
||||
decimal rateFactor = 1.2m;
|
||||
decimal hourlyRate = 70;
|
||||
|
||||
@@ -19,6 +19,10 @@ namespace AidshilfeDortmund.Invoicing
|
||||
{
|
||||
public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC supportConcept, List<ServiceRecordDC> serviceRecords)
|
||||
{
|
||||
if (supportConcept != null && supportConcept.CustomerFullName.Contains("Kök"))
|
||||
{
|
||||
|
||||
}
|
||||
if (!supportConcept.IsDeleted && !supportConcept.IsArchived)
|
||||
{
|
||||
var invoice = new ServiceInvoice();
|
||||
|
||||
@@ -247,14 +247,16 @@ namespace BeWo.SeWo
|
||||
{
|
||||
return false;
|
||||
}
|
||||
//public override List<DateTime> GetFeiertage(int year)
|
||||
//{
|
||||
// var list = base.GetFeiertage(year);
|
||||
|
||||
// list.Remove(new DateTime(year, 12, 24));
|
||||
public override List<DateTime> GetFeiertage(int year)
|
||||
{
|
||||
var list = base.GetFeiertage(year);
|
||||
|
||||
// return list;
|
||||
//}
|
||||
if (year >= 2025)
|
||||
list.Add(new DateTime(year, 12, 31));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service\CustomHomeContentGenerator.cs" />
|
||||
<Compile Include="Service\CustomVacationService.cs" />
|
||||
<Compile Include="StundenBerechnungHelper.cs" />
|
||||
<Compile Include="Calculations\SupportConceptAnalysisCalculations.cs" />
|
||||
<Compile Include="CustomerDataReport.cs">
|
||||
|
||||
@@ -10,20 +10,22 @@ namespace WendepunktVelbert.Service
|
||||
{
|
||||
public class CustomVacationService : VacationService
|
||||
{
|
||||
public override List<UrlaubskontoDarstellungDC> CreateSonderurlaubItems(EmployeeDC emp, ContractDC contract, Dictionary<string, decimal> sonderurlaubDict)
|
||||
public override List<UrlaubskontoDarstellungDC> CreateSonderurlaubItems(EmployeeDC emp, ContractDC contract, Dictionary<string, decimal> sonderurlaubDict, List<UrlaubskontoDarstellungDC> darstellungDCs)
|
||||
{
|
||||
var sonderurlaubsItems = base.CreateSonderurlaubItems(emp, contract, sonderurlaubDict);
|
||||
var sonderurlaubsItems = base.CreateSonderurlaubItems(emp, contract, sonderurlaubDict, darstellungDCs);
|
||||
|
||||
// Erst wieder eingechecken, wenn die kommuniziert haben, unter welcher Bedingung man die zwei Tage bekommt
|
||||
//sonderurlaubsItems.Add(new UrlaubskontoDarstellungDC()
|
||||
//{
|
||||
// AnzahlTage = string.Format("{0:0.00}", 2), // 2 Regenerationstage
|
||||
// Herkunft = string.Format("EmpOid:{0} ContractOid:{1}", emp.EmployeeOid, contract.ContractOid),
|
||||
// Tooltip = "Regenerationstage",
|
||||
// IsDeletable = false,
|
||||
// DatumZurSortierung = null,
|
||||
// Erlaeuterung = "Regenerationstage"
|
||||
//});
|
||||
if (emp.Notice2.Contains("SD") && !darstellungDCs.Any(dc => dc.Erlaeuterung.Contains("Regenerationstage")))
|
||||
{
|
||||
sonderurlaubsItems.Add(new UrlaubskontoDarstellungDC()
|
||||
{
|
||||
AnzahlTage = string.Format("{0:0.00}", 2), // 2 Regenerationstage
|
||||
Herkunft = string.Format("EmpOid:{0} ContractOid:{1}", emp.EmployeeOid, contract.ContractOid),
|
||||
Tooltip = "Regenerationstage",
|
||||
IsDeletable = false,
|
||||
DatumZurSortierung = null,
|
||||
Erlaeuterung = "Regenerationstage"
|
||||
});
|
||||
}
|
||||
|
||||
return sonderurlaubsItems;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,12 @@
|
||||
<Compile Include="Invoicing\CustomInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
|
||||
<Compile Include="Invoicing\CustomSettlementInvoiceCreation.cs" />
|
||||
<Compile Include="Mitarbeiterarbeitszeitkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Mitarbeiterarbeitszeitkonto.designer.cs">
|
||||
<DependentUpon>Mitarbeiterarbeitszeitkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Mitarbeiterstundenkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -109,6 +115,9 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Mitarbeiterarbeitszeitkonto.resx">
|
||||
<DependentUpon>Mitarbeiterarbeitszeitkonto.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Mitarbeiterstundenkonto.resx">
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace BeWo.Service.Plugins
|
||||
//t = "1193188501"; // Aids Hilfe Dortmund
|
||||
//t = "7860351957"; // SKF Alsdorf
|
||||
//t = "3311520228"; // Die Düne
|
||||
//t = "1352143437"; // Sewo
|
||||
t = "1352143437"; // Sewo
|
||||
//t = "7107514623"; // BeWo Neuss
|
||||
//t = "9098141768"; // Fib e.V. Marburg
|
||||
t = "1505148718"; // VSD Hamm
|
||||
//t = "1505148718"; // VSD Hamm
|
||||
//t = "5926081834"; // Spektrum
|
||||
//t = "1378137009"; // BeWo Direkt
|
||||
//t = "3010479871"; // Aachener Verein
|
||||
|
||||
Reference in New Issue
Block a user