File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 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
270272 print '</div> ' ;
271273}
272274print '
275+ <hr>
273276 <div class="linkcard"> ' ;
274277
275278
278281foreach ($ 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 .' --> ' ;
295297}
296298if ($ 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
You can’t perform that action at this time.
0 commit comments