Add source link in stripe
This commit is contained in:
parent
f5029bf52b
commit
2cf87db10a
@ -960,7 +960,13 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $src->id;
|
if (!empty($stripeacc)) $connect=$stripeacc.'/';
|
||||||
|
$url='https://dashboard.stripe.com/'.$connect.'test/sources/'.$src->id;
|
||||||
|
if ($servicestatus)
|
||||||
|
{
|
||||||
|
$url='https://dashboard.stripe.com/'.$connect.'sources/'.$src->id;
|
||||||
|
}
|
||||||
|
print "<a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$src->id."</a>";
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($src->object=='card')
|
if ($src->object=='card')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user