Ralf Becker
9345152c98
fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
...
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:12:49 +02:00
nathangray
d45ae8f330
Api: Fix Asyncservice did not have proper filesystem access as the job user
2021-06-21 08:43:40 -06:00
Ralf Becker
868135775c
PHP 8 fixes
2021-03-29 16:47:19 +02:00
Ralf Becker
84845d05b5
Fix PHP 8.0 Fatal error: Unparenthesized a ? b : c ?: d
is not supported
2021-03-21 21:46:10 +01:00
nathangray
b247554141
Timesheet: more timezone date fixes
...
This time start time was improperly processed, fixed end_time too
2021-01-27 10:23:22 -07:00
Hadi Nategh
6b910cc5fe
Make sure we reset filter or not setting it when choosing select All
2020-08-20 13:53:45 +02:00
nathangray
cd20749ca0
Timesheet: Change context menu category change to go over AJAX instead of POST to take advantage of push
2020-08-06 09:15:52 -06:00
Ralf Becker
3ee29ccacb
disable autorefresh in infolog and timesheet
2020-08-06 10:07:26 +02:00
Ralf Becker
6d4aaade1b
avoid second full refresh by sending delete action via ajax
2020-07-24 14:47:50 +02:00
nathangray
06f8f7456d
* Timesheet: Fix project link was missing when changing project after clicking "Save & New"
2019-12-13 09:48:01 -07:00
nathangray
d805e9f467
Stop using deprecated each(), using foreach(), key() or current() instead
2019-02-12 14:13:45 -07:00
nathangray
07b24b2a60
Commit session right after we store the state
2018-12-20 10:45:11 -07:00
nathangray
e5c13a0df6
* Timesheet - Admin only status also blocks editing & deleting for non-admins
2018-07-30 13:36:43 -06:00
nathangray
7ed5c42b3d
* Timesheet - only admins can select admin only statuses
2018-07-27 11:19:15 -06:00
nathangray
bc43d93950
* Calendar - Open timesheet from recurring event on selected occurence instead of first occurence
2018-06-08 11:32:38 -06:00
nathangray
e6b0ed7fee
Check to make sure we're in a JSON request before accessing it
2017-12-14 14:36:38 -07:00
nathangray
97eb05e04d
* Timesheet - Fix bug where user column dissapears if you have custom fields and resize a column
2017-09-20 10:30:30 -06:00
nathangray
7c7b1711e5
* Timesheet - Fix bug where editing entries from disabled users changed the user
2017-09-05 09:04:31 -06:00
nathangray
6539b66cdc
* Timesheet - Fix 0 quantity was not allowed
2017-08-25 10:11:41 -06:00
nathangray
c5f856d297
Timesheet - fix inconsistencies in which sums were shown as you change the time filter
...
(fixes #21497 )
2017-05-23 15:32:49 -06:00
Ralf Becker
dfbd0d2e6f
do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions
2017-04-04 16:54:36 +02:00
nathangray
27922446d7
Timesheet - Fix another place where Save & New then changing the project keeps the old project
2017-03-17 09:30:05 -06:00
nathangray
7429dac075
* Timesheet - Fix 'Save & new' does not set project correctly
2017-03-01 11:39:01 -07:00
nathangray
2f8538e80e
* Timesheet: Add Copy context menu action
2016-11-24 10:20:45 -07:00
nathangray
ed6069aa4d
* Infolog: Add a context menu action to view a list of linked timesheets
2016-11-22 11:41:51 -07:00
nathangray
41bcceb44e
Fix bug in timesheet simple mode where Save & New, then selecting a different project did not change the title to match the new project
2016-10-18 10:01:54 -06:00
Hadi Nategh
f7b995a24b
Fix projectmanager link does not get set for new timesheet entry
2016-08-26 10:40:17 +02:00
Hadi Nategh
25416167d9
Set lank projectmanager link as pm_id. Fix timesheet project field does not show linked project link as pre-selected project
2016-08-25 18:11:21 +02:00
nathangray
134572a0d9
Try to find & set pm_id from selected project when adding a new timesheet entry
2016-08-18 14:04:33 -06:00
nathangray
405e844446
If timesheet list has a project filter selected and user adds a new timesheet, pre-set the project to the one selected in the list
2016-08-12 10:39:06 -06:00
Ralf Becker
4db7e2fb94
fix Scrutinizer "bugs"
2016-06-29 10:38:41 +02:00
Hadi Nategh
60f6f71430
Mobile template:
...
- Fix links are not shown in view mode for infolog
- implement timesheet and resources view mode
2016-06-21 16:37:35 +02:00
nathangray
7bb9577c6f
Allow custom date filter with no start date
2016-05-27 10:36:51 -06:00
nathangray
31b6c8607b
Do not set end date to current time, just leave it unset - but pass by reference
2016-05-25 12:59:44 -06:00
Hadi Nategh
60bc400313
Fix modified view templates are not getting updated because of no cache-buster modification timestamp
2016-05-25 16:44:36 +02:00
Hadi Nategh
f0af5eeb08
End date needs to be passed by reference, fixes broken timesheet from commit aa0814f
2016-05-25 09:52:16 +02:00
nathangray
aa0814f4d0
Do not set end date to current time, just leave it unset
2016-05-24 15:01:20 -06:00
Ralf Becker
be0d2ca297
fix PHP Fatal error: Call to undefined method EGroupware\Api\Session::appsession()
2016-05-09 09:30:03 +00:00
Nathan Gray
d9f99b9fe4
Calculate totals all the time
2016-05-03 22:18:49 +00:00
Nathan Gray
e88c3da6b8
Add missing placeholder (no rows) action
2016-04-26 23:11:29 +00:00
Ralf Becker
8b671d96f1
update to only use new Api, incl. dependency to only api (no more phpgwapi and etemplate)
2016-04-26 18:27:29 +00:00
Ralf Becker
4854078b7c
fix PHP Fatal error: Call to undefined function now()
2016-04-26 09:30:07 +00:00
Nathan Gray
ec1f6e9068
- Keep custom timespan start & end dates matching selected named range
...
- If all (or no end date) show until today, instead of a week
2016-04-25 21:21:40 +00:00
Nathan Gray
c6c51e6a8e
Fix changed column IDs hiding columns incorrectly
2016-04-14 18:34:06 +00:00
Nathan Gray
f3aca6f1d7
- Clear header totals when no date filtering is applied
...
- Avoid warnings about column list being string / array
2016-04-13 14:59:17 +00:00
Nathan Gray
437f6353d0
Change timesheet list categories empty label to 'All categories' to match other apps
2016-03-24 18:52:59 +00:00
Nathan Gray
0f5d4e7cab
Send false to re-enable columns as needed
2016-03-08 17:29:10 +00:00
Ralf Becker
61027429eb
alignment of NM header
2016-02-17 19:56:54 +00:00
Ralf Becker
60d41a7a48
WIP aligning nextmatch header and styling it as toolbar
2016-02-16 17:18:02 +00:00
Hadi Nategh
19a21b2322
Mobile theme W.I.P.:
...
- Add view mode for timesheet
2016-02-05 11:47:32 +00:00