Update card.php
Permettre d'ajouter des lignes complémentaires en cas de travaux supplémentaires lors des situations de travaux.
This commit is contained in:
parent
18f8deb6e9
commit
bab82a77b5
@ -4582,7 +4582,7 @@ else if ($id > 0 || ! empty($ref))
|
||||
$ret = $object->printObjectLines($action, $mysoc, $soc, $lineid, 1);
|
||||
|
||||
// Form to add new line
|
||||
if ($object->statut == 0 && $usercancreate && $action != 'valid' && $action != 'editline' && ($object->is_first() || !$object->situation_cycle_ref))
|
||||
if ($object->statut == 0 && $usercancreate && $action != 'valid' && $action != 'editline')
|
||||
{
|
||||
if ($action != 'editline' && $action != 'selectlines')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user