Mise en conformité
This commit is contained in:
parent
bfa307749f
commit
713658a877
@ -916,7 +916,7 @@ else
|
|||||||
print_titre("Documents");
|
print_titre("Documents");
|
||||||
print '<table width="100%" cellspacing="0" border="1" cellpadding="3">';
|
print '<table width="100%" cellspacing="0" border="1" cellpadding="3">';
|
||||||
|
|
||||||
print "<tr $bc[0]><td>Facture PDF</a></td>";
|
print "<tr $bc[0]><td>Facture PDF</td>";
|
||||||
print '<td><a href="'.FAC_OUTPUT_URL."/".$fac->ref."/".$fac->ref.'.pdf">'.$fac->ref.'.pdf</a></td>';
|
print '<td><a href="'.FAC_OUTPUT_URL."/".$fac->ref."/".$fac->ref.'.pdf">'.$fac->ref.'.pdf</a></td>';
|
||||||
print '<td align="right">'.filesize($file). ' bytes</td>';
|
print '<td align="right">'.filesize($file). ' bytes</td>';
|
||||||
print '<td align="right">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td>';
|
print '<td align="right">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td>';
|
||||||
|
|||||||
@ -266,7 +266,7 @@ if ( $db->query($sql) )
|
|||||||
{
|
{
|
||||||
$obj = $db->fetch_object( $i);
|
$obj = $db->fetch_object( $i);
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td><a href="facture.php?facid='.$obj->rowid.'">'.$obj->facnumber.'</td>';
|
print '<tr '.$bc[$var].'><td><a href="facture.php?facid='.$obj->rowid.'">'.$obj->facnumber.'</a></td>';
|
||||||
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td>';
|
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td>';
|
||||||
print '<td align="right">'.price($obj->total_ttc).'</td></tr>';
|
print '<td align="right">'.price($obj->total_ttc).'</td></tr>';
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -38,11 +38,11 @@ function llxHeader($head = "", $urlp = "", $title="")
|
|||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/product/index.php?type=0", "Produits");
|
$menu->add(DOL_URL_ROOT."/product/index.php?type=0", "Produits");
|
||||||
$menu->add_submenu("liste.php?type=0","Liste");
|
$menu->add_submenu("liste.php?type=0","Liste");
|
||||||
$menu->add_submenu("fiche.php?&action=create&type=0","Nouveau produit");
|
$menu->add_submenu("fiche.php?action=create&type=0","Nouveau produit");
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/product/index.php?type=1", "Services");
|
$menu->add(DOL_URL_ROOT."/product/index.php?type=1", "Services");
|
||||||
$menu->add_submenu("liste.php?type=1","Liste");
|
$menu->add_submenu("liste.php?type=1","Liste");
|
||||||
$menu->add_submenu("fiche.php?&action=create&type=1","Nouveau service");
|
$menu->add_submenu("fiche.php?action=create&type=1","Nouveau service");
|
||||||
|
|
||||||
if (defined("MAIN_MODULE_BOUTIQUE") && MAIN_MODULE_BOUTIQUE)
|
if (defined("MAIN_MODULE_BOUTIQUE") && MAIN_MODULE_BOUTIQUE)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user