Commit Graph

47 Commits

Author SHA1 Message Date
nathan
2dc50f52cc Timesheet: Change duration to show h:mm 2022-10-13 14:51:38 -06:00
ralf
89613dd368 fix et2-date-duration showing NaN:NaN in timesheet
boolean attributes should not have a default of true, because DOM does NOT reflect false and we need to reflect for use in NM
--> changed default for select_unit for r/o duration to false and set it in timesheet.index to true
--> changing it for r/w too would require a lot of xet files to be updated (we don't need reflection there)
2022-03-02 11:02:24 +02:00
Hadi Nategh
4853cefa0c Add missing icons for applications add buttons 2022-01-20 13:32:27 +01:00
Hadi Nategh
c78042d522 Update PUBLIC ID of etemplate2.dtd in all templates 2017-02-01 09:59:37 +01:00
nathangray
a23acf1dfa * Add creation field to timesheet 2017-01-17 10:34:28 -07: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
nathangray
439d1e9dab Move timesheet ID column to the right, so it doesn't hold the category marker & can be safely turned off. 2016-07-04 15:37:44 -06: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
3fdf387341 Fix start & end date filters did not filter 2016-04-12 22:52:22 +00:00
Nathan Gray
e5cbe2c57c Limit start / end dates with respect to each other so end must always be after start 2016-03-22 14:38:50 +00:00
Ralf Becker
60d41a7a48 WIP aligning nextmatch header and styling it as toolbar 2016-02-16 17:18:02 +00:00
Ralf Becker
d432642f1a add encoding, eTempalte2 DTD and svn propset svn:keywords Id to all eTemplates 2015-02-17 09:55:05 +00:00
Ralf Becker
94afafae11 * all apps: fixed column sizes and stretch (change when window size changes) 2014-08-22 11:08:21 +00:00
Hadi Nategh
cb43eb44c4 Add missing column in timesheet idex template, which were causing customfields not shown on the list 2014-08-06 10:58:04 +00:00
Hadi Nategh
5114fbe11a Add timesheet ID to nm listview 2014-07-30 14:17: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
Nathan Gray
f82559b525 Fix details filter not doing anything unless you close the tab 2014-06-04 19:29:35 +00:00
Ralf Becker
3c91753e80 moving add-icon(s) from header_right to header_row 2014-03-12 10:12:29 +00:00
Nathan Gray
8072469b25 Remove unneeded onchange attribute, caused problems with filtering 2014-01-31 16:52:07 +00:00
Hadi Nategh
9af3a9404d Replace old confirm() with new confirm dialog, and since we use generic method from et2_dialog class, then no need to have a seperate dialog creator function in app.js 2013-12-05 11:03:36 +00:00
Nathan Gray
d10025b462 Disable automatic chosen based on option count, chosen list is trapped inside the header. 2013-11-27 18:08:55 +00:00
Nathan Gray
3ab7b05737 Add category color to rows 2013-11-21 00:21:16 +00:00
Hadi Nategh
552761113b Remove resubmit from the onchange event, since the nextmatch widget handles submission by itself 2013-09-20 09:34:49 +00:00
Hadi Nategh
d0f967bdd8 Set prefix for CSS classes, timesheet app 2013-09-03 14:42:46 +00:00
Hadi Nategh
e572d77693 add app.js to timesheet application and run timesheet app by et2 2013-08-21 15:25:42 +00:00
Ralf Becker
1c4f65120c new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way 2013-08-20 12:06:41 +00:00
Ralf Becker
36ed3f4f61 calling the global action-object-manager 2011-06-02 17:10:48 +00:00
Ralf Becker
8e2479499b upper check-all button also needs to call egw_objectManager.toggleAllSelected() 2011-05-06 13:31:33 +00:00
Nathan Gray
e5a9089e13 Use action system to select all 2011-05-04 17:46:22 +00:00
Ralf Becker
6081a5749d timesheet context menus are now complete:
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
  + Delete this entry
  + Delete these entries
  + You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +00:00
Ralf Becker
806d3d604c added context menu for nextmatch widget: first implemenation in timesheet
- legacy actions column and multiple action row below table is switched off by default, but can be switched on again
- legacy action button is NOT yet working
- "whole query" checkbox need to go into context menu too
2011-04-16 21:45:13 +00:00
Ralf Becker
42d898da8c Linked filter for timesheet (analog to infolog one, using nextmatch
custom filter with a link-entry widget)
2009-09-26 11:17:19 +00:00
Ralf Becker
892e22a4a0 Replaced [Add] submitbutton with a button, to allow to start search with
enter
2009-04-01 13:00:46 +00:00
Stefan Becker
3687395dab searching and sorting with customfields using the new standard custimfield class so_sql_cf 2009-03-23 15:23:45 +00:00
Stefan Becker
3818c671cc setting an individual status to multiple timesheet via a action method like the Addressbook and the Inlolog status. Sponsored by Martin Frimmel 2009-03-23 09:53:03 +00:00
Ralf Becker
5261728792 Fixed not working custom fields:
- SQL error when storing cfs
- csv export did not contain cfs (reported by Frank Becker)
- list did not contain cfs
- list caused check of attachments for every single entry, without
  displaying the attachments
- empty cf values got stored in db
--> had to rework the whole cf stuff :-(
2008-10-15 16:37:23 +00:00
Ralf Becker
38d3ac65ff - using new class naming schema
- version and dependencies for 1.6
- file_access hook for attachments
2008-10-07 08:57:09 +00:00
Ralf Becker
641475d08b using static methods of egw_link and config, implemented titles link 2008-03-09 07:33:42 +00:00
Ralf Becker
d676b0879d added fix to be able to optionally sum up negative times (overtime) in the quantity column, need to be switched on in the timesheet configuration 2007-07-10 07:34:30 +00:00
Ralf Becker
c0b6563e17 adaption for the new nextmatch feature plus some nice extra columns 2007-03-07 12:31:48 +00:00
Ralf Becker
106dab6003 - fixed sort by date for the reporting
- cats column is automatic suppressed, if no cats used
- removed "none" from the cats column in the sums
2006-09-20 13:31:41 +00:00
Ralf Becker
6bef8418f1 - the level of integration with projectmanager is now configurable:
+ Both: allow to use ProjectManager and free project-names
 + None: use only free project-names
 + Full: use only ProjectManager
- new filter for none-selected for category and project
--> requires an updated trunk etemplate version!!!
2006-09-12 15:21:23 +00:00
Ralf Becker
cd69f5bb27 - bugfix: [Save & New] lost links, now it can be used as a copy too
- [Add] button is now also on the top rights of the list (custom dates are on the left now)
- instead of a start-date+time plus the duration, you can now specify the start+date (required) plus 2 out of the following 3: start-time, duration, end-time
- the end-time for new entries is set to the aktual time, so you only need to fill the duration for a task you just finished
2006-09-12 10:37:13 +00:00
Ralf Becker
5d29337843 - added/corrected rounding of quantity and prices
- range-sums are only shown if the date-filter includes the full-range (otherwise you got an incorrect sum)
- day-sums only for less or equal 6 weeks
- more meaningful app-header / report title
- disabled owner column in print, if filtered by one owner
- state of details/no details is now saved in the user prefs, to be persistent over sessions
- minutes are allowed as additional input-unit for times
2006-03-27 12:20:06 +00:00
Ralf Becker
0a0a2b0513 - fixed timesheet to display only hours
- improved printing:
  + disabled unnecessary UI-elements
  + sums after each day, week, month
2006-03-26 22:11:58 +00:00
Ralf Becker
c706a3f043 usebility improvment:
- filter by custom date-range
- app-header with user and date-range
2006-03-21 22:18:29 +00:00
Ralf Becker
9f638e4f08 Initial revision 2005-12-19 04:23:14 +00:00