mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Fix stripe link
This commit is contained in:
@@ -710,7 +710,9 @@ else
|
|||||||
|
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print $langs->trans('CronLastResult')."</td><td>";
|
print $langs->trans('CronLastResult')."</td><td>";
|
||||||
|
if ($object->lastresult) print '<span class="error">';
|
||||||
print $object->lastresult;
|
print $object->lastresult;
|
||||||
|
if ($object->lastresult) print '</span>';
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
|
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
|
|||||||
@@ -758,7 +758,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
//print $stripecu;
|
//print $stripecu;
|
||||||
print $form->editfieldval("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', null, null, '', 2, '', 'socid');
|
print $form->editfieldval("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', null, null, '', 2, '', 'socid');
|
||||||
if ($stripecu)
|
if ($stripecu && $action != 'editkey_account')
|
||||||
{
|
{
|
||||||
$url='https://dashboard.stripe.com/test/customers/'.$stripecu;
|
$url='https://dashboard.stripe.com/test/customers/'.$stripecu;
|
||||||
if ($servicestatus)
|
if ($servicestatus)
|
||||||
|
|||||||
Reference in New Issue
Block a user