Skip to content

Commit 493c9e6

Browse files
committed
CSS
1 parent 50b8906 commit 493c9e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

myaccount/tpl/registerpaymentmode.tpl.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
*
2424
* @var string $backtourl
2525
* @var Societe $mythirdpartyaccount
26+
* @var int $nowyear
27+
* @var int $nowmonth
2628
*/
2729

2830
// Protection to avoid direct call of template
@@ -270,6 +272,7 @@
270272
print '</div>';
271273
}
272274
print '
275+
<hr>
273276
<div class="linkcard">';
274277

275278

@@ -278,7 +281,6 @@
278281
foreach ($arrayofcompanypaymentmode as $companypaymentmodetemp) {
279282
if ($companypaymentmodetemp->type == 'card') {
280283
$foundcard++;
281-
print '<hr>';
282284
print '<div class="marginbottomonly">'.img_credit_card($companypaymentmodetemp->card_type, 'marginrightonlyimp');
283285
print '<span class="opacitymedium">'.$langs->trans("CurrentCreditOrDebitCard").'</span></div>';
284286
print '<!-- companypaymentmode id = '.$companypaymentmodetemp->id.' -->';
@@ -295,7 +297,7 @@
295297
}
296298
if ($foundcard) {
297299
print '<hr>';
298-
print '<div class="marginbottomonly">'.img_credit_card($companypaymentmodetemp->card_type, 'marginrightonlyimp');
300+
print '<div class="marginbottomonly">'.img_credit_card('', 'marginrightonlyimp');
299301
print '<span class="opacitymedium">'.$langs->trans("NewCreditOrDebitCard").'</span></div>';
300302
}
301303

0 commit comments

Comments
 (0)