[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-cvs] dolibarr/htdocs/fourn/facture index.php
From: |
Regis Houssin |
Subject: |
[Dolibarr-cvs] dolibarr/htdocs/fourn/facture index.php |
Date: |
Thu, 08 Jun 2006 13:04:08 +0000 |
CVSROOT: /cvsroot/dolibarr
Module name: dolibarr
Changes by: Regis Houssin <hregis> 06/06/08 13:04:08
Modified files:
htdocs/fourn/facture: index.php
Log message:
Fix: l'alerte était aussi affichée lorsque la facture était payée
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/fourn/facture/index.php?cvsroot=dolibarr&r1=1.42&r2=1.43
Patches:
Index: index.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/fourn/facture/index.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- index.php 30 May 2006 09:18:51 -0000 1.42
+++ index.php 8 Jun 2006 13:04:07 -0000 1.43
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: index.php,v 1.42 2006/05/30 09:18:51 hregis Exp $
+ * $Id: index.php,v 1.43 2006/06/08 13:04:07 hregis Exp $
* $Source: /cvsroot/dolibarr/dolibarr/htdocs/fourn/facture/index.php,v $
*/
@@ -24,7 +24,7 @@
\file htdocs/fourn/facture/index.php
\ingroup fournisseur,facture
\brief Lsite des factures fournisseurs
- \version $Revision: 1.42 $
+ \version $Revision: 1.43 $
*/
require("./pre.inc.php");
@@ -195,7 +195,7 @@
print "<tr $bc[$var]>";
print '<td nowrap><a
href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$obj->facid.'"
title="'.$obj->facnumber.'">'.img_object($langs->trans("ShowBill"),"bill").'
'.dolibarr_trunc($obj->facnumber,12)."</a></td>\n";
print '<td align="center"
nowrap>'.dolibarr_print_date($obj->date_echeance);
- if (($obj->fk_statut > 0) && $obj->datefin < (time() -
$conf->facture->client->warning_delay)) print
img_picto($langs->trans("Late"),"warning");
+ if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->datefin <
(time() - $conf->facture->client->warning_delay)) print
img_picto($langs->trans("Late"),"warning");
print '</td>';
print '<td>'.dolibarr_trunc(stripslashes("$obj->libelle"),36).'</td>';
print '<td>';
@@ -237,5 +237,5 @@
$db->close();
-llxFooter('$Date: 2006/05/30 09:18:51 $ - $Revision: 1.42 $');
+llxFooter('$Date: 2006/06/08 13:04:07 $ - $Revision: 1.43 $');
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-cvs] dolibarr/htdocs/fourn/facture index.php,
Regis Houssin <=