mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Inaktive Kostenstellen werden in der Auswertung markiert
This commit is contained in:
@@ -191,9 +191,13 @@ if(isset($_POST['show']))
|
|||||||
{
|
{
|
||||||
echo '</table></td><td valign="top"><table>';
|
echo '</table></td><td valign="top"><table>';
|
||||||
}
|
}
|
||||||
|
if($kst->aktiv)
|
||||||
|
$class='';
|
||||||
|
else
|
||||||
|
$class='class="inaktiv"';
|
||||||
echo '<tr>
|
echo '<tr>
|
||||||
<td><input type="checkbox" name="kst[]" value="'.$kst->kostenstelle_id.'"></td>
|
<td><input type="checkbox" name="kst[]" value="'.$kst->kostenstelle_id.'"></td>
|
||||||
<td nowrap>'.$kst->bezeichnung.' </td>
|
<td nowrap '.$class.'>'.$kst->bezeichnung.' </td>
|
||||||
</tr>';
|
</tr>';
|
||||||
$anzahl++;
|
$anzahl++;
|
||||||
}
|
}
|
||||||
@@ -286,7 +290,11 @@ function draw_konto_table($konto_array, $kst_konto, $table_id, $gj)
|
|||||||
$kostenstelle = new wawi_kostenstelle();
|
$kostenstelle = new wawi_kostenstelle();
|
||||||
$kostenstelle->load($kst);
|
$kostenstelle->load($kst);
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo '<td>'.$kostenstelle->bezeichnung.'</td>';
|
if($kostenstelle->aktiv)
|
||||||
|
$class='';
|
||||||
|
else
|
||||||
|
$class='class="inaktiv"';
|
||||||
|
echo '<td '.$class.'>'.$kostenstelle->bezeichnung.'</td>';
|
||||||
|
|
||||||
foreach(array_keys($konto_array) as $konten)
|
foreach(array_keys($konto_array) as $konten)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -247,7 +247,11 @@ $datum_obj = new datum();
|
|||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
|
|
||||||
echo '<td>',$id,'</td>';
|
echo '<td>',$id,'</td>';
|
||||||
echo '<td>',$kostenstelle->bezeichnung,'</td>';
|
if($kostenstelle->aktiv)
|
||||||
|
$class='';
|
||||||
|
else
|
||||||
|
$class='class="inaktiv"';
|
||||||
|
echo '<td '.$class.'>',$kostenstelle->bezeichnung,'</td>';
|
||||||
echo '<td>',$kostenstelle->kurzbz,'</td>';
|
echo '<td>',$kostenstelle->kurzbz,'</td>';
|
||||||
echo '<td class="number"><a href="../bestellung.php?method=suche&evon=',$vondatum,'&ebis=',$endedatum,'&filter_kostenstelle=',$id,'&submit=true">',number_format($brutto['bestellung'],2,',','.'),'</td>';
|
echo '<td class="number"><a href="../bestellung.php?method=suche&evon=',$vondatum,'&ebis=',$endedatum,'&filter_kostenstelle=',$id,'&submit=true">',number_format($brutto['bestellung'],2,',','.'),'</td>';
|
||||||
echo '<td class="number"><a href="../rechnung.php?method=suche&erstelldatum_von=',$vondatum,'&erstelldatum_bis=',$endedatum,'&filter_kostenstelle=',$id,'&submit=true">',number_format($brutto['rechnung'],2,',','.'),'</td>';
|
echo '<td class="number"><a href="../rechnung.php?method=suche&erstelldatum_von=',$vondatum,'&erstelldatum_bis=',$endedatum,'&filter_kostenstelle=',$id,'&submit=true">',number_format($brutto['rechnung'],2,',','.'),'</td>';
|
||||||
|
|||||||
@@ -199,9 +199,13 @@ else
|
|||||||
{
|
{
|
||||||
echo '</table></td><td valign="top"><table>';
|
echo '</table></td><td valign="top"><table>';
|
||||||
}
|
}
|
||||||
|
if($kst->aktiv)
|
||||||
|
$class='';
|
||||||
|
else
|
||||||
|
$class='class="inaktiv"';
|
||||||
echo '<tr>
|
echo '<tr>
|
||||||
<td><input type="checkbox" name="kst[]" value="'.$kst->kostenstelle_id.'"></td>
|
<td><input type="checkbox" name="kst[]" value="'.$kst->kostenstelle_id.'"></td>
|
||||||
<td nowrap>'.$kst->bezeichnung.' </td>
|
<td nowrap '.$class.'>'.$kst->bezeichnung.' </td>
|
||||||
</tr>';
|
</tr>';
|
||||||
$anzahl++;
|
$anzahl++;
|
||||||
}
|
}
|
||||||
@@ -288,7 +292,11 @@ function draw_tag_table($tags_array, $kst_tags, $table_id, $gj)
|
|||||||
$kostenstelle = new wawi_kostenstelle();
|
$kostenstelle = new wawi_kostenstelle();
|
||||||
$kostenstelle->load($kst);
|
$kostenstelle->load($kst);
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo '<td>'.$kostenstelle->bezeichnung.'</td>';
|
if($kostenstelle->aktiv)
|
||||||
|
$class='';
|
||||||
|
else
|
||||||
|
$class='class="inaktiv"';
|
||||||
|
echo '<td '.$class.'>'.$kostenstelle->bezeichnung.'</td>';
|
||||||
|
|
||||||
foreach(array_keys($tags_array) as $tags)
|
foreach(array_keys($tags_array) as $tags)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user