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>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
// Src ID
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if (!empty($stripeacc)) $connect=$stripeacc.'/';
|
if (!empty($stripeacc)) $connect=$stripeacc.'/';
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'test/sources/'.$src->id;
|
$url='https://dashboard.stripe.com/'.$connect.'test/sources/'.$src->id;
|
||||||
if ($servicestatus)
|
if ($servicestatus)
|
||||||
{
|
{
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'sources/'.$src->id;
|
$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 "<a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$src->id."</a>";
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
// Img of credit card
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($src->object=='card')
|
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 '<span class="fa fa-university fa-2x fa-fw"></span>';
|
||||||
}
|
}
|
||||||
|
print'</td>';
|
||||||
print'</td><td valign="middle">';
|
print '<td valign="middle">';
|
||||||
if ($src->object=='card')
|
if ($src->object=='card')
|
||||||
{
|
{
|
||||||
print '....'.$src->last4.' - '.$src->exp_month.'/'.$src->exp_year.'';
|
print '....'.$src->last4.' - '.$src->exp_month.'/'.$src->exp_year.'';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user