fixed 100% also allowed with status archive (from Stefan Becker)

This commit is contained in:
Klaus Leithoff 2009-09-04 12:54:02 +00:00
parent 5ca3fbc7d2
commit b1b4ca66ae

View File

@ -610,7 +610,7 @@ class infolog_bo
{
$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','archive')))
{
//echo "check_defaults:"; _debug_array($this->status[$values['info_type']]);
//$values['info_status'] = 'done';