Fix: tr-td
This commit is contained in:
parent
bcba4663e3
commit
3846af73ce
@ -22,7 +22,7 @@
|
|||||||
* \file htdocs/compta/index.php
|
* \file htdocs/compta/index.php
|
||||||
* \ingroup compta
|
* \ingroup compta
|
||||||
* \brief Main page of accountancy area
|
* \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');
|
require('../main.inc.php');
|
||||||
@ -100,12 +100,7 @@ print_fiche_titre($langs->trans("AccountancyTreasuryArea"));
|
|||||||
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||||
|
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
|
print '<td valign="top" width="30%" class="notopnoleft">';
|
||||||
if (($conf->facture->enabled && $user->rights->facture->lire) ||
|
|
||||||
($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire))
|
|
||||||
{
|
|
||||||
print '<td valign="top" width="30%" class="notopnoleft">';
|
|
||||||
}
|
|
||||||
|
|
||||||
$max=3;
|
$max=3;
|
||||||
|
|
||||||
@ -321,16 +316,8 @@ if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($conf->facture->enabled && $user->rights->facture->lire) ||
|
print '</td>';
|
||||||
($conf->fournisseur->enabled && $user->rights->fournisseur->lire))
|
print '<td valign="top" width="70%" class="notopnoleftnoright">';
|
||||||
{
|
|
||||||
print '</td>';
|
|
||||||
print '<td valign="top" width="70%" class="notopnoleftnoright">';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<td valign="top" width="100%" class="notopnoleftnoright">';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Last modified customer invoices
|
// Last modified customer invoices
|
||||||
if ($conf->facture->enabled && $user->rights->facture->lire)
|
if ($conf->facture->enabled && $user->rights->facture->lire)
|
||||||
@ -1045,5 +1032,5 @@ print '</table>';
|
|||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
|
|
||||||
llxFooter('$Date: 2011/06/30 21:53:02 $ - $Revision: 1.182 $');
|
llxFooter('$Date: 2011/07/26 23:11:52 $ - $Revision: 1.183 $');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user