From ab172e30ad2081b6c78d00943e15cc5b0be7e18e Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Thu, 11 Apr 2019 16:11:00 +0200 Subject: [PATCH] only display stripe customer if customer --- htdocs/societe/paymentmodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index f928658db3e..24bdedc946f 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -750,7 +750,6 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' if ($conf->commande->enabled && $user->rights->commande->lire) $elementTypeArray['order']=$langs->transnoentitiesnoconv('Orders'); if ($conf->facture->enabled && $user->rights->facture->lire) $elementTypeArray['invoice']=$langs->transnoentitiesnoconv('Invoices'); if ($conf->contrat->enabled && $user->rights->contrat->lire) $elementTypeArray['contract']=$langs->transnoentitiesnoconv('Contracts'); - } if (! empty($conf->stripe->enabled)) { @@ -786,6 +785,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' } print ''; } + } print ''; print '';