fix url in connect mode
This commit is contained in:
parent
5dcbfe0e56
commit
bf38f1a80f
@ -150,10 +150,11 @@ if (!$rowid)
|
|||||||
|
|
||||||
print '<TR class="oddeven">';
|
print '<TR class="oddeven">';
|
||||||
// Ref
|
// Ref
|
||||||
$url='https://dashboard.stripe.com/test/payments/'.$charge->id;
|
if (! empty($conf->stripe->enabled) && !empty($stripeaccount)) $connect=$stripeaccount.'/';
|
||||||
|
$url='https://dashboard.stripe.com/'.$connect.'test/payments/'.$charge->id;
|
||||||
if ($servicestatus)
|
if ($servicestatus)
|
||||||
{
|
{
|
||||||
$url='https://dashboard.stripe.com/payments/'.$charge->id;
|
$url='https://dashboard.stripe.com/'.$connect.'payments/'.$charge->id;
|
||||||
}
|
}
|
||||||
print "<TD><a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id."</a></TD>\n";
|
print "<TD><a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id."</a></TD>\n";
|
||||||
// Stripe customer
|
// Stripe customer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user