forked from extern/egroupware
fixing check_default, setting info_percent to 100, when status is done or billed
This commit is contained in:
parent
a8bf31c274
commit
bd3e6ca818
@ -583,7 +583,7 @@ class infolog_bo
|
|||||||
}
|
}
|
||||||
if (in_array($values['info_status'],array('done','billed')))
|
if (in_array($values['info_status'],array('done','billed')))
|
||||||
{
|
{
|
||||||
$values['info_percent'] == '100%';
|
$values['info_percent'] = '100';
|
||||||
}
|
}
|
||||||
if ((int)$values['info_percent'] == 100 && !in_array($values['info_status'],array('done','billed','cancelled')))
|
if ((int)$values['info_percent'] == 100 && !in_array($values['info_status'],array('done','billed','cancelled')))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user