Uniformisation du style class="noborder" au lieu de border="0"
This commit is contained in:
parent
427c4764c5
commit
0162df1793
@ -164,14 +164,14 @@ if ( $db->query($sql) )
|
||||
print_barre_liste("Liste des actions commerciales réalisées ou à faire", $page, $PHP_SELF,'',$sortfield,$sortorder,'',$num);
|
||||
}
|
||||
$i = 0;
|
||||
print "<TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print '<TR class="liste_titre">';
|
||||
print '<TD colspan="4">Date</TD>';
|
||||
print '<TD>Avancement</TD>';
|
||||
print '<TD>Action</TD>';
|
||||
print '<TD>Société</td>';
|
||||
print '<td>Contact</TD>';
|
||||
print "<td>Commentaires</td><td>Auteur</TD>";
|
||||
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td colspan="4">Date</td>';
|
||||
print '<td>Avancement</td>';
|
||||
print '<td>Action</td>';
|
||||
print '<td>Société</td>';
|
||||
print '<td>Contact</Td>';
|
||||
print "<td>Commentaires</td><td>Auteur</td>";
|
||||
print "</tr>\n";
|
||||
$var=True;
|
||||
while ($i < min($num,$limit))
|
||||
@ -180,7 +180,7 @@ if ( $db->query($sql) )
|
||||
|
||||
$var=!$var;
|
||||
|
||||
print "<TR $bc[$var]>";
|
||||
print "<tr $bc[$var]>";
|
||||
|
||||
if ($oldyear == strftime("%Y",$obj->da) )
|
||||
{
|
||||
@ -188,7 +188,7 @@ if ( $db->query($sql) )
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<TD width=\"30\">" .strftime("%Y",$obj->da)."</TD>\n";
|
||||
print "<td width=\"30\">" .strftime("%Y",$obj->da)."</td>\n";
|
||||
$oldyear = strftime("%Y",$obj->da);
|
||||
}
|
||||
|
||||
@ -198,19 +198,19 @@ if ( $db->query($sql) )
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<TD width=\"20\">" .strftime("%b",$obj->da)."</TD>\n";
|
||||
print "<td width=\"20\">" .strftime("%b",$obj->da)."</td>\n";
|
||||
$oldmonth = strftime("%Y%b",$obj->da);
|
||||
}
|
||||
|
||||
print "<TD width=\"20\">" .strftime("%d",$obj->da)."</TD>\n";
|
||||
print "<TD width=\"30\">" .strftime("%H:%M",$obj->da)."</TD>\n";
|
||||
print "<td width=\"20\">" .strftime("%d",$obj->da)."</td>\n";
|
||||
print "<td width=\"30\">" .strftime("%H:%M",$obj->da)."</td>\n";
|
||||
if ($obj->percent < 100) {
|
||||
print "<TD align=\"center\">".$obj->percent."%</TD>";
|
||||
print "<td align=\"center\">".$obj->percent."%</td>";
|
||||
}
|
||||
else {
|
||||
print "<TD align=\"center\"><b>réalisé</b></TD>";
|
||||
print "<td align=\"center\"><b>réalisé</b></td>";
|
||||
}
|
||||
print '<TD><a href="fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
||||
|
||||
print '<td>';
|
||||
|
||||
@ -245,12 +245,12 @@ if ( $db->query($sql) )
|
||||
*
|
||||
*/
|
||||
print '<td>'.substr($obj->note, 0, 20).' ...</td>';
|
||||
print "<TD>$obj->code</TD>\n";
|
||||
print "<td>$obj->code</td>\n";
|
||||
|
||||
print "</TR>\n";
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
print "</TABLE>";
|
||||
print "</table>";
|
||||
$db->free();
|
||||
}
|
||||
else
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -33,7 +34,7 @@ print '<tr><td valign="top" width="30%">';
|
||||
*
|
||||
*/
|
||||
print '<form method="post" action="liste.php">';
|
||||
print '<table border="0" cellspacing="0" cellpadding="3" width="100%">';
|
||||
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
|
||||
print '<tr class="liste_titre"><td colspan="2">Rechercher une commande</td></tr>';
|
||||
print "<tr $bc[1]><td>";
|
||||
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>';
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -82,9 +83,9 @@ if ( $db->query($sql) )
|
||||
print_barre_liste("Commandes", $_GET["page"], $PHP_SELF,"&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
||||
|
||||
$i = 0;
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print '<TR class="liste_titre">';
|
||||
print '<tr class="liste_titre">';
|
||||
|
||||
print_liste_field_titre_new ("Réf",$PHP_SELF,"c.ref","","&socidp=$socidp",'width="15%"',$sortfield);
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ $month=$_GET["month"];
|
||||
if (! $year) { $year = strftime("%Y", time()); }
|
||||
|
||||
|
||||
print_titre("Résultat comptable".($year?" année $year":"").", détail par client/fournisseur");
|
||||
print_titre("Détail recettes-dépenses par client/fournisseur.".($year?" <a href='$PHP_SELF?year=".($year-1)."'>".img_previous()."</a> Année $year <a href='$PHP_SELF?year=".($year+1)."'>".img_next()."</a>":""));
|
||||
|
||||
print '<br>';
|
||||
|
||||
@ -48,7 +48,11 @@ print '<td width="10%"> </td><td>El
|
||||
print "<td align=\"right\">Montant HT</td>";
|
||||
print "</tr>\n";
|
||||
|
||||
/* Factures clients */
|
||||
|
||||
/*
|
||||
* Factures clients
|
||||
*
|
||||
*/
|
||||
|
||||
$sql = "SELECT s.nom,s.idp,sum(f.total) as amount";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture as f WHERE f.fk_soc = s.idp AND f.fk_statut = 1";
|
||||
@ -87,11 +91,12 @@ if ($result) {
|
||||
print $db->error();
|
||||
}
|
||||
print '<tr><td colspan="3" align="right">'.price($total).'</td></tr>';
|
||||
|
||||
/*
|
||||
* Frais, factures fournisseurs.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
$sql = "SELECT s.nom,s.idp,sum(f.total_ht) as amount";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture_fourn as f WHERE f.fk_soc = s.idp";
|
||||
if ($year) {
|
||||
@ -133,6 +138,7 @@ print '<tr><td colspan="3" align="right">'.price($subtotal).'</td></tr>';
|
||||
* Charges sociales
|
||||
*
|
||||
*/
|
||||
|
||||
$subtotal = 0;
|
||||
print '<tr><td colspan="4">Prestations/Charges déductibles</td></tr>';
|
||||
|
||||
@ -167,10 +173,12 @@ if ( $db->query($sql) ) {
|
||||
print '<tr><td colspan="3" align="right">'.price($subtotal).'</td></tr>';
|
||||
|
||||
print '<tr><td align="right" colspan="2">Résultat</td><td class="border" align="right">'.price($total).'</td></tr>';
|
||||
|
||||
/*
|
||||
* Charges sociales non déductibles
|
||||
*
|
||||
*/
|
||||
|
||||
$subtotal = 0;
|
||||
print '<tr><td colspan="4">Prestations/Charges NON déductibles</td></tr>';
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -66,23 +67,23 @@ if ( $db->query($sql) )
|
||||
|
||||
print_barre_liste("Liste des contrats", $page, $PHP_SELF, "&sref=$sref&snom=$snom", $sortfield, $sortorder,'',$num);
|
||||
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print '<TR class="liste_titre"><td>';
|
||||
print '<tr class="liste_titre"><td>';
|
||||
print_liste_field_titre("Libellé",$PHP_SELF, "p.label");
|
||||
print "</td><td>";
|
||||
print_liste_field_titre("Société",$PHP_SELF, "s.nom");
|
||||
print '</td><td align="center">Etat</td>';
|
||||
print "</TR>\n";
|
||||
print "</tr>\n";
|
||||
|
||||
$var=True;
|
||||
while ($i < min($num,$limit))
|
||||
{
|
||||
$obj = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD><a href=\"fiche.php?id=$obj->cid\">$obj->label</a></td>\n";
|
||||
print "<TD><a href=\"../comm/fiche.php?socid=$obj->sidp\">$obj->nom</a></TD>\n";
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$obj->cid\">$obj->label</a></td>\n";
|
||||
print "<td><a href=\"../comm/fiche.php?socid=$obj->sidp\">$obj->nom</a></td>\n";
|
||||
print '<td align="center">';
|
||||
if ($obj->enservice == 1)
|
||||
{
|
||||
@ -96,7 +97,7 @@ if ( $db->query($sql) )
|
||||
{
|
||||
print "A mettre en service</td>";
|
||||
}
|
||||
print "</TR>\n";
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
$db->free();
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -85,9 +86,9 @@ if ( $db->query($sql) )
|
||||
print_barre_liste("Expeditions", $_GET["page"], $PHP_SELF,"&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
||||
|
||||
$i = 0;
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print '<TR class="liste_titre">';
|
||||
print '<tr class="liste_titre">';
|
||||
|
||||
print_liste_field_titre_new ("Réf",$PHP_SELF,"e.ref","","&socidp=$socidp",'width="15%"',$sortfield);
|
||||
|
||||
@ -102,8 +103,8 @@ if ( $db->query($sql) )
|
||||
$objp = $db->fetch_object( $i);
|
||||
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD><a href=\"fiche.php?id=$objp->rowid\">$objp->ref</a></TD>\n";
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$objp->rowid\">$objp->ref</a></td>\n";
|
||||
|
||||
$now = time();
|
||||
$lim = 3600 * 24 * 15 ;
|
||||
@ -117,7 +118,7 @@ if ( $db->query($sql) )
|
||||
print "<td> </td>";
|
||||
}
|
||||
|
||||
print "<TD align=\"right\">";
|
||||
print "<td align=\"right\">";
|
||||
$y = strftime("%Y",$objp->date_expedition);
|
||||
$m = strftime("%m",$objp->date_expedition);
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -68,37 +69,37 @@ if ( $db->query($sql) )
|
||||
print_barre_liste("Liste des fiches d'intervention", $page, $PHP_SELF,"&socid=$socid",$sortfield,$sortorder,'',$num);
|
||||
|
||||
$i = 0;
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<TR class=\"liste_titre\">";
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print_liste_field_titre_new ("Num",$PHP_SELF,"f.ref","","&socid=$socid",'width="15%"',$sortfield);
|
||||
print_liste_field_titre_new ("Société",$PHP_SELF,"s.nom","","&socid=$socid",'',$sortfield);
|
||||
print_liste_field_titre_new ("Date",$PHP_SELF,"f.datei","","&socid=$socid",'',$sortfield);
|
||||
print '<TD align="center">Durée</TD>';
|
||||
print '<TD align="center">Statut</TD><td> </td>';
|
||||
print "</TR>\n";
|
||||
print '<td align="center">Durée</td>';
|
||||
print '<td align="center">Statut</td><td> </td>';
|
||||
print "</tr>\n";
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD><a href=\"fiche.php?id=$objp->fichid\">$objp->ref</a></TD>\n";
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$objp->fichid\">$objp->ref</a></td>\n";
|
||||
|
||||
print '<td><a href="index.php?socid='.$objp->idp.'"><img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/filter.png" border="0"></a> ';
|
||||
print "<a href=\"../comm/fiche.php?socid=$objp->idp\">$objp->nom</a></TD>\n";
|
||||
print "<TD>".strftime("%d %B %Y",$objp->dp)."</TD>\n";
|
||||
print '<TD align="center">'.sprintf("%.1f",$objp->duree).'</TD>';
|
||||
print '<TD align="center">'.$objp->fk_statut.'</TD>';
|
||||
print "<a href=\"../comm/fiche.php?socid=$objp->idp\">$objp->nom</a></td>\n";
|
||||
print "<td>".strftime("%d %B %Y",$objp->dp)."</TD>\n";
|
||||
print '<td align="center">'.sprintf("%.1f",$objp->duree).'</td>';
|
||||
print '<Td align="center">'.$objp->fk_statut.'</td>';
|
||||
|
||||
if ($user->societe_id == 0)
|
||||
{
|
||||
print '<TD align="center"><a href="fiche.php?socidp='.$objp->idp.'&action=create">[Fiche Inter]</A></td>';
|
||||
print '<td align="center"><a href="fiche.php?socidp='.$objp->idp.'&action=create">[Fiche Inter]</a></td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<td> </td>";
|
||||
}
|
||||
print "</TR>\n";
|
||||
print "</tr>\n";
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -74,8 +75,9 @@ $pagenext = $page + 1;
|
||||
*
|
||||
*
|
||||
*/
|
||||
print '<p><TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<TR class="liste_titre"><td>';
|
||||
print '<br>';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<tr class="liste_titre"><td>';
|
||||
print_liste_field_titre("Titre",$PHP_SELF,"p.title");
|
||||
print "</td><td>Réf</td><td>";
|
||||
print_liste_field_titre("Société",$PHP_SELF,"s.nom");
|
||||
@ -101,9 +103,9 @@ if ( $db->query($sql) )
|
||||
{
|
||||
$objp = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD><a href=\"fiche.php?id=$objp->projectid\">$objp->title</a></TD>\n";
|
||||
print "<TD><a href=\"fiche.php?id=$objp->projectid\">$objp->ref</a></TD>\n";
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"fiche.php?id=$objp->projectid\">$objp->title</a></td>\n";
|
||||
print "<td><a href=\"fiche.php?id=$objp->projectid\">$objp->ref</a></td>\n";
|
||||
if ($obj->client == 1)
|
||||
{
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$objp->idp.'">'.$objp->nom.'</a></td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user