Added very basic authorization.

This commit is contained in:
Lukas Halbritter
2018-12-06 11:49:49 +01:00
parent 85493343d6
commit 24001f6920
6 changed files with 140 additions and 59 deletions
+2 -1
View File
@@ -209,7 +209,8 @@ class PersonTarget extends Model
LEFT JOIN account_classes a_c ON a_c.id = a_t.account_class_id
LEFT JOIN i_o_types i_o1 ON i_o1.id = a_c.io_type_id
GROUP BY p_t.id
HAVING ' . $having . ';');
HAVING ' . $having . '
ORDER BY p_t.date, p_t.reference, p_t.person_id;');
// Remove the unused columns 'target' and 'actual' from the query
// result.