]> wagnertech.de Git - timetracker.git/blobdiff - initialize.php
Add option to profile_edit.php to show/hide users uncompleted entries (#24)
[timetracker.git] / initialize.php
index ded539cc25ba9132a2e06378da538395a1e6c54b..5f8a76037d2287fef1ea0ced46013606aa8660db 100644 (file)
@@ -120,6 +120,10 @@ define('TYPE_ALL', 0); // Time record can be specified with either duration or s
 define('TYPE_START_FINISH', 1); // Time record has start and finish times.
 define('TYPE_DURATION', 2); // Time record has only duration, no start and finish times.
 
+// Definitions of types for uncompleted time entries.
+define('ENTRIES_NONE', 0); // Do not show uncompleted time entries anywhere.
+define('ENTRIES_USERS_PAGE', 1); // Show uncompleted time entries on the users page.
+
 // User access rights - bits that collectively define an access mask to the system (a role).
 // We'll have some bits here (1,2, etc...) reserved for future use.
 define('right_data_entry', 4);     // Right to enter work hours and expenses.