Fix bad link
This commit is contained in:
parent
590b1d1e90
commit
5317d0432d
@ -150,27 +150,30 @@ if (!$rowid)
|
|||||||
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
|
|
||||||
if (!empty($stripeacc)) $connect=$stripeacc.'/';
|
if (!empty($stripeacc)) $connect=$stripeacc.'/';
|
||||||
|
|
||||||
// Ref
|
// Ref
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'test/payments/'.$charge->id;
|
$url='https://dashboard.stripe.com/'.$connect.'test/payments/'.$charge->id;
|
||||||
if ($servicestatus)
|
if ($servicestatus)
|
||||||
{
|
{
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'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>";
|
||||||
|
print "<a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id."</a>";
|
||||||
|
print "</td>\n";
|
||||||
// Stripe customer
|
// Stripe customer
|
||||||
print "<td>";
|
print "<td>";
|
||||||
|
if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/';
|
||||||
if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/';
|
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'test/customers/'.$charge->customer;
|
$url='https://dashboard.stripe.com/'.$connect.'test/customers/'.$charge->customer;
|
||||||
if ($servicestatus)
|
if ($servicestatus)
|
||||||
{
|
{
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'customers/'.$charge->customer;
|
$url='https://dashboard.stripe.com/'.$connect.'customers/'.$charge->customer;
|
||||||
}
|
}
|
||||||
print '<a href="'.$url.'" target="_stripe">'.img_picto($langs->trans('ShowInStripe'), 'object_globe').' '.$charge->customer.'</a>';
|
if (! empty($charge->customer))
|
||||||
|
{
|
||||||
print "</td>\n";
|
print '<a href="'.$url.'" target="_stripe">'.img_picto($langs->trans('ShowInStripe'), 'object_globe').' '.$charge->customer.'</a>';
|
||||||
|
}
|
||||||
|
print "</td>\n";
|
||||||
// Link
|
// Link
|
||||||
print "<td>";
|
print "<td>";
|
||||||
if ($societestatic->id > 0)
|
if ($societestatic->id > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user