forked from Wavyzz/dolibarr
Traduction
This commit is contained in:
@@ -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<74>e");
|
||||
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
@@ -234,7 +234,7 @@ if ($_GET["action"] == 'create')
|
||||
print_titre ("Prochaine Action <20> faire");
|
||||
|
||||
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
if($afaire <> 1)
|
||||
if ($_GET["afaire"] <> 1)
|
||||
{
|
||||
print '<tr><td width="10%">'.$langs->trans("Add").'</td><td><input type="checkbox" name="todo"></td></tr>';
|
||||
}
|
||||
@@ -273,7 +273,7 @@ if ($_GET["action"] == 'create')
|
||||
*/
|
||||
if ($_GET["id"])
|
||||
{
|
||||
if ($action == 'delete')
|
||||
if ($_GET["action"] == 'delete')
|
||||
{
|
||||
print '<form method="post" action="fiche.php?id='.$_GET["id"].'">';
|
||||
print '<input type="hidden" name="action" value="confirm_delete">';
|
||||
|
||||
@@ -361,19 +361,18 @@ if ($_socid > 0)
|
||||
|
||||
if ($conf->commande->enabled && $user->rights->commande->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socidp='.$objsoc->id.'&action=create">Commande</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socidp='.$objsoc->id.'&action=create">'.$langs->trans("Order").'</a>';
|
||||
}
|
||||
|
||||
if ($conf->projet->enabled && $user->rights->projet->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="../projet/fiche.php?socidp='.$objsoc->id.'&action=create">Projet</a>';
|
||||
print '<a class="tabAction" href="../projet/fiche.php?socidp='.$objsoc->id.'&action=create">'.$langs->trans("Project").'</a>';
|
||||
}
|
||||
|
||||
if ($conf->fichinter->enabled)
|
||||
{
|
||||
print '<a class="tabAction" href="../fichinter/fiche.php?socidp='.$objsoc->id.'&action=create">Intervention</a>';
|
||||
}
|
||||
|
||||
|
||||
print '</div>';
|
||||
print '<br>';
|
||||
@@ -403,10 +402,10 @@ if ($_socid > 0)
|
||||
*/
|
||||
print '<table width="100%" cellspacing="1" border="0" cellpadding="2">';
|
||||
|
||||
print '<tr class="liste_titre"><td>Prénom Nom</td>';
|
||||
print '<td>Poste</td><td>Tél</td>';
|
||||
print "<td>Fax</td><td>Email</td>";
|
||||
print "<td align=\"center\"><a href=\"../contact/fiche.php?socid=$objsoc->id&action=create\">".$langs->trans("Add")."</a></td></tr>";
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Firstname").' '.$langs->trans("Lastname").'</td>';
|
||||
print '<td>Poste</td><td>'.$langs->trans("Tel").'</td>';
|
||||
print '<td>'.$langs->trans("Fax").'</td><td>'.$langs->trans("EMail").'</td>';
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a></td></tr>";
|
||||
|
||||
$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 '<table width="100%" cellspacing=0 border=0 cellpadding=2>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$objsoc->id.'">Actions <20> faire</a></td><td align="right"> <a href="action/fiche.php?action=create&socid='.$objsoc->id.'&afaire=1">Nouvelle action</a></td></tr>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$objsoc->id.'">'.$langs->trans("ActionsToDo").'</a></td><td align="right"> <a href="action/fiche.php?action=create&socid='.$objsoc->id.'&afaire=1">'.$langs->trans("AddActionToDo").'</a></td></tr>';
|
||||
print '<tr>';
|
||||
print '<td colspan="2" valign="top">';
|
||||
|
||||
@@ -528,7 +527,7 @@ if ($_socid > 0)
|
||||
*
|
||||
*/
|
||||
print '<table class="noborder" width="100%" cellspacing=0 cellpadding=2>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$objsoc->id.'">Actions effectu<74>es</a></td></tr>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$objsoc->id.'">'.$langs->trans("ActionsDone").'</a></td></tr>';
|
||||
print '<tr>';
|
||||
print '<td valign="top">';
|
||||
|
||||
|
||||
@@ -371,7 +371,7 @@ if ($socid > 0)
|
||||
print '<tr class="liste_titre"><td><b>Prénom Nom</b></td>';
|
||||
print '<td><b>Poste</b></td><td><b>Tél</b></td>';
|
||||
print "<td><b>Fax</b></td><td><b>Email</b></td>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id."&action=create\">".$langs->trans("Add")."</a></td></tr>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id."&action=create\">".$langs->trans("AddContact")."</a></td></tr>";
|
||||
|
||||
$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 '<table width="100%" cellspacing=0 border=0 cellpadding=2>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$societe->id.'">Actions effectu<74>es</a></td></tr>';
|
||||
print '<tr class="liste_titre"><td><a href="action/index.php?socid='.$societe->id.'">'.$langs->trans("ActionsDone").'</a></td></tr>';
|
||||
print '<tr>';
|
||||
print '<td valign="top">';
|
||||
|
||||
|
||||
@@ -24,7 +24,12 @@
|
||||
require("./pre.inc.php");
|
||||
require("../contact.class.php");
|
||||
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
|
||||
llxHeader();
|
||||
|
||||
$socid = $_GET["socid"];
|
||||
/*
|
||||
* S<>curit<69> acc<63>s client
|
||||
@@ -150,12 +155,9 @@ if ( $societe->fetch($socid) )
|
||||
/*
|
||||
* Boutons Actions
|
||||
*/
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="facture/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("CreateBill").'</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
print '</div>';
|
||||
|
||||
|
||||
@@ -171,7 +173,7 @@ if ( $societe->fetch($socid) )
|
||||
print '<tr class="liste_titre"><td><b>'.$langs->trans("FirstName").' '.$langs->trans("LastName").'</b></td>';
|
||||
print '<td><b>Poste</b></td><td><b>'.$langs->trans("Tel").'</b></td>';
|
||||
print "<td><b>".$langs->trans("Fax")."</b></td><td><b>".$langs->trans("EMail")."</b></td>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">Ajouter</a></td></tr>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a></td></tr>";
|
||||
|
||||
$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";
|
||||
|
||||
@@ -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
|
||||
Comments=Comments
|
||||
ActionsDone=Actions Done
|
||||
ActionsToDo=Actions To Do
|
||||
@@ -11,6 +11,8 @@ Activated=Activ
|
||||
Disable=D<>sactiver
|
||||
Disabled=D<>sactiv<69>
|
||||
Add=Ajouter
|
||||
AddActionToDo=Ajouter action <20> 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<74>sorerie)
|
||||
ActionsDone=Actions effectu<74>es
|
||||
ActionsToDo=Actions <20> faire
|
||||
@@ -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);
|
||||
|
||||
/*
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user