Traduction
This commit is contained in:
parent
68341ee0e8
commit
37752efcf4
@ -158,7 +158,7 @@ if ($_GET["action"] == 'create')
|
|||||||
|
|
||||||
$caction = new CActioncomm($db);
|
$caction = new CActioncomm($db);
|
||||||
|
|
||||||
if ($afaire <> 1)
|
if ($_GET["afaire"] <> 1)
|
||||||
{
|
{
|
||||||
$caction->fetch($db, $_GET["actionid"]);
|
$caction->fetch($db, $_GET["actionid"]);
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ if ($_GET["action"] == 'create')
|
|||||||
*/
|
*/
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($afaire <> 1)
|
if ($_GET["afaire"] <> 1)
|
||||||
{
|
{
|
||||||
print_titre ("Action effectuée");
|
print_titre ("Action effectuée");
|
||||||
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||||
@ -234,7 +234,7 @@ if ($_GET["action"] == 'create')
|
|||||||
print_titre ("Prochaine Action à faire");
|
print_titre ("Prochaine Action à faire");
|
||||||
|
|
||||||
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
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>';
|
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 ($_GET["id"])
|
||||||
{
|
{
|
||||||
if ($action == 'delete')
|
if ($_GET["action"] == 'delete')
|
||||||
{
|
{
|
||||||
print '<form method="post" action="fiche.php?id='.$_GET["id"].'">';
|
print '<form method="post" action="fiche.php?id='.$_GET["id"].'">';
|
||||||
print '<input type="hidden" name="action" value="confirm_delete">';
|
print '<input type="hidden" name="action" value="confirm_delete">';
|
||||||
|
|||||||
@ -361,19 +361,18 @@ if ($_socid > 0)
|
|||||||
|
|
||||||
if ($conf->commande->enabled && $user->rights->commande->creer)
|
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)
|
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)
|
if ($conf->fichinter->enabled)
|
||||||
{
|
{
|
||||||
print '<a class="tabAction" href="../fichinter/fiche.php?socidp='.$objsoc->id.'&action=create">Intervention</a>';
|
print '<a class="tabAction" href="../fichinter/fiche.php?socidp='.$objsoc->id.'&action=create">Intervention</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -403,10 +402,10 @@ if ($_socid > 0)
|
|||||||
*/
|
*/
|
||||||
print '<table width="100%" cellspacing="1" border="0" cellpadding="2">';
|
print '<table width="100%" cellspacing="1" border="0" cellpadding="2">';
|
||||||
|
|
||||||
print '<tr class="liste_titre"><td>Prénom Nom</td>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("Firstname").' '.$langs->trans("Lastname").'</td>';
|
||||||
print '<td>Poste</td><td>Tél</td>';
|
print '<td>Poste</td><td>'.$langs->trans("Tel").'</td>';
|
||||||
print "<td>Fax</td><td>Email</td>";
|
print '<td>'.$langs->trans("Fax").'</td><td>'.$langs->trans("EMail").'</td>';
|
||||||
print "<td align=\"center\"><a href=\"../contact/fiche.php?socid=$objsoc->id&action=create\">".$langs->trans("Add")."</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 FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $objsoc->id ORDER by p.datec";
|
$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);
|
$result = $db->query($sql);
|
||||||
@ -449,7 +448,7 @@ if ($_socid > 0)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
print '<table width="100%" cellspacing=0 border=0 cellpadding=2>';
|
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 à 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 '<tr>';
|
||||||
print '<td colspan="2" valign="top">';
|
print '<td colspan="2" valign="top">';
|
||||||
|
|
||||||
@ -528,7 +527,7 @@ if ($_socid > 0)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
print '<table class="noborder" width="100%" cellspacing=0 cellpadding=2>';
|
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é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 '<tr>';
|
||||||
print '<td valign="top">';
|
print '<td valign="top">';
|
||||||
|
|
||||||
|
|||||||
@ -371,7 +371,7 @@ if ($socid > 0)
|
|||||||
print '<tr class="liste_titre"><td><b>Prénom Nom</b></td>';
|
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>Poste</b></td><td><b>Tél</b></td>';
|
||||||
print "<td><b>Fax</b></td><td><b>Email</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";
|
$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);
|
$result = $db->query($sql);
|
||||||
@ -410,7 +410,7 @@ if ($socid > 0)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
print '<table width="100%" cellspacing=0 border=0 cellpadding=2>';
|
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é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 '<tr>';
|
||||||
print '<td valign="top">';
|
print '<td valign="top">';
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,12 @@
|
|||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require("../contact.class.php");
|
require("../contact.class.php");
|
||||||
|
|
||||||
|
$langs->load("bills");
|
||||||
|
$langs->load("companies");
|
||||||
|
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
$socid = $_GET["socid"];
|
$socid = $_GET["socid"];
|
||||||
/*
|
/*
|
||||||
* Sécurité accés client
|
* Sécurité accés client
|
||||||
@ -150,12 +155,9 @@ if ( $societe->fetch($socid) )
|
|||||||
/*
|
/*
|
||||||
* Boutons Actions
|
* Boutons Actions
|
||||||
*/
|
*/
|
||||||
$langs->load("bills");
|
|
||||||
$langs->load("companies");
|
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
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="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>';
|
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 '<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>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><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 = "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";
|
$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
|
Help=Help
|
||||||
Activate=Activate
|
Activate=Activate
|
||||||
Activated=Activated
|
Activated=Activated
|
||||||
|
Disable=Disable
|
||||||
|
Disabled=Disabled
|
||||||
Add=Add
|
Add=Add
|
||||||
|
AddActionToDo=Add action to do
|
||||||
|
AddActionDone=Add action done
|
||||||
Delete=Delete
|
Delete=Delete
|
||||||
Remove=Remove
|
Remove=Remove
|
||||||
Resiliate=Resiliate
|
Resiliate=Resiliate
|
||||||
@ -72,4 +76,6 @@ List=List
|
|||||||
Statistics=Statistics
|
Statistics=Statistics
|
||||||
Status=Status
|
Status=Status
|
||||||
Ref=Ref
|
Ref=Ref
|
||||||
Comments=Comments
|
Comments=Comments
|
||||||
|
ActionsDone=Actions Done
|
||||||
|
ActionsToDo=Actions To Do
|
||||||
@ -11,6 +11,8 @@ Activated=Activ
|
|||||||
Disable=Désactiver
|
Disable=Désactiver
|
||||||
Disabled=Désactivé
|
Disabled=Désactivé
|
||||||
Add=Ajouter
|
Add=Ajouter
|
||||||
|
AddActionToDo=Ajouter action à faire
|
||||||
|
AddActionDone=Ajouter action faite
|
||||||
Delete=Supprimer
|
Delete=Supprimer
|
||||||
Remove=Enlever
|
Remove=Enlever
|
||||||
Resiliate=Résilier
|
Resiliate=Résilier
|
||||||
@ -78,10 +80,5 @@ Statistics=Statistiques
|
|||||||
Status=Statut
|
Status=Statut
|
||||||
Ref=Réf
|
Ref=Réf
|
||||||
Comments=Commentaires
|
Comments=Commentaires
|
||||||
ModuleFamilyCrm=Gestion client (CRM)
|
ActionsDone=Actions effectuées
|
||||||
ModuleFamilyProducts=Gestion produits
|
ActionsToDo=Actions à faire
|
||||||
ModuleFamilyHr=Ressources humaines
|
|
||||||
ModuleFamilyProjects=Projets/Travail collaboratif
|
|
||||||
ModuleFamilyOther=Autre
|
|
||||||
ModuleFamilyTechnic=Modules techniques, interfaces
|
|
||||||
ModuleFamilyFinancial=Modules financiers (Compta/trésorerie)
|
|
||||||
@ -118,8 +118,10 @@ if ( $soc->fetch($soc->id) )
|
|||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id;
|
$head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id;
|
||||||
$head[$h][1] = 'Notifications';
|
$head[$h][1] = 'Notifications';
|
||||||
|
$hselected=$h;
|
||||||
dolibarr_fiche_head($head, $h);
|
$h++;
|
||||||
|
|
||||||
|
dolibarr_fiche_head($head, $hselected, $soc->nom);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user