mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:52 +01:00
Fix timesheet sum
This commit is contained in:
parent
1d5bcc7194
commit
c158a32c72
@ -135,11 +135,7 @@ class infolog_merge extends bo_merge
|
|||||||
{
|
{
|
||||||
$timesheets = array();
|
$timesheets = array();
|
||||||
$links = egw_link::get_links('infolog',$id,'timesheet');
|
$links = egw_link::get_links('infolog',$id,'timesheet');
|
||||||
foreach($links as $link)
|
$sum = ExecMethod('timesheet.timesheet_bo.sum',$links);
|
||||||
{
|
|
||||||
$timesheets[] = $link['id'];
|
|
||||||
}
|
|
||||||
$sum = ExecMethod('timesheet.timesheet_bo.sum',$timesheets);
|
|
||||||
$info['$$info_sum_timesheets$$'] = $sum['duration'];
|
$info['$$info_sum_timesheets$$'] = $sum['duration'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user