Skip to content

Commit

Permalink
Fix button create contract from order not visible sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 31, 2016
1 parent 292993c commit ec5bd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/commande/card.php
Expand Up @@ -2513,7 +2513,7 @@
}

// Create contract
if ($conf->contrat->enabled && ($object->statut == Commande::STATUS_VALIDATED || $object->statut == Commande::STATUS_ACCEPTED)) {
if ($conf->contrat->enabled && ($object->statut == Commande::STATUS_VALIDATED || $object->statut == Commande::STATUS_ACCEPTED || $object->statut == Commande::STATUS_CLOSED)) {
$langs->load("contracts");

if ($user->rights->contrat->creer) {
Expand Down

0 comments on commit ec5bd2a

Please sign in to comment.