diff --git a/_include/include_stats.php b/_include/include_stats.php index 5a6b4fc..223b386 100644 --- a/_include/include_stats.php +++ b/_include/include_stats.php @@ -15,10 +15,10 @@ if ($this->is_id()) { (select sum(mod_sum) from - money_deposit) - (select + money_deposit where mod_deleted = 0) - (select sum(mox_sum) from - money_expense) as diff + money_expense where mox_deleted = 0) as diff from dual; ";