diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index c7973bba5df..73374c409db 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -158,7 +158,7 @@ if ($_GET["action"] == 'create') $caction = new CActioncomm($db); - if ($afaire <> 1) + if ($_GET["afaire"] <> 1) { $caction->fetch($db, $_GET["actionid"]); @@ -214,7 +214,7 @@ if ($_GET["action"] == 'create') */ else { - if($afaire <> 1) + if ($_GET["afaire"] <> 1) { print_titre ("Action effectuée"); print ''; @@ -234,7 +234,7 @@ if ($_GET["action"] == 'create') print_titre ("Prochaine Action à faire"); print '
'; - if($afaire <> 1) + if ($_GET["afaire"] <> 1) { print ''; } @@ -273,7 +273,7 @@ if ($_GET["action"] == 'create') */ if ($_GET["id"]) { - if ($action == 'delete') + if ($_GET["action"] == 'delete') { print ''; print ''; diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index ac7dd8abf15..bb358a7a15b 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -361,19 +361,18 @@ if ($_socid > 0) if ($conf->commande->enabled && $user->rights->commande->creer) { - print 'Commande'; + print ''.$langs->trans("Order").''; } if ($conf->projet->enabled && $user->rights->projet->creer) { - print 'Projet'; + print ''.$langs->trans("Project").''; } if ($conf->fichinter->enabled) { print 'Intervention'; } - print ''; print '
'; @@ -403,10 +402,10 @@ if ($_socid > 0) */ print '
'.$langs->trans("Add").'
'; - print ''; - print ''; - print ""; - print ""; + print ''; + print ''; + print ''; + print ""; $sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $objsoc->id ORDER by p.datec"; $result = $db->query($sql); @@ -449,7 +448,7 @@ if ($_socid > 0) * */ print '
Prénom NomPosteTélFaxEmailid&action=create\">".$langs->trans("Add")."
'.$langs->trans("Firstname").' '.$langs->trans("Lastname").'Poste'.$langs->trans("Tel").''.$langs->trans("Fax").''.$langs->trans("EMail").'".$langs->trans("AddContact")."
'; - print ''; + print ''; print ''; print '
Actions à faire Nouvelle action
'.$langs->trans("ActionsToDo").' '.$langs->trans("AddActionToDo").'
'; @@ -528,7 +527,7 @@ if ($_socid > 0) * */ print ''; - print ''; + print ''; print ''; print ''; print ''; print ""; - print ""; + print ""; $sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $societe->id ORDER by p.datec"; $result = $db->query($sql); @@ -410,7 +410,7 @@ if ($socid > 0) * */ print '
Actions effectuées
'.$langs->trans("ActionsDone").'
'; diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 2f6521d42f8..8e7dd606757 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -371,7 +371,7 @@ if ($socid > 0) print '
Prénom NomPosteTélFaxEmailid."&action=create\">".$langs->trans("Add")."
id."&action=create\">".$langs->trans("AddContact")."
'; - print ''; + print ''; print ''; print ''; print ''; print ""; - print ""; + print ""; $sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note"; $sql .= " FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $societe->id ORDER by p.datec"; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index ed5649387da..23ad0b319a1 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -8,7 +8,11 @@ Home=Home Help=Help Activate=Activate Activated=Activated +Disable=Disable +Disabled=Disabled Add=Add +AddActionToDo=Add action to do +AddActionDone=Add action done Delete=Delete Remove=Remove Resiliate=Resiliate @@ -72,4 +76,6 @@ List=List Statistics=Statistics Status=Status Ref=Ref -Comments=Comments \ No newline at end of file +Comments=Comments +ActionsDone=Actions Done +ActionsToDo=Actions To Do \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 8eb3af18678..cad4e267cb0 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -11,6 +11,8 @@ Activated=Activ Disable=Désactiver Disabled=Désactivé Add=Ajouter +AddActionToDo=Ajouter action à faire +AddActionDone=Ajouter action faite Delete=Supprimer Remove=Enlever Resiliate=Résilier @@ -78,10 +80,5 @@ Statistics=Statistiques Status=Statut Ref=Réf Comments=Commentaires -ModuleFamilyCrm=Gestion client (CRM) -ModuleFamilyProducts=Gestion produits -ModuleFamilyHr=Ressources humaines -ModuleFamilyProjects=Projets/Travail collaboratif -ModuleFamilyOther=Autre -ModuleFamilyTechnic=Modules techniques, interfaces -ModuleFamilyFinancial=Modules financiers (Compta/trésorerie) +ActionsDone=Actions effectuées +ActionsToDo=Actions à faire \ No newline at end of file diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php index 5ccc14351ca..d2d699b8d18 100644 --- a/htdocs/societe/notify/fiche.php +++ b/htdocs/societe/notify/fiche.php @@ -118,8 +118,10 @@ if ( $soc->fetch($soc->id) ) $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id; $head[$h][1] = 'Notifications'; - - dolibarr_fiche_head($head, $h); + $hselected=$h; + $h++; + + dolibarr_fiche_head($head, $hselected, $soc->nom); /* *
Actions effectuées
'.$langs->trans("ActionsDone").'
'; diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 37efcbb1ce0..09b2a3b3c3f 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -24,7 +24,12 @@ require("./pre.inc.php"); require("../contact.class.php"); +$langs->load("bills"); +$langs->load("companies"); + + llxHeader(); + $socid = $_GET["socid"]; /* * Sécurité accés client @@ -150,12 +155,9 @@ if ( $societe->fetch($socid) ) /* * Boutons Actions */ - $langs->load("bills"); - $langs->load("companies"); print ''; @@ -171,7 +173,7 @@ if ( $societe->fetch($socid) ) print '
'.$langs->trans("FirstName").' '.$langs->trans("LastName").'Poste'.$langs->trans("Tel").'".$langs->trans("Fax")."".$langs->trans("EMail")."Ajouter
".$langs->trans("AddContact")."