FIX colspan
This commit is contained in:
parent
d3e1a01273
commit
3affcd7f52
@ -358,14 +358,16 @@ if ($socid && $action != 'edit' && $action != "create")
|
|||||||
|
|
||||||
print load_fiche_titre($langs->trans("DefaultRIB"), '', '');
|
print load_fiche_titre($langs->trans("DefaultRIB"), '', '');
|
||||||
|
|
||||||
|
print '<div class="fichecenter">';
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
print '<table class="border centpercent">';
|
print '<table class="border centpercent">';
|
||||||
|
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("LabelRIB").'</td>';
|
print '<tr><td class="titlefield">'.$langs->trans("LabelRIB").'</td>';
|
||||||
print '<td colspan="4">'.$account->label.'</td></tr>';
|
print '<td>'.$account->label.'</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("BankName").'</td>';
|
print '<tr><td>'.$langs->trans("BankName").'</td>';
|
||||||
print '<td colspan="4">'.$account->bank.'</td></tr>';
|
print '<td>'.$account->bank.'</td></tr>';
|
||||||
|
|
||||||
// Show fields of bank account
|
// Show fields of bank account
|
||||||
foreach($account->getFieldsToShow(1) as $val)
|
foreach($account->getFieldsToShow(1) as $val)
|
||||||
@ -406,24 +408,24 @@ if ($socid && $action != 'edit' && $action != "create")
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans($val).'</td>';
|
print '<tr><td>'.$langs->trans($val).'</td>';
|
||||||
print '<td colspan="4">'.$content.'</td>';
|
print '<td>'.$content.'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("BankAccountDomiciliation").'</td><td colspan="4">';
|
print '<tr><td>'.$langs->trans("BankAccountDomiciliation").'</td><td>';
|
||||||
print $account->domiciliation;
|
print $account->domiciliation;
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("BankAccountOwner").'</td><td colspan="4">';
|
print '<tr><td>'.$langs->trans("BankAccountOwner").'</td><td>';
|
||||||
print $account->proprio;
|
print $account->proprio;
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("BankAccountOwnerAddress").'</td><td colspan="4">';
|
print '<tr><td>'.$langs->trans("BankAccountOwnerAddress").'</td><td>';
|
||||||
print $account->owner_address;
|
print $account->owner_address;
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
@ -610,7 +612,7 @@ if ($socid && $action != 'edit' && $action != "create")
|
|||||||
{
|
{
|
||||||
$colspan=8;
|
$colspan=8;
|
||||||
if (! empty($conf->prelevement->enabled)) $colspan+=2;
|
if (! empty($conf->prelevement->enabled)) $colspan+=2;
|
||||||
print '<tr '.$bc[0].'><td colspan="'.$colspan.'" align="center">'.$langs->trans("NoBANRecord").'</td></tr>';
|
print '<tr '.$bc[0].'><td colspan="'.$colspan.'" class="opacitymedium">'.$langs->trans("NoBANRecord").'</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user