mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Bad ref in supplier list
This commit is contained in:
parent
6e47327ee7
commit
f217e8e90c
|
|
@ -7,14 +7,19 @@ For users:
|
|||
- When creating a contact from a third party, informations from third party card
|
||||
are automatically suggested.
|
||||
- Sort list of languages in combo box.
|
||||
- New: EMails links are show with function dol_print_email
|
||||
- Fixed: Failed to go on the future view of bank transaction if there is no
|
||||
future bank transaction already wrote.
|
||||
- Fixed: Bad ref in supplier list.
|
||||
- Fixed: Bad link in product statistics for supplier referers.
|
||||
|
||||
For translators:
|
||||
- Added ca_ES language files
|
||||
|
||||
For developers:
|
||||
- Removed som deprecated files
|
||||
- Removed som deprecated files.
|
||||
- Renamed all function dolibarr_xxx into dol_xxx to have same prefix everywhere.
|
||||
|
||||
|
||||
|
||||
***** Changelog for 2.5 compared to 2.4 *****
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2009 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
|
||||
|
|
@ -33,7 +33,7 @@ $langs->load("companies");
|
|||
|
||||
$socid = $_GET["socid"];
|
||||
|
||||
// Sécurité accés client
|
||||
// Security check
|
||||
if ($user->societe_id > 0)
|
||||
{
|
||||
$_GET["action"] = '';
|
||||
|
|
@ -54,9 +54,9 @@ if (! $sortfield) $sortfield="fac.datef";
|
|||
|
||||
|
||||
/*
|
||||
* Recherche
|
||||
*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
if ($_POST["mode"] == 'search')
|
||||
{
|
||||
if ($_POST["mode-search"] == 'soc')
|
||||
|
|
@ -80,8 +80,7 @@ if ($_POST["mode"] == 'search')
|
|||
|
||||
|
||||
/*
|
||||
* Mode Liste
|
||||
*
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
|
@ -205,7 +204,7 @@ if ($resql)
|
|||
print "<tr $bc[$var]>";
|
||||
print '<td nowrap>';
|
||||
$facturestatic->id=$obj->facid;
|
||||
$facturestatic->ref=$obj->facnumber;
|
||||
$facturestatic->ref=$obj->ref;
|
||||
print $facturestatic->getNomUrl(1);
|
||||
if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->date_echeance < (time() - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning");
|
||||
print "</td>\n";
|
||||
|
|
@ -225,7 +224,7 @@ if ($resql)
|
|||
|
||||
// Affiche statut de la facture
|
||||
print '<td align="right" nowrap="nowrap">';
|
||||
// \todo le montant deja payé obj->am n'est pas définie
|
||||
// \todo le montant deja pay<EFBFBD> obj->am n'est pas d<>finie
|
||||
print $facturestatic->LibStatut($obj->paye,$obj->fk_statut,5,$objp->am);
|
||||
print '</td>';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user