This commit is contained in:
Rodolphe Quiedeville 2002-10-01 08:53:09 +00:00
parent 1c791f6c6e
commit 1177f1af39
7 changed files with 19 additions and 11 deletions

View File

@ -264,7 +264,6 @@ function ppt ($db, $year, $socidp) {
print "</td><td align=\"center\">CA $year</td>";
print "<td valign=\"top\">Delta</td></tr>";
print "<tr><td valign=\"top\" width=\"30%\">";
$sql = "SELECT sum(f.amount) as sum, round(date_format(f.datef, '%m')) as dm";
@ -306,7 +305,7 @@ function ppt ($db, $year, $socidp) {
$deltat = $deltat + $delta ;
print "<TR $bc[$var]>";
print "<TD>".strftime("%B",mktime(12,0,0,$b, 1, $year))."</TD>\n";
print "<TD align=\"right\">".price($delta)."</TD>\n";
print "<TD align=\"right\">".price($delta)."</TD>\n";
print "</TR>\n";
}

View File

@ -166,7 +166,7 @@ if ($socid > 0) {
print "<tr><td><div class=\"titre\">Fiche client : $objsoc->nom</div></td>";
print "<td align=\"center\"><a href=\"bookmark.php3?socidp=$objsoc->idp&action=add\">[Bookmark]</a></td>";
print "<td align=\"center\"><a href=\"projet/fiche.php3?socidp=$objsoc->idp&action=create\">[Projet]</a></td>";
print "<td align=\"center\"><a href=\"addpropal.php3?socidp=$objsoc->idp&action=create\">[Propal]</a></td>";
print "<td><a href=\"facture.php3?action=create&socidp=$objsoc->idp\">".translate("Bill")."</a></td>";
print "<td><a href=\"socnote.php3?socid=$objsoc->idp\">Notes</a></td>";
print "<td align=\"center\">[<a href=\"../soc.php3?socid=$objsoc->idp&action=edit\">Editer</a>]</td>";
print "</tr></table>";

View File

@ -53,7 +53,7 @@ if ($action == 'del_bookmark') {
$result = $db->query($sql);
}
print_titre("Espace compta");
print_titre(translate("Espace compta"));
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
@ -94,7 +94,7 @@ if ( $db->query($sql) ) {
*/
print '<TABLE border="0" cellspacing="0" cellpadding="3" width="100%">';
print "<TR class=\"liste_titre\">";
print "<td colspan=\"2\">Propositions commerciales</td>";
print '<td colspan="2">'.translate("Propositions commerciales").'</td>';
print "</TR>\n";
$sql = "SELECT count(*) FROM llx_propal WHERE fk_statut = 2";
@ -109,7 +109,7 @@ print "</table><br>";
*/
print '<TABLE border="0" cellspacing="0" cellpadding="3" width="100%">';
print "<TR class=\"liste_titre\">";
print "<td colspan=\"2\">Factures</td>";
print '<td colspan="2">'.translate("Bills").'</td>';
print "</TR>\n";
$sql = "SELECT count(*) FROM llx_facture WHERE paye = 0";

View File

@ -1,8 +1,5 @@
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* $Id$
* $Source$
*
* 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
@ -18,6 +15,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*
*/
require("./pre.inc.php3");

View File

@ -58,5 +58,7 @@ print '</table>';
$db = new Db();
?> <a href="phpinfo.php3">phpinfo</a> <?PHP
llxFooter();
?>

View File

@ -1,7 +1,14 @@
#do not change next line please !
#{@"htmltagoption"=>"nothing","charset"=>"iso-8859-1","name"=>"Français","translator_0"=>"Éric SEIGNE <erics@rycks.com>"}
Please choose your language=Choisissez votre langue
Add=Ajouter
Commercial=Commercial
Company=Société
Date=Date
User=Utilisateur
Delete=Supprimer
Bills=Factures
Bill=Facture
Propositions commerciales=Propositions commerciales
Espace compta=Espace comptabilité
Author=Auteur
User=Utilisateur

View File

@ -47,7 +47,7 @@ $db->close();
if(!isset($application_lang))
$application_lang = "fr";
$rtplang = new rtplang("langs", "en", "en", $application_lang);
$rtplang = new rtplang($GLOBALS["DOCUMENT_ROOT"]."/langs", "en", "en", $application_lang);
$rtplang->debug=1;
/*
*/