Skip to content

Commit

Permalink
Merge pull request #10999 from ptibogxiv/patch-149
Browse files Browse the repository at this point in the history
Fix: only display stripe customer if customer
  • Loading branch information
eldy committed Apr 11, 2019
2 parents 8079a38 + ab172e3 commit d975522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/societe/paymentmodes.php
Expand Up @@ -750,7 +750,6 @@
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))
{
Expand Down Expand Up @@ -786,6 +785,7 @@
}
print '</td></tr>';
}
}

print '</table>';
print '</div>';
Expand Down

0 comments on commit d975522

Please sign in to comment.