Auftraggeber wird in protokoll mit abgebildet
This commit is contained in:
@@ -56,9 +56,9 @@ namespace KlassenBIB
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="destinationPath"></param>
|
||||
/// <param name="projekt">Projekt</param>
|
||||
/// <returns></returns>
|
||||
|
||||
public Hashtable MakeProtokoll(string destinationPath)
|
||||
public Hashtable MakeProtokoll(string destinationPath, IProjekt projekt)
|
||||
{
|
||||
Hashtable grunddaten = new Hashtable()
|
||||
{
|
||||
@@ -101,14 +101,14 @@ namespace KlassenBIB
|
||||
};
|
||||
|
||||
double LaengeGesamt = this.Inspektionsobjekt.Haltungslaenge + this.Inspektionsobjekt.Schachtlaenge;
|
||||
|
||||
|
||||
grunddaten["AG_Vorname"] = "";
|
||||
|
||||
grunddaten["AG_Vorname"] = projekt.Auftraggeber.Name;
|
||||
grunddaten["KLP_Nummer"] = "";
|
||||
grunddaten["KLP_Datum"] = DateTime.Now.ToShortDateString();
|
||||
grunddaten["AG_Ort"] = "";
|
||||
grunddaten["AG_Strasse"] = "";
|
||||
grunddaten["AG_Ansprechpartner"] = "";
|
||||
grunddaten["AG_Ort"] = projekt.Auftraggeber.Ort;
|
||||
grunddaten["AG_Strasse"] = projekt.Auftraggeber.Strasse;
|
||||
grunddaten["AG_Ansprechpartner"] = projekt.Auftraggeber.Ansprechpartner;
|
||||
grunddaten["BM_Ort"] = Inspektionsobjekt.OrtName;
|
||||
grunddaten["BM_Strasse"] = Inspektionsobjekt.StrasseName;
|
||||
grunddaten["BM_Schacht_von"] = Inspektionsobjekt.VonPunkt;
|
||||
|
||||
Reference in New Issue
Block a user