From bab82a77b59f5679d0f7d84192120a8eba8385c1 Mon Sep 17 00:00:00 2001 From: mapiolca <32256817+mapiolca@users.noreply.github.com> Date: Sat, 5 Jan 2019 22:42:51 +0100 Subject: [PATCH] Update card.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Permettre d'ajouter des lignes complémentaires en cas de travaux supplémentaires lors des situations de travaux. --- htdocs/compta/facture/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index aa3b3a8a1a9..61dba965b50 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -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') {