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

Look: Modif esthtique mineure

parent c85780c4
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ print '<table class="noborder" width="100%">'; ...@@ -89,7 +89,7 @@ print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
print '<td colspan="2">'.$langs->trans("SearchABill").'</td></tr>'; print '<td colspan="2">'.$langs->trans("SearchABill").'</td></tr>';
print "<tr $bc[0]><td>"; print "<tr $bc[0]><td>";
print $langs->trans("Ref").' : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; print $langs->trans("Ref").': <input type="text" name="sf_ref" class="flat" size="18">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
print "</table></form><br>"; print "</table></form><br>";
...@@ -366,23 +366,23 @@ if ($conf->facture->enabled && $user->rights->facture->lire) ...@@ -366,23 +366,23 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
// \todo Mettre ici recup des actions en rapport avec la compta // \todo Mettre ici recup des actions en rapport avec la compta
$result = 0; $resql = 0;
if ( $result ) if ($resql)
{ {
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("TasksToDo").'</td>'; print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("TasksToDo").'</td>';
print "</tr>\n"; print "</tr>\n";
$var = True; $var = True;
$i = 0; $i = 0;
while ($i < $db->num_rows() ) while ($i < $db->num_rows($resql) )
{ {
$obj = $db->fetch_object(); $obj = $db->fetch_object($resql);
$var=!$var; $var=!$var;
print "<tr $bc[$var]><td>".strftime("%d %b %Y",$obj->da)."</td><td><a href=\"action/fiche.php\">$obj->libelle $obj->label</a></td></tr>"; print "<tr $bc[$var]><td>".strftime("%d %b %Y",$obj->da)."</td><td><a href=\"action/fiche.php\">$obj->libelle $obj->label</a></td></tr>";
$i++; $i++;
} }
$db->free(); $db->free($resql);
print "</table><br>"; print "</table><br>";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment