forked from Wavyzz/dolibarr
Merge branch 'develop' into toomanylines
This commit is contained in:
@@ -55,7 +55,7 @@ class CommandeStats extends Stats
|
||||
* @param string $mode Option ('customer', 'supplier')
|
||||
* @param int $userid Id user for filter (creation user)
|
||||
*/
|
||||
function __construct($db, $socid, $mode, $userid=0)
|
||||
function __construct($db, $socid, $mode, $userid = 0)
|
||||
{
|
||||
global $user, $conf;
|
||||
|
||||
@@ -101,7 +101,7 @@ class CommandeStats extends Stats
|
||||
* @param int $format 0=Label of absiss is a translated text, 1=Label of absiss is month number, 2=Label of absiss is first letter of month
|
||||
* @return array Array with number by month
|
||||
*/
|
||||
function getNbByMonth($year, $format=0)
|
||||
function getNbByMonth($year, $format = 0)
|
||||
{
|
||||
global $user;
|
||||
|
||||
@@ -144,7 +144,7 @@ class CommandeStats extends Stats
|
||||
* @param int $format 0=Label of absiss is a translated text, 1=Label of absiss is month number, 2=Label of absiss is first letter of month
|
||||
* @return array Array with amount by month
|
||||
*/
|
||||
function getAmountByMonth($year, $format=0)
|
||||
function getAmountByMonth($year, $format = 0)
|
||||
{
|
||||
global $user;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user