dies und das
This commit is contained in:
@@ -272,6 +272,12 @@ namespace BeWo
|
||||
gridLogin.Height += 25;
|
||||
}
|
||||
|
||||
private bool IsNet45OrNewer()
|
||||
{
|
||||
// Class "ReflectionContext" exists from .NET 4.5 onwards.
|
||||
return Type.GetType("System.Reflection.ReflectionContext", false) != null;
|
||||
}
|
||||
|
||||
private bool CheckStatusMessage(BeWoProfile profile)
|
||||
{
|
||||
|
||||
|
||||
@@ -130,6 +130,7 @@
|
||||
</Style>-->
|
||||
|
||||
<Style TargetType="{x:Type PasswordBox}">
|
||||
<Setter Property="Padding" Value="3,2,3,0" />
|
||||
<Setter Property="BorderThickness" Value="1,1,1,1" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorderBrush}" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
|
||||
@@ -662,7 +662,7 @@
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Startdatum" />
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="0"
|
||||
x:Name="datepicker_newDate2"
|
||||
x:Name="datepicker_newDate2" AllowNullInput="False"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=PrototypeVM.Date}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
@@ -676,7 +676,7 @@
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="1" Content="Enddatum" x:Name="EndDateLabel2"/>
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="1"
|
||||
x:Name="datepicker_newEndDate2"
|
||||
x:Name="datepicker_newEndDate2" AllowNullInput="False"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=PrototypeVM.EditableEndDate}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
@@ -724,7 +724,7 @@
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Content="Startdatum" x:Name="startDatum1" />
|
||||
<dxe:DateEdit Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="3"
|
||||
x:Name="datepicker_newDate1"
|
||||
x:Name="datepicker_newDate1" AllowNullInput="False"
|
||||
EditValue="{val:ValidationBinding Mode=TwoWay, Path=PrototypeVM.Date}"
|
||||
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
|
||||
@@ -2334,6 +2334,8 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
|
||||
lHeaderCaptions.Add("Ziele");
|
||||
lHeaderCaptions.Add("Angelegt von");
|
||||
lHeaderCaptions.Add("Angelegt am");
|
||||
|
||||
if (list != null)
|
||||
{
|
||||
@@ -2384,25 +2386,27 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
|
||||
row.Add(vm.GoalString);
|
||||
row.Add(vm.InsUser);
|
||||
row.Add(vm.InsertedOn);
|
||||
|
||||
//lContent.AddRange(list.Select(vm => new List<string>
|
||||
// {
|
||||
// String.Format("{0:dd.MM.yyyy}", vm.StartTime != null ? vm.Date : null),
|
||||
// String.Format("{0:HH:mm}", vm.StartTime != null && vm.StartTime.Value.Second == 0 ? vm.StartTime : null),
|
||||
// String.Format("{0:HH:mm}", vm.EndTime != null && vm.EndTime.Value.Second == 0 ? vm.EndTime : null),
|
||||
// vm.AssistanceDuration.ToString(),
|
||||
// vm.RoundedDuration.ToString(),
|
||||
// vm.Employee != null ? vm.Employee.ToString() : string.Empty,
|
||||
// vm.Customer != null ? vm.Customer.ToString() : string.Empty,
|
||||
// vm.SupportConcept != null ? vm.SupportConcept.ToString() : string.Empty,
|
||||
// vm.CostBearer != null ? vm.CostBearer.ToString() : string.Empty,
|
||||
// vm.Category != null ? vm.Category.ToString() : string.Empty,
|
||||
// vm.ServiceDescription != null ? vm.ServiceDescription.ToString() : string.Empty,
|
||||
// vm.Notice,vm.Notice2,vm.Notice3,vm.Notice4,vm.Notice5,
|
||||
// vm.GoalString
|
||||
// }));
|
||||
lContent.Add(row);
|
||||
}
|
||||
//lContent.AddRange(list.Select(vm => new List<string>
|
||||
// {
|
||||
// String.Format("{0:dd.MM.yyyy}", vm.StartTime != null ? vm.Date : null),
|
||||
// String.Format("{0:HH:mm}", vm.StartTime != null && vm.StartTime.Value.Second == 0 ? vm.StartTime : null),
|
||||
// String.Format("{0:HH:mm}", vm.EndTime != null && vm.EndTime.Value.Second == 0 ? vm.EndTime : null),
|
||||
// vm.AssistanceDuration.ToString(),
|
||||
// vm.RoundedDuration.ToString(),
|
||||
// vm.Employee != null ? vm.Employee.ToString() : string.Empty,
|
||||
// vm.Customer != null ? vm.Customer.ToString() : string.Empty,
|
||||
// vm.SupportConcept != null ? vm.SupportConcept.ToString() : string.Empty,
|
||||
// vm.CostBearer != null ? vm.CostBearer.ToString() : string.Empty,
|
||||
// vm.Category != null ? vm.Category.ToString() : string.Empty,
|
||||
// vm.ServiceDescription != null ? vm.ServiceDescription.ToString() : string.Empty,
|
||||
// vm.Notice,vm.Notice2,vm.Notice3,vm.Notice4,vm.Notice5,
|
||||
// vm.GoalString
|
||||
// }));
|
||||
lContent.Add(row);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -142,6 +142,14 @@ namespace BeWo.Data.Access
|
||||
|
||||
}
|
||||
|
||||
public virtual IList<Customer> FindCustomerOfTeam(long teamOid)
|
||||
{
|
||||
return CreateCriteriaIsActiveOrArchived<Customer>()
|
||||
.CreateCriteria(Customer.PropertyName_Team2CustomerList, JoinType.InnerJoin)
|
||||
.Add(Restrictions.Eq(Team2Customer.PropertyName_TeamOid, teamOid))
|
||||
.List<Customer>();
|
||||
}
|
||||
|
||||
public IEnumerable<ResourceBookingSequence> FindBookings(long pResourceOid, DateTime pSpanStart, DateTime pSpanEnd)
|
||||
{
|
||||
var lResult = CreateCriteria<ResourceBookingSequence>()
|
||||
@@ -475,13 +483,12 @@ namespace BeWo.Data.Access
|
||||
{
|
||||
var ts = birthdayUntil.Subtract(DateTime.Now);
|
||||
var days = ts.Days + 1;
|
||||
|
||||
|
||||
return CreateCriteriaIsActive<Person>()
|
||||
.Add(Expression.Sql(new SqlString("dayofyear(CAST(CONCAT(Year(CURDATE()), '-', Month(" + Person.PropertyName_DateOfBirth + "), '-', Day(" + Person.PropertyName_DateOfBirth + ")) AS DATE )) between dayofyear(CURDATE()) and dayofyear(CURDATE()) + " + days)))
|
||||
.Add(Expression.Sql(new SqlString("dayofyear(CAST(CONCAT(Year(CURDATE()), '-', Month(" + Person.PropertyName_DateOfBirth + "), '-', Day(" + Person.PropertyName_DateOfBirth + ")) AS DATE )) between dayofyear(CURDATE()) -4 and dayofyear(CURDATE()) + " + days)))
|
||||
.List<Person>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public IEnumerable<Login> FindLastLogins(string loginName)
|
||||
{
|
||||
return CreateCriteria<Login>()
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ALTER TABLE `1234567890`.`mandator`
|
||||
ALTER TABLE `mandator`
|
||||
ADD COLUMN `ApiKey` VARCHAR(256) NULL DEFAULT NULL COMMENT '' AFTER `IsMedicationAllowed`;
|
||||
|
||||
@@ -23,17 +23,17 @@ namespace BeWo.Report
|
||||
{
|
||||
public class DefaultReportCreator : AbstractReportCreator
|
||||
{
|
||||
protected IBeWoReport<T> FindReportImp<T>()
|
||||
public IBeWoReport<T> FindReportImp<T>()
|
||||
{
|
||||
return FindReportImp<T>(null, null);
|
||||
}
|
||||
|
||||
protected IBeWoReport<T> FindReportImp<T>(string specificReportId)
|
||||
public IBeWoReport<T> FindReportImp<T>(string specificReportId)
|
||||
{
|
||||
return this.FindReportImp<T>(specificReportId, null);
|
||||
}
|
||||
|
||||
protected IBeWoReport<T> FindReportImp<T>(string specificReportId, string typename)
|
||||
public IBeWoReport<T> FindReportImp<T>(string specificReportId, string typename)
|
||||
{
|
||||
IBeWoReport<T> result = null;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace BeWo.Report
|
||||
return result;
|
||||
}
|
||||
|
||||
protected IBeWoReport<T> FindReportImp<T>(Type[] lAllReportTypes, string specificReportId, string typename, bool doNotUseReportsWithIdentifier)
|
||||
public IBeWoReport<T> FindReportImp<T>(Type[] lAllReportTypes, string specificReportId, string typename, bool doNotUseReportsWithIdentifier)
|
||||
{
|
||||
IBeWoReport<T> result = null;
|
||||
|
||||
|
||||
19
Report/DefaultReports/KassenbuchReport.Designer.cs
generated
19
Report/DefaultReports/KassenbuchReport.Designer.cs
generated
@@ -98,6 +98,7 @@
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "Datum";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell9.Weight = 0.528846153846154D;
|
||||
//
|
||||
@@ -106,7 +107,7 @@
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.StylePriority.UseTextAlignment = false;
|
||||
@@ -119,7 +120,7 @@
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
@@ -144,7 +145,7 @@
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
@@ -252,7 +253,7 @@
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "xrTableCell10";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell10.Weight = 0.528846189058744D;
|
||||
//
|
||||
// xrTableCell4
|
||||
@@ -261,7 +262,7 @@
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Einzahlung", "{0:c}")});
|
||||
this.xrTableCell4.FormattingRules.Add(this.Einzahlungstextsichtbarkeitsformatierungsregel);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "xrTableCell4";
|
||||
@@ -284,7 +285,7 @@
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Auszahlung", "{0:c}")});
|
||||
this.xrTableCell5.FormattingRules.Add(this.Auszahlungstextsichtbarkeitsformatierungsregel);
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "xrTableCell5";
|
||||
@@ -304,7 +305,7 @@
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 2, 2, 100F);
|
||||
this.xrTableCell8.StylePriority.UsePadding = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "[Notiz]";
|
||||
@@ -318,7 +319,7 @@
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Transaktionen.Bestand", "{0:c}")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 2, 2, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
@@ -343,7 +344,7 @@
|
||||
this.Einzahlungstextsichtbarkeitsformatierungsregel,
|
||||
this.Auszahlungstextsichtbarkeitsformatierungsregel});
|
||||
this.Margins = new System.Drawing.Printing.Margins(100, 100, 182, 74);
|
||||
this.Version = "13.1";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
|
||||
@@ -18,6 +18,10 @@ namespace BeWo.Report.DefaultReports
|
||||
|
||||
public void SetReportDataSource(SupportConceptListRO pRO)
|
||||
{
|
||||
if (pRO.AppointedDate.HasValue && pRO.AppointedDate.Value.Date < DateTime.Now.Date)
|
||||
{
|
||||
xrLabel1.Text = String.Format("Hilfeplanübersicht Stand {0:dd.MM.yyyy}", pRO.AppointedDate);
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,10 +81,13 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
public DateTime InvoiceDateTime { get; set; }
|
||||
|
||||
public InvoiceBaseDC InvoiceBase { get; set; }
|
||||
|
||||
public static InvoiceCustomerRO Create(InvoiceBaseDC pDC)
|
||||
{
|
||||
var result = new InvoiceCustomerRO();
|
||||
|
||||
result.InvoiceBase = pDC;
|
||||
result.AccountingPeriod = pDC.AccountingPeriodStart.Value.ToShortDateString() + " bis " + pDC.AccountingPeriodEnd.Value.ToShortDateString();
|
||||
result.CreatorFirstName = pDC.CreatorFirstName;
|
||||
result.CreatorLastName = pDC.CreatorLastName;
|
||||
|
||||
@@ -47,9 +47,9 @@ namespace BeWo.Report.ReportObjects
|
||||
var ro = new MitarbeiterauslastungRO();
|
||||
ro.ReportStartDate = startDate;
|
||||
ro.ReportEndDate = endDate;
|
||||
var teamOid2Details = new Dictionary<long, TeamDetail>();
|
||||
|
||||
|
||||
IList<Employee> employees = null;
|
||||
IList<Employee> employees = null;
|
||||
|
||||
if (employeeOid.HasValue)
|
||||
{
|
||||
@@ -61,16 +61,50 @@ namespace BeWo.Report.ReportObjects
|
||||
foreach (var teamOid in teamOids)
|
||||
{
|
||||
team = DAOFactory.GenericDAO.GetByID<Team>(teamOid);
|
||||
if (employees == null)
|
||||
|
||||
var customers = DAOFactory.SearchDAO.FindCustomerOfTeam(teamOid);
|
||||
|
||||
if (customers.Count > 0)
|
||||
{
|
||||
employees = team.MemberList;
|
||||
TeamDetail td = null;
|
||||
if (!teamOid2Details.ContainsKey(team.Oid.Value))
|
||||
{
|
||||
td = new TeamDetail();
|
||||
td.TeamName = team.Name;
|
||||
td.TeamLeader = team.Leader;
|
||||
ro.TeamDetailList.Add(td);
|
||||
teamOid2Details.Add(team.Oid.Value, td);
|
||||
}
|
||||
else
|
||||
{
|
||||
td = teamOid2Details[team.Oid.Value];
|
||||
}
|
||||
|
||||
foreach (var c in customers)
|
||||
{
|
||||
var empDetail = new EmployeeDetail();
|
||||
ro.EmployeeDetailList.Add(empDetail);
|
||||
td.EmployeeDetailList.Add(empDetail);
|
||||
|
||||
empDetail.Teams = new List<Team> { team };
|
||||
empDetail.Employee = null;
|
||||
empDetail.LastName = null;
|
||||
empDetail.FirstName = null;
|
||||
empDetail.FullName = null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
employees.AddRange(team.MemberList);
|
||||
team = null;
|
||||
if (employees == null)
|
||||
{
|
||||
employees = team.MemberList;
|
||||
}
|
||||
else
|
||||
{
|
||||
employees.AddRange(team.MemberList);
|
||||
team = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -79,45 +113,47 @@ namespace BeWo.Report.ReportObjects
|
||||
employees = DAOFactory.GenericDAO.GetAllActive<Employee>();
|
||||
}
|
||||
|
||||
if (employees != null)
|
||||
{
|
||||
foreach (Employee emp in employees)
|
||||
{
|
||||
var empDetail = new EmployeeDetail();
|
||||
ro.EmployeeDetailList.Add(empDetail);
|
||||
|
||||
foreach (Employee emp in employees)
|
||||
{
|
||||
var empDetail = new EmployeeDetail();
|
||||
ro.EmployeeDetailList.Add(empDetail);
|
||||
empDetail.Teams = team == null
|
||||
? DAOFactory.SearchDAO.FindTeamsOfEmployee(emp.Oid.Value)
|
||||
: new List<Team> { team };
|
||||
empDetail.Employee = emp;
|
||||
empDetail.LastName = emp.Person.LastName;
|
||||
empDetail.FirstName = emp.Person.FirstName;
|
||||
empDetail.FullName = String.Format("{0}, {1}", empDetail.LastName, empDetail.FirstName);
|
||||
}
|
||||
|
||||
empDetail.Teams = team == null ? DAOFactory.SearchDAO.FindTeamsOfEmployee(emp.Oid.Value) : new List<Team> {team};
|
||||
empDetail.Employee = emp;
|
||||
empDetail.LastName = emp.Person.LastName;
|
||||
empDetail.FirstName = emp.Person.FirstName;
|
||||
empDetail.FullName = String.Format("{0}, {1}", empDetail.LastName, empDetail.FirstName);
|
||||
}
|
||||
|
||||
var teamOid2Details = new Dictionary<long, TeamDetail>();
|
||||
|
||||
foreach (EmployeeDetail employee in ro.EmployeeDetailList)
|
||||
{
|
||||
if (employee.Teams.Count > 0)
|
||||
{
|
||||
foreach (Team t in employee.Teams)
|
||||
{
|
||||
TeamDetail td = null;
|
||||
if (!teamOid2Details.ContainsKey(t.Oid.Value))
|
||||
{
|
||||
td = new TeamDetail();
|
||||
td.TeamName = t.Name;
|
||||
td.TeamLeader = t.Leader;
|
||||
ro.TeamDetailList.Add(td);
|
||||
teamOid2Details.Add(t.Oid.Value, td);
|
||||
}
|
||||
else
|
||||
{
|
||||
td = teamOid2Details[t.Oid.Value];
|
||||
}
|
||||
td.EmployeeDetailList.Add(employee);
|
||||
}
|
||||
}
|
||||
}
|
||||
ro.TeamDetailList.Sort((t1, t2) => t1.TeamName.CompareTo(t2.TeamName));
|
||||
foreach (EmployeeDetail employee in ro.EmployeeDetailList)
|
||||
{
|
||||
if (employee.Teams.Count > 0)
|
||||
{
|
||||
foreach (Team t in employee.Teams)
|
||||
{
|
||||
TeamDetail td = null;
|
||||
if (!teamOid2Details.ContainsKey(t.Oid.Value))
|
||||
{
|
||||
td = new TeamDetail();
|
||||
td.TeamName = t.Name;
|
||||
td.TeamLeader = t.Leader;
|
||||
ro.TeamDetailList.Add(td);
|
||||
teamOid2Details.Add(t.Oid.Value, td);
|
||||
}
|
||||
else
|
||||
{
|
||||
td = teamOid2Details[t.Oid.Value];
|
||||
}
|
||||
td.EmployeeDetailList.Add(employee);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ro.TeamDetailList.Sort((t1, t2) => t1.TeamName.CompareTo(t2.TeamName));
|
||||
ro.EmployeeDetailList.Sort((e1, e2) => e1.FullName.CompareTo(e2.FullName));
|
||||
return ro;
|
||||
}
|
||||
|
||||
@@ -104,12 +104,14 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
public string ApprovalDate { get; set; }
|
||||
|
||||
|
||||
public InvoiceBaseDC InvoiceBase { get; set; }
|
||||
|
||||
public static ServiceInvoiceRO Create(ServiceInvoiceDC pDC)
|
||||
{
|
||||
var lResult = new ServiceInvoiceRO
|
||||
{
|
||||
InvoiceId = pDC.InvoiceBase.InvoiceId,
|
||||
InvoiceBase = pDC.InvoiceBase,
|
||||
InvoiceId = pDC.InvoiceBase.InvoiceId,
|
||||
InvoiceDate = String.Format("{0:dd.MM.yyyy}", pDC.InvoiceBase.InvoiceDate),
|
||||
InvoiceDateTime = pDC.InvoiceBase.InvoiceDate,
|
||||
InvoiceNumber = pDC.InvoiceBase.InvoiceNumber,
|
||||
|
||||
@@ -67,25 +67,69 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
if (cb2scOid > 0)
|
||||
{
|
||||
var statistics = factory.CreateSupportConceptStatisticsImpl(cb2scOid, DateTime.Now);
|
||||
ro.Statistics = new List<ServiceRecordStatistics>();
|
||||
var header = new ServiceRecordStatistics
|
||||
{
|
||||
Text1 = "Bewilligungszeitraum:",
|
||||
Text2 = "Geleistet diese Woche/Gesamt:",
|
||||
Text3 = "Bewilligt pro Woche/Gesamt:",
|
||||
Text4 = "Frei pro Woche(Ø)/Gesamt:"
|
||||
};
|
||||
ro.Statistics.Add(header);
|
||||
|
||||
ro.Statistics = new List<ServiceRecordStatistics>();
|
||||
var stinf = factory.GetServiceRecordStatisticInfo(cb2scOid, DateTime.Now);
|
||||
if (stinf == null)
|
||||
{
|
||||
var statistics = factory.CreateSupportConceptStatisticsImpl(cb2scOid, DateTime.Now);
|
||||
|
||||
if (statistics.PeriodStatistics.Count > 1 && !TimeSpanIsEqual(statistics))
|
||||
ro.Statistics.Add(new ServiceRecordStatistics(statistics));
|
||||
foreach (var dc in statistics.PeriodStatistics)
|
||||
{
|
||||
ro.Statistics.Add(new ServiceRecordStatistics(statistics, dc));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
header.Text1 = "";
|
||||
header.Text2 = "";
|
||||
header.Text3 = "";
|
||||
header.Text4 = "";
|
||||
|
||||
var header = new ServiceRecordStatistics
|
||||
{
|
||||
Text1 = "Bewilligungszeitraum:",
|
||||
Text2 = "Geleistet diese Woche/Gesamt:",
|
||||
Text3 = "Bewilligt pro Woche/Gesamt:",
|
||||
Text4 = "Frei pro Woche(Ø)/Gesamt:"
|
||||
};
|
||||
ro.Statistics.Add(header);
|
||||
|
||||
if (statistics.PeriodStatistics.Count > 1 && !TimeSpanIsEqual(statistics))
|
||||
ro.Statistics.Add(new ServiceRecordStatistics(statistics));
|
||||
foreach (var dc in statistics.PeriodStatistics)
|
||||
{
|
||||
ro.Statistics.Add(new ServiceRecordStatistics(statistics, dc));
|
||||
}
|
||||
if (stinf.Header != null)
|
||||
{
|
||||
if (stinf.Header.Length > 0)
|
||||
{
|
||||
header.Text1 = stinf.Header[0];
|
||||
}
|
||||
if (stinf.Header.Length > 1)
|
||||
{
|
||||
header.Text2 = stinf.Header[1];
|
||||
}
|
||||
if (stinf.Header.Length > 2)
|
||||
{
|
||||
header.Text3 = stinf.Header[2];
|
||||
}
|
||||
if (stinf.Header.Length > 3)
|
||||
{
|
||||
header.Text4 = stinf.Header[3];
|
||||
}
|
||||
|
||||
}
|
||||
if (stinf.PeriodStatisticInfos != null)
|
||||
{
|
||||
foreach (var psi in stinf.PeriodStatisticInfos)
|
||||
{
|
||||
ro.Statistics.Add(new ServiceRecordStatistics(psi));
|
||||
}
|
||||
}
|
||||
//if (statistics.PeriodStatistics.Count > 1 && !TimeSpanIsEqual(statistics))
|
||||
// ro.Statistics.Add(new ServiceRecordStatistics(statistics));
|
||||
//foreach (var dc in statistics.PeriodStatistics)
|
||||
//{
|
||||
// ro.Statistics.Add(new ServiceRecordStatistics(statistics, dc));
|
||||
//}
|
||||
}
|
||||
}
|
||||
if (eOid != 0 && cOid == 0 && scOid == 0 && cb2scOid == 0)
|
||||
{
|
||||
@@ -410,7 +454,50 @@ namespace BeWo.Report.ReportObjects
|
||||
InitTextValues();
|
||||
}
|
||||
|
||||
private void InitTextValues()
|
||||
public ServiceRecordStatistics(ServiceRecordPeriodStatisticsInfoDC stats)
|
||||
{
|
||||
if (stats.LeftValues != null)
|
||||
{
|
||||
if (stats.LeftValues.Length > 0)
|
||||
{
|
||||
String rv = "";
|
||||
if (stats.RightValues != null && stats.RightValues.Length > 0)
|
||||
{
|
||||
rv = stats.RightValues[0];
|
||||
}
|
||||
Text1 = String.Format("{0} {1}", stats.LeftValues[0], rv);
|
||||
}
|
||||
if (stats.LeftValues.Length > 1)
|
||||
{
|
||||
String rv = "";
|
||||
if (stats.RightValues != null && stats.RightValues.Length > 1)
|
||||
{
|
||||
rv = stats.RightValues[1];
|
||||
}
|
||||
Text2 = String.Format("{0} {1}", stats.LeftValues[1], rv);
|
||||
}
|
||||
if (stats.LeftValues.Length > 2)
|
||||
{
|
||||
String rv = "";
|
||||
if (stats.RightValues != null && stats.RightValues.Length > 2)
|
||||
{
|
||||
rv = stats.RightValues[2];
|
||||
}
|
||||
Text3 = String.Format("{0} {1}", stats.LeftValues[2], rv);
|
||||
}
|
||||
if (stats.LeftValues.Length > 3)
|
||||
{
|
||||
String rv = "";
|
||||
if (stats.RightValues != null && stats.RightValues.Length > 3)
|
||||
{
|
||||
rv = stats.RightValues[3];
|
||||
}
|
||||
Text4 = String.Format("{0} {1}", stats.LeftValues[3], rv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InitTextValues()
|
||||
{
|
||||
Text2 = String.Format("{0:0.00} {1:0.00}", BEProvidedThisWeek, BEProvidedTotalRounded);
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
private List<ServiceDoubleDetail> _ServicesDouble = new List<ServiceDoubleDetail>();
|
||||
|
||||
public long CustomerOid { get; set; }
|
||||
|
||||
public string AbsenceTimes { get; set; }
|
||||
|
||||
public List<AbsenceTime> Abwesenheiten { get; set; }
|
||||
@@ -351,6 +353,7 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
|
||||
var lResult = new ServicesOverviewRO();
|
||||
lResult.CustomerOid = customer.Oid.Value;
|
||||
lResult.Abwesenheiten = new List<AbsenceTime>();
|
||||
lResult.CostBearer2SupportConceptList = new List<CostBearer2SupportConcept>();
|
||||
lResult.Month = ReportHelper.GetMonthName(span.StartDateTime.Month);
|
||||
|
||||
@@ -14,6 +14,8 @@ namespace BeWo.Report.ReportObjects
|
||||
{
|
||||
public class Settlement2RO : AbstractBeWoReportObject<Settlement2RO>
|
||||
{
|
||||
public long? InvoiceBaseOid { get; set; }
|
||||
|
||||
public DateTime? AbsenceEndDate1 { get; set; }
|
||||
|
||||
public DateTime? AbsenceEndDate2 { get; set; }
|
||||
@@ -171,6 +173,7 @@ namespace BeWo.Report.ReportObjects
|
||||
public static Settlement2RO Create(Settlement2DC pDC)
|
||||
{
|
||||
var lResult = new Settlement2RO();
|
||||
lResult.InvoiceBaseOid = pDC.InvoiceBaseOid;
|
||||
|
||||
CostBearer2SupportConcept lCb2Sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pDC.CostBearer2SupportConceptOid.Value);
|
||||
Customer lCustomer = lCb2Sc.SupportConcept.Customer;
|
||||
|
||||
@@ -133,11 +133,22 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
// detail.DurationPercentage = dc.DurationPercentage;
|
||||
decimal percentage = 0;
|
||||
if (detail.FLSPerWeekSoll != 0)
|
||||
//if (detail.FLSPerWeekSoll != 0)
|
||||
//{
|
||||
// percentage = (detail.FLSPerWeekIst * 100) / detail.FLSPerWeekSoll;
|
||||
//}
|
||||
|
||||
//decimal percentage2 = 0;
|
||||
if (dc.FLSApprovedTillNow != 0)
|
||||
{
|
||||
percentage = (detail.FLSPerWeekIst * 100) / detail.FLSPerWeekSoll;
|
||||
percentage = (dc.FLSBilledTillNow * 100) / dc.FLSApprovedTillNow;
|
||||
}
|
||||
|
||||
//if (Math.Round(percentage) != Math.Round(percentage2))
|
||||
//{
|
||||
// int test = 0;
|
||||
//}
|
||||
|
||||
detail.DurationPercentage = percentage;
|
||||
|
||||
|
||||
|
||||
1296
ReportImp/AdikKleve/InvoiceCustomerReport.Designer.cs
generated
1296
ReportImp/AdikKleve/InvoiceCustomerReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,11 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared;
|
||||
|
||||
namespace AdikKleve
|
||||
{
|
||||
@@ -19,7 +23,9 @@ namespace AdikKleve
|
||||
lblNotice.Visible = false;
|
||||
}
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
SetFaxNrAndAnsprechpartner(pRO);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !String.IsNullOrEmpty(pRO.RecipientOrganisation.Trim()))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
@@ -47,8 +53,36 @@ namespace AdikKleve
|
||||
sb.Append(pRO.RecipientTown);
|
||||
}
|
||||
lblAddress.Text = sb.ToString();
|
||||
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
|
||||
private void SetFaxNrAndAnsprechpartner(InvoiceCustomerRO pRO)
|
||||
{
|
||||
String fax = null;
|
||||
if (pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
|
||||
{
|
||||
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(pRO.InvoiceBase.RecipientOrganisationOid.Value);
|
||||
|
||||
var contact = org.Contacts.FirstOrDefault(c => c.Type == ContactType.business_Fax);
|
||||
if (contact != null)
|
||||
{
|
||||
fax = contact.Value;
|
||||
}
|
||||
|
||||
//pRO.RecipientContactPerson = c2s.CostBearer.Organisation.
|
||||
}
|
||||
|
||||
if (fax != null)
|
||||
{
|
||||
lblFax.Text = String.Format("Fax: {0}", fax);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFax.Text = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
1533
ReportImp/AdikKleve/ServiceInvoiceReport.Designer.cs
generated
1533
ReportImp/AdikKleve/ServiceInvoiceReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,11 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
using BS.Shared;
|
||||
using DevExpress.XtraReports.UI;
|
||||
|
||||
namespace AdikKleve
|
||||
@@ -15,7 +19,34 @@ namespace AdikKleve
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
SetFaxNrAndAnsprechpartner(pRO);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && !String.IsNullOrEmpty(pRO.RecipientOrganisation.Trim()))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson) && !String.IsNullOrEmpty(pRO.RecipientContactPerson.Trim()))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientContactPerson);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision) && !String.IsNullOrEmpty(pRO.RecipientDivision.Trim()))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientStreet) && !String.IsNullOrEmpty(pRO.RecipientStreet.Trim()))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientStreet);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown) && !String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown.Trim()))
|
||||
{
|
||||
sb.Append(pRO.RecipientPostCodeAndTown);
|
||||
|
||||
}
|
||||
lblAddress.Text = sb.ToString();
|
||||
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
if (start.Month == end.Month && start.Year == end.Year)
|
||||
{
|
||||
@@ -26,7 +57,43 @@ namespace AdikKleve
|
||||
lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
}
|
||||
|
||||
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void SetFaxNrAndAnsprechpartner(ServiceInvoiceRO pRO)
|
||||
{
|
||||
String fax = null;
|
||||
if (pRO.InvoiceBase.RecipientOrganisationOid.HasValue)
|
||||
{
|
||||
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(pRO.InvoiceBase.RecipientOrganisationOid.Value);
|
||||
|
||||
var contact = org.Contacts.FirstOrDefault(c => c.Type == ContactType.business_Fax);
|
||||
if (contact != null)
|
||||
{
|
||||
fax = contact.Value;
|
||||
}
|
||||
|
||||
if (String.IsNullOrWhiteSpace(pRO.RecipientContactPerson))
|
||||
{
|
||||
contact = org.Contacts.FirstOrDefault(c => c.Type == ContactType.ContactPerson);
|
||||
if (contact != null)
|
||||
{
|
||||
pRO.RecipientContactPerson = contact.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (fax != null)
|
||||
{
|
||||
lblFax.Text = String.Format("Fax: {0}", fax);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFax.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
1920
ReportImp/AdikKleve/SettlementReport.Designer.cs
generated
1920
ReportImp/AdikKleve/SettlementReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace AdikKleve.Alt
|
||||
@@ -65,9 +67,9 @@ namespace AdikKleve.Alt
|
||||
pRO.RateFactorText2 = null;
|
||||
}
|
||||
}
|
||||
|
||||
SetFaxNrAndAnsprechpartner(pRO);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private String GetCustomerId(SettlementRO pRO)
|
||||
@@ -206,5 +208,38 @@ namespace AdikKleve.Alt
|
||||
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
|
||||
}
|
||||
}
|
||||
|
||||
private void SetFaxNrAndAnsprechpartner(SettlementRO pRO)
|
||||
{
|
||||
String fax = null;
|
||||
if (pRO.CostBearer2SupportConceptOid > 0)
|
||||
{
|
||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
|
||||
|
||||
var contact = c2s.CostBearer.Organisation.Contacts.FirstOrDefault(c => c.Type == ContactType.business_Fax);
|
||||
if (contact != null)
|
||||
{
|
||||
fax = contact.Value;
|
||||
}
|
||||
if (String.IsNullOrWhiteSpace(pRO.RecipientContactPerson))
|
||||
{
|
||||
contact =
|
||||
c2s.CostBearer.Organisation.Contacts.FirstOrDefault(c => c.Type == ContactType.ContactPerson);
|
||||
if (contact != null)
|
||||
{
|
||||
pRO.RecipientContactPerson = contact.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (fax != null)
|
||||
{
|
||||
lblFax.Text = String.Format("Fax: {0}", fax);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFax.Text = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1744
ReportImp/AdikKleve/SettlementReport2.Designer.cs
generated
1744
ReportImp/AdikKleve/SettlementReport2.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -2,9 +2,13 @@ using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using BS.Shared;
|
||||
|
||||
namespace AdikKleve
|
||||
{
|
||||
@@ -33,7 +37,47 @@ namespace AdikKleve
|
||||
}
|
||||
pRO.RateFactor = (double)rateFactor;
|
||||
|
||||
SetFaxNrAndAnsprechpartner(pRO);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void SetFaxNrAndAnsprechpartner(Settlement2RO pRO)
|
||||
{
|
||||
String fax = null;
|
||||
if (pRO.InvoiceBaseOid.HasValue)
|
||||
{
|
||||
var ib = DAOFactory.GenericDAO.LoadByID<InvoiceBase>(pRO.InvoiceBaseOid.Value);
|
||||
|
||||
if (ib.RecipientOrganisationOid.HasValue)
|
||||
{
|
||||
var org = DAOFactory.GenericDAO.LoadByID<Organisation>(ib.RecipientOrganisationOid.Value);
|
||||
|
||||
var contact = org.Contacts.FirstOrDefault(c => c.Type == ContactType.business_Fax);
|
||||
if (contact != null)
|
||||
{
|
||||
fax = contact.Value;
|
||||
}
|
||||
|
||||
if (String.IsNullOrWhiteSpace(pRO.RecipientContactPerson))
|
||||
{
|
||||
contact = org.Contacts.FirstOrDefault(c => c.Type == ContactType.ContactPerson);
|
||||
if (contact != null)
|
||||
{
|
||||
pRO.RecipientContactPerson = contact.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (fax != null)
|
||||
{
|
||||
lblFax.Text = String.Format("Fax: {0}", fax);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFax.Text = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ApiHomeContentGenerator.cs" />
|
||||
<Compile Include="ApiMitarbeiterstundenkontoBerechnung.cs" />
|
||||
<Compile Include="Calculations\CustomCalculations.cs" />
|
||||
<Compile Include="Mitarbeiterstundenkonto.cs">
|
||||
|
||||
@@ -121,9 +121,15 @@
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReport.designer.cs">
|
||||
<Compile Include="ServicesOverviewReport.Designer.cs">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReportAlt.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReportAlt.designer.cs">
|
||||
<DependentUpon>ServicesOverviewReportAlt.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -149,6 +155,9 @@
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServicesOverviewReportAlt.resx">
|
||||
<DependentUpon>ServicesOverviewReportAlt.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport.resx">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using System.Collections.Generic;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace BeWo.BetreutesWohnenAmRheinReports
|
||||
{
|
||||
@@ -16,7 +13,20 @@ namespace BeWo.BetreutesWohnenAmRheinReports
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
|
||||
foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services)
|
||||
{
|
||||
if (s.IsBillable)
|
||||
servicesBillable.Add(s);
|
||||
}
|
||||
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
13
ReportImp/Club74/SupportConceptReport.Designer.cs
generated
13
ReportImp/Club74/SupportConceptReport.Designer.cs
generated
@@ -348,7 +348,6 @@ namespace BeWo.Club74
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.FLSDifferenceApprovedRecordedTillNow", "{0:0.00}")});
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell29.Text = "xrTableCell29";
|
||||
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell29.Weight = 0.21641117834619475D;
|
||||
//
|
||||
@@ -364,21 +363,15 @@ namespace BeWo.Club74
|
||||
//
|
||||
// ruleNotApprovedAndExpiringNext4Months
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Condition = "[IsApproved] == False And [OpenMonths] < 4";
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Condition = "[FLSDifferenceApprovedRecordedTillNow] <= -5";
|
||||
this.ruleNotApprovedAndExpiringNext4Months.DataMember = "SupportConceptDetailList";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Formatting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||
this.ruleNotApprovedAndExpiringNext4Months.Name = "ruleNotApprovedAndExpiringNext4Months";
|
||||
//
|
||||
// ruleNotApprovedAndExpiringNext8Months
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Condition = "[IsApproved] == False And [OpenMonths] < 8 And [OpenMonths] >= 4";
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Condition = "[FLSDifferenceApprovedRecordedTillNow] >= 5";
|
||||
this.ruleNotApprovedAndExpiringNext8Months.DataMember = "SupportConceptDetailList";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Formatting.BackColor = System.Drawing.Color.LightBlue;
|
||||
this.ruleNotApprovedAndExpiringNext8Months.Name = "ruleNotApprovedAndExpiringNext8Months";
|
||||
//
|
||||
@@ -814,7 +807,7 @@ namespace BeWo.Club74
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "13.1";
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -104,11 +104,23 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="SollIstAuswertung.cs">
|
||||
<Compile Include="Mitarbeiterstundenkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SollIstAuswertung.designer.cs">
|
||||
<DependentUpon>SollIstAuswertung.cs</DependentUpon>
|
||||
<Compile Include="Mitarbeiterstundenkonto.designer.cs">
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SollIstAuswertungMitarbeiter.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SollIstAuswertungMitarbeiter.designer.cs">
|
||||
<DependentUpon>SollIstAuswertungMitarbeiter.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SollIstAuswertungKlienten.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SollIstAuswertungKlienten.designer.cs">
|
||||
<DependentUpon>SollIstAuswertungKlienten.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceInvoiceReport.cs">
|
||||
@@ -123,10 +135,23 @@
|
||||
<Compile Include="SettlementReport.Designer.cs">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Teamstundenkonto.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Teamstundenkonto.designer.cs">
|
||||
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="SollIstAuswertung.resx">
|
||||
<DependentUpon>SollIstAuswertung.cs</DependentUpon>
|
||||
<EmbeddedResource Include="Mitarbeiterstundenkonto.resx">
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SollIstAuswertungMitarbeiter.resx">
|
||||
<DependentUpon>SollIstAuswertungMitarbeiter.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SollIstAuswertungKlienten.resx">
|
||||
<DependentUpon>SollIstAuswertungKlienten.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="ServiceInvoiceReport.resx">
|
||||
@@ -137,6 +162,9 @@
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Teamstundenkonto.resx">
|
||||
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using BS.Shared;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Data.Access;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.Services;
|
||||
using BS.Shared.DataContracts;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
|
||||
namespace FaerberReports
|
||||
{
|
||||
public partial class SollIstAuswertung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<QueryRO>
|
||||
{
|
||||
|
||||
public SollIstAuswertung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(QueryRO pRO)
|
||||
{
|
||||
|
||||
this.bindingSource1.DataSource = CreateDataSource(pRO);
|
||||
}
|
||||
|
||||
private QueryRO CreateDataSource(QueryRO ro)
|
||||
{
|
||||
QueryRO newQueryRo = new QueryRO();
|
||||
DateTime start = DateTime.Now;
|
||||
DateTime end = DateTime.Now;
|
||||
|
||||
if (ro.Rows != null)
|
||||
{
|
||||
|
||||
DateTime.TryParse(ro.Rows[0].Field1.ToString(), out start);
|
||||
if (DateTime.TryParse(ro.Rows[0].Field2.ToString(), out end))
|
||||
{
|
||||
end = end.AddDays(-1);
|
||||
}
|
||||
}
|
||||
|
||||
if (start.Year == end.Year && start.Month == end.Month && start.Day == 1 &&
|
||||
end.Day == DateTime.DaysInMonth(end.Year, end.Month))
|
||||
{
|
||||
lblTitel.Text = String.Format("Auswertung {0:MMMM yyyy}", start);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:MMMM}", start);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:MMMM}", start);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
lblTitel.Text = String.Format("Auswertung {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
|
||||
}
|
||||
|
||||
var financeRO = FinanceRO.Create(start, end);
|
||||
|
||||
|
||||
foreach (var item in financeRO.SupportConceptFinanceList)
|
||||
{
|
||||
QueryRO.Row row = new QueryRO.Row();
|
||||
|
||||
row.Field1 = String.Format("{0}\r\n{1}", item.CustomerName, item.SupportConceptTimeSpanString);
|
||||
row.Field2 = String.Format("{0}", item.CostBearerName);
|
||||
|
||||
row.Field3 = String.Format("{0:0.00}", item.ApprovedHours);
|
||||
row.Field4 = String.Format("{0:0.00}", item.BillableHours);
|
||||
row.Field5 = String.Format("{0:0.00}", item.ApprovedHours - item.BillableHours);
|
||||
|
||||
row.Field6 = String.Format("{0:0.00}", item.ApprovedHoursInReportTimeSpan);
|
||||
row.Field7 = String.Format("{0:0.00}", item.BillableHoursInReportTimeSpan);
|
||||
row.Field8 = String.Format("{0:0.00}", item.ApprovedHoursInReportTimeSpan - item.BillableHoursInReportTimeSpan);
|
||||
|
||||
newQueryRo.Rows.Add(row);
|
||||
}
|
||||
|
||||
|
||||
//newQueryRo.Rows.Sort((a, b) => a.Field1.ToString().CompareTo(b.Field1));
|
||||
|
||||
return newQueryRo;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
510
ReportImp/FaerberReports/SollIstAuswertung.designer.cs
generated
510
ReportImp/FaerberReports/SollIstAuswertung.designer.cs
generated
@@ -1,510 +0,0 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace FaerberReports
|
||||
{
|
||||
partial class SollIstAuswertung
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellBewilligtImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGeleistetImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Expanded = false;
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.Detail1.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.KeepTogetherWithDetailReports = true;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(910F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
this.xrTable2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell16});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")});
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Klient/in";
|
||||
this.xrTableCell6.Weight = 0.70901033395737445D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field2")});
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Mitarbeiter/in";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell7.Weight = 0.66469719162640339D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field3")});
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "FLS";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell8.Weight = 0.44313146794248365D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field4")});
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "Stundensatz";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell9.Weight = 0.44313132812204736D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field5")});
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamt";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell10.Weight = 0.44313159807742203D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field6")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.Text = "xrTableCell14";
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell14.Weight = 0.44313119212314828D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field7")});
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell12.Weight = 0.44313173292745778D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field8")});
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.Text = "xrTableCell16";
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell16.Weight = 0.44313146246147728D;
|
||||
//
|
||||
// lblTitel
|
||||
//
|
||||
this.lblTitel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.lblTitel.Multiline = true;
|
||||
this.lblTitel.Name = "lblTitel";
|
||||
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblTitel.SizeF = new System.Drawing.SizeF(666.9999F, 23F);
|
||||
this.lblTitel.StylePriority.UseFont = false;
|
||||
this.lblTitel.Text = "Auswertung";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupFooter1,
|
||||
this.GroupHeader2});
|
||||
this.DetailReport.DataMember = "Rows";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupHeader2.HeightF = 50F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(910F, 50F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.cellBewilligtImZeitraumHeader,
|
||||
this.cellGeleistetImZeitraumHeader,
|
||||
this.xrTableCell15});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.3953493323567705D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "KlientIn/Hilfeplan";
|
||||
this.xrTableCell1.Weight = 0.70901033395737445D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Kostenträger";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell2.Weight = 0.66469719162640317D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "Bis dato bewilligte FLS";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell3.Weight = 0.44313146794248381D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "Bis dato geleistete FLS";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell4.Weight = 0.44313146335503761D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Differenz";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell5.Weight = 0.44313146284443161D;
|
||||
//
|
||||
// cellBewilligtImZeitraumHeader
|
||||
//
|
||||
this.cellBewilligtImZeitraumHeader.Name = "cellBewilligtImZeitraumHeader";
|
||||
this.cellBewilligtImZeitraumHeader.StylePriority.UseTextAlignment = false;
|
||||
this.cellBewilligtImZeitraumHeader.Text = "bewilligte FLS";
|
||||
this.cellBewilligtImZeitraumHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.cellBewilligtImZeitraumHeader.Weight = 0.44313146258912856D;
|
||||
//
|
||||
// cellGeleistetImZeitraumHeader
|
||||
//
|
||||
this.cellGeleistetImZeitraumHeader.Name = "cellGeleistetImZeitraumHeader";
|
||||
this.cellGeleistetImZeitraumHeader.StylePriority.UseTextAlignment = false;
|
||||
this.cellGeleistetImZeitraumHeader.Text = "geleistete Std.";
|
||||
this.cellGeleistetImZeitraumHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.cellGeleistetImZeitraumHeader.Weight = 0.44313146246147711D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell15.Text = "Differenz";
|
||||
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell15.Weight = 0.44313146246147711D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblTitel});
|
||||
this.ReportHeader.HeightF = 52.08333F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo2.Format = "Seite {0} von {1}";
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(810F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(100F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(160F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// fieldFLS
|
||||
//
|
||||
this.fieldFLS.DataMember = "FLSReportGroups";
|
||||
this.fieldFLS.DataSource = this.bindingSource1;
|
||||
this.fieldFLS.Expression = "[TotalFLM] / 60";
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ReportFooter.HeightF = 31.25F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// SollIstAuswertung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Landscape = true;
|
||||
this.Margins = new System.Drawing.Printing.Margins(100, 60, 50, 30);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.Title,
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblTitel;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellGeleistetImZeitraumHeader;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellBewilligtImZeitraumHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
}
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
<?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>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -88,6 +88,12 @@
|
||||
<Compile Include="SettlementReport.Designer.cs">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport2.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SettlementReport2.Designer.cs">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
@@ -102,6 +108,10 @@
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettlementReport2.resx">
|
||||
<DependentUpon>SettlementReport2.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
|
||||
@@ -315,10 +315,10 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
ro.Nummer = c2S.CustomerReferenceNumber;
|
||||
ro.KlientName = String.Format("{0}, {1}", sc.Customer.Person.LastName, sc.Customer.Person.FirstName);
|
||||
|
||||
Organisation landkreis = GetLandkreis(sc.Customer);
|
||||
Customer2Organisation landkreis = GetLandkreis(sc.Customer);
|
||||
if (landkreis != null)
|
||||
{
|
||||
ro.Landkreis = landkreis.Name;
|
||||
ro.Landkreis = landkreis.Organisation.Name;
|
||||
ro.Bemerkung = landkreis.Notice;
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
return ro;
|
||||
}
|
||||
|
||||
private Organisation GetLandkreis(Customer c)
|
||||
private Customer2Organisation GetLandkreis(Customer c)
|
||||
{
|
||||
foreach (var c2o in c.Customer2OrganisationList)
|
||||
{
|
||||
@@ -367,7 +367,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
if (v2o.Entry.Type == ValueListEntryType.EnvironmentOrganisationType &&
|
||||
v2o.Entry.Value.Contains("Eingliederungshilfe"))
|
||||
{
|
||||
return c2o.Organisation;
|
||||
return c2o;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,6 +101,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
}
|
||||
}
|
||||
|
||||
Dictionary<String, bool> duplicateDict = new Dictionary<String, bool>();
|
||||
|
||||
var scList = DAOFactory.GenericDAO.GetAllActiveAndArchived<SupportConcept>();
|
||||
//var scList = new List<SupportConcept>();
|
||||
@@ -116,8 +117,19 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
if (scap.ServiceCategory != null &&
|
||||
(!serviceCategoryOid.HasValue || serviceCategoryOid == scap.ServiceCategory.Oid))
|
||||
{
|
||||
var row = CreateRow(sc, c2s, scap, reportStart, reportEnde);
|
||||
result.DetailList.Add(row);
|
||||
if (serviceCategoryOid.HasValue || (!serviceCategoryOid.HasValue &&
|
||||
!scap.ServiceCategory.Name.Contains("Eingliederungshilfe")))
|
||||
{
|
||||
String key = String.Format("{0}_{1}", c2s.Oid, scap.ServiceCategory.Oid);
|
||||
|
||||
if (!duplicateDict.ContainsKey(key))
|
||||
{
|
||||
var row = CreateRow(sc, c2s, scap, reportStart, reportEnde);
|
||||
result.DetailList.Add(row);
|
||||
|
||||
duplicateDict.Add(key, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,6 +82,13 @@
|
||||
<DependentUpon>AuswertungEingliederungshilfe.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="AuswertungEingliederungshilfeRO.cs" />
|
||||
<Compile Include="AuswertungFahrtkosten.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AuswertungFahrtkosten.Designer.cs">
|
||||
<DependentUpon>AuswertungFahrtkosten.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="AuswertungFahrtkostenRO.cs" />
|
||||
<Compile Include="Calculations\HphServiceRecordStatisticFactory.cs" />
|
||||
<Compile Include="CustomerDataReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -167,6 +174,9 @@
|
||||
<EmbeddedResource Include="AuswertungEingliederungshilfe.resx">
|
||||
<DependentUpon>AuswertungEingliederungshilfe.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="AuswertungFahrtkosten.resx">
|
||||
<DependentUpon>AuswertungFahrtkosten.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="CustomerDataReport.resx">
|
||||
<DependentUpon>CustomerDataReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.formattingRuleGoalsInvisible = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -42,6 +43,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGoalCaption = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
@@ -52,6 +54,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
@@ -73,9 +76,6 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
@@ -135,6 +135,16 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell2.Weight = 0.8843537414965984D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.DistanceInMeter")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.Text = "xrTableCell14";
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell14.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -202,6 +212,12 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Weight = 0.6802721088435375D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.CanShrink = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// cellGoalCaption
|
||||
//
|
||||
this.cellGoalCaption.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
@@ -302,6 +318,12 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrTableCell7.Text = "Minuten";
|
||||
this.xrTableCell7.Weight = 0.6802721088435375D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "Gefahrene km";
|
||||
this.xrTableCell13.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
@@ -375,7 +397,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
@@ -385,7 +407,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
@@ -395,7 +417,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
@@ -405,7 +427,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
@@ -493,27 +515,6 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.xrLabel3.StylePriority.UseFont = false;
|
||||
this.xrLabel3.Text = "xrLabel3";
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "Gefahrene km";
|
||||
this.xrTableCell13.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.DistanceInMeter")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.Text = "xrTableCell14";
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell14.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Weight = 0.81632653061224492D;
|
||||
//
|
||||
// Leistungen
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -539,7 +540,7 @@ namespace HphBersenbrueckFreizeitUndReisen
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "13.1";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
2743
ReportImp/IntegraReports/SettlementReport.Designer.cs
generated
2743
ReportImp/IntegraReports/SettlementReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -141,6 +141,7 @@ namespace BeWo.IntegraReports
|
||||
this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText15)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
@@ -307,6 +308,7 @@ namespace BeWo.IntegraReports
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo1,
|
||||
this.xrLabel93,
|
||||
this.xrLabel57,
|
||||
this.xrRichText15,
|
||||
@@ -1507,6 +1509,18 @@ namespace BeWo.IntegraReports
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.xrPageInfo1.Format = "Wetter, {0:dd.MM.yyyy}";
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 289.5F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(287F, 23F);
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
this.xrPageInfo1.StylePriority.UseTextAlignment = false;
|
||||
this.xrPageInfo1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -1529,7 +1543,7 @@ namespace BeWo.IntegraReports
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "13.1";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText15)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
@@ -1648,5 +1662,6 @@ namespace BeWo.IntegraReports
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel41;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel40;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
105
ReportImp/KetteReports/QueryListReport.Designer.cs
generated
105
ReportImp/KetteReports/QueryListReport.Designer.cs
generated
@@ -250,10 +250,10 @@ namespace KetteReports
|
||||
this.xrTableCell123 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell124 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell125 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell126 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell120 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell127 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell122 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellAlter1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellAlter2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellAlter3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellAlter4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell128 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell129 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell130 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -353,6 +353,7 @@ namespace KetteReports
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell65 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -367,7 +368,6 @@ namespace KetteReports
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.fieldDifferenz = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
@@ -376,8 +376,8 @@ namespace KetteReports
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -866,7 +866,7 @@ namespace KetteReports
|
||||
// xrTableCell201
|
||||
//
|
||||
this.xrTableCell201.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DetailList.ZugangUeberKontaktstelle")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DetailList.ZugangUeberSeniorenberatung")});
|
||||
this.xrTableCell201.Name = "xrTableCell201";
|
||||
this.xrTableCell201.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell201.Weight = 0.063402822197336436D;
|
||||
@@ -874,7 +874,7 @@ namespace KetteReports
|
||||
// xrTableCell202
|
||||
//
|
||||
this.xrTableCell202.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DetailList.ZugangUeberAndere")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DetailList.ZugangUeberPflegedienst")});
|
||||
this.xrTableCell202.Name = "xrTableCell202";
|
||||
this.xrTableCell202.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell202.Weight = 0.05198112060298575D;
|
||||
@@ -1552,7 +1552,7 @@ namespace KetteReports
|
||||
// xrTableCell266
|
||||
//
|
||||
this.xrTableCell266.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ZugangUeberKontaktstelleCount")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ZugangUeberSeniorenberatungCount")});
|
||||
this.xrTableCell266.Name = "xrTableCell266";
|
||||
this.xrTableCell266.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell266.Weight = 0.063402822197336436D;
|
||||
@@ -1560,7 +1560,7 @@ namespace KetteReports
|
||||
// xrTableCell267
|
||||
//
|
||||
this.xrTableCell267.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ZugangUeberAndereCount")});
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ZugangUeberPflegedienstCount")});
|
||||
this.xrTableCell267.Name = "xrTableCell267";
|
||||
this.xrTableCell267.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell267.Weight = 0.05198355304948863D;
|
||||
@@ -2304,10 +2304,10 @@ namespace KetteReports
|
||||
this.xrTableCell123,
|
||||
this.xrTableCell124,
|
||||
this.xrTableCell125,
|
||||
this.xrTableCell126,
|
||||
this.xrTableCell120,
|
||||
this.xrTableCell127,
|
||||
this.xrTableCell122,
|
||||
this.cellAlter1,
|
||||
this.cellAlter2,
|
||||
this.cellAlter3,
|
||||
this.cellAlter4,
|
||||
this.xrTableCell128,
|
||||
this.xrTableCell129,
|
||||
this.xrTableCell130,
|
||||
@@ -2401,7 +2401,7 @@ namespace KetteReports
|
||||
this.xrTableCell223.BackColor = System.Drawing.Color.LightGray;
|
||||
this.xrTableCell223.Name = "xrTableCell223";
|
||||
this.xrTableCell223.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell223.Text = "ohne festen Wohnsitz";
|
||||
this.xrTableCell223.Text = "ohne Adresse";
|
||||
this.xrTableCell223.Weight = 0.059985997768868919D;
|
||||
//
|
||||
// xrTableCell121
|
||||
@@ -2440,39 +2440,39 @@ namespace KetteReports
|
||||
this.xrTableCell125.Text = "weib-\r\nlich";
|
||||
this.xrTableCell125.Weight = 0.039990666024140434D;
|
||||
//
|
||||
// xrTableCell126
|
||||
// cellAlter1
|
||||
//
|
||||
this.xrTableCell126.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.xrTableCell126.Multiline = true;
|
||||
this.xrTableCell126.Name = "xrTableCell126";
|
||||
this.xrTableCell126.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell126.Text = "u 18";
|
||||
this.xrTableCell126.Weight = 0.039990664904722244D;
|
||||
this.cellAlter1.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.cellAlter1.Multiline = true;
|
||||
this.cellAlter1.Name = "cellAlter1";
|
||||
this.cellAlter1.StylePriority.UseBackColor = false;
|
||||
this.cellAlter1.Text = "u 18";
|
||||
this.cellAlter1.Weight = 0.039990664904722244D;
|
||||
//
|
||||
// xrTableCell120
|
||||
// cellAlter2
|
||||
//
|
||||
this.xrTableCell120.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.xrTableCell120.Name = "xrTableCell120";
|
||||
this.xrTableCell120.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell120.Text = "18-25";
|
||||
this.xrTableCell120.Weight = 0.039990665160847538D;
|
||||
this.cellAlter2.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.cellAlter2.Name = "cellAlter2";
|
||||
this.cellAlter2.StylePriority.UseBackColor = false;
|
||||
this.cellAlter2.Text = "18-25";
|
||||
this.cellAlter2.Weight = 0.039990665160847538D;
|
||||
//
|
||||
// xrTableCell127
|
||||
// cellAlter3
|
||||
//
|
||||
this.xrTableCell127.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.xrTableCell127.Multiline = true;
|
||||
this.xrTableCell127.Name = "xrTableCell127";
|
||||
this.xrTableCell127.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell127.Text = "26-65";
|
||||
this.xrTableCell127.Weight = 0.03999066520177022D;
|
||||
this.cellAlter3.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.cellAlter3.Multiline = true;
|
||||
this.cellAlter3.Name = "cellAlter3";
|
||||
this.cellAlter3.StylePriority.UseBackColor = false;
|
||||
this.cellAlter3.Text = "26-65";
|
||||
this.cellAlter3.Weight = 0.03999066520177022D;
|
||||
//
|
||||
// xrTableCell122
|
||||
// cellAlter4
|
||||
//
|
||||
this.xrTableCell122.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.xrTableCell122.Name = "xrTableCell122";
|
||||
this.xrTableCell122.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell122.Text = "65+";
|
||||
this.xrTableCell122.Weight = 0.039990664604703421D;
|
||||
this.cellAlter4.BackColor = System.Drawing.Color.YellowGreen;
|
||||
this.cellAlter4.Name = "cellAlter4";
|
||||
this.cellAlter4.StylePriority.UseBackColor = false;
|
||||
this.cellAlter4.Text = "65+";
|
||||
this.cellAlter4.Weight = 0.039990664604703421D;
|
||||
//
|
||||
// xrTableCell128
|
||||
//
|
||||
@@ -3141,7 +3141,7 @@ namespace KetteReports
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell15.StylePriority.UseBorders = false;
|
||||
this.xrTableCell15.Text = "Kontakt-stelle";
|
||||
this.xrTableCell15.Text = "Senioren- beratung";
|
||||
this.xrTableCell15.Weight = 0.05598693470285105D;
|
||||
//
|
||||
// xrTableCell19
|
||||
@@ -3150,10 +3150,11 @@ namespace KetteReports
|
||||
this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell19.Multiline = true;
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell19.StylePriority.UseBorders = false;
|
||||
this.xrTableCell19.Text = "andere";
|
||||
this.xrTableCell19.Text = "Pflege-\r\ndienst";
|
||||
this.xrTableCell19.Weight = 0.045902621190025014D;
|
||||
//
|
||||
// xrTableCell11
|
||||
@@ -3447,6 +3448,10 @@ namespace KetteReports
|
||||
this.xrTableCell65.Text = "Abrechnung";
|
||||
this.xrTableCell65.Weight = 0.181426564929897D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(KetteReports.SozPsychErfassungBeratungRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -3567,10 +3572,6 @@ namespace KetteReports
|
||||
this.fieldDifferenz.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldDifferenz.Name = "fieldDifferenz";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(KetteReports.SozPsychErfassungBeratungRO);
|
||||
//
|
||||
// SozPsychErfassungBeratung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -3603,8 +3604,8 @@ namespace KetteReports
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -3785,10 +3786,10 @@ namespace KetteReports
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell123;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell124;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell125;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell126;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell120;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell127;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell122;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellAlter1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellAlter2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellAlter3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellAlter4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell128;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell129;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell130;
|
||||
|
||||
@@ -91,7 +91,8 @@ namespace KetteReports
|
||||
|
||||
result.WohnplatzCount++;
|
||||
}
|
||||
|
||||
|
||||
bool containsNewAngebot = c.VarFieldValueList.Exists(vv => vv.VarFieldDefOid >= 18 && vv.VarFieldDefOid <= 22);
|
||||
|
||||
//ro.Strasse = c.Person.FirstNameLastName;
|
||||
foreach (var vv in c.VarFieldValueList)
|
||||
@@ -99,7 +100,12 @@ namespace KetteReports
|
||||
var varFieldValue = Utils.XMLDeserializeFromString(vv.SerializedValue, Type.GetType(vv.TypeName));
|
||||
|
||||
SetzeNationalitaet(result, ro, vv, varFieldValue);
|
||||
SetzeAngebot(result, ro, vv, varFieldValue);
|
||||
|
||||
if (vv.VarFieldDefOid != 2 || !containsNewAngebot)
|
||||
{
|
||||
SetzeAngebot(result, ro, vv, varFieldValue);
|
||||
}
|
||||
|
||||
SetzeFahrdienst(result, ro, vv, varFieldValue);
|
||||
SetzeLebensumfeld(result, ro, vv, varFieldValue);
|
||||
SetzeErkrankung(result, ro, vv, varFieldValue);
|
||||
@@ -153,26 +159,56 @@ namespace KetteReports
|
||||
alter--;
|
||||
}
|
||||
|
||||
|
||||
if (alter < 18)
|
||||
if (servicecategoryOid == 8)
|
||||
{
|
||||
ro.AlterBis18 = "x";
|
||||
result.AlterBis18Count++;
|
||||
cellAlter1.Text = "unter 60";
|
||||
cellAlter2.Text = "60-70";
|
||||
cellAlter3.Text = "71-80";
|
||||
cellAlter4.Text = "81+";
|
||||
|
||||
if (alter < 60)
|
||||
{
|
||||
ro.AlterBis18 = "x";
|
||||
result.AlterBis18Count++;
|
||||
}
|
||||
else if (alter >= 60 && alter <= 70)
|
||||
{
|
||||
ro.Alter18_25 = "x";
|
||||
result.Alter18_25Count++;
|
||||
}
|
||||
else if (alter >= 71 && alter <= 80)
|
||||
{
|
||||
ro.Alter26_65 = "x";
|
||||
result.Alter26_65Count++;
|
||||
}
|
||||
else if (alter >= 81)
|
||||
{
|
||||
ro.AlterAb65 = "x";
|
||||
result.AlterAb65Count++;
|
||||
}
|
||||
}
|
||||
else if (alter >= 18 && alter <= 25)
|
||||
else
|
||||
{
|
||||
ro.Alter18_25 = "x";
|
||||
result.Alter18_25Count++;
|
||||
}
|
||||
else if (alter >= 26 && alter <= 65)
|
||||
{
|
||||
ro.Alter26_65 = "x";
|
||||
result.Alter26_65Count++;
|
||||
}
|
||||
else if (alter >= 66)
|
||||
{
|
||||
ro.AlterAb65 = "x";
|
||||
result.AlterAb65Count++;
|
||||
if (alter < 18)
|
||||
{
|
||||
ro.AlterBis18 = "x";
|
||||
result.AlterBis18Count++;
|
||||
}
|
||||
else if (alter >= 18 && alter <= 25)
|
||||
{
|
||||
ro.Alter18_25 = "x";
|
||||
result.Alter18_25Count++;
|
||||
}
|
||||
else if (alter >= 26 && alter <= 65)
|
||||
{
|
||||
ro.Alter26_65 = "x";
|
||||
result.Alter26_65Count++;
|
||||
}
|
||||
else if (alter >= 66)
|
||||
{
|
||||
ro.AlterAb65 = "x";
|
||||
result.AlterAb65Count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -475,13 +511,14 @@ namespace KetteReports
|
||||
{
|
||||
if (varFieldValue != null)
|
||||
{
|
||||
String vvStr = varFieldValue.ToString();
|
||||
|
||||
if (vvStr == "True")
|
||||
String vvStr = varFieldValue as String;
|
||||
if (!String.IsNullOrWhiteSpace(vvStr))
|
||||
{
|
||||
result.OhneFestenWohnsitzCount++;
|
||||
ro.OhneFestenWohnsitz = "x";
|
||||
|
||||
ro.OhneFestenWohnsitz = vvStr;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -522,15 +559,15 @@ namespace KetteReports
|
||||
ro.ZugangUeberSelbsthilfe = "x";
|
||||
reportRo.ZugangUeberSelbsthilfeCount++;
|
||||
}
|
||||
else if (angebot == "Kontaktstelle")
|
||||
else if (angebot == "Seniorenberatung")
|
||||
{
|
||||
ro.ZugangUeberKontaktstelle = "x";
|
||||
reportRo.ZugangUeberKontaktstelleCount++;
|
||||
ro.ZugangUeberSeniorenberatung = "x";
|
||||
reportRo.ZugangUeberSeniorenberatungCount++;
|
||||
}
|
||||
else if (angebot == "Andere")
|
||||
else if (angebot == "Pflegedienst")
|
||||
{
|
||||
ro.ZugangUeberAndere = "x";
|
||||
reportRo.ZugangUeberAndereCount++;
|
||||
ro.ZugangUeberPflegedienst = "x";
|
||||
reportRo.ZugangUeberPflegedienstCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -672,6 +709,46 @@ namespace KetteReports
|
||||
}
|
||||
|
||||
}
|
||||
else if (vv.VarFieldDefOid == 18)
|
||||
{
|
||||
if (varFieldValue.ToString() == "True")
|
||||
{
|
||||
ro.AngebotBeratung = "x";
|
||||
reportRo.AngebotBeratungCount++;
|
||||
}
|
||||
}
|
||||
else if (vv.VarFieldDefOid == 19)
|
||||
{
|
||||
if (varFieldValue.ToString() == "True")
|
||||
{
|
||||
ro.AngebotBegleitung = "x";
|
||||
reportRo.AngebotBegleitungCount++;
|
||||
}
|
||||
}
|
||||
else if (vv.VarFieldDefOid == 20)
|
||||
{
|
||||
if (varFieldValue.ToString() == "True")
|
||||
{
|
||||
ro.AngebotKrisenIntervention = "x";
|
||||
reportRo.AngebotKrisenInterventionCount++;
|
||||
}
|
||||
}
|
||||
else if (vv.VarFieldDefOid == 21)
|
||||
{
|
||||
if (varFieldValue.ToString() == "True")
|
||||
{
|
||||
ro.AngebotBeratungAngehoeriger = "x";
|
||||
reportRo.AngebotBeratungAngehoerigerCount++;
|
||||
}
|
||||
}
|
||||
else if (vv.VarFieldDefOid == 22)
|
||||
{
|
||||
if (varFieldValue.ToString() == "True")
|
||||
{
|
||||
ro.AngebotHausbesuch = "x";
|
||||
reportRo.AngebotHausbesuchCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetzeNationalitaet(SozPsychErfassungBeratungRO reportRo, SozPsychErfassungBeratungDetailRO ro, VarFieldValue vv, object varFieldValue)
|
||||
|
||||
@@ -98,9 +98,9 @@ namespace KetteReports
|
||||
|
||||
public int ZugangUeberSelbsthilfeCount { get; set; }
|
||||
|
||||
public int ZugangUeberKontaktstelleCount { get; set; }
|
||||
public int ZugangUeberSeniorenberatungCount { get; set; }
|
||||
|
||||
public int ZugangUeberAndereCount { get; set; }
|
||||
public int ZugangUeberPflegedienstCount { get; set; }
|
||||
|
||||
public int VermittlungLangfristigeBegleitungCount { get; set; }
|
||||
|
||||
@@ -243,9 +243,9 @@ namespace KetteReports
|
||||
|
||||
public String ZugangUeberSelbsthilfe { get; set; }
|
||||
|
||||
public String ZugangUeberKontaktstelle { get; set; }
|
||||
public String ZugangUeberSeniorenberatung { get; set; }
|
||||
|
||||
public String ZugangUeberAndere { get; set; }
|
||||
public String ZugangUeberPflegedienst{ get; set; }
|
||||
|
||||
public String VermittlungLangfristigeBegleitung { get; set; }
|
||||
|
||||
|
||||
@@ -62,7 +62,10 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Calculations\Berechnungen.cs" />
|
||||
<Compile Include="Calculations\LhAhrweilerServiceRecordStatisticFactory.cs" />
|
||||
<Compile Include="Invoicing\LhAhrweilerDefaultInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\LhAhrweilerInvoiceFactory.cs" />
|
||||
<Compile Include="Sammelrechnung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -105,6 +108,7 @@
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -44,6 +44,20 @@ namespace LebenshilfeAhrweiler
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblMonth = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblFlsBewilligung = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblaHBewilligung = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
@@ -67,22 +81,7 @@ namespace LebenshilfeAhrweiler
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblMonth = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.lblaHBewilligung = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblFlsBewilligung = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
@@ -129,9 +128,23 @@ namespace LebenshilfeAhrweiler
|
||||
this.lblAnschrift,
|
||||
this.xrPictureBox1,
|
||||
this.xrLabel13,
|
||||
this.xrLabel5});
|
||||
this.xrLabel5,
|
||||
this.xrLabel9,
|
||||
this.xrLabel8,
|
||||
this.xrLabel18,
|
||||
this.xrLabel22,
|
||||
this.lblMonth,
|
||||
this.xrLabel7,
|
||||
this.xrLabel10,
|
||||
this.xrLabel12,
|
||||
this.xrLabel14,
|
||||
this.xrLabel15,
|
||||
this.xrLabel17,
|
||||
this.xrLabel19,
|
||||
this.lblFlsBewilligung,
|
||||
this.lblaHBewilligung});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.ReportHeader.HeightF = 305F;
|
||||
this.ReportHeader.HeightF = 575F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
@@ -233,6 +246,246 @@ namespace LebenshilfeAhrweiler
|
||||
this.xrLabel5.Text = "Bitte bei Zahlung angeben:";
|
||||
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel9.CanShrink = true;
|
||||
this.xrLabel9.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 305F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(350F, 20F);
|
||||
this.xrLabel9.StylePriority.UseBackColor = false;
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel9.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel9.WordWrap = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 339.1666F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(297.9163F, 34.70837F);
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Rechnung";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel18.CanShrink = true;
|
||||
this.xrLabel18.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 474.1667F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel18.StylePriority.UseBackColor = false;
|
||||
this.xrLabel18.StylePriority.UseBorders = false;
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel18.Text = "Fachleistungsstunde FL";
|
||||
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel18.WordWrap = false;
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel22.CanShrink = true;
|
||||
this.xrLabel22.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 494.1667F);
|
||||
this.xrLabel22.Name = "xrLabel22";
|
||||
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel22.SizeF = new System.Drawing.SizeF(252.083F, 20.00002F);
|
||||
this.xrLabel22.StylePriority.UseBackColor = false;
|
||||
this.xrLabel22.StylePriority.UseFont = false;
|
||||
this.xrLabel22.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel22.Text = "alltagsbegleitende Hilfen aH";
|
||||
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel22.WordWrap = false;
|
||||
//
|
||||
// lblMonth
|
||||
//
|
||||
this.lblMonth.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMonth.CanShrink = true;
|
||||
this.lblMonth.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.lblMonth.LocationFloat = new DevExpress.Utils.PointFloat(0F, 394.1667F);
|
||||
this.lblMonth.Name = "lblMonth";
|
||||
this.lblMonth.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblMonth.SizeF = new System.Drawing.SizeF(635.2083F, 20.00001F);
|
||||
this.lblMonth.StylePriority.UseBackColor = false;
|
||||
this.lblMonth.StylePriority.UseBorders = false;
|
||||
this.lblMonth.StylePriority.UseFont = false;
|
||||
this.lblMonth.StylePriority.UseTextAlignment = false;
|
||||
this.lblMonth.Text = "November 2015";
|
||||
this.lblMonth.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblMonth.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel7.CanShrink = true;
|
||||
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "Sinzig, den {0}")});
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(414.5834F, 305F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(284.4207F, 20F);
|
||||
this.xrLabel7.StylePriority.UseBackColor = false;
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel7.Text = "xrLabel7";
|
||||
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel7.WordWrap = false;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 434.1667F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.CanShrink = true;
|
||||
this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerBirthdate", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 434.1667F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(327.9132F, 20F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "xrLabel12";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel12.WordWrap = false;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel14.CanShrink = true;
|
||||
this.xrLabel14.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 534.1666F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.Text = "Aktenzeichen";
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel14.WordWrap = false;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel15.CanShrink = true;
|
||||
this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 534.1666F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(327.9132F, 20F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel15.WordWrap = false;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.CanShrink = true;
|
||||
this.xrLabel17.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 474.1667F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(147.9172F, 20F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseBorders = false;
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.Text = "Stunden / Monat";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel17.WordWrap = false;
|
||||
//
|
||||
// xrLabel19
|
||||
//
|
||||
this.xrLabel19.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel19.CanShrink = true;
|
||||
this.xrLabel19.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 494.1667F);
|
||||
this.xrLabel19.Name = "xrLabel19";
|
||||
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel19.SizeF = new System.Drawing.SizeF(147.9172F, 20.00002F);
|
||||
this.xrLabel19.StylePriority.UseBackColor = false;
|
||||
this.xrLabel19.StylePriority.UseBorders = false;
|
||||
this.xrLabel19.StylePriority.UseFont = false;
|
||||
this.xrLabel19.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel19.Text = "Stunden / Monat";
|
||||
this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel19.WordWrap = false;
|
||||
//
|
||||
// lblFlsBewilligung
|
||||
//
|
||||
this.lblFlsBewilligung.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblFlsBewilligung.CanShrink = true;
|
||||
this.lblFlsBewilligung.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.lblFlsBewilligung.LocationFloat = new DevExpress.Utils.PointFloat(400F, 474.1667F);
|
||||
this.lblFlsBewilligung.Name = "lblFlsBewilligung";
|
||||
this.lblFlsBewilligung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblFlsBewilligung.SizeF = new System.Drawing.SizeF(147.9172F, 20F);
|
||||
this.lblFlsBewilligung.StylePriority.UseBackColor = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseBorders = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseFont = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseTextAlignment = false;
|
||||
this.lblFlsBewilligung.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblFlsBewilligung.WordWrap = false;
|
||||
//
|
||||
// lblaHBewilligung
|
||||
//
|
||||
this.lblaHBewilligung.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblaHBewilligung.CanShrink = true;
|
||||
this.lblaHBewilligung.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.lblaHBewilligung.LocationFloat = new DevExpress.Utils.PointFloat(400F, 494.1667F);
|
||||
this.lblaHBewilligung.Name = "lblaHBewilligung";
|
||||
this.lblaHBewilligung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblaHBewilligung.SizeF = new System.Drawing.SizeF(147.9172F, 20.00002F);
|
||||
this.lblaHBewilligung.StylePriority.UseBackColor = false;
|
||||
this.lblaHBewilligung.StylePriority.UseBorders = false;
|
||||
this.lblaHBewilligung.StylePriority.UseFont = false;
|
||||
this.lblaHBewilligung.StylePriority.UseTextAlignment = false;
|
||||
this.lblaHBewilligung.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblaHBewilligung.WordWrap = false;
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
@@ -414,263 +667,10 @@ namespace LebenshilfeAhrweiler
|
||||
this.xrTableCell24.Text = "DE47 5709 0000 7126 9250 00";
|
||||
this.xrTableCell24.Weight = 1.3397128409148249D;
|
||||
//
|
||||
// lblMonth
|
||||
//
|
||||
this.lblMonth.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMonth.CanShrink = true;
|
||||
this.lblMonth.LocationFloat = new DevExpress.Utils.PointFloat(0F, 89.99999F);
|
||||
this.lblMonth.Name = "lblMonth";
|
||||
this.lblMonth.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblMonth.SizeF = new System.Drawing.SizeF(635.2083F, 20.00001F);
|
||||
this.lblMonth.StylePriority.UseBackColor = false;
|
||||
this.lblMonth.StylePriority.UseBorders = false;
|
||||
this.lblMonth.StylePriority.UseFont = false;
|
||||
this.lblMonth.StylePriority.UseTextAlignment = false;
|
||||
this.lblMonth.Text = "November 2015";
|
||||
this.lblMonth.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblMonth.WordWrap = false;
|
||||
//
|
||||
// xrLabel18
|
||||
//
|
||||
this.xrLabel18.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel18.CanShrink = true;
|
||||
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 170F);
|
||||
this.xrLabel18.Name = "xrLabel18";
|
||||
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel18.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel18.StylePriority.UseBackColor = false;
|
||||
this.xrLabel18.StylePriority.UseBorders = false;
|
||||
this.xrLabel18.StylePriority.UseFont = false;
|
||||
this.xrLabel18.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel18.Text = "Fachleistungsstunde FL";
|
||||
this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel18.WordWrap = false;
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel22.CanShrink = true;
|
||||
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190F);
|
||||
this.xrLabel22.Name = "xrLabel22";
|
||||
this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel22.SizeF = new System.Drawing.SizeF(252.083F, 20.00002F);
|
||||
this.xrLabel22.StylePriority.UseBackColor = false;
|
||||
this.xrLabel22.StylePriority.UseFont = false;
|
||||
this.xrLabel22.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel22.Text = "alltagsbegleitende Hilfen aH";
|
||||
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel22.WordWrap = false;
|
||||
//
|
||||
// xrLabel8
|
||||
//
|
||||
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.xrLabel8.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35F);
|
||||
this.xrLabel8.Name = "xrLabel8";
|
||||
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel8.SizeF = new System.Drawing.SizeF(297.9163F, 34.70837F);
|
||||
this.xrLabel8.StylePriority.UseBorders = false;
|
||||
this.xrLabel8.StylePriority.UseFont = false;
|
||||
this.xrLabel8.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel8.Text = "Rechnung";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblaHBewilligung,
|
||||
this.lblFlsBewilligung,
|
||||
this.xrLabel19,
|
||||
this.xrLabel17,
|
||||
this.xrLabel15,
|
||||
this.xrLabel14,
|
||||
this.xrLabel12,
|
||||
this.xrLabel10,
|
||||
this.xrLabel9,
|
||||
this.xrLabel7,
|
||||
this.xrLabel8,
|
||||
this.xrLabel22,
|
||||
this.xrLabel18,
|
||||
this.lblMonth});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.GroupHeader1.HeightF = 270F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblaHBewilligung
|
||||
//
|
||||
this.lblaHBewilligung.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblaHBewilligung.CanShrink = true;
|
||||
this.lblaHBewilligung.LocationFloat = new DevExpress.Utils.PointFloat(400F, 190F);
|
||||
this.lblaHBewilligung.Name = "lblaHBewilligung";
|
||||
this.lblaHBewilligung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblaHBewilligung.SizeF = new System.Drawing.SizeF(147.9172F, 20.00002F);
|
||||
this.lblaHBewilligung.StylePriority.UseBackColor = false;
|
||||
this.lblaHBewilligung.StylePriority.UseBorders = false;
|
||||
this.lblaHBewilligung.StylePriority.UseFont = false;
|
||||
this.lblaHBewilligung.StylePriority.UseTextAlignment = false;
|
||||
this.lblaHBewilligung.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblaHBewilligung.WordWrap = false;
|
||||
//
|
||||
// lblFlsBewilligung
|
||||
//
|
||||
this.lblFlsBewilligung.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblFlsBewilligung.CanShrink = true;
|
||||
this.lblFlsBewilligung.LocationFloat = new DevExpress.Utils.PointFloat(400F, 170F);
|
||||
this.lblFlsBewilligung.Name = "lblFlsBewilligung";
|
||||
this.lblFlsBewilligung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblFlsBewilligung.SizeF = new System.Drawing.SizeF(147.9172F, 20F);
|
||||
this.lblFlsBewilligung.StylePriority.UseBackColor = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseBorders = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseFont = false;
|
||||
this.lblFlsBewilligung.StylePriority.UseTextAlignment = false;
|
||||
this.lblFlsBewilligung.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.lblFlsBewilligung.WordWrap = false;
|
||||
//
|
||||
// xrLabel19
|
||||
//
|
||||
this.xrLabel19.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel19.CanShrink = true;
|
||||
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 190F);
|
||||
this.xrLabel19.Name = "xrLabel19";
|
||||
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel19.SizeF = new System.Drawing.SizeF(147.9172F, 20.00002F);
|
||||
this.xrLabel19.StylePriority.UseBackColor = false;
|
||||
this.xrLabel19.StylePriority.UseBorders = false;
|
||||
this.xrLabel19.StylePriority.UseFont = false;
|
||||
this.xrLabel19.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel19.Text = "Stunden / Monat";
|
||||
this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel19.WordWrap = false;
|
||||
//
|
||||
// xrLabel17
|
||||
//
|
||||
this.xrLabel17.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel17.CanShrink = true;
|
||||
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 170F);
|
||||
this.xrLabel17.Name = "xrLabel17";
|
||||
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel17.SizeF = new System.Drawing.SizeF(147.9172F, 20F);
|
||||
this.xrLabel17.StylePriority.UseBackColor = false;
|
||||
this.xrLabel17.StylePriority.UseBorders = false;
|
||||
this.xrLabel17.StylePriority.UseFont = false;
|
||||
this.xrLabel17.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel17.Text = "Stunden / Monat";
|
||||
this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel17.WordWrap = false;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel15.CanShrink = true;
|
||||
this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerReferenceNumber")});
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 230F);
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(327.9132F, 20F);
|
||||
this.xrLabel15.StylePriority.UseBackColor = false;
|
||||
this.xrLabel15.StylePriority.UseBorders = false;
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel15.WordWrap = false;
|
||||
//
|
||||
// xrLabel14
|
||||
//
|
||||
this.xrLabel14.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel14.CanShrink = true;
|
||||
this.xrLabel14.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 230F);
|
||||
this.xrLabel14.Name = "xrLabel14";
|
||||
this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel14.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel14.StylePriority.UseBackColor = false;
|
||||
this.xrLabel14.StylePriority.UseBorders = false;
|
||||
this.xrLabel14.StylePriority.UseFont = false;
|
||||
this.xrLabel14.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel14.Text = "Aktenzeichen";
|
||||
this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel14.WordWrap = false;
|
||||
//
|
||||
// xrLabel12
|
||||
//
|
||||
this.xrLabel12.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel12.CanShrink = true;
|
||||
this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerBirthdate", "{0:dd.MM.yyyy}")});
|
||||
this.xrLabel12.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(252.0828F, 130F);
|
||||
this.xrLabel12.Name = "xrLabel12";
|
||||
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel12.SizeF = new System.Drawing.SizeF(327.9132F, 20F);
|
||||
this.xrLabel12.StylePriority.UseBackColor = false;
|
||||
this.xrLabel12.StylePriority.UseBorders = false;
|
||||
this.xrLabel12.StylePriority.UseFont = false;
|
||||
this.xrLabel12.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel12.Text = "xrLabel12";
|
||||
this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel12.WordWrap = false;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel10.CanShrink = true;
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
|
||||
this.xrLabel10.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 130F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(252.083F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel10.WordWrap = false;
|
||||
//
|
||||
// xrLabel9
|
||||
//
|
||||
this.xrLabel9.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel9.CanShrink = true;
|
||||
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel9.Name = "xrLabel9";
|
||||
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel9.SizeF = new System.Drawing.SizeF(350F, 20F);
|
||||
this.xrLabel9.StylePriority.UseBackColor = false;
|
||||
this.xrLabel9.StylePriority.UseBorders = false;
|
||||
this.xrLabel9.StylePriority.UseFont = false;
|
||||
this.xrLabel9.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel9.Text = "Kosten für Leistungen: Offene Hilfen";
|
||||
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel9.WordWrap = false;
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel7.CanShrink = true;
|
||||
this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "Sinzig, den {0}")});
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(414.5833F, 0F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel7.SizeF = new System.Drawing.SizeF(284.4207F, 20F);
|
||||
this.xrLabel7.StylePriority.UseBackColor = false;
|
||||
this.xrLabel7.StylePriority.UseBorders = false;
|
||||
this.xrLabel7.StylePriority.UseFont = false;
|
||||
this.xrLabel7.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel7.Text = "xrLabel7";
|
||||
this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrLabel7.WordWrap = false;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -809,7 +809,7 @@ namespace LebenshilfeAhrweiler
|
||||
//
|
||||
// xrLabel16
|
||||
//
|
||||
this.xrLabel16.BorderWidth = 3;
|
||||
this.xrLabel16.BorderWidth = 3F;
|
||||
this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim")});
|
||||
this.xrLabel16.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
@@ -976,7 +976,6 @@ namespace LebenshilfeAhrweiler
|
||||
this.ReportHeader,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.GroupHeader1,
|
||||
this.DetailReport});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
@@ -987,7 +986,7 @@ namespace LebenshilfeAhrweiler
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "13.1";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
@@ -1011,7 +1010,6 @@ namespace LebenshilfeAhrweiler
|
||||
private XRLabel xrLabel18;
|
||||
private XRLabel xrLabel22;
|
||||
private XRLabel lblMonth;
|
||||
private GroupHeaderBand GroupHeader1;
|
||||
private DetailReportBand DetailReport;
|
||||
private DetailBand Detail1;
|
||||
private GroupHeaderBand GroupHeader2;
|
||||
|
||||
@@ -19,6 +19,10 @@ namespace LebenshilfeAhrweiler
|
||||
DateTime start = pRO.AccountingPeriodStart;
|
||||
DateTime end = pRO.AccountingPeriodEnd;
|
||||
|
||||
if (pRO.RecipientOrganisation == "Kreisverwaltung Ahrweiler")
|
||||
{
|
||||
pRO.RecipientContactPerson = "Bereich Soziales 2.4";
|
||||
}
|
||||
if (pRO.CustomerSalutation == "Herr")
|
||||
{
|
||||
pRO.CustomerSalutation = "Herrn";
|
||||
|
||||
@@ -13,6 +13,7 @@ using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
using LebenshilfeAhrweiler.Calculations;
|
||||
|
||||
namespace LebenshilfeAhrweiler
|
||||
{
|
||||
@@ -63,17 +64,21 @@ namespace LebenshilfeAhrweiler
|
||||
|
||||
|
||||
//Stunden gesamtBewilligungVormonat = BerechneGesamtBewilligungVormonat(pRO);
|
||||
Stunden bewilligungDiesenMonat = BerechneBewilligungDiesenMonat(pRO);
|
||||
Stunden uebertragVormonat = BerechneUebertragAusVormonaten(pRO);
|
||||
|
||||
Stunden zuLeisten = new Stunden();
|
||||
//Stunden bewilligungDiesenMonat = BerechneBewilligungDiesenMonat(pRO);
|
||||
//Stunden uebertragVormonat = BerechneUebertragAusVormonaten(pRO);
|
||||
|
||||
var c2s = GetCostBearer2SupportConcept(pRO);
|
||||
Stunden bewilligungDiesenMonat = Berechnungen.BerechneBewilligungDiesenMonat(c2s, pRO.StartDate, pRO.EndDate);
|
||||
Stunden uebertragVormonat = Berechnungen.BerechneUebertragAusVormonaten(c2s, pRO.StartDate);
|
||||
|
||||
Stunden zuLeisten = new Stunden();
|
||||
zuLeisten.Fl = bewilligungDiesenMonat.Fl + uebertragVormonat.Fl;
|
||||
zuLeisten.Ah = bewilligungDiesenMonat.Ah + uebertragVormonat.Ah;
|
||||
|
||||
Stunden uebertragNaechstenMonat = new Stunden();
|
||||
|
||||
uebertragNaechstenMonat.Fl = BerechneDifferenz(zuLeisten.Fl, (minutenFl / 60), bewilligungDiesenMonat.Fl);
|
||||
uebertragNaechstenMonat.Ah = BerechneDifferenz(zuLeisten.Ah, (minutenAh / 60), bewilligungDiesenMonat.Ah);
|
||||
uebertragNaechstenMonat.Fl = Berechnungen.BerechneDifferenzMitEinDrittelRegelung(zuLeisten.Fl, (minutenFl / 60), bewilligungDiesenMonat.Fl);
|
||||
uebertragNaechstenMonat.Ah = Berechnungen.BerechneDifferenzMitEinDrittelRegelung(zuLeisten.Ah, (minutenAh / 60), bewilligungDiesenMonat.Ah);
|
||||
|
||||
|
||||
//uebertragNaechstenMonat.Fl = zuLeisten.Fl -
|
||||
@@ -95,320 +100,354 @@ namespace LebenshilfeAhrweiler
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private Stunden BerechneBewilligungDiesenMonat(ServicesOverviewRO pRo)
|
||||
{
|
||||
Stunden std = new Stunden();
|
||||
private CostBearer2SupportConcept GetCostBearer2SupportConcept(ServicesOverviewRO pRo)
|
||||
{
|
||||
if (pRo.CostBearer2SupportConceptList != null && pRo.CostBearer2SupportConceptList.Count > 0)
|
||||
{
|
||||
foreach (var c2s in pRo.CostBearer2SupportConceptList)
|
||||
{
|
||||
if (c2s.StartDate <= pRo.EndDate && c2s.EndDate >= pRo.StartDate)
|
||||
{
|
||||
return c2s;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (pRo.CostBearer2SupportConceptList != null && pRo.CostBearer2SupportConceptList.Count > 0)
|
||||
{
|
||||
var c2s = pRo.CostBearer2SupportConceptList[0];
|
||||
var customer = DAOFactory.GenericDAO.LoadByID<Customer>(pRo.CustomerOid);
|
||||
|
||||
foreach (var scap in c2s.ApprovalPeriodList)
|
||||
{
|
||||
if (scap.ServiceCategory != null)
|
||||
{
|
||||
var bewilligt = BerechneBewilligung(scap, pRo.StartDate, pRo.EndDate);
|
||||
foreach (var sc in customer.SupportConcepts)
|
||||
{
|
||||
if (sc.IsActive != ActivationTypeId.Deleted)
|
||||
{
|
||||
foreach (var c2s in sc.CostBearer2SupportConceptList)
|
||||
{
|
||||
if (c2s.StartDate <= pRo.EndDate && c2s.EndDate >= pRo.StartDate)
|
||||
{
|
||||
return c2s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
if (scap.ServiceCategory.Name == "Direkte Leistung FL")
|
||||
{
|
||||
std.Fl += bewilligt;
|
||||
}
|
||||
else if (scap.ServiceCategory.Name == "Direkte Leistung aH")
|
||||
{
|
||||
std.Ah += bewilligt;
|
||||
}
|
||||
}
|
||||
}
|
||||
// private Stunden BerechneBewilligungDiesenMonat(ServicesOverviewRO pRo)
|
||||
// {
|
||||
// Stunden std = new Stunden();
|
||||
|
||||
//var c2s = GetCostBearer2SupportConcept(pRo);
|
||||
|
||||
Customer c = GetGustomer(pRo);
|
||||
var at = BerechneAbwesenheitsTage(c, pRo.StartDate, pRo.EndDate);
|
||||
// if (c2s != null)
|
||||
// {
|
||||
// foreach (var scap in c2s.ApprovalPeriodList)
|
||||
// {
|
||||
// if (scap.ServiceCategory != null)
|
||||
// {
|
||||
// var bewilligt = BerechneBewilligung(scap, pRo.StartDate, pRo.EndDate);
|
||||
|
||||
if (at > 0)
|
||||
{
|
||||
std.Fl -= (std.Fl / 30) * at;
|
||||
std.Ah -= (std.Ah / 30) * at;
|
||||
// if (scap.ServiceCategory.Name == "Direkte Leistung FL")
|
||||
// {
|
||||
// std.Fl += bewilligt;
|
||||
// }
|
||||
// else if (scap.ServiceCategory.Name == "Direkte Leistung aH")
|
||||
// {
|
||||
// std.Ah += bewilligt;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
if (std.Fl < 0) std.Fl = 0;
|
||||
if (std.Ah < 0) std.Ah = 0;
|
||||
}
|
||||
// Customer c = GetGustomer(pRo);
|
||||
// var at = BerechneAbwesenheitsTage(c, pRo.StartDate, pRo.EndDate);
|
||||
|
||||
// if (at > 0)
|
||||
// {
|
||||
// std.Fl -= (std.Fl / 30) * at;
|
||||
// std.Ah -= (std.Ah / 30) * at;
|
||||
|
||||
// if (std.Fl < 0) std.Fl = 0;
|
||||
// if (std.Ah < 0) std.Ah = 0;
|
||||
// }
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
return std;
|
||||
}
|
||||
// return std;
|
||||
// }
|
||||
|
||||
private Stunden BerechneUebertragAusVormonaten(ServicesOverviewRO pRo)
|
||||
{
|
||||
Stunden std = new Stunden();
|
||||
// private Stunden BerechneUebertragAusVormonaten(ServicesOverviewRO pRo)
|
||||
// {
|
||||
// Stunden std = new Stunden();
|
||||
|
||||
if (pRo.CostBearer2SupportConceptList != null && pRo.CostBearer2SupportConceptList.Count > 0)
|
||||
{
|
||||
var c2s = pRo.CostBearer2SupportConceptList[0];
|
||||
// var c2s = GetCostBearer2SupportConcept(pRo);
|
||||
|
||||
foreach (var scap in c2s.ApprovalPeriodList)
|
||||
{
|
||||
if (scap.ServiceCategory != null && scap.StartDate.HasValue)
|
||||
{
|
||||
var stdVormonat = BerechneUebertragAusVormonaten(pRo, c2s, scap);
|
||||
// if (c2s != null)
|
||||
// {
|
||||
|
||||
std.Fl += stdVormonat.Fl;
|
||||
std.Ah += stdVormonat.Ah;
|
||||
}
|
||||
}
|
||||
}
|
||||
// foreach (var scap in c2s.ApprovalPeriodList)
|
||||
// {
|
||||
// if (scap.ServiceCategory != null && scap.StartDate.HasValue)
|
||||
// {
|
||||
// var stdVormonat = BerechneUebertragAusVormonaten(pRo, c2s, scap);
|
||||
|
||||
return std;
|
||||
}
|
||||
// std.Fl += stdVormonat.Fl;
|
||||
// std.Ah += stdVormonat.Ah;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
private Stunden BerechneUebertragAusVormonaten(ServicesOverviewRO pRo, CostBearer2SupportConcept c2s, SupportConceptApprovalPeriod scap)
|
||||
{
|
||||
Stunden bewilligteStundenKumuliert = new Stunden();
|
||||
Stunden diffVormonat = new Stunden();
|
||||
// return std;
|
||||
// }
|
||||
|
||||
//private Stunden BerechneUebertragAusVormonaten(ServicesOverviewRO pRo, CostBearer2SupportConcept c2s, SupportConceptApprovalPeriod scap)
|
||||
//{
|
||||
// Stunden bewilligteStundenKumuliert = new Stunden();
|
||||
// Stunden diffVormonat = new Stunden();
|
||||
|
||||
|
||||
if (scap.StartDate < pRo.StartDate)
|
||||
{
|
||||
IList<ServiceRecord> allServiceRecords = c2s.ServiceRecords;
|
||||
Customer c = GetGustomer(pRo);
|
||||
// if (scap.StartDate < pRo.StartDate)
|
||||
// {
|
||||
// IList<ServiceRecord> allServiceRecords = c2s.ServiceRecords;
|
||||
// Customer c = GetGustomer(pRo);
|
||||
|
||||
DateTime start = scap.StartDate.Value;
|
||||
DateTime end = pRo.StartDate.AddDays(-1);
|
||||
// DateTime start = scap.StartDate.Value;
|
||||
// DateTime end = pRo.StartDate.AddDays(-1);
|
||||
|
||||
if (scap.EndDate.HasValue && scap.EndDate < end)
|
||||
{
|
||||
end = scap.EndDate.Value;
|
||||
}
|
||||
// if (scap.EndDate.HasValue && scap.EndDate < end)
|
||||
// {
|
||||
// end = scap.EndDate.Value;
|
||||
// }
|
||||
|
||||
while (start <= end)
|
||||
{
|
||||
DateTime monatsEnde = new DateTime(start.Year, start.Month, DateTime.DaysInMonth(start.Year, start.Month));
|
||||
if (end < monatsEnde)
|
||||
{
|
||||
monatsEnde = end;
|
||||
}
|
||||
var bewilligteStunden = BerechneBewilligung(scap, start, monatsEnde);
|
||||
var at = BerechneAbwesenheitsTage(c, start, monatsEnde);
|
||||
// while (start <= end)
|
||||
// {
|
||||
// DateTime monatsEnde = new DateTime(start.Year, start.Month, DateTime.DaysInMonth(start.Year, start.Month));
|
||||
// if (end < monatsEnde)
|
||||
// {
|
||||
// monatsEnde = end;
|
||||
// }
|
||||
// var bewilligteStunden = BerechneBewilligung(scap, start, monatsEnde);
|
||||
// var at = BerechneAbwesenheitsTage(c, start, monatsEnde);
|
||||
|
||||
if (at > 0)
|
||||
{
|
||||
bewilligteStunden -= (bewilligteStunden / 30) * at;
|
||||
}
|
||||
// if (at > 0)
|
||||
// {
|
||||
// bewilligteStunden -= (bewilligteStunden / 30) * at;
|
||||
// }
|
||||
|
||||
var ist = BerechneIst(allServiceRecords, start, monatsEnde);
|
||||
// var ist = BerechneIst(allServiceRecords, start, monatsEnde);
|
||||
|
||||
|
||||
|
||||
if (scap.ServiceCategory.Name == "Direkte Leistung FL")
|
||||
{
|
||||
bewilligteStundenKumuliert.Fl += bewilligteStunden;
|
||||
// if (scap.ServiceCategory.Name == "Direkte Leistung FL")
|
||||
// {
|
||||
// bewilligteStundenKumuliert.Fl += bewilligteStunden;
|
||||
|
||||
diffVormonat.Fl = (bewilligteStunden + diffVormonat.Fl) - ist.Fl;
|
||||
// diffVormonat.Fl = (bewilligteStunden + diffVormonat.Fl) - ist.Fl;
|
||||
|
||||
diffVormonat.Fl = BerechneDifferenz(diffVormonat.Fl, 0, bewilligteStunden);
|
||||
// diffVormonat.Fl = BerechneDifferenz(diffVormonat.Fl, 0, bewilligteStunden);
|
||||
|
||||
}
|
||||
else if (scap.ServiceCategory.Name == "Direkte Leistung aH")
|
||||
{
|
||||
bewilligteStundenKumuliert.Ah += bewilligteStunden;
|
||||
// }
|
||||
// else if (scap.ServiceCategory.Name == "Direkte Leistung aH")
|
||||
// {
|
||||
// bewilligteStundenKumuliert.Ah += bewilligteStunden;
|
||||
|
||||
diffVormonat.Ah = (bewilligteStunden + diffVormonat.Ah) - ist.Ah;
|
||||
// diffVormonat.Ah = (bewilligteStunden + diffVormonat.Ah) - ist.Ah;
|
||||
|
||||
diffVormonat.Ah = BerechneDifferenz(diffVormonat.Ah, 0, bewilligteStunden);
|
||||
// diffVormonat.Ah = BerechneDifferenz(diffVormonat.Ah, 0, bewilligteStunden);
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
start = start.AddMonths(1);
|
||||
start = new DateTime(start.Year, start.Month, 1);
|
||||
}
|
||||
}
|
||||
// start = start.AddMonths(1);
|
||||
// start = new DateTime(start.Year, start.Month, 1);
|
||||
// }
|
||||
// }
|
||||
|
||||
return diffVormonat;
|
||||
}
|
||||
// return diffVormonat;
|
||||
//}
|
||||
|
||||
private decimal BerechneDifferenz(decimal soll, decimal ist, decimal bewilligtMax)
|
||||
// private decimal BerechneDifferenz(decimal soll, decimal ist, decimal bewilligtMax)
|
||||
// {
|
||||
// var diff = soll - ist;
|
||||
|
||||
// if (Math.Abs(diff) > bewilligtMax / 3)
|
||||
// {
|
||||
// if (diff >= 0)
|
||||
// {
|
||||
// diff = bewilligtMax / 3;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// diff = -1 * (bewilligtMax / 3);
|
||||
// }
|
||||
// }
|
||||
|
||||
// return diff;
|
||||
// }
|
||||
|
||||
// private Stunden BerechneIst(IList<ServiceRecord> allServiceRecords, DateTime start, DateTime end)
|
||||
// {
|
||||
// Stunden std = new Stunden();
|
||||
|
||||
// Dictionary<long, bool> groupBookingDict = new Dictionary<long, bool>();
|
||||
// foreach (var item in allServiceRecords)
|
||||
// {
|
||||
// if (!item.GroupOid.HasValue || !groupBookingDict.ContainsKey(item.GroupOid.Value))
|
||||
// {
|
||||
// if (item.Start != null && item.Start >= start && item.Start.Value < end.Date.AddDays(1))
|
||||
// {
|
||||
// if (item.ServiceDescription.Name == "FL-Stunde")
|
||||
// {
|
||||
// std.Fl += item.RoundedDuration;
|
||||
// }
|
||||
// else if (item.ServiceDescription.Name == "AH-Stunde")
|
||||
// {
|
||||
// std.Ah += item.RoundedDuration;
|
||||
// }
|
||||
|
||||
// if (item.GroupOid.HasValue)
|
||||
// groupBookingDict.Add(item.GroupOid.Value, true);
|
||||
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// std.Fl /= 60;
|
||||
// std.Ah /= 60;
|
||||
|
||||
// return std;
|
||||
// }
|
||||
|
||||
private Customer GetGustomer(ServicesOverviewRO pRO)
|
||||
{
|
||||
var diff = soll - ist;
|
||||
var c2s = GetCostBearer2SupportConcept(pRO);
|
||||
|
||||
if (Math.Abs(diff) > bewilligtMax / 3)
|
||||
{
|
||||
if (diff >= 0)
|
||||
{
|
||||
diff = bewilligtMax / 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
diff = -1 * (bewilligtMax / 3);
|
||||
}
|
||||
}
|
||||
if (c2s != null)
|
||||
{
|
||||
|
||||
return diff;
|
||||
}
|
||||
|
||||
private Stunden BerechneIst(IList<ServiceRecord> allServiceRecords, DateTime start, DateTime end)
|
||||
{
|
||||
Stunden std = new Stunden();
|
||||
|
||||
Dictionary<long, bool> groupBookingDict = new Dictionary<long, bool>();
|
||||
foreach (var item in allServiceRecords)
|
||||
{
|
||||
if (!item.GroupOid.HasValue || !groupBookingDict.ContainsKey(item.GroupOid.Value))
|
||||
{
|
||||
if (item.Start != null && item.Start >= start && item.Start.Value < end.Date.AddDays(1))
|
||||
{
|
||||
if (item.ServiceDescription.Name == "FL-Stunde")
|
||||
{
|
||||
std.Fl += item.RoundedDuration;
|
||||
}
|
||||
else if (item.ServiceDescription.Name == "AH-Stunde")
|
||||
{
|
||||
std.Ah += item.RoundedDuration;
|
||||
}
|
||||
|
||||
if (item.GroupOid.HasValue)
|
||||
groupBookingDict.Add(item.GroupOid.Value, true);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std.Fl /= 60;
|
||||
std.Ah /= 60;
|
||||
|
||||
return std;
|
||||
}
|
||||
|
||||
private Customer GetGustomer(ServicesOverviewRO pRO)
|
||||
{
|
||||
if (pRO.CostBearer2SupportConceptList != null && pRO.CostBearer2SupportConceptList.Count > 0)
|
||||
{
|
||||
var c2s = pRO.CostBearer2SupportConceptList[0];
|
||||
|
||||
return c2s.SupportConcept.Customer;
|
||||
return c2s.SupportConcept.Customer;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
private decimal BerechneAbwesenheitsTage(Customer customer, DateTime start, DateTime end)
|
||||
{
|
||||
decimal abwesenheit = 0;
|
||||
foreach (var absenceTime in customer.AbsenceTimes)
|
||||
{
|
||||
if (absenceTime.Start.HasValue && absenceTime.Start <= end)
|
||||
{
|
||||
//if (absenceTime.Start < start)
|
||||
//{
|
||||
// DateTimeSpan spanvormonat = new DateTimeSpan();
|
||||
//private decimal BerechneAbwesenheitsTage(Customer customer, DateTime start, DateTime end)
|
||||
//{
|
||||
// decimal abwesenheit = 0;
|
||||
// foreach (var absenceTime in customer.AbsenceTimes)
|
||||
// {
|
||||
// if (absenceTime.Start.HasValue && absenceTime.Start <= end)
|
||||
// {
|
||||
// //if (absenceTime.Start < start)
|
||||
// //{
|
||||
// // DateTimeSpan spanvormonat = new DateTimeSpan();
|
||||
|
||||
// spanvormonat.StartDate = absenceTime.Start.Value;
|
||||
// if (c2s.StartDate.HasValue && c2s.StartDate.Value > spanvormonat.StartDate)
|
||||
// {
|
||||
// spanvormonat.StartDate = c2s.StartDate.Value;
|
||||
// }
|
||||
// // spanvormonat.StartDate = absenceTime.Start.Value;
|
||||
// // if (c2s.StartDate.HasValue && c2s.StartDate.Value > spanvormonat.StartDate)
|
||||
// // {
|
||||
// // spanvormonat.StartDate = c2s.StartDate.Value;
|
||||
// // }
|
||||
|
||||
// spanvormonat.EndDate = pRO.StartDate.AddDays(-1);
|
||||
// // spanvormonat.EndDate = pRO.StartDate.AddDays(-1);
|
||||
|
||||
// if (absenceTime.End.HasValue && absenceTime.End < spanvormonat.EndDate)
|
||||
// {
|
||||
// spanvormonat.EndDate = absenceTime.End.Value;
|
||||
// }
|
||||
// // if (absenceTime.End.HasValue && absenceTime.End < spanvormonat.EndDate)
|
||||
// // {
|
||||
// // spanvormonat.EndDate = absenceTime.End.Value;
|
||||
// // }
|
||||
|
||||
// var daysVormonat = spanvormonat.EndDate.Subtract(spanvormonat.StartDate).Days + 1;
|
||||
// abwesenheitVormonate += daysVormonat;
|
||||
//}
|
||||
// // var daysVormonat = spanvormonat.EndDate.Subtract(spanvormonat.StartDate).Days + 1;
|
||||
// // abwesenheitVormonate += daysVormonat;
|
||||
// //}
|
||||
|
||||
if (absenceTime.Start < end && (!absenceTime.End.HasValue || absenceTime.End >= start))
|
||||
{
|
||||
DateTimeSpan span = new DateTimeSpan();
|
||||
// if (absenceTime.Start < end && (!absenceTime.End.HasValue || absenceTime.End >= start))
|
||||
// {
|
||||
// DateTimeSpan span = new DateTimeSpan();
|
||||
|
||||
span.StartDate = start;
|
||||
if (absenceTime.Start > span.StartDate)
|
||||
{
|
||||
span.StartDate = absenceTime.Start.Value;
|
||||
}
|
||||
span.EndDate = end;
|
||||
// span.StartDate = start;
|
||||
// if (absenceTime.Start > span.StartDate)
|
||||
// {
|
||||
// span.StartDate = absenceTime.Start.Value;
|
||||
// }
|
||||
// span.EndDate = end;
|
||||
|
||||
if (absenceTime.End.HasValue && absenceTime.End < span.EndDate)
|
||||
{
|
||||
span.EndDate = absenceTime.End.Value;
|
||||
}
|
||||
// if (absenceTime.End.HasValue && absenceTime.End < span.EndDate)
|
||||
// {
|
||||
// span.EndDate = absenceTime.End.Value;
|
||||
// }
|
||||
|
||||
|
||||
var days = span.EndDate.Subtract(span.StartDate).Days + 1;
|
||||
abwesenheit += days;
|
||||
}
|
||||
}
|
||||
}
|
||||
// var days = span.EndDate.Subtract(span.StartDate).Days + 1;
|
||||
// abwesenheit += days;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
return abwesenheit;
|
||||
}
|
||||
// return abwesenheit;
|
||||
//}
|
||||
|
||||
private decimal BerechneBewilligung(SupportConceptApprovalPeriod scap, DateTime start, DateTime end)
|
||||
{
|
||||
decimal bewilligt = 0;
|
||||
// private decimal BerechneBewilligung(SupportConceptApprovalPeriod scap, DateTime start, DateTime end)
|
||||
// {
|
||||
// decimal bewilligt = 0;
|
||||
|
||||
if (scap.ApprovedBEPerInterval.HasValue && scap.ApprovedBEInterval.HasValue)
|
||||
{
|
||||
// if (scap.ApprovedBEPerInterval.HasValue && scap.ApprovedBEInterval.HasValue)
|
||||
// {
|
||||
|
||||
if (scap.StartDate <= end && (!scap.EndDate.HasValue || scap.EndDate >= start))
|
||||
{
|
||||
DateTimeSpan span = new DateTimeSpan();
|
||||
// if (scap.StartDate <= end && (!scap.EndDate.HasValue || scap.EndDate >= start))
|
||||
// {
|
||||
// DateTimeSpan span = new DateTimeSpan();
|
||||
|
||||
span.StartDate = start;
|
||||
if (scap.StartDate > span.StartDate)
|
||||
{
|
||||
span.StartDate = scap.StartDate.Value;
|
||||
}
|
||||
span.EndDate = end;
|
||||
// span.StartDate = start;
|
||||
// if (scap.StartDate > span.StartDate)
|
||||
// {
|
||||
// span.StartDate = scap.StartDate.Value;
|
||||
// }
|
||||
// span.EndDate = end;
|
||||
|
||||
if (scap.EndDate < span.EndDate)
|
||||
{
|
||||
span.EndDate = scap.EndDate.Value;
|
||||
}
|
||||
// if (scap.EndDate < span.EndDate)
|
||||
// {
|
||||
// span.EndDate = scap.EndDate.Value;
|
||||
// }
|
||||
|
||||
decimal bpi = scap.ApprovedBEPerInterval.Value;
|
||||
// decimal bpi = scap.ApprovedBEPerInterval.Value;
|
||||
|
||||
switch (scap.ApprovedBEInterval.Value)
|
||||
{
|
||||
case SupportConceptApprovalInterval.Daily:
|
||||
bewilligt = bpi * 30;
|
||||
break;
|
||||
case SupportConceptApprovalInterval.Weekly:
|
||||
bewilligt = bpi * 4.34m;
|
||||
break;
|
||||
case SupportConceptApprovalInterval.Fortnightly:
|
||||
bewilligt = bpi * (4.34m / 2);
|
||||
break;
|
||||
case SupportConceptApprovalInterval.Monthly:
|
||||
bewilligt = bpi;
|
||||
break;
|
||||
case SupportConceptApprovalInterval.Quarterly:
|
||||
bewilligt = bpi / 3m;
|
||||
break;
|
||||
case SupportConceptApprovalInterval.HalfYearly:
|
||||
bewilligt = bpi / 6m;
|
||||
break;
|
||||
case SupportConceptApprovalInterval.Yearly:
|
||||
bewilligt = bpi / 12m;
|
||||
break;
|
||||
// switch (scap.ApprovedBEInterval.Value)
|
||||
// {
|
||||
// case SupportConceptApprovalInterval.Daily:
|
||||
// bewilligt = bpi * 30;
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.Weekly:
|
||||
// bewilligt = bpi * 4.34m;
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.Fortnightly:
|
||||
// bewilligt = bpi * (4.34m / 2);
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.Monthly:
|
||||
// bewilligt = bpi;
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.Quarterly:
|
||||
// bewilligt = bpi / 3m;
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.HalfYearly:
|
||||
// bewilligt = bpi / 6m;
|
||||
// break;
|
||||
// case SupportConceptApprovalInterval.Yearly:
|
||||
// bewilligt = bpi / 12m;
|
||||
// break;
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
int days = (int)span.EndDate.Subtract(span.StartDate).TotalDays + 1;
|
||||
//int days = (int)span.EndDate.Subtract(span.StartDate).TotalDays + 1;
|
||||
|
||||
if (days != DateTime.DaysInMonth(span.StartDate.Year, span.StartDate.Month))
|
||||
{
|
||||
bewilligt = (bewilligt / 30) * days;
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (days != DateTime.DaysInMonth(span.StartDate.Year, span.StartDate.Month))
|
||||
// {
|
||||
// bewilligt = (bewilligt / 30) * days;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
return bewilligt;
|
||||
}
|
||||
// return bewilligt;
|
||||
// }
|
||||
|
||||
private void InitGoalDict(ServicesOverviewRO pRo)
|
||||
{
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Export\CustomCsvExporter.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Invoicing\LHDuisburgDefaultInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\LHDuisburgIaInvoiceCreation.cs" />
|
||||
<Compile Include="Invoicing\LHDuisburgZsblInvoiceCreation.cs" />
|
||||
|
||||
@@ -101,6 +101,7 @@
|
||||
<Compile Include="Teamstundenkonto.designer.cs">
|
||||
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Validation\CustomServiceRecordValidator.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Mitarbeiterstundenkonto.resx">
|
||||
|
||||
@@ -76,6 +76,12 @@
|
||||
<Compile Include="ServiceInvoiceReport.Designer.cs">
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReportJa.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReportJa.Designer.cs">
|
||||
<DependentUpon>ServicesOverviewReportJa.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ServicesOverviewReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -89,6 +95,7 @@
|
||||
<Compile Include="SettlementReport.Designer.cs">
|
||||
<DependentUpon>SettlementReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="InvoiceCustomerReport.resx">
|
||||
@@ -100,6 +107,9 @@
|
||||
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServicesOverviewReportJa.resx">
|
||||
<DependentUpon>ServicesOverviewReportJa.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServicesOverviewReport.resx">
|
||||
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace SPZLeverkusen
|
||||
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblBemerkung = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -103,9 +103,6 @@ namespace SPZLeverkusen
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
|
||||
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
|
||||
//
|
||||
@@ -299,16 +296,16 @@ namespace SPZLeverkusen
|
||||
this.xrLabel8.Text = "xrLabel8";
|
||||
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrLabel15
|
||||
// lblBemerkung
|
||||
//
|
||||
this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95F);
|
||||
this.xrLabel15.Multiline = true;
|
||||
this.xrLabel15.Name = "xrLabel15";
|
||||
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel15.SizeF = new System.Drawing.SizeF(560F, 280.75F);
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.Text = resources.GetString("xrLabel15.Text");
|
||||
this.lblBemerkung.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.lblBemerkung.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.00002F);
|
||||
this.lblBemerkung.Multiline = true;
|
||||
this.lblBemerkung.Name = "lblBemerkung";
|
||||
this.lblBemerkung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblBemerkung.SizeF = new System.Drawing.SizeF(571.4583F, 280.75F);
|
||||
this.lblBemerkung.StylePriority.UseFont = false;
|
||||
this.lblBemerkung.Text = resources.GetString("lblBemerkung.Text");
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
@@ -593,7 +590,7 @@ namespace SPZLeverkusen
|
||||
this.xrLabel19,
|
||||
this.xrLabel6,
|
||||
this.xrLabel1,
|
||||
this.xrLabel15});
|
||||
this.lblBemerkung});
|
||||
this.GroupFooter1.HeightF = 375.75F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
@@ -757,7 +754,7 @@ namespace SPZLeverkusen
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "13.1";
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
@@ -777,7 +774,7 @@ namespace SPZLeverkusen
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblBemerkung;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable5;
|
||||
|
||||
@@ -33,13 +33,13 @@ namespace SPZLeverkusen
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientOrganisation);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientContactPerson);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientDivision))
|
||||
{
|
||||
sb.AppendLine(pRO.RecipientDivision);
|
||||
}
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientStreet))
|
||||
{
|
||||
@@ -64,12 +64,23 @@ namespace SPZLeverkusen
|
||||
}
|
||||
else
|
||||
{
|
||||
txtZeichen.Text = null;
|
||||
txtFachbereich.Text = null;
|
||||
lblZeichen.Text = null;
|
||||
lblFachbereich.Text = null;
|
||||
txtZeichen.Text = pRO.CustomerReferenceNumber;
|
||||
|
||||
if (String.IsNullOrEmpty(txtZeichen.Text))
|
||||
{
|
||||
lblZeichen.Text = null;
|
||||
}
|
||||
|
||||
txtFachbereich.Text = null;
|
||||
lblFachbereich.Text = null;
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && pRO.RecipientOrganisation.Contains("Leverkusen") &&
|
||||
pRO.RecipientOrganisation.Contains("Jugendamt"))
|
||||
{
|
||||
lblBemerkung.Text = lblBemerkung.Text.Replace("Nr. 16e", "Nr. 25");
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrLabel15.Text" xml:space="preserve">
|
||||
<data name="lblBemerkung.Text" xml:space="preserve">
|
||||
<value>Es handelt sich um eine umsatzsteuerfreie Leistung nach
|
||||
§ 4 Nr. 16e Umsatzsteuergesetz.
|
||||
Bitte überweisen Sie den Rechnungsbetrag innerhalb von 14 Tage nach Rechnungsstellung auf unser untenstehendes Konto.
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace BeWo.SeWo
|
||||
|
||||
bool checkMitarbeiter = true;
|
||||
DateTime abfrageMonat = DateTime.Now;
|
||||
long? teamOid = null;
|
||||
|
||||
if (ro.Rows != null && ro.Rows.Count > 0)
|
||||
{
|
||||
@@ -57,7 +58,16 @@ namespace BeWo.SeWo
|
||||
abfrageMonat = dtTemp;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ro.Rows[0].Field3 != null)
|
||||
{
|
||||
long oid = 0;
|
||||
|
||||
if (Int64.TryParse(ro.Rows[0].Field3.ToString(), out oid) && oid > 0)
|
||||
{
|
||||
teamOid = oid;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (checkMitarbeiter)
|
||||
{
|
||||
@@ -81,6 +91,23 @@ namespace BeWo.SeWo
|
||||
|
||||
Dictionary<String, bool> groupOids = new Dictionary<String, bool>();
|
||||
|
||||
List<long> empOids = new List<long>();
|
||||
|
||||
if (teamOid.HasValue && teamOid.Value > 0)
|
||||
{
|
||||
var team = DAOFactory.GenericDAO.LoadByID<Team>(teamOid.Value);
|
||||
foreach (var employee in team.MemberList)
|
||||
{
|
||||
if (!empOids.Contains(employee.Oid.Value))
|
||||
{
|
||||
empOids.Add(employee.Oid.Value);
|
||||
}
|
||||
}
|
||||
if (!empOids.Contains(team.Leader.Oid.Value))
|
||||
{
|
||||
empOids.Add(team.Leader.Oid.Value);
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < srArray.Length - 1; i++)
|
||||
{
|
||||
@@ -90,10 +117,7 @@ namespace BeWo.SeWo
|
||||
ServiceRecord sr1 = srArray[i];
|
||||
ServiceRecord sr2 = srArray[j];
|
||||
|
||||
if ((sr1.Oid == 57462 || sr2.Oid == 57462) && (sr1.Oid == 57461 || sr2.Oid == 57461))
|
||||
{
|
||||
int test = 0;
|
||||
}
|
||||
|
||||
if (sr1.CustomerOid.HasValue && sr2.CustomerOid.HasValue && sr1.EmployeeOid.HasValue && sr2.EmployeeOid.HasValue &&
|
||||
(!sr1.GroupOid.HasValue || !sr2.GroupOid.HasValue || sr1.GroupOid != sr2.GroupOid))
|
||||
{
|
||||
@@ -114,6 +138,13 @@ namespace BeWo.SeWo
|
||||
{
|
||||
check = sr1.CustomerOid == sr2.CustomerOid;
|
||||
}
|
||||
if (check && empOids.Count > 0)
|
||||
{
|
||||
if (!empOids.Contains(sr1.EmployeeOid.Value) && !empOids.Contains(sr2.EmployeeOid.Value))
|
||||
{
|
||||
check = false;
|
||||
}
|
||||
}
|
||||
if (check)
|
||||
{
|
||||
|
||||
@@ -175,7 +206,7 @@ namespace BeWo.SeWo
|
||||
|
||||
CostBearer2SupportConcept c2s1 = overlappingPair.ServiceRecord1.CostBearer2SupportConcept;
|
||||
CostBearer2SupportConcept c2s2 = overlappingPair.ServiceRecord2.CostBearer2SupportConcept;
|
||||
|
||||
|
||||
if (checkMitarbeiter)
|
||||
{
|
||||
row.Field1 = String.Format("{0}\n{1:dd.MM.yy} - {2:dd.MM.yy}", name1, c2s1.StartDate, c2s1.EndDate);
|
||||
@@ -184,17 +215,20 @@ namespace BeWo.SeWo
|
||||
// e1.Person.FirstName, e1.Person.LastName);
|
||||
row.Field2 = String.Format("{0:dd.MM.yy}", overlappingPair.ServiceRecord1.Start);
|
||||
row.Field4 = String.Format("{0:HH:mm} - {1:HH:mm}", overlappingPair.ServiceRecord1.Start, overlappingPair.ServiceRecord1.End);
|
||||
row.Field11 = overlappingPair.ServiceRecord1.ServiceDescription.Name;
|
||||
|
||||
row.Field6 = String.Format("{0}\n{1:dd.MM.yy} - {2:dd.MM.yy}", name2, c2s2.StartDate, c2s2.EndDate);
|
||||
row.Field6 = String.Format("{0}\n{1:dd.MM.yy} - {2:dd.MM.yy}", name2, c2s2.StartDate, c2s2.EndDate);
|
||||
//row.Field7 = String.Format("{0:dd.MM.yy} - {1:dd.MM.yy}", c2s2.StartDate, c2s2.EndDate);
|
||||
//row.Field7 = String.Format("{0:dd.MM.yy HH:mm} - {1:HH:mm}\n{2} {3}", overlappingPair.ServiceRecord2.Start, overlappingPair.ServiceRecord2.End,
|
||||
// e2.Person.FirstName, e2.Person.LastName);
|
||||
row.Field7 = String.Format("{0:dd.MM.yy}", overlappingPair.ServiceRecord2.Start);
|
||||
row.Field8 = String.Format("{0:HH:mm} - {1:HH:mm}", overlappingPair.ServiceRecord2.Start, overlappingPair.ServiceRecord2.End);
|
||||
row.Field12 = overlappingPair.ServiceRecord2.ServiceDescription.Name;
|
||||
|
||||
row.Field3 = String.Format("{0} {1}", e1.Person.FirstName, e1.Person.LastName);
|
||||
row.Field3 = String.Format("{0} {1}", e1.Person.FirstName, e1.Person.LastName);
|
||||
|
||||
|
||||
row.Field10 = String.Format("{1}, {0}_{2:yyyyMMddHHmm}", e1.Person.FirstName, e1.Person.LastName, overlappingPair.ServiceRecord1.Start);
|
||||
row.Field10 = String.Format("{1}, {0}_{2:yyyyMMddHHmm}", e1.Person.FirstName, e1.Person.LastName, overlappingPair.ServiceRecord1.Start);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -204,26 +238,27 @@ namespace BeWo.SeWo
|
||||
|
||||
row.Field2 = String.Format("{0:dd.MM.yy}", overlappingPair.ServiceRecord1.Start);
|
||||
row.Field4 = String.Format("{0:HH:mm} - {1:HH:mm}", overlappingPair.ServiceRecord1.Start, overlappingPair.ServiceRecord1.End);
|
||||
row.Field11 = overlappingPair.ServiceRecord1.ServiceDescription.Name;
|
||||
|
||||
row.Field6 = String.Format("{0} {1}", e2.Person.FirstName, e2.Person.LastName);
|
||||
row.Field6 = String.Format("{0} {1}", e2.Person.FirstName, e2.Person.LastName);
|
||||
|
||||
row.Field7 = String.Format("{0:dd.MM.yy}", overlappingPair.ServiceRecord2.Start);
|
||||
row.Field8 = String.Format("{0:HH:mm} - {1:HH:mm}", overlappingPair.ServiceRecord2.Start, overlappingPair.ServiceRecord2.End);
|
||||
row.Field12 = overlappingPair.ServiceRecord2.ServiceDescription.Name;
|
||||
//row.Field2 = String.Format("{0:dd.MM.yy} - {1:dd.MM.yy}", c2s1.StartDate, c2s1.EndDate);
|
||||
//row.Field2 = String.Format("{0:dd.MM.yy HH:mm} - {1:HH:mm}\n{2} {3}", overlappingPair.ServiceRecord1.Start, overlappingPair.ServiceRecord1.End,
|
||||
// e1.Person.FirstName, e1.Person.LastName);
|
||||
|
||||
//row.Field2 = String.Format("{0:dd.MM.yy} - {1:dd.MM.yy}", c2s1.StartDate, c2s1.EndDate);
|
||||
//row.Field2 = String.Format("{0:dd.MM.yy HH:mm} - {1:HH:mm}\n{2} {3}", overlappingPair.ServiceRecord1.Start, overlappingPair.ServiceRecord1.End,
|
||||
// e1.Person.FirstName, e1.Person.LastName);
|
||||
|
||||
//row.Field6 = String.Format("{0}\n{1:dd.MM.yy} - {2:dd.MM.yy}", name2, c2s2.StartDate, c2s2.EndDate);
|
||||
//row.Field6 = String.Format("{0}\n{1:dd.MM.yy} - {2:dd.MM.yy}", name2, c2s2.StartDate, c2s2.EndDate);
|
||||
//row.Field7 = String.Format("{0:dd.MM.yy HH:mm} - {1:HH:mm}\n{2} {3}", overlappingPair.ServiceRecord2.Start, overlappingPair.ServiceRecord2.End,
|
||||
// e2.Person.FirstName, e2.Person.LastName);
|
||||
|
||||
//row.Field3 = String.Format("{0} {1}", e1.Person.FirstName, e1.Person.LastName);
|
||||
//row.Field3 = String.Format("{0} {1}", e1.Person.FirstName, e1.Person.LastName);
|
||||
|
||||
//cellHeader1.Visible = false;
|
||||
//xrTableRow2.Cells[xrTableRow2.Cells.Count - 1].Visible = false;
|
||||
//cellHeader1.Visible = false;
|
||||
//xrTableRow2.Cells[xrTableRow2.Cells.Count - 1].Visible = false;
|
||||
|
||||
row.Field10 = String.Format("{0}_{1:yyyyMMddHHmm}", name1, overlappingPair.ServiceRecord1.Start);
|
||||
row.Field10 = String.Format("{0}_{1:yyyyMMddHHmm}", name1, overlappingPair.ServiceRecord1.Start);
|
||||
//row.Field10 = name1;
|
||||
}
|
||||
//row.Field10 = String.Format("{0:yyyyMMddHHmm}", overlappingPair.ServiceRecord1.Start);
|
||||
|
||||
787
ReportImp/SeWo/OverlappingServiceRecords.designer.cs
generated
787
ReportImp/SeWo/OverlappingServiceRecords.designer.cs
generated
@@ -29,399 +29,435 @@ namespace BeWo.SeWo
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellHeader1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeader2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderDatum1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeader3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderDatum2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderUhrzeit2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.lblGefunden = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Expanded = false;
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellHeader1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeader2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderDatum1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeader3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderDatum2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellHeaderUhrzeit2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.lblGefunden = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Expanded = false;
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.Detail1.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.KeepTogetherWithDetailReports = true;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
this.Detail1.Font = new System.Drawing.Font("Arial", 9F);
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.KeepTogetherWithDetailReports = true;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(750F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
this.xrTable2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(1050F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
this.xrTable2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell5});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell11});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field3")});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.Weight = 0.66469719401134464D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.Weight = 0.66469719401134464D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")});
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Klient/in";
|
||||
this.xrTableCell6.Weight = 0.66469718772399189D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Klient/in";
|
||||
this.xrTableCell6.Weight = 0.66469718772399189D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field2")});
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Mitarbeiter/in";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell7.Weight = 0.28803544957981908D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Mitarbeiter/in";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell7.Weight = 0.28803544957981908D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field4")});
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.Weight = 0.3766617420465842D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.Weight = 0.3766617420465842D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field11")});
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.Weight = 0.66469746728165391D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field6")});
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "Stundensatz";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell9.Weight = 0.6646972001306084D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "Stundensatz";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell9.Weight = 0.66469692634969291D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field7")});
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamt";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.28803545077228976D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "Gesamt";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell10.Weight = 0.28803545077228976D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field8")});
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "xrTableCell5";
|
||||
this.xrTableCell5.Weight = 0.37666174323905488D;
|
||||
//
|
||||
// lblTitel
|
||||
//
|
||||
this.lblTitel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.lblTitel.Name = "lblTitel";
|
||||
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblTitel.SizeF = new System.Drawing.SizeF(666.9999F, 23F);
|
||||
this.lblTitel.StylePriority.UseFont = false;
|
||||
this.lblTitel.Text = "Überschneidungen in der Zeiterfassung";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "xrTableCell5";
|
||||
this.xrTableCell5.Weight = 0.37666174311140344D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field12")});
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.Text = "xrTableCell11";
|
||||
this.xrTableCell11.Weight = 0.66469719362839D;
|
||||
//
|
||||
// lblTitel
|
||||
//
|
||||
this.lblTitel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.lblTitel.Name = "lblTitel";
|
||||
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblTitel.SizeF = new System.Drawing.SizeF(666.9999F, 23F);
|
||||
this.lblTitel.StylePriority.UseFont = false;
|
||||
this.lblTitel.Text = "Überschneidungen in der Zeiterfassung";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupFooter1,
|
||||
this.GroupHeader2});
|
||||
this.DetailReport.DataMember = "Rows";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.DetailReport.DataMember = "Rows";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.GroupFooter1.HeightF = 0F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupHeader2.HeightF = 40F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.GroupHeader2.HeightF = 40F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTable1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(750F, 40F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(1050F, 40F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.cellHeader1,
|
||||
this.cellHeader2,
|
||||
this.cellHeaderDatum1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell4,
|
||||
this.cellHeader3,
|
||||
this.cellHeaderDatum2,
|
||||
this.cellHeaderUhrzeit2});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.1162794658854165D;
|
||||
//
|
||||
// cellHeader1
|
||||
//
|
||||
this.cellHeader1.Name = "cellHeader1";
|
||||
this.cellHeader1.Text = "cellHeader1";
|
||||
this.cellHeader1.Weight = 0.66469719401134442D;
|
||||
//
|
||||
// cellHeader2
|
||||
//
|
||||
this.cellHeader2.Name = "cellHeader2";
|
||||
this.cellHeader2.Text = "KlientIn/Hilfeplan 1";
|
||||
this.cellHeader2.Weight = 0.664697187723992D;
|
||||
//
|
||||
// cellHeaderDatum1
|
||||
//
|
||||
this.cellHeaderDatum1.Multiline = true;
|
||||
this.cellHeaderDatum1.Name = "cellHeaderDatum1";
|
||||
this.cellHeaderDatum1.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeaderDatum1.Text = "Datum";
|
||||
this.cellHeaderDatum1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeaderDatum1.Weight = 0.28803544957981897D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Uhrzeit";
|
||||
this.xrTableCell2.Weight = 0.37666174204658409D;
|
||||
//
|
||||
// cellHeader3
|
||||
//
|
||||
this.cellHeader3.Name = "cellHeader3";
|
||||
this.cellHeader3.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeader3.Text = "KlientIn/Hilfeplan 2";
|
||||
this.cellHeader3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeader3.Weight = 0.66469720013060862D;
|
||||
//
|
||||
// cellHeaderDatum2
|
||||
//
|
||||
this.cellHeaderDatum2.Multiline = true;
|
||||
this.cellHeaderDatum2.Name = "cellHeaderDatum2";
|
||||
this.cellHeaderDatum2.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeaderDatum2.Text = "Datum";
|
||||
this.cellHeaderDatum2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeaderDatum2.Weight = 0.28803545077228965D;
|
||||
//
|
||||
// cellHeaderUhrzeit2
|
||||
//
|
||||
this.cellHeaderUhrzeit2.Name = "cellHeaderUhrzeit2";
|
||||
this.cellHeaderUhrzeit2.Text = "Uhrzeit";
|
||||
this.cellHeaderUhrzeit2.Weight = 0.37666174323905477D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.cellHeaderUhrzeit2,
|
||||
this.xrTableCell1});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.1162794658854165D;
|
||||
//
|
||||
// cellHeader1
|
||||
//
|
||||
this.cellHeader1.Name = "cellHeader1";
|
||||
this.cellHeader1.Text = "cellHeader1";
|
||||
this.cellHeader1.Weight = 0.66469719401134442D;
|
||||
//
|
||||
// cellHeader2
|
||||
//
|
||||
this.cellHeader2.Name = "cellHeader2";
|
||||
this.cellHeader2.Text = "KlientIn/Hilfeplan 1";
|
||||
this.cellHeader2.Weight = 0.664697187723992D;
|
||||
//
|
||||
// cellHeaderDatum1
|
||||
//
|
||||
this.cellHeaderDatum1.Multiline = true;
|
||||
this.cellHeaderDatum1.Name = "cellHeaderDatum1";
|
||||
this.cellHeaderDatum1.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeaderDatum1.Text = "Datum";
|
||||
this.cellHeaderDatum1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeaderDatum1.Weight = 0.28803544957981897D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Uhrzeit";
|
||||
this.xrTableCell2.Weight = 0.37666174204658409D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Leistung";
|
||||
this.xrTableCell4.Weight = 0.66469719681567352D;
|
||||
//
|
||||
// cellHeader3
|
||||
//
|
||||
this.cellHeader3.Name = "cellHeader3";
|
||||
this.cellHeader3.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeader3.Text = "KlientIn/Hilfeplan 2";
|
||||
this.cellHeader3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeader3.Weight = 0.66469719681567352D;
|
||||
//
|
||||
// cellHeaderDatum2
|
||||
//
|
||||
this.cellHeaderDatum2.Multiline = true;
|
||||
this.cellHeaderDatum2.Name = "cellHeaderDatum2";
|
||||
this.cellHeaderDatum2.StylePriority.UseTextAlignment = false;
|
||||
this.cellHeaderDatum2.Text = "Datum";
|
||||
this.cellHeaderDatum2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.cellHeaderDatum2.Weight = 0.28803545077228954D;
|
||||
//
|
||||
// cellHeaderUhrzeit2
|
||||
//
|
||||
this.cellHeaderUhrzeit2.Name = "cellHeaderUhrzeit2";
|
||||
this.cellHeaderUhrzeit2.Text = "Uhrzeit";
|
||||
this.cellHeaderUhrzeit2.Weight = 0.37666174311140321D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Leistung";
|
||||
this.xrTableCell1.Weight = 0.66469719362838986D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblTitel});
|
||||
this.ReportHeader.HeightF = 52.08333F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.ReportHeader.HeightF = 52.08333F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo2.Format = "Seite {0} von {1}";
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(356F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(374.0001F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(287F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// fieldFLS
|
||||
//
|
||||
this.fieldFLS.DataMember = "FLSReportGroups";
|
||||
this.fieldFLS.DataSource = this.bindingSource1;
|
||||
this.fieldFLS.Expression = "[TotalFLM] / 60";
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo2.Format = "Seite {0} von {1}";
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(900F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(150F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(300F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new System.Drawing.Font("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new System.Drawing.Font("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// fieldFLS
|
||||
//
|
||||
this.fieldFLS.DataMember = "FLSReportGroups";
|
||||
this.fieldFLS.DataSource = this.bindingSource1;
|
||||
this.fieldFLS.Expression = "[TotalFLM] / 60";
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblGefunden});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ReportFooter.HeightF = 33.41665F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblGefunden
|
||||
//
|
||||
this.lblGefunden.LocationFloat = new DevExpress.Utils.PointFloat(0F, 13.20833F);
|
||||
this.lblGefunden.Name = "lblGefunden";
|
||||
this.lblGefunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGefunden.SizeF = new System.Drawing.SizeF(727F, 20.20833F);
|
||||
this.lblGefunden.Text = "Es wurden keine Überschneidungen gefunden.";
|
||||
//
|
||||
// Doppeleintraege
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ReportFooter.HeightF = 33.41666F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// lblGefunden
|
||||
//
|
||||
this.lblGefunden.LocationFloat = new DevExpress.Utils.PointFloat(0F, 13.20833F);
|
||||
this.lblGefunden.Name = "lblGefunden";
|
||||
this.lblGefunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblGefunden.SizeF = new System.Drawing.SizeF(600.0001F, 20.20833F);
|
||||
this.lblGefunden.Text = "Es wurden keine Überschneidungen gefunden.";
|
||||
//
|
||||
// Doppeleintraege
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
@@ -429,22 +465,23 @@ namespace BeWo.SeWo
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.DisplayName = "Doppeleinträge";
|
||||
this.Margins = new System.Drawing.Printing.Margins(40, 35, 50, 30);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.DisplayName = "Doppeleinträge";
|
||||
this.Landscape = true;
|
||||
this.Margins = new System.Drawing.Printing.Margins(60, 35, 50, 30);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.Title,
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
this.Version = "17.1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
@@ -488,5 +525,9 @@ namespace BeWo.SeWo
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellHeaderUhrzeit2;
|
||||
}
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -67,17 +67,17 @@ namespace BeWo.SigncomReports
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -202,8 +202,8 @@ namespace BeWo.SigncomReports
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrRichText1,
|
||||
this.xrPictureBox1,
|
||||
this.xrRichText1,
|
||||
this.xrLabel1,
|
||||
this.xrLabel9,
|
||||
this.xrTable3,
|
||||
@@ -415,7 +415,6 @@ namespace BeWo.SigncomReports
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
this.ruleRateFactorNull.DataSource = this.bindingSource1;
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -498,7 +497,7 @@ namespace BeWo.SigncomReports
|
||||
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell23.BorderWidth = 2;
|
||||
this.xrTableCell23.BorderWidth = 2F;
|
||||
this.xrTableCell23.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
@@ -523,6 +522,13 @@ namespace BeWo.SigncomReports
|
||||
this.bottomMarginBand1.HeightF = 70F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(650.9999F, 70F);
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -544,23 +550,16 @@ namespace BeWo.SigncomReports
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(518F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(133F, 141F);
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(133F, 114.9583F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(237.5F, 141F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(238.5F, 114.9584F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(412.5F, 76.66667F);
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(650.9999F, 70F);
|
||||
//
|
||||
// InvoiceCustomerReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -578,13 +577,13 @@ namespace BeWo.SigncomReports
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "10.2";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -630,8 +629,8 @@ namespace BeWo.SigncomReports
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -125,13 +125,13 @@ namespace BeWo.SigncomReports
|
||||
this.xrRichText1,
|
||||
this.xrPictureBox1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 228.75F;
|
||||
this.ReportHeader.HeightF = 200F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(238.5F, 152.0833F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(238.5F, 114.9584F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(412.5F, 76.66667F);
|
||||
@@ -139,9 +139,9 @@ namespace BeWo.SigncomReports
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(516.9998F, 0F);
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(518F, 1.589457E-05F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(133F, 141F);
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(133F, 114.9583F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// xrLabel8
|
||||
@@ -919,7 +919,7 @@ namespace BeWo.SigncomReports
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
|
||||
this.Version = "10.2";
|
||||
this.Version = "13.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,14 @@ namespace SozialeDiensteNiederrhein
|
||||
{
|
||||
showTeam = true;
|
||||
}
|
||||
else if (ug.Name == "BeWo-Leitung")
|
||||
{
|
||||
showAll = true;
|
||||
}
|
||||
else if (ug.Name == "UNA-Leitung")
|
||||
{
|
||||
showTeam = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Calculations\SdnGroupDurationCalculator.cs" />
|
||||
<Compile Include="CustomSupportConceptAnalysisCreator.cs" />
|
||||
<Compile Include="SDNHomeContentGenerator.cs" />
|
||||
<Compile Include="ServicesOverviewReportAssistenz.cs">
|
||||
<SubType>Component</SubType>
|
||||
|
||||
@@ -14,7 +14,7 @@ using BS.Shared.DataContracts;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.ServiceImplementations;
|
||||
|
||||
namespace BeWo.SozialeDienstleistungenBeckerReports
|
||||
namespace SozialeDienstleistungenBeckerReports
|
||||
{
|
||||
[IDSpecificClass(Identifier = "FlsAuswertungJh")]
|
||||
public partial class FlsAuswertungJh : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<QueryRO>
|
||||
@@ -34,19 +34,41 @@ namespace BeWo.SozialeDienstleistungenBeckerReports
|
||||
private QueryRO CreateDataSource(QueryRO ro)
|
||||
{
|
||||
QueryRO newQueryRo = new QueryRO();
|
||||
DateTime? appointmentDate = null;
|
||||
if (ro.Rows != null)
|
||||
DateTime? start = null;
|
||||
DateTime? ende = null;
|
||||
|
||||
if (ro.Rows != null)
|
||||
{
|
||||
DateTime dt;
|
||||
if (DateTime.TryParse(ro.Rows[0].Field1.ToString(), out dt))
|
||||
if (DateTime.TryParse(ro.Rows[0].Field5.ToString(), out dt))
|
||||
{
|
||||
dt = new DateTime(dt.Year, dt.Month, dt.Day);
|
||||
appointmentDate = dt;
|
||||
|
||||
lblMonat.Text = String.Format("{0:MMMM yyyy}", dt);
|
||||
start = dt;
|
||||
|
||||
}
|
||||
}
|
||||
if (DateTime.TryParse(ro.Rows[0].Field6.ToString(), out dt))
|
||||
{
|
||||
dt = new DateTime(dt.Year, dt.Month, dt.Day);
|
||||
ende = dt;
|
||||
|
||||
}
|
||||
}
|
||||
if (start.HasValue && ende.HasValue)
|
||||
{
|
||||
lblMonat.Text = String.Format("{0:dd.MM.yyyy} - {1:dd.MM.yyyy}", start, ende);
|
||||
}
|
||||
|
||||
Dictionary<String, FlsAuswertungDetailRO> rowDict = new Dictionary<String, FlsAuswertungDetailRO>();
|
||||
|
||||
foreach (var roRow in ro.Rows)
|
||||
{
|
||||
long customeroid = Int64.Parse(roRow.Field1.ToString());
|
||||
String nachname = roRow.Field2.ToString();
|
||||
String vorname = roRow.Field3.ToString();
|
||||
|
||||
long betreuungsartOid = Int64.Parse(roRow.Field4.ToString());
|
||||
|
||||
}
|
||||
var employees = DAOFactory.GenericDAO.GetAllActive<Employee>();
|
||||
Dictionary<long, bool> c2sOids = new Dictionary<long, bool>();
|
||||
|
||||
@@ -65,16 +87,14 @@ namespace BeWo.SozialeDienstleistungenBeckerReports
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//lblGesamtBewilligtFLS.Text = String.Format("{0:#,##0.00}", totalBewilligt);
|
||||
//lblGesamtGeleistetFLS.Text = String.Format("{0:#,##0.00}", totalGeleistet);
|
||||
//lblGesamtEntgeltFLS.Text = String.Format("{0:c}", totalEntgelt);
|
||||
//lblGesamtBezahl.Text = String.Format("{0:c}", totalBezahlt);
|
||||
//lblGesamtDiff.Text = String.Format("{0:c}", totalDiff);
|
||||
|
||||
foreach (var detailRo in rowDict.Values)
|
||||
{
|
||||
var newRow = new QueryRO.Row();
|
||||
newQueryRo.Rows.Add(newRow);
|
||||
newRow.Field1 = detailRo.Mitarbeiter;
|
||||
}
|
||||
|
||||
newQueryRo.Rows.Sort((a, b) => a.Field1.ToString().CompareTo(b.Field1));
|
||||
|
||||
return newQueryRo;
|
||||
@@ -82,14 +102,4 @@ namespace BeWo.SozialeDienstleistungenBeckerReports
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class FlsAuswertung
|
||||
{
|
||||
public decimal SpfhSoll { get; set; }
|
||||
public decimal SpfhIst { get; set; }
|
||||
public decimal SchSoll { get; set; }
|
||||
public decimal SchIst { get; set; }
|
||||
public decimal BewoSoll { get; set; }
|
||||
public decimal BewoIst { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.SozialeDienstleistungenBeckerReports
|
||||
namespace SozialeDienstleistungenBeckerReports
|
||||
{
|
||||
partial class FlsAuswertungJh
|
||||
{
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="FlsAuswertungRO.cs" />
|
||||
<Compile Include="FlsAuswertungJh.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
@@ -61,6 +61,12 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Kassenbestand.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Kassenbestand.designer.cs">
|
||||
<DependentUpon>Kassenbestand.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="InvoiceCustomerReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -102,6 +108,9 @@
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Kassenbestand.resx">
|
||||
<DependentUpon>Kassenbestand.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="InvoiceCustomerReport.resx">
|
||||
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15,16 +15,16 @@ namespace VivatgGmbHReports
|
||||
|
||||
public void SetReportDataSource(ServicesOverviewRO pRO)
|
||||
{
|
||||
var stats = GetStatistics(pRO);
|
||||
if (stats != null)
|
||||
{
|
||||
var free = stats.MinutesFreePerWeek/60;
|
||||
lblFreiProWoche.Text = string.Format("{0:0.##}", free);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFreiProWoche.Text = "";
|
||||
}
|
||||
//var stats = GetStatistics(pRO);
|
||||
// if (stats != null)
|
||||
// {
|
||||
// var free = stats.MinutesFreePerWeek/60;
|
||||
// lblFreiProWoche.Text = string.Format("{0:0.##}", free);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// lblFreiProWoche.Text = "";
|
||||
// }
|
||||
|
||||
if (pRO.Services != null)
|
||||
{
|
||||
|
||||
@@ -45,8 +45,19 @@ namespace ReportingService.ServiceImplementations
|
||||
{
|
||||
var beguenstigter = LoadToBargeldkasseRelatedObject(objectTid, objectOid);
|
||||
|
||||
return CreateReportStream(new KassenbuchReport(), KassenbuchRO.Create(zeitraumStart, zeitraumEnde, bargeldkasse, beguenstigter));
|
||||
}
|
||||
var rc = GetReportCreator() as DefaultReportCreator;
|
||||
|
||||
IBeWoReport<KassenbuchRO> reporttemp = rc.FindReportImp<KassenbuchRO>();
|
||||
if (reporttemp == null)
|
||||
{
|
||||
reporttemp = new KassenbuchReport();
|
||||
|
||||
}
|
||||
reporttemp.SetReportDataSource(KassenbuchRO.Create(zeitraumStart, zeitraumEnde, bargeldkasse, beguenstigter));
|
||||
|
||||
|
||||
return CreateReportStream(reporttemp as XtraReport);
|
||||
}
|
||||
|
||||
public MemoryStream CreateKassenbelegReport(BargeldtransaktionDC transaktion, long objectOid, TableID objectTid)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,6 @@ using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
using DevExpress.XtraCharts.Native;
|
||||
|
||||
namespace BeWo.Service.Invoicing
|
||||
{
|
||||
|
||||
@@ -10,21 +10,31 @@ using BS.Shared.DataContracts.Compact;
|
||||
|
||||
namespace BeWo.Service.Plugins
|
||||
{
|
||||
public class HomeContentGenerator : AbstractIDSpecificDefaultClass<HomeContentGenerator>
|
||||
{
|
||||
public virtual List<CompactPersonDC> GetPersonsHavingBirthday(DateTime birthdayUntil)
|
||||
{
|
||||
return MapperFactory.CompactPersonDC_Person.MapToNewDCs(DAOFactory.SearchDAO.FindPersonsHavingBirthday(birthdayUntil));
|
||||
}
|
||||
|
||||
public virtual List<CompactSupportConceptDC> GetExpiringSupportConcepts(long? employeeOid, DateTime expiredUntil)
|
||||
{
|
||||
return MapperFactory.CompactSupportConceptDC_SupportConcept.MapToNewDCs(DAOFactory.SearchDAO.FindExpiringSupportConcepts(employeeOid, DateTime.Now.Date, expiredUntil));
|
||||
public class HomeContentGenerator : AbstractIDSpecificDefaultClass<HomeContentGenerator>
|
||||
{
|
||||
public virtual List<CompactPersonDC> GetPersonsHavingBirthday(DateTime birthdayUntil)
|
||||
{
|
||||
return MapperFactory.CompactPersonDC_Person.MapToNewDCs(
|
||||
DAOFactory.SearchDAO.FindPersonsHavingBirthday(birthdayUntil));
|
||||
}
|
||||
|
||||
public virtual List<TaskDC> GetTasksForEmployee(long employeeOid)
|
||||
{
|
||||
public virtual List<CompactSupportConceptDC> GetExpiringSupportConcepts(long? employeeOid,
|
||||
DateTime expiredUntil)
|
||||
{
|
||||
return MapperFactory.CompactSupportConceptDC_SupportConcept.MapToNewDCs(
|
||||
DAOFactory.SearchDAO.FindExpiringSupportConcepts(employeeOid, DateTime.Now.Date, expiredUntil));
|
||||
}
|
||||
|
||||
public virtual List<TaskDC> GetTasksForEmployee(long employeeOid)
|
||||
{
|
||||
return MapperFactory.TaskDC_Task.MapToNewDCs(DAOFactory.SearchDAO.FindTasksForEmployee(employeeOid));
|
||||
}
|
||||
}
|
||||
|
||||
public virtual List<CompactSupportConceptDC> GetSupportConceptsWithConferenceDate(long? employeeOid,
|
||||
DateTime conferenceDateUntil)
|
||||
{
|
||||
return MapperFactory.CompactSupportConceptDC_SupportConcept.MapToNewDCs(
|
||||
DAOFactory.SearchDAO.FindSupportConceptsWithConferenceDate(employeeOid, conferenceDateUntil));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "2356097460"; // Lebenshilfe Würzburg
|
||||
//t = "1234567890"; // Präsentationsdatenbank
|
||||
//t = "5687373602"; // LH Duisburg
|
||||
//t = "5509064354"; // LH Duisburg Service Plus
|
||||
//t = "5509064354"; // LH Duisburg Service Plus
|
||||
//t = "5620636022"; // GPZ Biberach
|
||||
//t = "8562233401"; // Sozialwirkstatt Schmitz
|
||||
//t = "1076891970"; // Assistenza
|
||||
@@ -136,30 +136,32 @@ namespace BeWo.Service.Plugins
|
||||
//t = "8947336185"; // Lebenshilfe Ahrweiler
|
||||
//t = "5712358157"; // FINDUS
|
||||
//t = "8828216586"; // Caritas Aachen
|
||||
//t = "7062943632"; // ABW Elsebrock
|
||||
//t = "3956369664"; // LH Wetterau
|
||||
//t = "3984525482"; // API Berlin
|
||||
//t = "9975231461"; // Selwo
|
||||
//t = "8181286349"; // BeWo am Rhein
|
||||
//t = "4595275645"; // Eigenständig
|
||||
//t = "7912635399"; // Prof. Dr. Eggers Stiftung
|
||||
//t = "3549726254"; // Socia
|
||||
//t = "1992495802"; // Monvita
|
||||
//t = "7381352241"; // Ressource e.V.
|
||||
//t = "3607551608"; // Betreuungsbüro Scholz
|
||||
//t = "3104936392"; // B.A.P. Bielefelder Ambulante Pflege
|
||||
//t = "1106039294"; // Hph Bersenbrück ATZ
|
||||
//t = "5562845955"; // Praunheimer Werkstätten
|
||||
//t = "4801617798"; // Severin
|
||||
//t = "1172092025"; // Flingern
|
||||
//t = "3852198843"; // LH Mannheim
|
||||
//t = "9800364930"; // BeWo Leverkusen
|
||||
//t = "4439874912"; //BeWo Sahin
|
||||
//t = "1873138856"; // BUG e.V.
|
||||
//t = "7062943632"; // ABW Elsebrock
|
||||
//t = "3956369664"; // LH Wetterau
|
||||
//t = "3984525482"; // API Berlin
|
||||
//t = "9975231461"; // Selwo
|
||||
//t = "8181286349"; // BeWo am Rhein
|
||||
//t = "4595275645"; // Eigenständig
|
||||
//t = "7912635399"; // Prof. Dr. Eggers Stiftung
|
||||
//t = "3549726254"; // Socia
|
||||
//t = "1992495802"; // Monvita
|
||||
//t = "7381352241"; // Ressource e.V.
|
||||
//t = "3607551608"; // Betreuungsbüro Scholz
|
||||
//t = "3104936392"; // B.A.P. Bielefelder Ambulante Pflege
|
||||
//t = "1106039294"; // Hph Bersenbrück ATZ
|
||||
//t = "5562845955"; // Praunheimer Werkstätten
|
||||
//t = "4801617798"; // Severin
|
||||
//t = "1172092025"; // Flingern
|
||||
//t = "3852198843"; // LH Mannheim
|
||||
//t = "9800364930"; // BeWo Leverkusen
|
||||
//t = "4439874912"; //BeWo Sahin
|
||||
//t = "1873138856"; // BUG e.V.
|
||||
//t = "6463422907"; // Caritas Leverkusen
|
||||
//t = "6149463003"; // Diakonisches Werk Bad Windsheim Neustadt a. d. Aisch
|
||||
//t = "6548202677"; // VKM Aachen SBD
|
||||
|
||||
//t = "7803602698"; // Taubblindendienst
|
||||
//t = "5518600303"; //Wetterleuchten e.V.
|
||||
//t = "4096649015"; // AWO Dortmund
|
||||
return t;
|
||||
#else
|
||||
if (MultitenancyOperationContextExt.Current != null)
|
||||
|
||||
@@ -27,6 +27,10 @@ namespace BeWo.Service.Plugins
|
||||
|
||||
sr.RoundedDuration = roundedDuration;
|
||||
}
|
||||
else
|
||||
{
|
||||
sr.RoundedDuration = (decimal)sr.End.Value.Subtract(sr.Start.Value).TotalMinutes;
|
||||
}
|
||||
}
|
||||
|
||||
internal void CalculateRoundedDuration(ServiceRecordDC newServiceRecord)
|
||||
|
||||
@@ -347,7 +347,7 @@ namespace BeWo.Service.Plugins
|
||||
if (!isGroupRecord)
|
||||
{
|
||||
ServiceRecordValidationResultDC resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, newServiceRecord.Employee.EmployeeOid, rd);
|
||||
if (resultdc != null)
|
||||
if (resultdc != null)
|
||||
result.Add(resultdc);
|
||||
}
|
||||
else if (employeeOids != null)
|
||||
@@ -357,7 +357,8 @@ namespace BeWo.Service.Plugins
|
||||
ServiceRecordValidationResultDC resultdc = null;
|
||||
if (resultdc == null)
|
||||
{
|
||||
resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, employeeOid, rd);
|
||||
resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, employeeOid, grd ?? rd);
|
||||
resultdc = CheckOverlappingEmployeeServiceRecords(newServiceRecord, start, employeeOid, rd);
|
||||
if (resultdc != null)
|
||||
result.Add(resultdc);
|
||||
}
|
||||
@@ -394,58 +395,14 @@ namespace BeWo.Service.Plugins
|
||||
// 4. ApprovedFLSOverspending
|
||||
try
|
||||
{
|
||||
Calculations calc = PluginLoader.FindClass<Calculations>(reldc.CostBearer.CostBearerID) ?? Calculations.GetInstance(reldc.CostBearer.CostBearerID);
|
||||
decimal totalFLSApproved = calc.GetApprovedHoursTotal(reldc, true) ?? 0m;
|
||||
var resultOverspending = CheckApprovedOverspending(reldc, newServiceRecord);
|
||||
if (resultOverspending != null)
|
||||
{
|
||||
result.Add(resultOverspending);
|
||||
}
|
||||
|
||||
if (totalFLSApproved > 0)
|
||||
{
|
||||
//SupportConceptStatisticsDC stats = statistics;
|
||||
//if (stats == null)
|
||||
//{
|
||||
var factory = PluginLoader.FindClass<ServiceRecordStatisticFactory>();
|
||||
|
||||
|
||||
if (factory == null)
|
||||
{
|
||||
factory = new ServiceRecordStatisticFactory();
|
||||
}
|
||||
var stats = factory.CreateSupportConceptStatisticsImpl(cb2ScOid.Value, DateTime.Now, newServiceRecord.ServiceRecordOid);
|
||||
//}
|
||||
|
||||
|
||||
decimal flmTotalRounded = 0;
|
||||
|
||||
SupportConceptPeriodStatisticsDC periodStat = GetStatisticsForServiceRecord(stats, newServiceRecord);
|
||||
if (periodStat != null)
|
||||
{
|
||||
flmTotalRounded = periodStat.MinutesProvidedTotalRounded;
|
||||
}
|
||||
else
|
||||
{
|
||||
flmTotalRounded = stats.MinutesProvidedTotalRounded;
|
||||
}
|
||||
|
||||
decimal totalFLSNew = (flmTotalRounded + rd) / 60;
|
||||
if (totalFLSNew > totalFLSApproved)
|
||||
{
|
||||
if (newServiceRecord.ServiceDescription.Category.IsBillable ||
|
||||
(periodStat != null && periodStat.SupportConceptApprovalPeriod != null && periodStat.SupportConceptApprovalPeriod.ServiceCategory != null))
|
||||
{
|
||||
var dc = new ServiceRecordValidationResultDC
|
||||
{
|
||||
ResultType = ServiceRecordValidationResult.ApprovedFLSOverspending,
|
||||
ApprovedHours = Math.Round(totalFLSApproved, 2, MidpointRounding.AwayFromZero),
|
||||
HoursNew = Math.Round(totalFLSNew, 2, MidpointRounding.AwayFromZero)
|
||||
};
|
||||
|
||||
dc.CustomerName = reldc.SupportConcept.CustomerFullName;
|
||||
result.Add(dc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 3. OutsideOfSupportConcept
|
||||
if (reldc.StartDate.HasValue && reldc.EndDate.HasValue)
|
||||
// 3. OutsideOfSupportConcept
|
||||
if (reldc.StartDate.HasValue && reldc.EndDate.HasValue)
|
||||
if (!start.InBetween(reldc.StartDate.Value, reldc.EndDate.Value, true))
|
||||
{
|
||||
var dc = new ServiceRecordValidationResultDC
|
||||
@@ -523,6 +480,80 @@ namespace BeWo.Service.Plugins
|
||||
return result;
|
||||
}
|
||||
|
||||
public virtual ServiceRecordValidationResultDC CheckApprovedOverspending(SupportConceptCostBearerRelDC reldc, ServiceRecordDC newServiceRecord)
|
||||
{
|
||||
decimal totalFLSApproved = 0;
|
||||
var factory = PluginLoader.FindClass<ServiceRecordStatisticFactory>();
|
||||
SupportConceptStatisticsDC stats = null;
|
||||
|
||||
if (factory == null)
|
||||
{
|
||||
factory = new ServiceRecordStatisticFactory();
|
||||
}
|
||||
|
||||
Calculations calc = PluginLoader.FindClass<Calculations>(reldc.CostBearer.CostBearerID) ?? Calculations.GetInstance(reldc.CostBearer.CostBearerID);
|
||||
//if (reldc.ApprovalPeriodList != null && reldc.ApprovalPeriodList.Count > 1)
|
||||
//{
|
||||
// stats = factory.CreateSupportConceptStatisticsImpl(reldc.CostBearer2SupportConceptOid.Value,
|
||||
// DateTime.Now, newServiceRecord.ServiceRecordOid);
|
||||
// }
|
||||
//else
|
||||
//{
|
||||
totalFLSApproved = calc.GetApprovedHoursTotal(reldc, true) ?? 0m;
|
||||
//}
|
||||
|
||||
|
||||
if (totalFLSApproved > 0)
|
||||
{
|
||||
//SupportConceptStatisticsDC stats = statistics;
|
||||
//if (stats == null)
|
||||
//{
|
||||
if (stats == null)
|
||||
{
|
||||
stats = factory.CreateSupportConceptStatisticsImpl(reldc.CostBearer2SupportConceptOid.Value,
|
||||
DateTime.Now, newServiceRecord.ServiceRecordOid);
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
decimal flmTotalRounded = 0;
|
||||
decimal flmApprovedForPeriod = 0;
|
||||
|
||||
SupportConceptPeriodStatisticsDC periodStat = GetStatisticsForServiceRecord(stats, newServiceRecord);
|
||||
if (periodStat != null)
|
||||
{
|
||||
flmTotalRounded = periodStat.MinutesProvidedTotalRounded;
|
||||
flmApprovedForPeriod = periodStat.MinutesApprovedTotal;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
flmTotalRounded = stats.MinutesProvidedTotalRounded;
|
||||
flmApprovedForPeriod = stats.MinutesApprovedTotal;
|
||||
}
|
||||
|
||||
decimal totalFLSNew = (flmTotalRounded + newServiceRecord.RoundedDuration) / 60;
|
||||
if (flmApprovedForPeriod > 0 && totalFLSNew > (flmApprovedForPeriod / 60))
|
||||
|
||||
{
|
||||
if (newServiceRecord.ServiceDescription.Category.IsBillable ||
|
||||
(periodStat != null && periodStat.SupportConceptApprovalPeriod != null && periodStat.SupportConceptApprovalPeriod.ServiceCategory != null))
|
||||
{
|
||||
var dc = new ServiceRecordValidationResultDC
|
||||
{
|
||||
ResultType = ServiceRecordValidationResult.ApprovedFLSOverspending,
|
||||
ApprovedHours = Math.Round((flmApprovedForPeriod / 60), 2, MidpointRounding.AwayFromZero),
|
||||
HoursNew = Math.Round(totalFLSNew, 2, MidpointRounding.AwayFromZero)
|
||||
};
|
||||
|
||||
dc.CustomerName = reldc.SupportConcept.CustomerFullName;
|
||||
return dc;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual bool CheckZukunft()
|
||||
{
|
||||
return true;
|
||||
|
||||
@@ -16,285 +16,319 @@ using BeWo.Service.Configuration;
|
||||
|
||||
namespace BeWo.Service.Plugins
|
||||
{
|
||||
public class SupportConceptAnalysisCreator : AbstractIDSpecificDefaultClass<SupportConceptAnalysisCreator>
|
||||
{
|
||||
public class SupportConceptAnalysisCreator : AbstractIDSpecificDefaultClass<SupportConceptAnalysisCreator>
|
||||
{
|
||||
public virtual List<SupportConceptOverviewDC> GetSupportConceptAnalysis(IList<long> c2sOids, long? employeeOid, long? teamOid, DateTime? appointedDate,
|
||||
int? expiredMonths, bool showArchivedScs)
|
||||
int? expiredMonths, bool showArchivedScs)
|
||||
{
|
||||
|
||||
DateTime maxDate = appointedDate.HasValue
|
||||
? appointedDate.Value.AddDays(1)
|
||||
: DateTime.MaxValue;
|
||||
|
||||
var lResult = new List<SupportConceptOverviewDC>();
|
||||
DateTime maxDate = appointedDate.HasValue
|
||||
? appointedDate.Value.AddDays(1)
|
||||
: DateTime.MaxValue;
|
||||
|
||||
foreach (var iCb2Sc in DAOFactory.GenericDAO.GetAllActive<CostBearer2SupportConcept>())
|
||||
{
|
||||
var lResult = new List<SupportConceptOverviewDC>();
|
||||
|
||||
foreach (var iCb2Sc in DAOFactory.GenericDAO.GetAllActive<CostBearer2SupportConcept>())
|
||||
{
|
||||
bool cont = AddToResult(iCb2Sc);
|
||||
|
||||
var calc = PluginLoader.FindClass<Calculations>(iCb2Sc.CostBearer.ID) ?? Calculations.GetInstance(iCb2Sc.CostBearer.ID);
|
||||
var iDC = new SupportConceptOverviewDC();
|
||||
if (cont)
|
||||
{
|
||||
var calc = PluginLoader.FindClass<Calculations>(iCb2Sc.CostBearer.ID) ??
|
||||
Calculations.GetInstance(iCb2Sc.CostBearer.ID);
|
||||
var iDC = new SupportConceptOverviewDC();
|
||||
|
||||
iDC.ActivationType = iCb2Sc.SupportConcept.IsActive;
|
||||
if (iDC.ActivationType == ActivationTypeId.Active &&
|
||||
iCb2Sc.SupportConcept.Customer.IsActive != ActivationTypeId.Active)
|
||||
{
|
||||
iDC.ActivationType = iCb2Sc.SupportConcept.Customer.IsActive;
|
||||
}
|
||||
|
||||
bool cont = true;
|
||||
|
||||
if (c2sOids != null)
|
||||
{
|
||||
if (!c2sOids.Contains(iCb2Sc.Oid.Value))
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cont = (showArchivedScs && iDC.ActivationType != ActivationTypeId.Deleted) ||
|
||||
iDC.ActivationType == ActivationTypeId.Active;
|
||||
|
||||
if (cont && employeeOid != null)
|
||||
{
|
||||
bool isRelatedToEmployee = false;
|
||||
foreach (var e2c in iCb2Sc.SupportConcept.Customer.Employee2CustomerList)
|
||||
{
|
||||
if (!isRelatedToEmployee)
|
||||
{
|
||||
if (employeeOid.Value == e2c.EmployeeOid.Value)
|
||||
{
|
||||
isRelatedToEmployee = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!isRelatedToEmployee)
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (cont && expiredMonths.HasValue)
|
||||
{
|
||||
cont = iCb2Sc.EndDate.HasValue &&
|
||||
iCb2Sc.EndDate.Value < DateTime.Now.AddMonths(expiredMonths.Value);
|
||||
}
|
||||
if (cont && teamOid != null)
|
||||
{
|
||||
bool isRelatedToTeam = false;
|
||||
var team = DAOFactory.GenericDAO.LoadByID<Team>(teamOid.Value);
|
||||
Dictionary<long, long> teamMemberOidDict = new Dictionary<long, long>();
|
||||
|
||||
foreach (var member in team.MemberList)
|
||||
{
|
||||
if (!teamMemberOidDict.ContainsKey(member.Oid.Value))
|
||||
{
|
||||
teamMemberOidDict.Add(member.Oid.Value, member.Oid.Value);
|
||||
}
|
||||
//if (team.Leader != null && !teamMemberOidDict.ContainsKey(team.Leader.Oid.Value))
|
||||
//{
|
||||
// teamMemberOidDict.Add(team.Leader.Oid.Value, team.Leader.Oid.Value);
|
||||
//}
|
||||
}
|
||||
foreach (var e2c in iCb2Sc.SupportConcept.Customer.Employee2CustomerList)
|
||||
{
|
||||
if (!isRelatedToTeam)
|
||||
{
|
||||
if (teamMemberOidDict.ContainsKey(e2c.EmployeeOid.Value))
|
||||
{
|
||||
isRelatedToTeam = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!isRelatedToTeam)
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#if DEBUG
|
||||
if (iCb2Sc.Oid.HasValue && !iCb2Sc.Oid.Value.Equals(319))
|
||||
{
|
||||
//cont = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cont)
|
||||
{
|
||||
iDC.CalculationDate = DateTime.Now.Date;
|
||||
iDC.RequestedStartDate = iCb2Sc.RequestedStartDate;
|
||||
iDC.RequestedEndDate = iCb2Sc.RequestedEndDate;
|
||||
iDC.SupportConceptOid = iCb2Sc.SupportConcept.Oid.Value;
|
||||
iDC.CostBearer2SupportConceptOid = iCb2Sc.Oid.Value;
|
||||
iDC.CostBearer = iCb2Sc.CostBearer.Organisation != null
|
||||
? iCb2Sc.CostBearer.Organisation.Name
|
||||
: string.Empty;
|
||||
iDC.CostBearerId = iCb2Sc.CostBearer.ID;
|
||||
iDC.CustomerOid = iCb2Sc.SupportConcept.Customer.Oid.Value;
|
||||
iDC.CustomerFirstName = iCb2Sc.SupportConcept.Customer.Person.FirstName;
|
||||
iDC.CustomerLastName = iCb2Sc.SupportConcept.Customer.Person.LastName;
|
||||
|
||||
var costRates = iCb2Sc.CostBearer.CostRatePeriods.MapToNewDCs();
|
||||
|
||||
iDC.ServiceUnit = costRates.GetCurrentlyValidRate(CostRatePeriodType.MinutesPerServiceUnit);
|
||||
if (iDC.ServiceUnit == null)
|
||||
{
|
||||
iDC.ServiceUnit = new CostRatePeriodDC();
|
||||
iDC.ServiceUnit.CostRateType = CostRatePeriodType.MinutesPerServiceUnit;
|
||||
iDC.ServiceUnit.UnitName = "FLS";
|
||||
iDC.ServiceUnit.CostRateValue = 60;
|
||||
}
|
||||
iDC.CurrentHourlyRate = costRates.GetCurrentlyValidRateValue(CostRatePeriodType.HourlyRate) ?? 0m;
|
||||
iDC.CurrentRateFactor = costRates.GetCurrentlyValidRateValue(CostRatePeriodType.RateFactor) ?? 0m;
|
||||
|
||||
var relDC = iCb2Sc.MapToNewDC();
|
||||
|
||||
DateTime minDate = DateTime.MinValue;
|
||||
if (iCb2Sc.ApprovedStartDate.HasValue)
|
||||
{
|
||||
minDate = iCb2Sc.ApprovedStartDate.Value.Date;
|
||||
}
|
||||
else if (iCb2Sc.RequestedStartDate.HasValue)
|
||||
{
|
||||
minDate = iCb2Sc.RequestedStartDate.Value.Date;
|
||||
}
|
||||
var recordDCs = (from sr in iCb2Sc.ServiceRecords
|
||||
where (sr.Start >= minDate && sr.Start < maxDate)
|
||||
select MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(sr)).ToList();
|
||||
|
||||
|
||||
iDC.FLSRecordedTillNow = calc.GetBillableDurationInMinutes(recordDCs)/60m;
|
||||
|
||||
//var notBillableAbsenceTimes = calc.GetHoursNotBillableDueToAbsenceTimes(relDC, recordDCs,
|
||||
// iCb2Sc.SupportConcept.Customer.GetAbsencesTimesNotBillableWholeWeeks(), false,
|
||||
// false);
|
||||
//var notBillableMoreThanApproved = calc.GetHoursNotBillableDueToMoreThanApproved(relDC, recordDCs,
|
||||
// false, true);
|
||||
|
||||
iDC.FLSBilledTillNow = iDC.FLSRecordedTillNow;
|
||||
//- notBillableAbsenceTimes
|
||||
//- notBillableMoreThanApproved;
|
||||
iDC.ActivationType = iCb2Sc.SupportConcept.IsActive;
|
||||
if (iDC.ActivationType == ActivationTypeId.Active &&
|
||||
iCb2Sc.SupportConcept.Customer.IsActive != ActivationTypeId.Active)
|
||||
{
|
||||
iDC.ActivationType = iCb2Sc.SupportConcept.Customer.IsActive;
|
||||
}
|
||||
|
||||
|
||||
|
||||
decimal lDurationInWeeksTillNow = calc.GetDurationInWeeksTillNow(relDC, appointedDate) ?? 0;
|
||||
decimal lDurationInWeeks = calc.GetDurationInWeeks(relDC) ?? 0;
|
||||
if (c2sOids != null)
|
||||
{
|
||||
if (!c2sOids.Contains(iCb2Sc.Oid.Value))
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cont = (showArchivedScs && iDC.ActivationType != ActivationTypeId.Deleted) ||
|
||||
iDC.ActivationType == ActivationTypeId.Active;
|
||||
|
||||
if (iCb2Sc.Status == CostBearer2SupportConceptStatus.Approved)
|
||||
{
|
||||
iDC.IsApproved = true;
|
||||
if (cont && teamOid != null)
|
||||
{
|
||||
bool isRelatedToTeam = false;
|
||||
|
||||
if (iCb2Sc.ApprovedStartDate != null && iCb2Sc.ApprovedEndDate != null)
|
||||
{
|
||||
iDC.ApprovedStartDate = iCb2Sc.ApprovedStartDate.Value;
|
||||
iDC.ApprovedEndDate = iCb2Sc.ApprovedEndDate.Value;
|
||||
//lDurationInWeeks = Convert.ToDecimal((iDC.ApprovedEndDate.Value - iDC.ApprovedStartDate.Value).Days + 1) / 7;
|
||||
if (iCb2Sc.SupportConcept.Customer.Team2CustomerList.Count == 0)
|
||||
{
|
||||
var team = DAOFactory.GenericDAO.LoadByID<Team>(teamOid.Value);
|
||||
Dictionary<long, long> teamMemberOidDict = new Dictionary<long, long>();
|
||||
|
||||
//lCalcDate = lCalcDate > iCb2Sc.ApprovedEndDate
|
||||
// ? iCb2Sc.ApprovedEndDate.Value.Date.AddDays(1)
|
||||
// : lCalcDate;
|
||||
//lDurationInWeeksTillNow = Convert.ToDecimal((lCalcDate - iCb2Sc.ApprovedStartDate.Value).Days) / 7m;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.IsApproved = false;
|
||||
foreach (var member in team.MemberList)
|
||||
{
|
||||
if (!teamMemberOidDict.ContainsKey(member.Oid.Value))
|
||||
{
|
||||
teamMemberOidDict.Add(member.Oid.Value, member.Oid.Value);
|
||||
}
|
||||
//if (team.Leader != null && !teamMemberOidDict.ContainsKey(team.Leader.Oid.Value))
|
||||
//{
|
||||
// teamMemberOidDict.Add(team.Leader.Oid.Value, team.Leader.Oid.Value);
|
||||
//}
|
||||
}
|
||||
foreach (var e2c in iCb2Sc.SupportConcept.Customer.Employee2CustomerList)
|
||||
{
|
||||
if (!isRelatedToTeam)
|
||||
{
|
||||
if (teamMemberOidDict.ContainsKey(e2c.EmployeeOid.Value))
|
||||
{
|
||||
isRelatedToTeam = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var team2Customer in iCb2Sc.SupportConcept.Customer.Team2CustomerList)
|
||||
{
|
||||
if (team2Customer.TeamOid == teamOid)
|
||||
{
|
||||
isRelatedToTeam = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isRelatedToTeam)
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
|
||||
//if (iCb2Sc.RequestedStartDate != null && iCb2Sc.RequestedEndDate != null)
|
||||
//{
|
||||
//lDurationInWeeks = Convert.ToDecimal((iCb2Sc.RequestedEndDate.Value - iCb2Sc.RequestedStartDate.Value).Days + 1) / 7;
|
||||
if (cont && employeeOid != null && teamOid == null)
|
||||
{
|
||||
bool isRelatedToEmployee = false;
|
||||
foreach (var e2c in iCb2Sc.SupportConcept.Customer.Employee2CustomerList)
|
||||
{
|
||||
if (!isRelatedToEmployee)
|
||||
{
|
||||
if (employeeOid.Value == e2c.EmployeeOid.Value)
|
||||
{
|
||||
isRelatedToEmployee = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//lCalcDate = lCalcDate > iCb2Sc.RequestedEndDate
|
||||
// ? iCb2Sc.RequestedEndDate.Value.Date
|
||||
// : lCalcDate;
|
||||
//lDurationInWeeksTillNow = Convert.ToDecimal((lCalcDate - iCb2Sc.RequestedStartDate.Value).Days) / 7m;
|
||||
//}
|
||||
}
|
||||
if (!isRelatedToEmployee)
|
||||
{
|
||||
cont = false;
|
||||
}
|
||||
}
|
||||
|
||||
iDC.FLSApprovedPerWeek = calc.GetApprovedHoursPerWeekAverage(relDC, true) ?? 0m;
|
||||
if (cont && expiredMonths.HasValue)
|
||||
{
|
||||
cont = iCb2Sc.EndDate.HasValue &&
|
||||
iCb2Sc.EndDate.Value < DateTime.Now.AddMonths(expiredMonths.Value);
|
||||
}
|
||||
|
||||
decimal? flsTotal = calc.GetApprovedHoursTotal(relDC, true);
|
||||
}
|
||||
|
||||
iDC.FLSApprovedSum = flsTotal ?? 0m;
|
||||
|
||||
var approvedTillNow = calc.GetApprovedHoursTillNow(relDC, appointedDate);
|
||||
iDC.FLSApprovedTillNow = approvedTillNow ?? 0;
|
||||
if (cont)
|
||||
{
|
||||
iDC.CalculationDate = DateTime.Now.Date;
|
||||
iDC.RequestedStartDate = iCb2Sc.RequestedStartDate;
|
||||
iDC.RequestedEndDate = iCb2Sc.RequestedEndDate;
|
||||
iDC.SupportConceptOid = iCb2Sc.SupportConcept.Oid.Value;
|
||||
iDC.CostBearer2SupportConceptOid = iCb2Sc.Oid.Value;
|
||||
iDC.CostBearer = iCb2Sc.CostBearer.Organisation != null
|
||||
? iCb2Sc.CostBearer.Organisation.Name
|
||||
: string.Empty;
|
||||
iDC.CostBearerId = iCb2Sc.CostBearer.ID;
|
||||
iDC.CustomerOid = iCb2Sc.SupportConcept.Customer.Oid.Value;
|
||||
iDC.CustomerFirstName = iCb2Sc.SupportConcept.Customer.Person.FirstName;
|
||||
iDC.CustomerLastName = iCb2Sc.SupportConcept.Customer.Person.LastName;
|
||||
|
||||
//if (flsTotal.HasValue && lDurationInWeeks != 0)
|
||||
//{
|
||||
// iDC.FLSApprovedTillNow = flsTotal.Value * ((lDurationInWeeksTillNow + (1m / 7m)) / lDurationInWeeks);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// iDC.FLSApprovedTillNow = iDC.FLSApprovedPerWeek * (lDurationInWeeksTillNow + (1m / 7m));
|
||||
//}
|
||||
var costRates = iCb2Sc.CostBearer.CostRatePeriods.MapToNewDCs();
|
||||
|
||||
if (iDC.FLSApprovedSum <= 0)
|
||||
{
|
||||
iDC.FLSRecordedTillNowInPercent = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSRecordedTillNowInPercent = iDC.FLSRecordedTillNow/iDC.FLSApprovedSum*100;
|
||||
}
|
||||
iDC.ServiceUnit = costRates.GetCurrentlyValidRate(CostRatePeriodType.MinutesPerServiceUnit);
|
||||
if (iDC.ServiceUnit == null)
|
||||
{
|
||||
iDC.ServiceUnit = new CostRatePeriodDC();
|
||||
iDC.ServiceUnit.CostRateType = CostRatePeriodType.MinutesPerServiceUnit;
|
||||
iDC.ServiceUnit.UnitName = "FLS";
|
||||
iDC.ServiceUnit.CostRateValue = 60;
|
||||
}
|
||||
iDC.CurrentHourlyRate = costRates.GetCurrentlyValidRateValue(CostRatePeriodType.HourlyRate) ?? 0m;
|
||||
iDC.CurrentRateFactor = costRates.GetCurrentlyValidRateValue(CostRatePeriodType.RateFactor) ?? 0m;
|
||||
|
||||
iDC.FLSDifferenceApprovedRecordedTillNow = iDC.FLSRecordedTillNow - iDC.FLSApprovedTillNow;
|
||||
var relDC = iCb2Sc.MapToNewDC();
|
||||
|
||||
if (iDC.FLSApprovedTillNow <= 0)
|
||||
{
|
||||
iDC.FLSDifferenceApprovedRecordedTillNowInPercent = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSDifferenceApprovedRecordedTillNowInPercent = iDC.FLSRecordedTillNow/iDC.FLSApprovedTillNow*
|
||||
100;
|
||||
}
|
||||
DateTime minDate = DateTime.MinValue;
|
||||
if (iCb2Sc.ApprovedStartDate.HasValue)
|
||||
{
|
||||
minDate = iCb2Sc.ApprovedStartDate.Value.Date;
|
||||
}
|
||||
else if (iCb2Sc.RequestedStartDate.HasValue)
|
||||
{
|
||||
minDate = iCb2Sc.RequestedStartDate.Value.Date;
|
||||
}
|
||||
|
||||
iDC.FLSOpen = iDC.FLSApprovedSum - iDC.FLSRecordedTillNow;
|
||||
iDC.OpenWeeks = lDurationInWeeks - lDurationInWeeksTillNow;
|
||||
iDC.FLSRecordedTillNow = BerechneGeleisteteStunden(iCb2Sc, minDate, maxDate, calc);
|
||||
|
||||
//TODO kostenträger spezifisch!? in Calculations verlagern!
|
||||
iDC.OpenMonths = iDC.OpenWeeks/4.34m;
|
||||
|
||||
if (iDC.OpenWeeks <= 0)
|
||||
{
|
||||
iDC.FLSOpenPerWeek = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSOpenPerWeek = iDC.FLSOpen/iDC.OpenWeeks;
|
||||
}
|
||||
|
||||
iDC.WeeksTotal = lDurationInWeeks;
|
||||
if (iDC.WeeksTotal != 0)
|
||||
{
|
||||
iDC.DurationPercentage = (lDurationInWeeksTillNow/iDC.WeeksTotal)*100;
|
||||
}
|
||||
//var notBillableAbsenceTimes = calc.GetHoursNotBillableDueToAbsenceTimes(relDC, recordDCs,
|
||||
// iCb2Sc.SupportConcept.Customer.GetAbsencesTimesNotBillableWholeWeeks(), false,
|
||||
// false);
|
||||
//var notBillableMoreThanApproved = calc.GetHoursNotBillableDueToMoreThanApproved(relDC, recordDCs,
|
||||
// false, true);
|
||||
|
||||
lResult.Add(iDC);
|
||||
iDC.FLSBilledTillNow = iDC.FLSRecordedTillNow;
|
||||
//- notBillableAbsenceTimes
|
||||
//- notBillableMoreThanApproved;
|
||||
|
||||
iDC.BEApprovedPerWeek = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedPerWeek);
|
||||
iDC.BEApprovedSum = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedSum);
|
||||
iDC.BEApprovedTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedTillNow);
|
||||
iDC.BEBilledTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSBilledTillNow);
|
||||
iDC.BEDifferenceApprovedRecordedTillNow =
|
||||
iDC.ServiceUnit.GetHoursInBE(iDC.FLSDifferenceApprovedRecordedTillNow);
|
||||
iDC.BEDifferenceApprovedRecordedTillNowInPercent =
|
||||
iDC.ServiceUnit.GetHoursInBE(iDC.FLSDifferenceApprovedRecordedTillNowInPercent);
|
||||
iDC.BEOpen = iDC.ServiceUnit.GetHoursInBE(iDC.FLSOpen);
|
||||
iDC.BEOpenPerWeek = iDC.ServiceUnit.GetHoursInBE(iDC.FLSOpenPerWeek);
|
||||
if (iDC.BEOpenPerWeek > iDC.BEOpen)
|
||||
iDC.BEOpenPerWeek = iDC.BEOpen;
|
||||
iDC.BERecordedTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSRecordedTillNow);
|
||||
iDC.BERecordedTillNowInPercent = iDC.ServiceUnit.GetHoursInBE(iDC.FLSRecordedTillNowInPercent);
|
||||
}
|
||||
}
|
||||
|
||||
return lResult;
|
||||
|
||||
}
|
||||
}
|
||||
decimal lDurationInWeeksTillNow = calc.GetDurationInWeeksTillNow(relDC, appointedDate) ?? 0;
|
||||
decimal lDurationInWeeks = calc.GetDurationInWeeks(relDC) ?? 0;
|
||||
|
||||
if (iCb2Sc.Status == CostBearer2SupportConceptStatus.Approved)
|
||||
{
|
||||
iDC.IsApproved = true;
|
||||
|
||||
if (iCb2Sc.ApprovedStartDate != null && iCb2Sc.ApprovedEndDate != null)
|
||||
{
|
||||
iDC.ApprovedStartDate = iCb2Sc.ApprovedStartDate.Value;
|
||||
iDC.ApprovedEndDate = iCb2Sc.ApprovedEndDate.Value;
|
||||
//lDurationInWeeks = Convert.ToDecimal((iDC.ApprovedEndDate.Value - iDC.ApprovedStartDate.Value).Days + 1) / 7;
|
||||
|
||||
//lCalcDate = lCalcDate > iCb2Sc.ApprovedEndDate
|
||||
// ? iCb2Sc.ApprovedEndDate.Value.Date.AddDays(1)
|
||||
// : lCalcDate;
|
||||
//lDurationInWeeksTillNow = Convert.ToDecimal((lCalcDate - iCb2Sc.ApprovedStartDate.Value).Days) / 7m;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.IsApproved = false;
|
||||
|
||||
//if (iCb2Sc.RequestedStartDate != null && iCb2Sc.RequestedEndDate != null)
|
||||
//{
|
||||
//lDurationInWeeks = Convert.ToDecimal((iCb2Sc.RequestedEndDate.Value - iCb2Sc.RequestedStartDate.Value).Days + 1) / 7;
|
||||
|
||||
//lCalcDate = lCalcDate > iCb2Sc.RequestedEndDate
|
||||
// ? iCb2Sc.RequestedEndDate.Value.Date
|
||||
// : lCalcDate;
|
||||
//lDurationInWeeksTillNow = Convert.ToDecimal((lCalcDate - iCb2Sc.RequestedStartDate.Value).Days) / 7m;
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
BerechneBewilligteStunden(calc, iDC, relDC, appointedDate);
|
||||
|
||||
//if (flsTotal.HasValue && lDurationInWeeks != 0)
|
||||
//{
|
||||
// iDC.FLSApprovedTillNow = flsTotal.Value * ((lDurationInWeeksTillNow + (1m / 7m)) / lDurationInWeeks);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// iDC.FLSApprovedTillNow = iDC.FLSApprovedPerWeek * (lDurationInWeeksTillNow + (1m / 7m));
|
||||
//}
|
||||
|
||||
if (iDC.FLSApprovedSum <= 0)
|
||||
{
|
||||
iDC.FLSRecordedTillNowInPercent = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSRecordedTillNowInPercent = iDC.FLSRecordedTillNow / iDC.FLSApprovedSum * 100;
|
||||
}
|
||||
|
||||
iDC.FLSDifferenceApprovedRecordedTillNow = iDC.FLSRecordedTillNow - iDC.FLSApprovedTillNow;
|
||||
|
||||
if (iDC.FLSApprovedTillNow <= 0)
|
||||
{
|
||||
iDC.FLSDifferenceApprovedRecordedTillNowInPercent = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSDifferenceApprovedRecordedTillNowInPercent =
|
||||
iDC.FLSRecordedTillNow / iDC.FLSApprovedTillNow *
|
||||
100;
|
||||
}
|
||||
|
||||
iDC.FLSOpen = iDC.FLSApprovedSum - iDC.FLSRecordedTillNow;
|
||||
iDC.OpenWeeks = lDurationInWeeks - lDurationInWeeksTillNow;
|
||||
|
||||
//TODO kostenträger spezifisch!? in Calculations verlagern!
|
||||
iDC.OpenMonths = iDC.OpenWeeks / 4.34m;
|
||||
|
||||
if (iDC.OpenWeeks <= 0)
|
||||
{
|
||||
iDC.FLSOpenPerWeek = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
iDC.FLSOpenPerWeek = iDC.FLSOpen / iDC.OpenWeeks;
|
||||
}
|
||||
|
||||
iDC.WeeksTotal = lDurationInWeeks;
|
||||
if (iDC.WeeksTotal != 0)
|
||||
{
|
||||
iDC.DurationPercentage = (lDurationInWeeksTillNow / iDC.WeeksTotal) * 100;
|
||||
}
|
||||
|
||||
lResult.Add(iDC);
|
||||
|
||||
iDC.BEApprovedPerWeek = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedPerWeek);
|
||||
iDC.BEApprovedSum = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedSum);
|
||||
iDC.BEApprovedTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSApprovedTillNow);
|
||||
iDC.BEBilledTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSBilledTillNow);
|
||||
iDC.BEDifferenceApprovedRecordedTillNow =
|
||||
iDC.ServiceUnit.GetHoursInBE(iDC.FLSDifferenceApprovedRecordedTillNow);
|
||||
iDC.BEDifferenceApprovedRecordedTillNowInPercent =
|
||||
iDC.ServiceUnit.GetHoursInBE(iDC.FLSDifferenceApprovedRecordedTillNowInPercent);
|
||||
iDC.BEOpen = iDC.ServiceUnit.GetHoursInBE(iDC.FLSOpen);
|
||||
iDC.BEOpenPerWeek = iDC.ServiceUnit.GetHoursInBE(iDC.FLSOpenPerWeek);
|
||||
if (iDC.BEOpenPerWeek > iDC.BEOpen)
|
||||
iDC.BEOpenPerWeek = iDC.BEOpen;
|
||||
iDC.BERecordedTillNow = iDC.ServiceUnit.GetHoursInBE(iDC.FLSRecordedTillNow);
|
||||
iDC.BERecordedTillNowInPercent = iDC.ServiceUnit.GetHoursInBE(iDC.FLSRecordedTillNowInPercent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return lResult;
|
||||
|
||||
}
|
||||
|
||||
public virtual void BerechneBewilligteStunden(Calculations calc, SupportConceptOverviewDC iDc, SupportConceptCostBearerRelDC relDc, DateTime? appointedDate)
|
||||
{
|
||||
iDc.FLSApprovedPerWeek = calc.GetApprovedHoursPerWeekAverage(relDc, true) ?? 0m;
|
||||
|
||||
decimal? flsTotal = calc.GetApprovedHoursTotal(relDc, true);
|
||||
|
||||
iDc.FLSApprovedSum = flsTotal ?? 0m;
|
||||
|
||||
var approvedTillNow = calc.GetApprovedHoursTillNow(relDc, appointedDate);
|
||||
iDc.FLSApprovedTillNow = approvedTillNow ?? 0;
|
||||
}
|
||||
|
||||
public virtual decimal BerechneGeleisteteStunden(CostBearer2SupportConcept iCb2Sc, DateTime minDate, DateTime maxDate, Calculations calc)
|
||||
{
|
||||
var recordDCs = (from sr in iCb2Sc.ServiceRecords
|
||||
where (sr.Start >= minDate && sr.Start < maxDate)
|
||||
select MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(sr)).ToList();
|
||||
|
||||
|
||||
return calc.GetBillableDurationInMinutes(recordDCs) / 60m;
|
||||
}
|
||||
|
||||
public virtual bool AddToResult(CostBearer2SupportConcept c2s)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -749,7 +749,9 @@ namespace BeWo.Service.ServiceImplementations
|
||||
{
|
||||
try
|
||||
{
|
||||
return MapperFactory.CompactSupportConceptDC_SupportConcept.MapToNewDCs(DAOFactory.SearchDAO.FindSupportConceptsWithConferenceDate(employeeOid, conferenceDateUntil));
|
||||
var g = PluginLoader.FindClass<HomeContentGenerator>();
|
||||
|
||||
return g.GetSupportConceptsWithConferenceDate(employeeOid, conferenceDateUntil);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.Linq;
|
||||
using System.Net;
|
||||
using System.ServiceModel;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Web;
|
||||
|
||||
using BeWo.Data;
|
||||
@@ -442,11 +443,13 @@ namespace BeWo.Service.ServiceImplementations
|
||||
|
||||
if (supportPIN != null)
|
||||
{
|
||||
|
||||
DAOFactory.GenericDAO.Update(supportPIN);
|
||||
}
|
||||
|
||||
return result.Value;
|
||||
if (!result.HasValue || result.Value != UserValidationResult.UserValid)
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
return result.Value;
|
||||
//return Membership.ValidateUser(pUserName, pPassword);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user