Skip to content
Snippets Groups Projects
Commit 3846af73 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: tr-td

parent bcba4663
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
* \file htdocs/compta/index.php
* \ingroup compta
* \brief Main page of accountancy area
* \version $Id: index.php,v 1.182 2011/06/30 21:53:02 eldy Exp $
* \version $Id: index.php,v 1.183 2011/07/26 23:11:52 eldy Exp $
*/
require('../main.inc.php');
......@@ -100,12 +100,7 @@ print_fiche_titre($langs->trans("AccountancyTreasuryArea"));
print '<table border="0" width="100%" class="notopnoleftnoright">';
print '<tr>';
if (($conf->facture->enabled && $user->rights->facture->lire) ||
($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire))
{
print '<td valign="top" width="30%" class="notopnoleft">';
}
print '<td valign="top" width="30%" class="notopnoleft">';
$max=3;
......@@ -321,16 +316,8 @@ if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire)
}
}
if (($conf->facture->enabled && $user->rights->facture->lire) ||
($conf->fournisseur->enabled && $user->rights->fournisseur->lire))
{
print '</td>';
print '<td valign="top" width="70%" class="notopnoleftnoright">';
}
else
{
print '<td valign="top" width="100%" class="notopnoleftnoright">';
}
print '</td>';
print '<td valign="top" width="70%" class="notopnoleftnoright">';
// Last modified customer invoices
if ($conf->facture->enabled && $user->rights->facture->lire)
......@@ -1045,5 +1032,5 @@ print '</table>';
$db->close();
llxFooter('$Date: 2011/06/30 21:53:02 $ - $Revision: 1.182 $');
llxFooter('$Date: 2011/07/26 23:11:52 $ - $Revision: 1.183 $');
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment