X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=quotas.php;h=68b8a6198756deca8cb61f369d6b593f2b33da06;hb=afe2d051307ae2cd54bdb957f04e1d9f625f2dd9;hp=83107ad7acb84091918f2709396b70aaccdc9667;hpb=33e6efffe820369eacd46596a8f799f941d42f93;p=timetracker.git diff --git a/quotas.php b/quotas.php index 83107ad7..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->getDailyWorkingHours(), '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 = "";