Commit Graph

127 Commits

Author SHA1 Message Date
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
Nathan Gray
978b5f4ffd More Home progress:
- Add support for timesheet favorites
2014-11-28 18:03:13 +00:00
Hadi Nategh
f43141c96a Keep the actual value of ts_quantity while storing it as it is used in price calculation, and rounding it cuases miscalculation of price 2014-11-17 08:40:49 +00:00
Nathan Gray
8a3df3911f Do not clear start/end time in simple mode, use them as user set them. 2014-10-22 20:09:10 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Nathan Gray
29301590d6 Fix doubled description ID (ts_description), caused lost comment when viewtype was set to simple 2014-09-09 22:20:52 +00:00
Nathan Gray
7b2511d264 Change automatically calculated quantity and list quantity to 2 decimal places 2014-09-09 21:38:37 +00:00
Hadi Nategh
a2c60633c6 Allow to set endtime before starttime, and calculate it as next day time.
- Fix setting endtime after middnight gives an validation error
- Move starttime validation under starttime field
2014-08-27 12:04:05 +00:00
Ralf Becker
4e044c5bde fix empty custom start- or end-date is displayed as 1970-01-01 in app-header and just selecting a start to get week starting from that day got wrong enddate 2014-08-25 18:22:50 +00:00
Nathan Gray
cc04f0b89c Create & use a flag 'no_actions' to disable actions for sum rows 2014-08-11 23:13:02 +00:00
Nathan Gray
0fa3ad831b Fix no longer working 'None' category option 2014-08-11 22:50:38 +00:00
Nathan Gray
c11785b2db Change pm_id filter to link-entry to match edit dialog.
Fixes empty pm_id filter when PM integration = full
2014-07-08 22:06:04 +00:00
Hadi Nategh
0be030f6cb Fallback to admin index after save/cancel from calendar ACl,timesheet edit status 2014-07-08 15:10:24 +00:00
Nathan Gray
c32ab85757 Just use edit, it's easier and won't cause issues with filtering. 2014-06-25 16:09:51 +00:00
Hadi Nategh
b0d2c7fb00 Fix IDE warnings 2014-06-12 12:39:52 +00:00
Ralf Becker
288f46aafd fixed not changed quantity, if duration was changed, caused by slightly different semantic for html5 placeholders to old eTemplate
old eTemplate returned empty value, if value was equal to placeholder, html5 shows placeholder only if value is empty, but will return a value equal to placeholder
--> I think we should go with html5 placeholder semantic and therefore change this in timesheet to give an empty value for quantity, if equal to duration and duration as placeholder/blur
2014-06-12 08:30:21 +00:00
Nathan Gray
f82559b525 Fix details filter not doing anything unless you close the tab 2014-06-04 19:29:35 +00:00
Nathan Gray
9c9b784c0c Remove fake modified date, it's considered not modified by nextmatch updated rows check 2014-04-02 19:49:14 +00:00
Nathan Gray
42ee153c30 Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again 2014-03-18 22:55:48 +00:00
Ralf Becker
3c91753e80 moving add-icon(s) from header_right to header_row 2014-03-12 10:12:29 +00:00
Ralf Becker
cf96da6f2f enable sum-rows to be able to merge-print selections containing them and remove them later from the selection 2014-01-31 11:58:58 +00:00
Ralf Becker
530e9d13e3 fix not loaded sum-rows, caused by having no row-id 2014-01-30 18:47:42 +00:00
Ralf Becker
efd6bf87d5 eT2 date-timeonly distinguishes between empty=no time set (returned as null) and "00:00", old eTemplate could did not do that, also fixed ide warnings 2014-01-30 15:39:56 +00:00
Nathan Gray
782eb7f14c Fix filemanager context menu item opening in iframe 2014-01-16 17:23:39 +00:00
Ralf Becker
118d9e025d disabling all actions but add on sum rows 2013-10-04 11:19:42 +00:00
Hadi Nategh
1c42747547 REmove "Whole query" menu item from Tracker, Timesheet and Addressbook, while et2 nm handles selection differently 2013-09-23 08:31:07 +00:00
Hadi Nategh
d0f967bdd8 Set prefix for CSS classes, timesheet app 2013-09-03 14:42:46 +00:00
Hadi Nategh
40ba4bad22 Add favorite onto side-box menu for timesheet app 2013-08-29 08:25:46 +00:00
Hadi Nategh
7ee2c05955 remove extra app prefixes from method names in app.js, for both infolog and timesheet applications 2013-08-27 10:46:42 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Ralf Becker
0de6ab1b35 fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore 2013-08-26 08:24:50 +00:00
Hadi Nategh
3f862f8b9a remove an old js() method from timesheet_ui which were no longer used in the code. 2013-08-23 07:35:42 +00:00