mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
Merge branch 'feature-6568/NotfallkontaktV2'
This commit is contained in:
@@ -427,6 +427,7 @@ if (!$ansicht)
|
||||
usort($kontakt->result, "sortKontakt");
|
||||
echo '<table>';
|
||||
|
||||
$has_notfallkontakt = false;
|
||||
foreach($kontakt->result as $k)
|
||||
{
|
||||
if ($k->kontakttyp != 'firmenhandy' && $k->kontakttyp != 'hidden')
|
||||
@@ -441,6 +442,8 @@ if (!$ansicht)
|
||||
echo '<td>'.$k->anmerkung.'</td>';
|
||||
echo '<td>'.$zustellung.'</td>';
|
||||
echo '</tr>';
|
||||
if ($k->kontakttyp == 'notfallkontakt')
|
||||
$has_notfallkontakt = true;
|
||||
}
|
||||
/*
|
||||
if ($k->zustellung === TRUE)
|
||||
@@ -462,6 +465,9 @@ if (!$ansicht)
|
||||
}
|
||||
*/
|
||||
}
|
||||
if (!$has_notfallkontakt)
|
||||
echo '<tr><td>'.$p->t('profil/notfallkontakt').'</td><td colspan="3">'.$p->t('profil/notfallkontaktBekanntgeben').'</td></tr>';
|
||||
|
||||
echo '</table>';
|
||||
}
|
||||
|
||||
|
||||
@@ -84,4 +84,6 @@ $this->phrasen['profil/gueltigbis']='Gültig bis';
|
||||
$this->phrasen['profil/wochenstunden']='Wochenstunden';
|
||||
$this->phrasen['profil/vertragsstunden']='Vertragsstunden';
|
||||
$this->phrasen['profil/zukuenftigeFunktionen']='Zukünftige Funktionen';
|
||||
$this->phrasen['profil/notfallkontakt']='Notfallkontakt';
|
||||
$this->phrasen['profil/notfallkontaktBekanntgeben']='Bitte geben Sie einen Notfallkontakt bekannt!';
|
||||
?>
|
||||
|
||||
@@ -82,4 +82,6 @@ $this->phrasen['profil/gueltigbis']='Valid to';
|
||||
$this->phrasen['profil/wochenstunden']='week hours';
|
||||
$this->phrasen['profil/vertragsstunden']='contract hours';
|
||||
$this->phrasen['profil/zukuenftigeFunktionen']='Future functions';
|
||||
$this->phrasen['profil/notfallkontakt']='Emergency contact';
|
||||
$this->phrasen['profil/notfallkontaktBekanntgeben']='Please provide an emergency contact!';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user