Änderungen Anschreiben

This commit is contained in:
aschwarz
2024-01-26 10:12:23 +01:00
parent f8488609a2
commit 3aba14f13d
4 changed files with 48 additions and 20 deletions

View File

@ -301,12 +301,12 @@ $pdf->SetY($pos);
or die ("Cannot execute query1e");
$hinweis_umzug_alt=0;
while ($row = $result->fetch_array())
{
$data = Array();
$res_alt_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung
$res_alt_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung, umzugsverg
FROM stan_antrag a, stan_vertiefungsbereich e
WHERE a.vert_bereich=e.vbid
AND a.saaid<'$row[saaid]'
@ -362,7 +362,12 @@ $pdf->SetY($pos);
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
$data[1]['TEXT'] = "$rowdata3[bez]";
if($row_alt_aend['umzugsverg'] == 'J'){
$data[1]['TEXT'] = "$rowdata3[bez]*";
$hinweis_umzug_alt=1;
}else{
$data[1]['TEXT'] = "$rowdata3[bez]";
}
$data[1]['T_ALIGN'] = "L";
$data[1]['V_ALIGN'] = "M";
@ -516,12 +521,12 @@ $pdf->SetY($pos);
or die ("Cannot execute query1f");
$hinweis_umzug_neu=0;
while ($row = $result->fetch_array())
{
$data = Array();
$res_neu_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung
$res_neu_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung, umzugsverg
FROM stan_antrag a, stan_vertiefungsbereich e
WHERE a.vert_bereich=e.vbid
AND a.saaid ='$row[saaid]'
@ -576,7 +581,12 @@ $pdf->SetY($pos);
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
$data[1]['TEXT'] = "$rowdata3[bez]";
if($row_neu_aend['umzugsverg'] == 'J'){
$data[1]['TEXT'] = "$rowdata3[bez]*";
$hinweis_umzug_neu=1;
}else{
$data[1]['TEXT'] = "$rowdata3[bez]";
}
$data[1]['T_ALIGN'] = "L";
$data[1]['V_ALIGN'] = "M";
@ -599,6 +609,14 @@ $pdf->SetY($pos);
if($hinweis_umzug_alt == 1 or $hinweis_umzug_neu == 1){
$pos=$pdf->GetY()+4.4;
$pdf->SetFont('Arial', '', 10);
$pdf->SetY($pos);
$pdf->SetX(23);
$pdf->MultiCell(170, 4.8, "* Für diese Stelle wurde eine Umzugsvergütung gewährt.", 0, 'J');
}
$pos=$pdf->GetY()+6.4;