Fix stripe link
This commit is contained in:
parent
67ed1e0841
commit
200af6ea5c
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user