Commit Graph

171 Commits

Author SHA1 Message Date
nathan
96621ac3c5 Disable kanban column if user does not have access to kanban 2023-07-17 10:37:21 -06:00
nathan
8b86bd149f Timesheet: Do not include events in new timesheet when save & new button is clicked on a timesheet with events 2023-07-11 15:28:07 -06:00
nathan
4e02b2ec98 Timesheet: Display changes for totals
- Totals in row now bold
- Duration in header set to h:m format
- adjust vertical position of duration to be more in line with the rest
2023-05-08 10:29:04 -06:00
nathan
687cf02dc8 Timesheet: Update quantity placeholder when duration changes, including decimal separator 2023-03-31 10:31:54 -06:00
ralf
ab6338f13f * TimeSheet: allow to update times in events tab rows by clicking on the time
@todo nathan: setting min/max values on Et2DateTime loaded via a template into dialog does NOT work, as widget has not instantiated Flatpicker,
when the dialog.getUpdateComplete promise returns and the widget then simply ignores the set min/max time :(
2023-02-06 14:42:18 +01:00
nathan
82ae5aa939 Timesheet: Avoid error if selectcols is not an array
in_array(): Argument #2 ($haystack) must be of type array, null given
2023-01-02 08:31:10 -07:00
ralf
6a93275d93 only consider last linked entry, for timers created on an app entry
as rest of code wont deal with multiple ones
2022-11-04 15:57:38 +01:00
ralf
693cf1f116 run same logic for timer timesheets started on an other app's entry, as used for timesheets manually booked on them 2022-11-03 13:51:45 +01:00
ralf
65c1233ced WIP timesheet timer: allow to start timer as alternative to add a timesheet directly
timesheet will be added on stopping the timer
2022-10-09 15:30:46 +02:00
ralf
d8e993dc75 WIP timesheet timers: allow to add more time on an existing timesheet with right click "Start timer" 2022-10-07 19:36:57 +02:00
ralf
0a9526c152 WIP timesheet timer: persistence and opening a new timesheet when stoping the specific timer 2022-09-30 19:07:33 +02:00
nathan
db7b9f0abb Timesheet: Avoid error when opening list caused by incorrect 'All' value in filter 2022-08-23 08:59:25 -06:00
Ralf Becker
98e00f08d0 fix PHP 8.0 TypeError: when exporting multiple users
Argument 1 passed to EGroupware\Api\Accounts::username() must be of the type int or null, array given
2021-10-11 18:33:59 +02:00
Ralf Becker
d2c85cfe86 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:08:32 +02:00
nathangray
218e17798d Api: Fix Asyncservice did not have proper filesystem access as the job user 2021-06-18 14:56:14 +02: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