X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=quotas.php;h=68b8a6198756deca8cb61f369d6b593f2b33da06;hb=afe2d051307ae2cd54bdb957f04e1d9f625f2dd9;hp=1dfa06fa207f4138ce319aee8edc78890e218512;hpb=f74704271ae5d37aee3fdf941f3462c8b92ad0fd;p=timetracker.git diff --git a/quotas.php b/quotas.php index 1dfa06fa..68b8a619 100644 --- a/quotas.php +++ b/quotas.php @@ -97,7 +97,7 @@ if ($request->isPost()){ $monthsData = $quota->get($selectedYear); $form = new Form('monthlyQuotasForm'); -$form->addInput(array('type'=>'text', 'name'=>'workdayHours', 'value'=>$quota->getWorkdayHours(), 'style'=>'width:50px')); +$form->addInput(array('type'=>'text', 'name'=>'workdayHours', 'value'=>$user->workday_hours, 'style'=>'width:50px')); $form->addInput(array('type'=>'combobox','name'=>'year','data'=>$years,'datakeys'=>array('id','name'),'value'=>$selectedYear,'onchange'=>'yearChange(this.value);')); for ($i=0; $i < count($months); $i++) { $value = "";