Simplification rapport
This commit is contained in:
parent
3eede9f8e8
commit
9be516d6a6
@ -60,20 +60,8 @@ if ($socidp)
|
||||
}
|
||||
$sql .= " GROUP BY dm";
|
||||
|
||||
|
||||
pt($db, $sql,"Suivi cumul par année");
|
||||
|
||||
print "<br>";
|
||||
|
||||
$sql = "SELECT sum(f.total) as amount, month(f.datef) as dm";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."facture as f WHERE fk_user_valid is not NULL and f.paye = 1";
|
||||
if ($socidp)
|
||||
{
|
||||
$sql .= " AND f.fk_soc = $socidp";
|
||||
}
|
||||
$sql .= " GROUP BY dm";
|
||||
|
||||
pt($db, $sql,"Cumul sur le mois");
|
||||
|
||||
|
||||
print "</td></tr></table>";
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ function llxHeader($head = "") {
|
||||
$menu->add_submenu("prev.php","Prévisionnel");
|
||||
$menu->add_submenu("comp.php","Transformé");
|
||||
}
|
||||
$menu->add_submenu("exercices.php","Exercices");
|
||||
$menu->add_submenu("exercices.php","Evolution");
|
||||
$menu->add_submenu("casoc.php","Par société");
|
||||
$menu->add_submenu("cabyuser.php","Par utilisateur");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user