Amélioration des rapports recettes-dépenses.

This commit is contained in:
Laurent Destailleur 2005-01-17 21:25:30 +00:00
parent 3db36beba3
commit 537adea399

View File

@ -1,6 +1,6 @@
<?php <?php
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -24,13 +24,13 @@ require("./pre.inc.php");
require("../../tva.class.php"); require("../../tva.class.php");
require("../../chargesociales.class.php"); require("../../chargesociales.class.php");
/* $langs->load("bills");
*
*/
$user->getrights('compta'); $user->getrights('compta');
if (!$user->rights->compta->resultat->lire) if (!$user->rights->compta->resultat->lire)
accessforbidden(); accessforbidden();
llxHeader(); llxHeader();
$year=$_GET["year"]; $year=$_GET["year"];
@ -93,7 +93,7 @@ if ($result) {
$var=!$var; $var=!$var;
print "<tr $bc[$var]><td>&nbsp</td>"; print "<tr $bc[$var]><td>&nbsp</td>";
print "<td>Factures <a href=\"../facture.php?socidp=$objp->idp\">$objp->nom</td>\n"; print "<td>".$langs->trans("Factures")." <a href=\"../facture.php?socidp=$objp->idp\">$objp->nom</td>\n";
print "<td align=\"right\">".price($objp->amount_ht)."</td>\n"; print "<td align=\"right\">".price($objp->amount_ht)."</td>\n";
print "<td align=\"right\">".price($objp->amount_ttc)."</td>\n"; print "<td align=\"right\">".price($objp->amount_ttc)."</td>\n";