Modif nom des fichiers images
This commit is contained in:
parent
05a9866407
commit
2aebc5480a
@ -43,7 +43,7 @@ $dir = DOL_DOCUMENT_ROOT;
|
||||
|
||||
$data = $stats->getNbByMonth($year);
|
||||
|
||||
$filev = "/document/images/propale$year.png";
|
||||
$filev = "/document/images/facture$year.png";
|
||||
|
||||
$px = new Graph($data);
|
||||
$px->SetMaxValue($px->GetMaxValue());
|
||||
@ -63,7 +63,7 @@ for ($i = 1 ; $i < 13 ; $i++)
|
||||
$data[$i-1] = array(strftime("%b",mktime(12,12,12,$i,1,$year)), $res[$i]);
|
||||
}
|
||||
|
||||
$file_amount = "/document/images/propalamount$year.png";
|
||||
$file_amount = "/document/images/factureamount$year.png";
|
||||
|
||||
$px = new Graph($data);
|
||||
$px->SetYLabel("Montant");
|
||||
@ -81,7 +81,7 @@ for ($i = 1 ; $i < 13 ; $i++)
|
||||
{
|
||||
$data[$i-1] = array(strftime("%b",mktime(12,12,12,$i,1,$year)), $res[$i]);
|
||||
}
|
||||
$file_avg = "/document/images/propalaverage$year.png";
|
||||
$file_avg = "/document/images/factureaverage$year.png";
|
||||
$px = new Graph($data);
|
||||
$px->SetYLabel("Montant moyen");
|
||||
$px->SetMaxValue($px->GetAmountMaxValue());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user