equal
deleted
inserted
replaced
46 echo "<tr><td>Enddatum: </td><td>$sdat</td></tr>\n"; |
46 echo "<tr><td>Enddatum: </td><td>$sdat</td></tr>\n"; |
47 echo "<tr><td>Kosten: </td><td>".number_format($pz["kost"],2,",",".")." €</td></tr>\n"; |
47 echo "<tr><td>Kosten: </td><td>".number_format($pz["kost"],2,",",".")." €</td></tr>\n"; |
48 // Arbeitsschritte |
48 // Arbeitsschritte |
49 if (is_array($pz["step"])) |
49 if (is_array($pz["step"])) |
50 { |
50 { |
|
51 $arrstat = $dbc -> queryObjectArray("SELECT proz_stat_ID,proz_stat_bez FROM Proz_Status"); |
|
52 foreach ($arrstat as $row) |
|
53 $as[$row->proz_stat_ID] = $row->proz_stat_bez; |
51 echo "<tr><td>Arbeitsschritte: </td>"; |
54 echo "<tr><td>Arbeitsschritte: </td>"; |
|
55 $i=0; |
52 foreach ($pz["step"] as $step) |
56 foreach ($pz["step"] as $step) |
53 { |
57 { |
54 if ($next) $next ="<tr><td> </td>"; else $next =" "; |
58 if ($next) $next ="<tr><td> </td>"; else $next =" "; |
55 if ($step) echo "$next<td>$step</td></tr>\n"; |
59 if ($step) echo "$next<td>$step; <i>".$as[$pz["ststat"][$i]]."</i>; " .$pz["stbem"][$i]."</td></tr>\n"; |
|
60 $i++; |
56 } |
61 } |
57 } |
62 } |
58 // Dringlichkeit |
63 // Dringlichkeit |
59 if ($pz["urg"]) |
64 if ($pz["urg"]) |
60 { |
65 { |