diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php index d630e56add6..ed8d93fdba3 100644 --- a/htdocs/compta/clients.php +++ b/htdocs/compta/clients.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2003-2004 Rodolphe Quiedeville * Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -35,6 +35,11 @@ if ($conf->webcal->enabled) { require("../lib/webcal.class.php"); } +$page=$_GET["page"]; +$sortorder=$_GET["sortorder"]; +$sortfield=$_GET["sortfield"]; + + $langs->load("companies"); llxHeader(); @@ -226,11 +231,11 @@ if ($result) { $sortorder="DESC"; } - print ''; + print '
'; print ''; print_liste_field_titre($langs->trans("Company"),"clients.php","s.nom","","",'valign="center"'); print ''; - print "\n"; + print "\n"; $var=True; @@ -244,15 +249,6 @@ if ($result) print "\n"; print "\n"; print "\n"; - - if ($user->societe_id == 0) - { - print "\n"; - } - else - { - print "\n"; - } print "\n"; $i++; }
'.$langs->trans("Company").'Préfix 
Préfix
idp\">$obj->nom".$obj->ville." $obj->prefix_comm idp&action=create\">Facturer \"Nouvelle