MH: Christopherushaus Familienhilfe fertig gemacht

This commit is contained in:
Marcel Hirschle
2022-04-06 14:21:00 +02:00
parent 30d81981b1
commit e31538f763
4 changed files with 199 additions and 12 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -101,8 +101,8 @@ namespace ChristopherusHausFamilienhilfe
if (cont)
SetTableText(table, start, sd.ServiceCategory, sd.ServiceDescription);
table.Rows[row].Cells[12].Text = sd.Notice2; //die Beteiligten können aus der Familie oder Fremde sein - Freitext
table.Rows[row].Cells[12].Text = table.Rows[row].Cells[12].Text.IsNullOrEmpty() ? sd.Notice2 : "\n" + sd.Notice2; //die Beteiligten können aus der Familie oder Fremde sein - Freitext
// ACHTUNG ToDo - bei Tandem gehen zwei Betreuer rein und werden bezahlt -
if (sd.IsGroup && sd.ServiceDescription.ToLower().Contains("tandem"))
{
@@ -114,20 +114,22 @@ namespace ChristopherusHausFamilienhilfe
{
if (gsr.Employee.Person.Abbreviation == null || gsr.Employee.Person.Abbreviation.Length == 0)
secEmp += " ," + gsr.Employee.Person.FirstName.Substring(0, 1) + ". " + gsr.Employee.Person.LastName;
else
else
secEmp += " ," + gsr.Employee.Person.Abbreviation;
}
}
table.Rows[row].Cells[13].Text = sd.EmployeeAbbr + secEmp;
}
//Service = DAOFactory.GenericDAO.LoadByID<Employee>(group.Oid.Value);
else
table.Rows[row].Cells[13].Text = sd.EmployeeAbbr;
table.Rows[row].Cells[14].Text += table.Rows[row].Cells[14].Text.IsNullOrEmpty() ? String.Format("{0:HH:mm} Uhr", sd.StartDateMinutes) : String.Format(" {0:HH:mm} Uhr", sd.StartDateMinutes);
table.Rows[row].Cells[15].Text += table.Rows[row].Cells[15].Text.IsNullOrEmpty() ? String.Format("{0:HH:mm} Uhr", sd.EndDateMinutes) : String.Format(" {0:HH:mm} Uhr", sd.EndDateMinutes);
table.Rows[row].Cells[16].Text += table.Rows[row].Cells[16].Text.IsNullOrEmpty() ? String.Format("{0:0.00}", sd.Minutes / 60) : String.Format(" {0:0.00}", sd.Minutes / 60);
table.Rows[row].Cells[17].Text += table.Rows[row].Cells[17].Text.IsNullOrEmpty() ? sd.Notice : "; " + sd.Notice;
//else
//{
table.Rows[row].Cells[13].Text += table.Rows[row].Cells[13].Text.IsNullOrEmpty() ? sd.EmployeeAbbr : "\n" + sd.EmployeeAbbr;
//}
table.Rows[row].Cells[14].Text += table.Rows[row].Cells[14].Text.IsNullOrEmpty() ? String.Format("{0:HH:mm}", sd.StartDateMinutes) : String.Format("\n{0:HH:mm}", sd.StartDateMinutes);
table.Rows[row].Cells[15].Text += table.Rows[row].Cells[15].Text.IsNullOrEmpty() ? String.Format("{0:HH:mm}", sd.EndDateMinutes) : String.Format("\n{0:HH:mm}", sd.EndDateMinutes);
table.Rows[row].Cells[16].Text += table.Rows[row].Cells[16].Text.IsNullOrEmpty() ? String.Format("{0:0.00}", sd.Minutes / 60) : String.Format("\n{0:0.00}", sd.Minutes / 60);
table.Rows[row].Cells[17].Text += table.Rows[row].Cells[17].Text.IsNullOrEmpty() ? sd.Notice : "\n" + sd.Notice;
stundenGesamt += sd.Minutes / 60;

View File

@@ -244,7 +244,7 @@ namespace VaroSozialagentur.Invoicing
{
invoiceItem.ItemDescription = "Direkte Leistungen";
invoiceItem.UnitDescription = "Fachleistungsstunde (FLS)";
}
}
else if (cat == "Fahrtkosten")
{
return null;

View File

@@ -270,7 +270,7 @@ namespace BeWo.Service.Plugins
//t = "8242644560"; // Bewolonia - Fr. Sultan Schulz
//t = "4817284046"; // Verein für Sozialmedizin Stade e.V.
//t = "6323001211"; // ASB Faßbacher Hof gGmbH
//t = "9389386079"; // VARO Sozialagentur
t = "9389386079"; // VARO Sozialagentur
//t = "7951718431"; // Ambulant Betreutes Wohnen Astrid Pulm
//t = "5850903700"; // Alzey Teilhabe
//t = "5929601293"; // Lebenshilfe Duisburg Frühförderung (Projekt heißt LebenshilfeDuisburgAtz)