Änderungen Schwara
This commit is contained in:
@ -92,8 +92,8 @@ $pdf->SetY(120);
|
||||
for($i=0; $i<$columns; $i++) $header_type[$i] = $table_default_header_type;
|
||||
|
||||
$header_type[0]['WIDTH'] = 6;
|
||||
$header_type[1]['WIDTH'] = 60;
|
||||
$header_type[2]['WIDTH'] = 64;
|
||||
$header_type[1]['WIDTH'] = 50;
|
||||
$header_type[2]['WIDTH'] = 74;
|
||||
$header_type[3]['WIDTH'] = 35;
|
||||
|
||||
$header_type[0]['TEXT'] = "";
|
||||
@ -130,6 +130,7 @@ $pdf->SetY(120);
|
||||
, t1.saaid saaid
|
||||
, t1.aendid
|
||||
, t1.status
|
||||
, t1.umzugsverg
|
||||
FROM stan_antrag t1
|
||||
WHERE t1.status = (
|
||||
SELECT MAX(t2.status)
|
||||
@ -141,15 +142,16 @@ $pdf->SetY(120);
|
||||
AND t1.uid = '$uid1'
|
||||
AND (t1.zuweisung is NULL OR t1.zuweisung='Z')
|
||||
ORDER BY beginnform";
|
||||
#echo $query;
|
||||
#exit;
|
||||
|
||||
|
||||
$result = $db->query ($query)
|
||||
or die ("Cannot execute query1");
|
||||
|
||||
|
||||
|
||||
|
||||
while ($row = $result->fetch_array())
|
||||
{
|
||||
$hinweis_umzug=0;
|
||||
$data = Array();
|
||||
|
||||
$res2 = $db->query("SELECT bezeichnung FROM stan_vertiefungsbereich WHERE vbid='$row[vert_bereich]'");
|
||||
@ -158,7 +160,12 @@ $pdf->SetY(120);
|
||||
$res4 = $db->query("SELECT bez, ort, str, plz FROM stan_dienststellen WHERE dst_id='$row[dst_id]'");
|
||||
$row4 = $res4->fetch_array();
|
||||
if($row4['bez'] != ''){
|
||||
$dst_bez = $row4['bez']." ".$row4['name'];
|
||||
if($row['umzugsverg'] == 'J'){
|
||||
$dst_bez = "$row4[bez] ".trim($row4['name'])."*";
|
||||
$hinweis_umzug=1;
|
||||
}else{
|
||||
$dst_bez = $row4['bez']." ".$row4['name'];
|
||||
}
|
||||
$ort = $row4['ort'];
|
||||
$str = $row4['str'];
|
||||
$plz = $row4['plz'];
|
||||
@ -166,7 +173,12 @@ $pdf->SetY(120);
|
||||
if($row4['bez'] == ''){
|
||||
$res5 = $db->query("SELECT bez, ort, str, plz FROM stan_dienststellen_tmp WHERE dst_id='$row[dst_id]'");
|
||||
$row5 = $res5->fetch_array();
|
||||
$dst_bez = $row5['bez']." ".$row5['name'];
|
||||
if($row['umzugsverg'] == 'J'){
|
||||
$dst_bez = "$row5[bez] $row5[name]*";
|
||||
$hinweis_umzug=1;
|
||||
}else{
|
||||
$dst_bez = $row5['bez']." ".$row5['name'];
|
||||
}
|
||||
$ort = $row5['ort'];
|
||||
$str = $row5['str'];
|
||||
$plz = $row5['plz'];
|
||||
@ -207,7 +219,7 @@ $pdf->SetY(120);
|
||||
$data[1]['T_ALIGN'] = "L";
|
||||
$data[1]['V_ALIGN'] = "M";
|
||||
|
||||
$data[2]['TEXT'] = "$row2[bezeichnung]";
|
||||
$data[2]['TEXT'] = trim($row2['bezeichnung']);
|
||||
$data[2]['T_ALIGN'] = "L";
|
||||
$data[2]['V_ALIGN'] = "M";
|
||||
|
||||
@ -373,7 +385,14 @@ $pdf->SetY($pos);
|
||||
|
||||
|
||||
|
||||
|
||||
if($hinweis_umzug == 1){
|
||||
$pos=$pdf->GetY();
|
||||
|
||||
$pdf->SetFont('Arial', '', 12);
|
||||
$pdf->SetY($pos);
|
||||
$pdf->SetX(24);
|
||||
$pdf->MultiCell(190, 5, "* Für diesen Praxisabschnitt wird eine Umzugsvergütung gewährt.", 0, 'J');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user