Skip to content

Commit

Permalink
Fix: colspan
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 11, 2014
1 parent bb355ec commit 723bad0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/societe/soc.php
Expand Up @@ -1497,7 +1497,7 @@
print '</tr>';

// Logo+barcode
$rowspan=4;
$rowspan=6;
if (! empty($conf->global->SOCIETE_USEPREFIX)) $rowspan++;
if (! empty($object->client)) $rowspan++;
if (! empty($conf->fournisseur->enabled) && $object->fournisseur && ! empty($user->rights->fournisseur->lire)) $rowspan++;
Expand Down Expand Up @@ -1588,12 +1588,12 @@
if (empty($conf->global->SOCIETE_DISABLE_STATE)) print '<tr><td>'.$langs->trans('State').'</td><td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">'.$object->state.'</td>';

// EMail
print '<tr><td>'.$langs->trans('EMail').'</td><td colspan="3">';
print '<tr><td>'.$langs->trans('EMail').'</td><td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">';
print dol_print_email($object->email,0,$object->id,'AC_EMAIL');
print '</td></tr>';

// Web
print '<tr><td>'.$langs->trans('Web').'</td><td colspan="3">';
print '<tr><td>'.$langs->trans('Web').'</td><td colspan="'.(2+(($showlogo || $showbarcode)?0:1)).'">';
print dol_print_url($object->url);
print '</td></tr>';

Expand Down

0 comments on commit 723bad0

Please sign in to comment.