Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo into master
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,11 @@ namespace BundBBetreutesWohnen
|
||||
{
|
||||
s.EmployeeAbbr = "";
|
||||
}
|
||||
|
||||
if (s.ServiceDescription.ToLower().Contains("fehlkontakt") || s.ServiceCategory.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
s.ServiceCategoryAbbr = "Fehlkontakt";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1594
ReportImp/BundBBetreutesWohnen/SettlementReport2.Designer.cs
generated
1594
ReportImp/BundBBetreutesWohnen/SettlementReport2.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BundBBetreutesWohnen
|
||||
{
|
||||
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<Settlement2RO>
|
||||
@@ -32,17 +29,21 @@ namespace BundBBetreutesWohnen
|
||||
{
|
||||
foreach (var ii in pRO.InvoiceItems)
|
||||
{
|
||||
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS {3}x {4:c}",
|
||||
ii.PeriodStartDate, ii.PeriodEndDate,
|
||||
ii.UnitCount, !hasRatefactor ? "" : "x " + pRO.RateFactorText2 + " ",
|
||||
ii.AmountPerUnit);
|
||||
if (!pRO.FehlkontakteString.IsNullOrEmpty() && ii.RateFactor == 0)
|
||||
{
|
||||
Zwischensumme.Visible = true;
|
||||
ii.AbrechnungsText = ii.AbrechnungsText.Replace("FLS", "Std.");
|
||||
ii.ItemDescription = "Fehlkontakte";
|
||||
}
|
||||
else if (ii.ItemDescription.IsNullOrEmpty())
|
||||
{
|
||||
ii.ItemDescription = "Fachleistungsstunden";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -12,11 +12,17 @@ namespace PerspektivenEV.Export
|
||||
{
|
||||
public override QueryDC CreateQuery(QueryDC query)
|
||||
{
|
||||
var q = DatevExporter.CreateQuery(query);
|
||||
QueryDC q = null;
|
||||
if (query.Oid == 101 )
|
||||
{
|
||||
q = DatevExporter.CreateQuery(query);
|
||||
}
|
||||
else
|
||||
{
|
||||
q = DatevExporterBthg.CreateQuery(query);
|
||||
}
|
||||
CreateBuchungsExportProtokollEintrag(q);
|
||||
|
||||
return q;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
590
ReportImp/PerspektivenEV/Export/DatevExporterBthg.cs
Normal file
590
ReportImp/PerspektivenEV/Export/DatevExporterBthg.cs
Normal file
@@ -0,0 +1,590 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace PerspektivenEV.Export
|
||||
{
|
||||
public class DatevExporterBthg
|
||||
{
|
||||
public static QueryDC CreateQuery(QueryDC query)
|
||||
{
|
||||
DateTime dt = DateTime.Now;
|
||||
DateTime.TryParse(query.Parameter[0].Value.ToString(), out dt);
|
||||
|
||||
query.FileName = String.Format("Datev Export {0:yyyyMM}.csv", dt);
|
||||
|
||||
DateTime dtStart = DateTime.MinValue;
|
||||
DateTime dtEnd = DateTime.MaxValue;
|
||||
|
||||
if (query.Parameter.Count > 1)
|
||||
{
|
||||
DateTimeSpan span = query.Parameter[1].Value as DateTimeSpan;
|
||||
|
||||
dtStart = span.StartDate;
|
||||
dtEnd = span.EndDate;
|
||||
}
|
||||
|
||||
if (dtStart == DateTime.MinValue)
|
||||
{
|
||||
dtStart = new DateTime(1900, 1, 1);
|
||||
}
|
||||
query.QueryResult = GetAbrechnungenString(dt, dtStart, dtEnd);
|
||||
|
||||
return query;
|
||||
}
|
||||
|
||||
public static String GetAbrechnungenString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("Kontonummer;Umsatz;Gegenkonto;Belegdatum;Kost1;Belegfeld1;Buchungstext;Festschreibung");
|
||||
|
||||
//var s = GetMonatlicheRechnungenString(date);
|
||||
//if (!String.IsNullOrWhiteSpace(s))
|
||||
// sb.Append(s);
|
||||
|
||||
|
||||
//var sAllg = GetMonatlicheAllgRechnungenString(date);
|
||||
//if (!String.IsNullOrWhiteSpace(sAllg))
|
||||
//{
|
||||
// if (sb.Length > 0)
|
||||
// sb.AppendLine();
|
||||
|
||||
// sb.Append(sAllg);
|
||||
//}
|
||||
|
||||
var sLWV = GetMonatlicheSammelRechnungString(date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
if (!String.IsNullOrWhiteSpace(sLWV))
|
||||
{
|
||||
if (sb.Length > 0)
|
||||
sb.AppendLine();
|
||||
|
||||
sb.Append(sLWV);
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheRechnungenString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
var sql = GetMonatlicheRechnungenSql(date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
|
||||
/*
|
||||
0 sip.Claim,
|
||||
1 c.DebitorNumber,
|
||||
2 ib.InvoiceDate,
|
||||
3 ib.invoicenumber,
|
||||
4 ib.Oid AS InvoiceOID,
|
||||
5 c.CostCenter,
|
||||
6 c2s.Oid,
|
||||
7 ib.InvoiceId,
|
||||
8 ib.RecipientOrganisation,
|
||||
9 ii.ItemDescription,
|
||||
10 ii.UnitDescription,
|
||||
11 ii.SupportConceptAproOID
|
||||
12 ii.Notice,
|
||||
13 ii.AmountPerUnit,
|
||||
14 ii.UnitCount,
|
||||
15 ii.AmountTotal
|
||||
*/
|
||||
|
||||
//Kontonummer; Umsatz; Gegenkonto; Belegdatum; Kost 1; Belegfeld 1; Buchungstext; Festschreibung
|
||||
var dt = ExecuteQuery(sql, date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
String orgaName = "";
|
||||
String itemDescription = "";
|
||||
String unitDescription = "";
|
||||
String isApproved = "";
|
||||
|
||||
if (row[8] != null)
|
||||
orgaName = row[8].ToString();
|
||||
|
||||
if (row[9] != null )
|
||||
itemDescription = row[9].ToString();
|
||||
|
||||
if (row[10] != null)
|
||||
unitDescription = row[10].ToString();
|
||||
|
||||
if (row[12] != null)
|
||||
isApproved = row[12].ToString();
|
||||
|
||||
if (sb.Length > 0)
|
||||
sb.AppendLine();
|
||||
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
sb.Append(String.Format("{0}", row[1])); //Debitornr. als Kontonummer
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:0.00}", row[15])); //Umsatz - der Rechnungsposition
|
||||
sb.Append(";");
|
||||
var gegenkto = GetErloeskonto(itemDescription, orgaName, isApproved, false);
|
||||
sb.Append(gegenkto); //Gegenkonto - Auffang/Fehlerkonto 999999
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
var kostenstelle = GetKostenstelle(itemDescription, unitDescription, orgaName);
|
||||
sb.Append(kostenstelle); //Kostenstelle - Auffang/Fehlerkostenstelle 999
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
String buchungstext = "";
|
||||
long? c2sOid = (long?)row[6];
|
||||
|
||||
if (c2sOid.HasValue)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(c2sOid.Value);
|
||||
var c = c2s.SupportConcept.Customer;
|
||||
|
||||
buchungstext = String.Format("{0}, {1}, {2:dd}/{2:MM}", c.Person.LastName, c.Person.FirstName, lastDate);
|
||||
}
|
||||
sb.Append(buchungstext);
|
||||
sb.Append(";");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheAllgRechnungenString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
var sql = GetMonatlicheAllgRechnungenSql(date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
|
||||
/*
|
||||
0 sip.Claim,
|
||||
1 c.DebitorNumber,
|
||||
2 ib.InvoiceDate,
|
||||
3 ib.invoicenumber,
|
||||
4 ib.Oid AS InvoiceOID,
|
||||
5 c.CostCenter,
|
||||
6 c2s.Oid,
|
||||
7 ib.InvoiceId,
|
||||
8 ib.RecipientOrganisation,
|
||||
9 ii.ItemDescription,
|
||||
10 ii.UnitDescription,
|
||||
11 ii.SupportConceptAproOID
|
||||
12 ii.Notice,
|
||||
13 ii.AmountPerUnit,
|
||||
14 ii.UnitCount,
|
||||
15 ii.AmountTotal
|
||||
*/
|
||||
|
||||
//Kontonummer; Umsatz; Gegenkonto; Belegdatum; Kost 1; Belegfeld 1; Buchungstext; Festschreibung
|
||||
var dt = ExecuteQuery(sql, date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
String orgaName = "";
|
||||
String itemDescription = "";
|
||||
String unitDescription = "";
|
||||
String isApproved = "";
|
||||
|
||||
if (row[8] != null)
|
||||
orgaName = row[8].ToString();
|
||||
|
||||
if (row[9] != null)
|
||||
itemDescription = row[9].ToString();
|
||||
|
||||
if (row[10] != null)
|
||||
unitDescription = row[10].ToString();
|
||||
|
||||
if (row[12] != null)
|
||||
isApproved = row[12].ToString();
|
||||
|
||||
if (sb.Length > 0)
|
||||
sb.AppendLine();
|
||||
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
|
||||
//sb.Append(String.Format("{0}", row[1])); //Debitornr. als Kontonummer
|
||||
sb.Append("999998;");
|
||||
sb.Append(String.Format("{0:0.00}", row[15])); //Umsatz - der Rechnungsposition
|
||||
sb.Append(";");
|
||||
//var gegenkto = GetErloeskonto(itemDescription, unitDescription, orgaName, isApproved);
|
||||
//sb.Append(gegenkto); //Gegenkonto - Auffang/Fehlerkonto 999999
|
||||
sb.Append("999999;");
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
//var kostenstelle = GetKostenstelle(itemDescription, unitDescription, orgaName);
|
||||
//sb.Append(kostenstelle); //Kostenstelle - Auffang/Fehlerkostenstelle 999
|
||||
sb.Append("999;");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
String buchungstext = String.Format("{0} {1:dd}/{1:MM}", orgaName, lastDate);
|
||||
if (row[6].ToString().Length > 0)
|
||||
{
|
||||
int index = 0;
|
||||
index = row[6].ToString().IndexOf("\r\n");
|
||||
if (index == 0)
|
||||
index = row[6].ToString().IndexOf("BEZAHLT");
|
||||
else if (index > 0)
|
||||
buchungstext = row[6].ToString().Remove(index);
|
||||
else
|
||||
buchungstext = row[6].ToString();
|
||||
|
||||
}
|
||||
sb.Append(buchungstext);
|
||||
sb.Append(";");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheSammelRechnungString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
/*
|
||||
0 sip.Claim,
|
||||
1 c.DebitorNumber
|
||||
2 ib.InvoiceDate,
|
||||
3 ib.invoicenumber,
|
||||
4 ib.Oid AS InvoiceOID,
|
||||
5 c.CostCenter,
|
||||
6 c2s.Oid,
|
||||
7 ib.InvoiceId,
|
||||
8 ib.RecipientOrganisation,
|
||||
9 ii.ItemDescription,
|
||||
10 ii.UnitDescription,
|
||||
11 ii.SupportConceptAproOID
|
||||
12 ii.Notice,
|
||||
13 ii.AmountPerUnit,
|
||||
14 ii.UnitCount,
|
||||
15 ii.AmountTotal
|
||||
*/
|
||||
|
||||
//Kontonummer; Umsatz; Gegenkonto; Belegdatum; Kost 1; Belegfeld 1; Buchungstext; Festschreibung
|
||||
|
||||
var sql = GetMonatlicheSammelRechnungPositionenSql(date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
var dt = ExecuteQuery(sql, date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
DateTime lastDate = new DateTime(date.Year, date.Month, 1);
|
||||
lastDate = lastDate.AddMonths(1).AddDays(-1);
|
||||
var hilfeplaene = CreateHilfeplanInfos();
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
String orgaName = "";
|
||||
String cName = "";
|
||||
String itemDescription = "";
|
||||
String unitDescription = "";
|
||||
String isApproved = "";
|
||||
long scApprovalPeriodOid = 0;
|
||||
SupportConceptApprovalPeriod approvalPeriod = null;
|
||||
CostBearer2SupportConcept cb2sc = null;
|
||||
|
||||
if (row[8] != null)
|
||||
orgaName = row[8].ToString();
|
||||
|
||||
if (row[9] != null)
|
||||
itemDescription = row[9].ToString();
|
||||
|
||||
if (row[11] != null)
|
||||
{
|
||||
scApprovalPeriodOid = (long)row[11];
|
||||
var aktenzeichen = row[16];
|
||||
var sipNotice = row[17];
|
||||
try
|
||||
{
|
||||
approvalPeriod = DAOFactory.GenericDAO.LoadByID<SupportConceptApprovalPeriod>(scApprovalPeriodOid);
|
||||
row[1] = approvalPeriod.CostBearer2SupportConcept.SupportConcept.Customer.DebitorNumber;
|
||||
cName = approvalPeriod.CostBearer2SupportConcept.SupportConcept.Customer.Person.LastNameFirstName;
|
||||
if (approvalPeriod.CostBearer2SupportConcept.ApprovedStartDate.HasValue)
|
||||
isApproved = "true";
|
||||
else
|
||||
isApproved = "false";
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
try
|
||||
{
|
||||
var hpsAktAz = hilfeplaene.Where(a => a.Aktenzeichen == aktenzeichen.ToString());
|
||||
if (hpsAktAz != null)
|
||||
{
|
||||
foreach (var hp in hpsAktAz)
|
||||
{
|
||||
if (date >= hp.Start && date <= hp.Ende)
|
||||
{
|
||||
cb2sc = hp.CostBearer2SupportConcept;
|
||||
}
|
||||
}
|
||||
|
||||
row[1] = cb2sc.SupportConcept.Customer.DebitorNumber;
|
||||
cName = cb2sc.SupportConcept.Customer.Person.LastNameFirstName;
|
||||
//unitDescription = sipNotice.ToString();
|
||||
if (cb2sc.ApprovedStartDate.HasValue)
|
||||
isApproved = "true";
|
||||
else
|
||||
isApproved = "false";
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// continue - auch wenn gar nichts stimmt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sb.Length > 0)
|
||||
{
|
||||
sb.AppendLine();
|
||||
}
|
||||
|
||||
sb.Append(String.Format("{0}", row[1])); //Debitornr. als Kontonummer
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:0.00}", row[15])); //Umsatz - der Rechnungsposition
|
||||
sb.Append(";");
|
||||
var gegenkto = GetErloeskonto(itemDescription, orgaName, isApproved, true);
|
||||
sb.Append(gegenkto); //Gegenkonto - Auffang/Fehlerkonto 999999
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:ddMM}", lastDate));
|
||||
sb.Append(";");
|
||||
var kostenstelle = GetKostenstelle(itemDescription, unitDescription, orgaName);
|
||||
sb.Append(kostenstelle); //Kostenstelle - Auffang/Fehlerkostenstelle 999
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[3]));
|
||||
sb.Append(";");
|
||||
String buchungstext = "";
|
||||
buchungstext = String.Format("{0} {1:dd}/{1:MM}", cName, lastDate);
|
||||
sb.Append(buchungstext);
|
||||
sb.Append(";");
|
||||
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private static String GetErloeskonto(String itemDesc, String orgaName, String isApproved, bool isSammel)
|
||||
{
|
||||
if (itemDesc.Contains("Handgeld"))
|
||||
return "496101";
|
||||
|
||||
else if (orgaName == "SELBSTZAHLER")
|
||||
{
|
||||
if (itemDesc.Contains("FLS BW"))
|
||||
return "495805";
|
||||
else if (itemDesc.Contains("Tagesstätte"))
|
||||
return "467601";
|
||||
else
|
||||
return "999999";
|
||||
}
|
||||
|
||||
else if (isSammel)
|
||||
{
|
||||
if (isApproved == "false")
|
||||
{
|
||||
//ToDo
|
||||
if (itemDesc.Contains("FLS BW") || itemDesc.Contains("Betreutes Wohnen"))
|
||||
return "495804";
|
||||
else if (itemDesc.ToLower().Contains("fls pfk"))
|
||||
return "496202";
|
||||
else
|
||||
return "999999";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (itemDesc.Contains("ieH FFM"))
|
||||
return "495801";
|
||||
else if (itemDesc.Contains("ieH HTK"))
|
||||
return "495800";
|
||||
else if (itemDesc.Contains("ieH KB"))
|
||||
return "495802";
|
||||
else if (itemDesc.Contains("TS"))
|
||||
return "467600";
|
||||
else
|
||||
return "999999";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return "999999";
|
||||
}
|
||||
}
|
||||
|
||||
private static String GetKostenstelle(String itemDesc, String unitDesc, String orgaName)
|
||||
{
|
||||
if (itemDesc == "Beratung")
|
||||
return "350";
|
||||
else if (itemDesc.Contains("ieH FFM"))
|
||||
return "158";
|
||||
else if (itemDesc.Contains("ieH HTK"))
|
||||
return "150";
|
||||
else if (itemDesc.Contains("ieH KB") )
|
||||
return "150";
|
||||
else if (unitDesc.ToLower().Contains("pfk"))
|
||||
return "300";
|
||||
else if (itemDesc.Contains("TS HTK Kö"))
|
||||
return "202";
|
||||
else if (itemDesc.Contains("TS HTK Stb"))
|
||||
return "201";
|
||||
else if (itemDesc.Contains("TS HTK OU"))
|
||||
return "200";
|
||||
else if (unitDesc.Contains("Traumberatung As"))
|
||||
return "360";
|
||||
else if (unitDesc.Contains("Traumberatung PnT"))
|
||||
return "361";
|
||||
if (unitDesc.Contains("Handgeld")) // implementieren 150,158,200,201
|
||||
return "150";
|
||||
else
|
||||
return "999";
|
||||
}
|
||||
|
||||
private static String GetMonatlicheRechnungenSql(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
String sql = @"
|
||||
select
|
||||
sip.Claim,
|
||||
c.DebitorNumber,
|
||||
ib.InvoiceDate,
|
||||
ib.invoicenumber,
|
||||
ib.Oid AS InvoiceOID,
|
||||
c.CostCenter,
|
||||
c2s.Oid,
|
||||
ib.InvoiceId,
|
||||
ib.RecipientOrganisation,
|
||||
ii.ItemDescription,
|
||||
ii.UnitDescription,
|
||||
ii.SupportConceptApprovalPeriodOid,
|
||||
ii.Notice,
|
||||
ii.AmountPerUnit,
|
||||
ii.UnitCount,
|
||||
ii.AmountTotal
|
||||
from
|
||||
person p
|
||||
inner join customer c on c.personoid = p.oid
|
||||
inner join supportconcept sc on sc.customeroid = c.oid
|
||||
inner join costbearer2supportconcept c2s on c2s.supportconceptoid = sc.oid
|
||||
inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid
|
||||
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||
inner join invoiceitem ii on ii.serviceinvoiceperiodoid = sip.oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':MonatAbrechnung_Start' AND ib.`AccountingPeriodEnd` < ':MonatAbrechnung_End' and ib.IsActive = 1
|
||||
AND ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End' AND ib.InvoiceId <> 'SammelrechnungBthg'
|
||||
ORDER BY invoiceoid, ii.ItemDescription
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
|
||||
private static String GetMonatlicheAllgRechnungenSql(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
String sql = @"
|
||||
select
|
||||
'SUMME' AS 'sip.Claim',
|
||||
'nix' AS 'c.DebitorNumber',
|
||||
ib.InvoiceDate,
|
||||
ib.invoicenumber,
|
||||
ib.Oid AS InvoiceOID,
|
||||
'nix' AS 'c.CostCenter',
|
||||
ib.Notice AS 'c2s.Oid',
|
||||
ib.InvoiceId,
|
||||
ib.RecipientOrganisation,
|
||||
ii.ItemDescription,
|
||||
ii.UnitDescription,
|
||||
ii.SupportConceptApprovalPeriodOid,
|
||||
ii.Notice,
|
||||
ii.AmountPerUnit,
|
||||
ii.UnitCount,
|
||||
ii.AmountTotal
|
||||
from
|
||||
invoicebase ib
|
||||
inner join invoiceitem ii on ii.InvoiceBaseOid = ib.Oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':MonatAbrechnung_Start' AND ib.`AccountingPeriodEnd` < ':MonatAbrechnung_End' and ib.IsActive = 1
|
||||
AND ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End'
|
||||
ORDER BY invoiceoid, ii.ItemDescription
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
|
||||
|
||||
private static String GetMonatlicheSammelRechnungPositionenSql(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
String sql = @"
|
||||
SELECT
|
||||
sip.Claim,
|
||||
'' AS DebitorNumber,
|
||||
ib.InvoiceDate,
|
||||
ib.invoicenumber,
|
||||
ib.Oid AS InvoiceOID,
|
||||
'' AS CostCenter,
|
||||
'' AS Oid,
|
||||
ib.InvoiceId,
|
||||
ib.RecipientOrganisation,
|
||||
ii.ItemDescription,
|
||||
ii.UnitDescription,
|
||||
ii.SupportConceptApprovalPeriodOid,
|
||||
ii.Notice,
|
||||
ii.AmountPerUnit,
|
||||
ii.UnitCount,
|
||||
ii.AmountTotal,
|
||||
ii.Notice,
|
||||
sip.Notice
|
||||
FROM
|
||||
invoicebase ib
|
||||
JOIN serviceinvoice si ON si.invoicebaseoid = ib.oid
|
||||
JOIN serviceinvoiceperiod sip ON sip.serviceinvoiceoid = si.oid
|
||||
JOIN invoiceitem ii ON ii.serviceinvoiceperiodoid = sip.oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':MonatAbrechnung_Start' AND ib.`AccountingPeriodEnd` < ':MonatAbrechnung_End' and ib.IsActive = 1
|
||||
AND ib.`InvoiceDate` >= ':Monat_Start' AND ib.`InvoiceDate` < ':Monat_End' AND ib.InvoiceId = 'SammelrechnungBthg'
|
||||
|
||||
ORDER BY ii.ItemDescription
|
||||
";
|
||||
|
||||
return sql;
|
||||
}
|
||||
|
||||
public static DataTable ExecuteQuery(String sql, DateTime dt, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
{
|
||||
var newsql = sql;
|
||||
newsql = newsql.Replace(":Abrechnungsmonat", String.Format("{0:dd.MM.yyyy}", dt));
|
||||
newsql = newsql.Replace(":Belegnr", String.Format("{0:yyMM}", dt));
|
||||
newsql = newsql.Replace(":Monat_MM", String.Format("{0:MM}", dt));
|
||||
newsql = newsql.Replace(":Monat_Start", String.Format("{0:yyyy-MM-dd}", rechnungsDatumVon));
|
||||
newsql = newsql.Replace(":Monat_End", String.Format("{0:yyyy-MM-dd}", rechnungsDatumBis));
|
||||
newsql = newsql.Replace(":MonatAbrechnung_Start", String.Format("{0:yyyy-MM}-01", dt));
|
||||
dt = dt.AddMonths(1);
|
||||
newsql = newsql.Replace(":MonatAbrechnung_End", String.Format("{0:yyyy-MM}-01", dt));
|
||||
|
||||
return DAOFactory.AdoDAO.ExecuteQuery(newsql).Tables[0];
|
||||
}
|
||||
|
||||
private static List<HilfeplanInfo> CreateHilfeplanInfos()
|
||||
{
|
||||
List<HilfeplanInfo> liste = new List<HilfeplanInfo>();
|
||||
var scList = DAOFactory.GenericDAO.GetAllActiveAndArchived<SupportConcept>();
|
||||
foreach (var supportConcept in scList)
|
||||
{
|
||||
foreach (var cb2sc in supportConcept.CostBearer2SupportConceptList)
|
||||
{
|
||||
HilfeplanInfo hi = new HilfeplanInfo();
|
||||
hi.Start = cb2sc.StartDate;
|
||||
hi.Ende = cb2sc.EndDate;
|
||||
hi.Aktenzeichen = cb2sc.CustomerReferenceNumber;
|
||||
hi.CostBearer2SupportConcept = cb2sc;
|
||||
hi.CustomerFirstName = cb2sc.SupportConcept.Customer.Person.FirstName;
|
||||
hi.CustomerLastName = cb2sc.SupportConcept.Customer.Person.LastName;
|
||||
//hi.BescheidVom =
|
||||
|
||||
if (hi.Start.HasValue && hi.Ende.HasValue && !String.IsNullOrEmpty(hi.Aktenzeichen))
|
||||
{
|
||||
liste.Add(hi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return liste;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -80,6 +80,7 @@
|
||||
<Compile Include="CustomAuslastungBerechnung.cs" />
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Export\DatevExporterBthg.cs" />
|
||||
<Compile Include="Export\DatevExporter.cs" />
|
||||
<Compile Include="Export\HilfeplanInfo.cs" />
|
||||
<Compile Include="InvoiceCustomerReport.cs">
|
||||
|
||||
@@ -26,8 +26,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
invoice.InvoiceBase.InvoiceTypeText = "Pflegekostenrechnung";
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override void SetInvoiceBaseData(int invoiceCounter, ServiceInvoice invoice, CostBearer costBearer, DateTimeSpan invoicePeriod,
|
||||
IList<CompactSupportConceptDC> supportConceptList)
|
||||
{
|
||||
@@ -52,7 +50,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
{
|
||||
serviceInvoicePeriod.InvoiceItemList.Add(item);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public override IList<InvoiceItem> CreateInvoiceItems(List<ServiceRecordDC> serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap,
|
||||
@@ -72,12 +69,9 @@ namespace ProfEggersStiftung.Invoicing
|
||||
ende = invoicePeriod.EndDate;
|
||||
else
|
||||
ende = (DateTime)scap.EndDate;
|
||||
var monate = DateTimeUtils.GetTotalMonths(start, ende);
|
||||
|
||||
|
||||
var tage = invoicePeriod.EndDate.Subtract(invoicePeriod.StartDate).Days + 1;
|
||||
DateTime monatStart = new DateTime(start.Year, start.Month, 1);
|
||||
DateTime monatEnde = monatStart.AddMonths(1);
|
||||
DateTime monatEnde = ende.Date; //05.02.2024: hier wurde nicht berücksichtigt, wenn Betreuung/HP im Monat beendet wurde! monatStart.AddMonths(1);
|
||||
var tageMonat = monatEnde.Subtract(monatStart).Days;
|
||||
int tageAbwesendImMonat = 0;
|
||||
decimal? sumCustomerMonth = 0;
|
||||
@@ -97,18 +91,17 @@ namespace ProfEggersStiftung.Invoicing
|
||||
{
|
||||
dtEnde = at.End.Value;
|
||||
}
|
||||
|
||||
while (dt <= dtEnde)
|
||||
{
|
||||
tageAbwesendImMonat++;
|
||||
dt = dt.AddDays(1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var satzAnwesend = GetTagespauschale(scap, start);
|
||||
var satzAbwesend = Math.Round(satzAnwesend * 0.8m, 2, MidpointRounding.AwayFromZero);
|
||||
var pauschale = GetPreis("Bekleidungsgeld", start);
|
||||
|
||||
var ii = new InvoiceItem();
|
||||
ii.UnitCount = tageMonat - tageAbwesendImMonat;
|
||||
@@ -122,9 +115,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
|
||||
ergebnis.Add(ii);
|
||||
|
||||
|
||||
var satzAbwesend = Math.Round(satzAnwesend * 0.8m, 2, MidpointRounding.AwayFromZero);
|
||||
|
||||
ii = new InvoiceItem();
|
||||
ii.UnitCount = tageAbwesendImMonat;
|
||||
ii.AmountPerUnit = satzAbwesend;
|
||||
@@ -138,9 +128,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
|
||||
ergebnis.Add(ii);
|
||||
|
||||
|
||||
var pauschale = GetPreis("Bekleidungsgeld", start);
|
||||
|
||||
ii = new InvoiceItem();
|
||||
ii.UnitCount = tageMonat;
|
||||
ii.AmountPerUnit = pauschale;
|
||||
@@ -205,9 +192,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
list = CreateBetragServiceRecordInvoiceItems(scap, serviceRecordsInPeriod, invoicePeriod);
|
||||
ergebnis.AddRange(list);
|
||||
|
||||
|
||||
|
||||
|
||||
return ergebnis;
|
||||
}
|
||||
|
||||
@@ -293,7 +277,6 @@ namespace ProfEggersStiftung.Invoicing
|
||||
invoiceItem.ItemPeriodEnd = invoicePeriod.EndDate;
|
||||
invoiceItem.GrossAmountTotal = invoiceItem.AmountPerUnit;
|
||||
invoiceItem.ItemDescription = text;
|
||||
|
||||
invoiceItem.SupportConceptApprovalPeriodOid = scap.Oid;
|
||||
|
||||
return invoiceItem;
|
||||
@@ -325,9 +308,7 @@ namespace ProfEggersStiftung.Invoicing
|
||||
|
||||
iiList.Add(invoiceItem);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
return iiList;
|
||||
}
|
||||
@@ -344,13 +325,9 @@ namespace ProfEggersStiftung.Invoicing
|
||||
return crp.CostRateValue.Value;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public override IList<InvoiceItem> CreateSummaryInvoiceItems(IList<InvoiceItem> itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc, bool summaryPerMonth, bool addRateFactorToUnitCount)
|
||||
{
|
||||
return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, true, true);
|
||||
|
||||
@@ -82,6 +82,18 @@ namespace TeamPfeil
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd4Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd3Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd2Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd1Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -99,23 +111,11 @@ namespace TeamPfeil
|
||||
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.fieldMinuten12 = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.TotalFLMBillableAsHours = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd4Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd3Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd2Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblStd1Kat = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -251,7 +251,7 @@ namespace TeamPfeil
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSQualifiedString")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSUnqualifiedString")});
|
||||
this.xrTableCell4.Font = new System.Drawing.Font("Calibri", 10F);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
@@ -733,6 +733,186 @@ namespace TeamPfeil
|
||||
this.GroupFooter1.KeepTogether = true;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
this.xrTable4.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable4.Font = new System.Drawing.Font("Calibri", 10F);
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0.5002339F, 25F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(293.4812F, 25F);
|
||||
this.xrTable4.StylePriority.UseFont = false;
|
||||
this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableRow2.Weight = 0.821916897675071D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrTableCell10.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 7, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamtstunden gebuchtes QN";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.15083661688300451D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillableAsHours")});
|
||||
this.xrTableCell11.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UsePadding = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell11.Weight = 0.051131180211260646D;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(651.7679F, 25F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(47.97961F, 25F);
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.Text = "QN 4:";
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd4Kat
|
||||
//
|
||||
this.lblStd4Kat.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblStd4Kat.BorderWidth = 1F;
|
||||
this.lblStd4Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd4Kat.LocationFloat = new DevExpress.Utils.PointFloat(699.7473F, 25F);
|
||||
this.lblStd4Kat.Name = "lblStd4Kat";
|
||||
this.lblStd4Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd4Kat.SizeF = new System.Drawing.SizeF(71.75061F, 25F);
|
||||
this.lblStd4Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd4Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd4Kat.StylePriority.UseFont = false;
|
||||
this.lblStd4Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd4Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(532.0379F, 25F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(47.97961F, 25F);
|
||||
this.xrLabel8.StylePriority.UseBackColor = false;
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "QN 3:";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd3Kat
|
||||
//
|
||||
this.lblStd3Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd3Kat.BorderWidth = 1F;
|
||||
this.lblStd3Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd3Kat.LocationFloat = new DevExpress.Utils.PointFloat(580.0175F, 25F);
|
||||
this.lblStd3Kat.Name = "lblStd3Kat";
|
||||
this.lblStd3Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd3Kat.SizeF = new System.Drawing.SizeF(71.75055F, 24.99996F);
|
||||
this.lblStd3Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd3Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd3Kat.StylePriority.UseFont = false;
|
||||
this.lblStd3Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd3Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(413.0102F, 25F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(47.27771F, 25F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "QN 2:";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd2Kat
|
||||
//
|
||||
this.lblStd2Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd2Kat.BorderWidth = 1F;
|
||||
this.lblStd2Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd2Kat.LocationFloat = new DevExpress.Utils.PointFloat(460.2876F, 25F);
|
||||
this.lblStd2Kat.Name = "lblStd2Kat";
|
||||
this.lblStd2Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd2Kat.SizeF = new System.Drawing.SizeF(71.75049F, 24.99995F);
|
||||
this.lblStd2Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd2Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd2Kat.StylePriority.UseFont = false;
|
||||
this.lblStd2Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd2Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel16.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(293.9814F, 25F);
|
||||
this.xrLabel16.Name = "xrLabel16";
|
||||
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel16.SizeF = new System.Drawing.SizeF(47.27783F, 25F);
|
||||
this.xrLabel16.StylePriority.UseBackColor = false;
|
||||
this.xrLabel16.StylePriority.UseBorders = false;
|
||||
this.xrLabel16.StylePriority.UseFont = false;
|
||||
this.xrLabel16.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel16.Text = "QN 1:";
|
||||
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd1Kat
|
||||
//
|
||||
this.lblStd1Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd1Kat.BorderWidth = 1F;
|
||||
this.lblStd1Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd1Kat.LocationFloat = new DevExpress.Utils.PointFloat(341.2596F, 25F);
|
||||
this.lblStd1Kat.Name = "lblStd1Kat";
|
||||
this.lblStd1Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd1Kat.SizeF = new System.Drawing.SizeF(71.75055F, 25F);
|
||||
this.lblStd1Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd1Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd1Kat.StylePriority.UseFont = false;
|
||||
this.lblStd1Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd1Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// lblStd1
|
||||
//
|
||||
this.lblStd1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
@@ -965,186 +1145,6 @@ namespace TeamPfeil
|
||||
this.TotalFLMBillableAsHours.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.TotalFLMBillableAsHours.Name = "TotalFLMBillableAsHours";
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
this.xrTable4.BorderColor = System.Drawing.Color.Black;
|
||||
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable4.Font = new System.Drawing.Font("Calibri", 10F);
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0.5002339F, 25F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(293.4812F, 25F);
|
||||
this.xrTable4.StylePriority.UseFont = false;
|
||||
this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableRow2.Weight = 0.821916897675071D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrTableCell10.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 7, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamtstunden gebuchtes QN";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.15083661688300451D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillableAsHours")});
|
||||
this.xrTableCell11.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F);
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.StylePriority.UsePadding = false;
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell11.Weight = 0.051131180211260646D;
|
||||
//
|
||||
// xrLabel4
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(651.7679F, 25F);
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel4.SizeF = new System.Drawing.SizeF(47.97961F, 25F);
|
||||
this.xrLabel4.StylePriority.UseBackColor = false;
|
||||
this.xrLabel4.StylePriority.UseBorders = false;
|
||||
this.xrLabel4.StylePriority.UseFont = false;
|
||||
this.xrLabel4.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel4.Text = "QN 4:";
|
||||
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd4Kat
|
||||
//
|
||||
this.lblStd4Kat.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblStd4Kat.BorderWidth = 1F;
|
||||
this.lblStd4Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd4Kat.LocationFloat = new DevExpress.Utils.PointFloat(699.7473F, 25F);
|
||||
this.lblStd4Kat.Name = "lblStd4Kat";
|
||||
this.lblStd4Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd4Kat.SizeF = new System.Drawing.SizeF(71.75061F, 25F);
|
||||
this.lblStd4Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd4Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd4Kat.StylePriority.UseFont = false;
|
||||
this.lblStd4Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd4Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(532.0379F, 25F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(47.97961F, 25F);
|
||||
this.xrLabel8.StylePriority.UseBackColor = false;
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "QN 3:";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd3Kat
|
||||
//
|
||||
this.lblStd3Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd3Kat.BorderWidth = 1F;
|
||||
this.lblStd3Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd3Kat.LocationFloat = new DevExpress.Utils.PointFloat(580.0175F, 25F);
|
||||
this.lblStd3Kat.Name = "lblStd3Kat";
|
||||
this.lblStd3Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd3Kat.SizeF = new System.Drawing.SizeF(71.75055F, 24.99996F);
|
||||
this.lblStd3Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd3Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd3Kat.StylePriority.UseFont = false;
|
||||
this.lblStd3Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd3Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(413.0102F, 25F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(47.27771F, 25F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "QN 2:";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd2Kat
|
||||
//
|
||||
this.lblStd2Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd2Kat.BorderWidth = 1F;
|
||||
this.lblStd2Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd2Kat.LocationFloat = new DevExpress.Utils.PointFloat(460.2876F, 25F);
|
||||
this.lblStd2Kat.Name = "lblStd2Kat";
|
||||
this.lblStd2Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd2Kat.SizeF = new System.Drawing.SizeF(71.75049F, 24.99995F);
|
||||
this.lblStd2Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd2Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd2Kat.StylePriority.UseFont = false;
|
||||
this.lblStd2Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd2Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel16.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(293.9814F, 25F);
|
||||
this.xrLabel16.Name = "xrLabel16";
|
||||
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel16.SizeF = new System.Drawing.SizeF(47.27783F, 25F);
|
||||
this.xrLabel16.StylePriority.UseBackColor = false;
|
||||
this.xrLabel16.StylePriority.UseBorders = false;
|
||||
this.xrLabel16.StylePriority.UseFont = false;
|
||||
this.xrLabel16.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel16.Text = "QN 1:";
|
||||
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// lblStd1Kat
|
||||
//
|
||||
this.lblStd1Kat.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
|
||||
this.lblStd1Kat.BorderWidth = 1F;
|
||||
this.lblStd1Kat.Font = new System.Drawing.Font("Calibri", 12F);
|
||||
this.lblStd1Kat.LocationFloat = new DevExpress.Utils.PointFloat(341.2596F, 25F);
|
||||
this.lblStd1Kat.Name = "lblStd1Kat";
|
||||
this.lblStd1Kat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblStd1Kat.SizeF = new System.Drawing.SizeF(71.75055F, 25F);
|
||||
this.lblStd1Kat.StylePriority.UseBorders = false;
|
||||
this.lblStd1Kat.StylePriority.UseBorderWidth = false;
|
||||
this.lblStd1Kat.StylePriority.UseFont = false;
|
||||
this.lblStd1Kat.StylePriority.UseTextAlignment = false;
|
||||
this.lblStd1Kat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// QuittierungsbelegQuali
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -1173,8 +1173,8 @@ namespace TeamPfeil
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user