MH: DiakonieKKKleve neuer BeWo67 QB
This commit is contained in:
@@ -180,6 +180,12 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegBeWo67.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegBeWo67.Designer.cs">
|
||||
<DependentUpon>QuittierungsbelegBeWo67.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RechnungSelbstzahler.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -187,12 +193,6 @@
|
||||
<DependentUpon>RechnungSelbstzahler.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Reporting\DkkkAnnualReportFactory.cs" />
|
||||
<Compile Include="QuittierungsbelegDienstleistung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="QuittierungsbelegDienstleistung.Designer.cs">
|
||||
<DependentUpon>QuittierungsbelegDienstleistung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Reporting\DkkkReportCreator.cs" />
|
||||
<Compile Include="RechnungBeWo67.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -320,13 +320,13 @@
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuittierungsbelegDienstleistung.resx">
|
||||
<DependentUpon>QuittierungsbelegDienstleistung.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="LeistungsnachweisSoziotherapie.resx">
|
||||
<DependentUpon>LeistungsnachweisSoziotherapie.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuittierungsbelegBeWo67.resx">
|
||||
<DependentUpon>QuittierungsbelegBeWo67.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="RechnungBeWo67.resx">
|
||||
<DependentUpon>RechnungBeWo67.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
1276
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.Designer.cs
generated
Normal file
1276
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
198
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.cs
Normal file
198
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.cs
Normal file
@@ -0,0 +1,198 @@
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.Core;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using static BeWo.Report.ReportObjects.ServicesOverviewRO;
|
||||
|
||||
namespace DiakonieKKKleve
|
||||
{
|
||||
public partial class QuittierungsbelegBeWo67 : XtraReport, IBeWoReport<ServicesOverviewRO>
|
||||
{
|
||||
public QuittierungsbelegBeWo67()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
|
||||
// Get calling method name
|
||||
//StackTrace stackTrace = new StackTrace();
|
||||
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
|
||||
|
||||
bool hatGruppen = false;
|
||||
|
||||
//if (pRO == null)
|
||||
// return;
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
// Damit in Liste der volle Monat erscheint, leere Einträge für alle Tage, wo es keine Leistung gab
|
||||
var reportstartdate = pRO.StartDate;
|
||||
while (reportstartdate <= pRO.EndDate.Date)
|
||||
{
|
||||
if (!pRO.Services.Any(s => s.StartDate.Date == reportstartdate))
|
||||
{
|
||||
pRO.Services.Add(new ServiceDetail()
|
||||
{
|
||||
StartDate = reportstartdate,
|
||||
EndDate = reportstartdate,
|
||||
IsGroup = false,
|
||||
IsBillable = true,
|
||||
Notice = "",
|
||||
Notice2 = "",
|
||||
Notice3 = "",
|
||||
Notice4 = "",
|
||||
Notice5 = "",
|
||||
Minutes = 0
|
||||
});
|
||||
}
|
||||
|
||||
reportstartdate = reportstartdate.AddDays(1);
|
||||
}
|
||||
|
||||
pRO.Services = pRO.Services.OrderBy(s => s.StartDate.Date).ToList();
|
||||
// Nach Sonntagen eine Leerzeile erzeugen, damit es aussieht, wie in der Vorlage
|
||||
List<int> sonntagIndex = new List<int>();
|
||||
sonntagIndex.AddRange(pRO.Services.Where(s => s.StartDate.DayOfWeek == DayOfWeek.Sunday).Select(s => s.StartDate.Day));
|
||||
foreach (var index in sonntagIndex)
|
||||
{
|
||||
pRO.Services.Insert(index, new ServiceDetail() { IsBillable = true, Notice = "",Notice2 = "",Notice3 = "",Notice4 = "",Notice5 = "", });
|
||||
}
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
|
||||
{
|
||||
sd.Notice = sd.StartDate.Year == 1 ? "" : string.Format("{0:ddd}", sd.StartDate);
|
||||
sd.Notice2 = sd.StartDate.Year == 1 ? "" : string.Format("{0:dd.MM.yyyy}", sd.StartDate);
|
||||
sd.Notice3 = sd.StartDate.Year == 1 ? "" : string.Format("{0}", sd.Minutes);
|
||||
sd.Notice4 = "";
|
||||
sd.Notice5 = "";
|
||||
|
||||
if (sd.ServiceDescription != null)
|
||||
{
|
||||
ServicesOverviewRO.CreateSignatureString(sd);
|
||||
|
||||
if (sd.IsGroup)
|
||||
{
|
||||
sd.Notice5 = "X";
|
||||
hatGruppen = true;
|
||||
}
|
||||
else
|
||||
sd.Notice4 = "X";
|
||||
}
|
||||
|
||||
servicesBillable.Add(sd);
|
||||
}
|
||||
}
|
||||
|
||||
lblSummeDLS.Text = string.Format("{0:0.00}", Convert.ToDecimal(pRO.Services.Sum(s => s.Minutes)) / 60m);
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
|
||||
{
|
||||
lblHatAbwesenheiten.Text = "X";
|
||||
}
|
||||
|
||||
//if (!hatGruppen)
|
||||
//{
|
||||
// lblHatGruppen.Text = "X";
|
||||
//}
|
||||
|
||||
ErstelleAbwesenheitenTabelle(pRO);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
|
||||
{
|
||||
if (pRo.Abwesenheiten != null)
|
||||
{
|
||||
int newRows = 0;
|
||||
int index = 1;
|
||||
foreach (var at in pRo.Abwesenheiten)
|
||||
{
|
||||
DevExpress.XtraReports.UI.XRTableRow row = null;
|
||||
if (index < xrTableAbwesenheiten.Rows.Count)
|
||||
{
|
||||
row = xrTableAbwesenheiten.Rows[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
|
||||
newRows++;
|
||||
}
|
||||
|
||||
row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start);
|
||||
int? days = null;
|
||||
|
||||
if (at.End.HasValue)
|
||||
{
|
||||
row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End);
|
||||
days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
row.Cells[1].Text = "unbekannt";
|
||||
}
|
||||
|
||||
row.Cells[2].Text = String.Format("{0:0}", days);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
||||
if (newRows > 0)
|
||||
{
|
||||
lblUnterschriftKlient.Top += newRows * 20;
|
||||
lblUnterschriftMitarbeiter.Top += newRows * 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
XRPictureBox xrBox = sender as XRPictureBox;
|
||||
//var test = this.GetCurrent
|
||||
string base64String = xrBox.Tag as string;
|
||||
if (!String.IsNullOrWhiteSpace(base64String))
|
||||
{
|
||||
var base64Data = Regex.Match(base64String, @"data:image/(?<type>.+?),(?<data>.+)").Groups["data"].Value;
|
||||
var binData = Convert.FromBase64String(base64Data);
|
||||
Image img = ByteArrayToImage(binData);
|
||||
xrBox.Image = Utils.CropImage(img);
|
||||
}
|
||||
else
|
||||
{
|
||||
xrBox.Image = null;
|
||||
}
|
||||
}
|
||||
|
||||
public Image ByteArrayToImage(byte[] byteArrayIn)
|
||||
{
|
||||
using(var memoryStream = new MemoryStream(byteArrayIn))
|
||||
{
|
||||
return Image.FromStream(memoryStream);
|
||||
}
|
||||
}
|
||||
|
||||
private void xrTableCell35_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
var row = DetailReport.GetCurrentRow() as ServiceDetail;
|
||||
|
||||
if (row != null)
|
||||
{
|
||||
xrTableCell35.Visible = row.StartDate.DayOfWeek == DayOfWeek.Sunday;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
123
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.resx
Normal file
123
ReportImp/DiakonieKKKleve/QuittierungsbelegBeWo67.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrRichText2.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAKgBcAGQAZQBmAHAAYQBwACAAXAB3AGkAZABjAHQAbABwAGEAcgB9AHsAXABzAHQAeQBsAGUAcwBoAGUAZQB0ACAAewBcAHEAbABcAGYAMQBcAGYAcwAyADQAIABOAG8AcgBtAGEAbAA7AH0AewBcACoAXABjAHMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQAgAEQAZQBmAGEAd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MQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABjAGYAMQBcAHAAYQByAH0A</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -95,15 +95,15 @@ namespace DiakonieKKKleve.Reporting
|
||||
{
|
||||
int test = 0;
|
||||
}
|
||||
//if (!String.IsNullOrWhiteSpace(ro.Costbearer) && (ro.Costbearer.ToLower().Contains("§67")))
|
||||
// {
|
||||
// report = new QuittierungsbelegDienstleistung();
|
||||
// ((QuittierungsbelegDienstleistung)report).SetReportDataSource(ro);
|
||||
if (!String.IsNullOrWhiteSpace(ro.Costbearer) && (ro.Costbearer.ToLower().Contains("§67")))
|
||||
{
|
||||
report = new QuittierungsbelegBeWo67();
|
||||
((QuittierungsbelegBeWo67)report).SetReportDataSource(ro);
|
||||
|
||||
// return report as XtraReport;
|
||||
// }
|
||||
return report as XtraReport;
|
||||
}
|
||||
|
||||
ServicesOverviewRO bewoRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO bewoRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO soziRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO dienstRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user