Update paymentmodes.php
This commit is contained in:
parent
2cf87db10a
commit
78d7ea459d
@ -959,15 +959,17 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
||||
print '<td>';
|
||||
print '</td>';
|
||||
}
|
||||
// Src ID
|
||||
print '<td>';
|
||||
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;
|
||||
}
|
||||
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>';
|
||||
// Img of credit card
|
||||
print '<td>';
|
||||
if ($src->object=='card')
|
||||
{
|
||||
@ -981,8 +983,8 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
||||
{
|
||||
print '<span class="fa fa-university fa-2x fa-fw"></span>';
|
||||
}
|
||||
|
||||
print'</td><td valign="middle">';
|
||||
print'</td>';
|
||||
print '<td valign="middle">';
|
||||
if ($src->object=='card')
|
||||
{
|
||||
print '....'.$src->last4.' - '.$src->exp_month.'/'.$src->exp_year.'';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user