mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Added "zeitaufzeichnungspflichtig" to FAS and DB
The field 'zeitaufzeichnungspflichtig' indicates the obligation of an employee to record working times. (-> monthlists should then be created) . added column to tbl_bisverwendung and value true for all employees, who are fix angestellt . added FAS GUI in popup window when creating new contract of employment -- by default checkbox is checked when employee is fix angestellt, otherwise unchecked.
This commit is contained in:
@@ -169,6 +169,12 @@ if(!$error)
|
||||
$verwendung->updatevon = $user;
|
||||
$verwendung->dv_art = $_POST['dv_art'];
|
||||
$verwendung->inkludierte_lehre = $_POST['inkludierte_lehre'];
|
||||
if($_POST['zeitaufzeichnungspflichtig']=='true')
|
||||
$verwendung->zeitaufzeichnungspflichtig = true;
|
||||
elseif($_POST['zeitaufzeichnungspflichtig']=='false')
|
||||
$verwendung->zeitaufzeichnungspflichtig = false;
|
||||
else
|
||||
$verwendung->zeitaufzeichnungspflichtig = '';
|
||||
|
||||
if($verwendung->save())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user