From 78d7ea459d15ae9d7ee5c3514f297a63b145c52e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Oct 2018 19:49:16 +0200 Subject: [PATCH] Update paymentmodes.php --- htdocs/societe/paymentmodes.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index 0fcd7b120db..1acc31cc8ec 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -959,15 +959,17 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' print ''; print ''; } + // Src ID print ''; - 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 "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$src->id.""; print ''; + // Img of credit card print ''; if ($src->object=='card') { @@ -981,8 +983,8 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' { print ''; } - - print''; + print''; + print ''; if ($src->object=='card') { print '....'.$src->last4.' - '.$src->exp_month.'/'.$src->exp_year.'';