Removed warnings
This commit is contained in:
parent
177b0de787
commit
5b87b4ddae
@ -24,7 +24,7 @@
|
|||||||
* \ingroup banque
|
* \ingroup banque
|
||||||
* \brief Script to build graph of sold for each bank account
|
* \brief Script to build graph of sold for each bank account
|
||||||
* \deprecated Ce script n'est plus utilise car les graphiques sont generes dynamiquement maintenant.
|
* \deprecated Ce script n'est plus utilise car les graphiques sont generes dynamiquement maintenant.
|
||||||
* \version $Id$
|
* \version $Id: build-graph-sold-example.php,v 1.9 2011/07/08 14:54:35 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$sapi_type = php_sapi_name();
|
$sapi_type = php_sapi_name();
|
||||||
@ -87,7 +87,7 @@ if ($month == 1)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$monthprev = substr("00".($month - 1), -2) ;
|
$monthprev = substr("00".($month - 1), -2);
|
||||||
$yearprev = $year ;
|
$yearprev = $year ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ if ($month == 12)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$monthnext = substr("00".($month + 1), -2) ;
|
$monthnext = substr("00".($month + 1), -2);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "SELECT distinct(fk_account)";
|
$sql = "SELECT distinct(fk_account)";
|
||||||
@ -156,7 +156,7 @@ foreach ($accounts as $account)
|
|||||||
{
|
{
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
// print strftime("%Y%m%d",$max);
|
// print strftime("%Y%m%d",$max);
|
||||||
|
|
||||||
// Chargement du tableau $amounts
|
// Chargement du tableau $amounts
|
||||||
// TODO peut etre optimise en virant les date_format
|
// TODO peut etre optimise en virant les date_format
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user