Trad: Et encore de la traduction
This commit is contained in:
parent
9bd15473d5
commit
f9ff1ddff3
@ -451,10 +451,10 @@ if ($_GET["id"])
|
||||
print '<td colspan="3"><a href="'.DOL_URL_ROOT.'/user/fiche.php?id='.$act->author->id.'">'.img_object($langs->trans("ShowUser"),'user').' '.$act->author->fullname.'</a></td></tr>';
|
||||
|
||||
// Date debut
|
||||
print '<tr><td>'.$langs->trans("DateStart").'</td><td colspan="3">'.dolibarr_print_date($act->datep,'%d %B %Y %H:%M').'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("DateActionPlanned").'</td><td colspan="3">'.dolibarr_print_date($act->datep,'%d %B %Y %H:%M').'</td></tr>';
|
||||
|
||||
// Date fin real
|
||||
print '<tr><td>'.$langs->trans("DateEnd").'</td><td colspan="3">'.dolibarr_print_date($act->date,'%d %B %Y %H:%M').'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("DateActionDone").'</td><td colspan="3">'.dolibarr_print_date($act->date,'%d %B %Y %H:%M').'</td></tr>';
|
||||
|
||||
print '<tr><td nowrap>'.$langs->trans("PercentDone").'</td><td colspan="3"><input name="percent" value="'.$act->percent.'" size="4">%</td></tr>';
|
||||
if ($act->objet_url)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Éric Seigne <erics@rycks.com>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -71,68 +71,68 @@ llxHeader();
|
||||
*/
|
||||
|
||||
$sql = "SELECT count(*) as cc, date_format(a.datea, '%m/%Y') as df";
|
||||
$sql .= ", date_format(a.datea, '%m') as month";
|
||||
$sql .= ", date_format(a.datea, '%Y') as year";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a";
|
||||
$sql .= " GROUP BY date_format(a.datea, '%m/%Y') ";
|
||||
$sql .= " ORDER BY date_format(a.datea, '%Y %m') DESC";
|
||||
$sql.= ", date_format(a.datea, '%m') as month";
|
||||
$sql.= ", date_format(a.datea, '%Y') as year";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."actioncomm as a";
|
||||
$sql.= " GROUP BY date_format(a.datea, '%m/%Y') ";
|
||||
$sql.= " ORDER BY a.datea DESC";
|
||||
|
||||
|
||||
if ( $db->query($sql) )
|
||||
$resql=$db->query($sql);
|
||||
if ($resql)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
|
||||
print_barre_liste("Liste des actions commerciales réalisées ou à faire", $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
||||
|
||||
$i = 0;
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Date").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Nb").'</td>';
|
||||
print '<td>'.$langs->trans("Action").'</td>';
|
||||
print '<td align="center">'.$langs->trans("PDF").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Date").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Size").'</td>';
|
||||
print "</tr>\n";
|
||||
$var=true;
|
||||
while ($i < min($num,$limit))
|
||||
{
|
||||
$obj = $db->fetch_object();
|
||||
|
||||
$var=!$var;
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
$num = $db->num_rows($resql);
|
||||
|
||||
print "<td>$obj->df</td>\n";
|
||||
print '<td align="center">'.$obj->cc.'</td>';
|
||||
print_barre_liste($langs->trans("DoneAndToDoActions"), $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
||||
|
||||
print '<td><a href="index.php?action=pdf&month='.$obj->month.'&year='.$obj->year.'">'.img_file_new().'</a></td>';
|
||||
|
||||
$name = "rapport-action-".$obj->month."-".$obj->year.".pdf";
|
||||
$relativepath="comm/actions/" .$name;
|
||||
$file = $conf->commercial->dir_output . "/comm/actions/" .$name;
|
||||
|
||||
if (file_exists($file))
|
||||
$i = 0;
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Date").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Nb").'</td>';
|
||||
print '<td>'.$langs->trans("Action").'</td>';
|
||||
print '<td align="center">'.$langs->trans("PDF").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Date").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Size").'</td>';
|
||||
print "</tr>\n";
|
||||
$var=true;
|
||||
while ($i < min($num,$limit))
|
||||
{
|
||||
print '<td align="center"><a href="'.DOL_URL_ROOT.'/document.php?file='.urlencode($relativepath).'&modulepart=actionscomm">'.img_pdf().'</a></td>';
|
||||
print '<td align="center">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td>';
|
||||
print '<td align="center">'.filesize($file). ' bytes</td>';
|
||||
}
|
||||
else {
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
}
|
||||
$obj = $db->fetch_object($resql);
|
||||
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
print "</table>";
|
||||
$db->free();
|
||||
$var=!$var;
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
|
||||
print "<td>$obj->df</td>\n";
|
||||
print '<td align="center">'.$obj->cc.'</td>';
|
||||
|
||||
print '<td><a href="index.php?action=pdf&month='.$obj->month.'&year='.$obj->year.'">'.img_file_new().'</a></td>';
|
||||
|
||||
$name = "rapport-action-".$obj->month."-".$obj->year.".pdf";
|
||||
$relativepath="comm/actions/" .$name;
|
||||
$file = $conf->commercial->dir_output . "/comm/actions/" .$name;
|
||||
|
||||
if (file_exists($file))
|
||||
{
|
||||
print '<td align="center"><a href="'.DOL_URL_ROOT.'/document.php?file='.urlencode($relativepath).'&modulepart=actionscomm">'.img_pdf().'</a></td>';
|
||||
print '<td align="center">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td>';
|
||||
print '<td align="center">'.filesize($file). ' '.$langs->trans("Bytes").'</td>';
|
||||
}
|
||||
else {
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
print '<td> </td>';
|
||||
}
|
||||
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
print "</table>";
|
||||
$db->free();
|
||||
}
|
||||
else
|
||||
{
|
||||
dolibarr_print_error($db);
|
||||
dolibarr_print_error($db);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -51,6 +51,8 @@ LastProspectNeverContacted=Never contacted
|
||||
LastProspectToContact=To contact
|
||||
LastProspectContactInProcess=Contact in process
|
||||
LastProspectContactDone=Contact done
|
||||
DateActionPlanned=Date planned
|
||||
DateActionDone=Date done
|
||||
ActionAC_TEL=Phone call
|
||||
ActionAC_FAX=Send fax
|
||||
ActionAC_PROP=Send proposal
|
||||
|
||||
@ -33,13 +33,13 @@ ListOfProspects=Liste des prospects
|
||||
ListOfCustomers=Liste des clients
|
||||
LastDoneTasks=Les %s dernières actions effectuées
|
||||
LastRecordedTasks=Dernières actions enregistrées
|
||||
DoneActions=Liste des actions commerciales réalisées
|
||||
DoneActionsFor=Liste des actions commerciales réalisées pour
|
||||
DoneActions=Liste des actions réalisées
|
||||
DoneActionsFor=Liste des actions réalisées pour
|
||||
MenuToDoActions=Actions incomplètes
|
||||
ToDoActions=Liste des actions commerciales incomplètes
|
||||
ToDoActionsFor=Liste des actions commerciales incomplètes pour
|
||||
DoneAndToDoActionsFor=Liste des actions commerciales réalisées ou à faire pour
|
||||
DoneAndToDoActions=Liste des actions commerciales réalisées ou à faire
|
||||
ToDoActions=Liste des actions incomplètes
|
||||
ToDoActionsFor=Liste des actions incomplètes pour
|
||||
DoneAndToDoActionsFor=Liste des actions réalisées ou à faire pour
|
||||
DoneAndToDoActions=Liste des actions réalisées ou à faire
|
||||
SendPropalRef=Envoi proposition commerciale %s
|
||||
NoRecordedProspects=Aucun prospect enregistré
|
||||
StatusActionToDo=À faire
|
||||
@ -51,6 +51,8 @@ LastProspectNeverContacted=Non contact
|
||||
LastProspectToContact=A contacter
|
||||
LastProspectContactInProcess=Contact en cours
|
||||
LastProspectContactDone=Prospects contactés
|
||||
DateActionPlanned=Date planification
|
||||
DateActionDone=Date réalisation
|
||||
ActionAC_TEL=Appel téléphonique
|
||||
ActionAC_FAX=Envoi fax
|
||||
ActionAC_PROP=Envoi proposition par mail
|
||||
|
||||
Loading…
Reference in New Issue
Block a user