mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update paymentmodes.php
This commit is contained in:
parent
de5872db6d
commit
0fafeab764
|
|
@ -816,7 +816,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||
}
|
||||
}
|
||||
|
||||
if ($object->fournisseur && $conf->global->MAIN_FEATURES_LEVEL >= 2)
|
||||
if ($object->fournisseur)
|
||||
{
|
||||
print '<tr><td class="titlefield">';
|
||||
print $langs->trans('SupplierCode').'</td><td colspan="2">';
|
||||
|
|
@ -833,8 +833,9 @@ 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) && ! empty($conf->stripeconnect->enabled))
|
||||
}
|
||||
|
||||
if (! empty($conf->stripe->enabled) && ! empty($conf->stripeconnect->enabled) && $conf->global->MAIN_FEATURES_LEVEL >= 2)
|
||||
{
|
||||
$permissiontowrite = $user->rights->societe->creer;
|
||||
$stripesupplieracc = $stripe->getStripeAccount($service, $object->id); // Get Stripe OAuth connect account (no network access here)
|
||||
|
|
@ -868,7 +869,6 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||
}
|
||||
print '</td></tr>';
|
||||
}
|
||||
}
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user