mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Allow status cancelled to be 100% completed
This commit is contained in:
parent
c49dc59ab3
commit
f0d2e72521
@ -814,7 +814,7 @@ class infolog_bo
|
||||
$values['info_percent'] = 0;
|
||||
}
|
||||
else if (
|
||||
($values['info_status'] != 'archive' && in_array($values['info_status'], $this->stock_status[$values['info_type']])) &&
|
||||
($values['info_status'] != 'archive' && $values['info_status'] != 'cancelled' && in_array($values['info_status'], $this->stock_status[$values['info_type']])) &&
|
||||
((int)$values['info_percent'] == 100 || $values['info_percent'] == 0))
|
||||
{
|
||||
// We change percent to match status, not status to match percent
|
||||
|
Loading…
Reference in New Issue
Block a user