ProfEggersStiftung/RechnungPflege - Ansprechpartner angepasst
This commit is contained in:
@@ -240,6 +240,8 @@ namespace ProfEggersStiftung
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")});
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Katja Waldschmidt";
|
||||
this.xrTableCell6.Weight = 0.70712667704046073D;
|
||||
@@ -247,7 +249,7 @@ namespace ProfEggersStiftung
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "0201/856955-2 verwaltung@eggers-stiftung.de";
|
||||
this.xrTableCell7.Text = "[SenderContactPersonPhone] verwaltung@eggers-stiftung.de";
|
||||
this.xrTableCell7.Weight = 1.5230420736256078D;
|
||||
//
|
||||
// xrTableCell8
|
||||
|
||||
@@ -29,36 +29,40 @@ namespace ProfEggersStiftung
|
||||
lblMonat.Text = String.Format("Pflegekostenrechnung {0:MMMM yyyy} - {1:MMMM yyyy}", start, end);
|
||||
}
|
||||
|
||||
|
||||
decimal hourlyRate = 0;
|
||||
|
||||
decimal hours = 0;
|
||||
|
||||
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0)
|
||||
{
|
||||
foreach (var p in pRO.ServiceInvoicePeriods)
|
||||
{
|
||||
|
||||
if (p.ServiceInvoiceItems != null && p.ServiceInvoiceItems.Count > 0)
|
||||
{
|
||||
|
||||
foreach (var i in p.ServiceInvoiceItems)
|
||||
{
|
||||
if (i.HourlyRate.HasValue)
|
||||
{
|
||||
hourlyRate = i.HourlyRate.Value;
|
||||
|
||||
}
|
||||
|
||||
if (i.Hours.HasValue)
|
||||
{
|
||||
hours += i.Hours.Value;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.CustomerSalutation) && pRO.CustomerSalutation.ToLower() == "herr")
|
||||
{
|
||||
pRO.CustomerSalutation = "Herrn";
|
||||
}
|
||||
|
||||
if (pRO.SenderContactPersonPhone == null)
|
||||
{
|
||||
pRO.SenderContactPersonPhone = "0201-8953322";
|
||||
}
|
||||
|
||||
var absencetimes = pRO.InvoiceBase.SupportConceptCostBearerRelDc.SupportConcept.Customer.AbsenceTimes;
|
||||
|
||||
|
||||
@@ -60,9 +60,7 @@ namespace ProfEggersStiftung
|
||||
if (pRO.SenderContactPersonPhone == null)
|
||||
{
|
||||
pRO.SenderContactPersonPhone = "0201-8953322";
|
||||
|
||||
}
|
||||
|
||||
lblAbrechnungstext.Text = String.Format("{0:0.##} FLS x {1:c} = ", hours, hourlyRate);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
Reference in New Issue
Block a user