Commit Graph

57 Commits

Author SHA1 Message Date
Mikaël Ates 0a4f779fa4 personnes: show inactive accesses and allow to re-active an access. 2014-10-07 17:39:22 +02:00
Mikaël Ates 0c97658eab personnes: order access list by username. 2014-10-07 16:53:13 +02:00
Serghei Mihai f1db8cdd6a personnes: all holidays displayed in descending order 2014-06-12 10:05:13 +02:00
Jérôme Schneider a78c226302 Personnes: fixes worker and access view
Remove not working disactivate accounts list
2014-03-11 11:27:27 +01:00
Jérôme Schneider a37b870f9d calebasse/personnes: don't delete users (only disable)
Fixes #4354
2014-02-26 18:02:31 +01:00
Serghei Mihai 5043c7f706
personnes: group holidays deletion fix 2013-12-19 17:52:58 +01:00
Serghei Mihai c2953462b3
personnes: individual holidays properly saved
Closes #3108
2013-12-19 17:32:57 +01:00
Serghei Mihai 672109c517
personnes: holidays properly fetched when persons list displayed 2013-12-19 16:19:30 +01:00
Serghei Mihai 8379904eca
personnes: group holidays filtering updated
Closes #4141
2013-12-18 11:56:54 +01:00
Serghei Mihai 4976c5c2e6
personnes: fix on group holidays filtering
Closes #4141
2013-12-18 11:53:13 +01:00
Serghei Mihai ef1217dc29 personnes: group holidays aren't filtered by service
Closes #4140
2013-12-18 11:12:24 +01:00
Jérôme Schneider 3396c6cb3f personnes/views.py: syntax fix pylint warnings 2013-12-18 09:54:18 +01:00
Serghei Mihai a73d8a8246
personnes: individual holidays creation fix
Closes #3108
2013-12-17 12:36:05 +01:00
Serghei Mihai 6fd0e5b8a4
personnes: fixes for editing group holidays
Closes #3108
2013-12-17 12:04:08 +01:00
Serghei Mihai b1c329fcc9
personnes: fixes on group holidays management
Closes #3108
2013-12-17 11:03:20 +01:00
Serghei Mihai bc16b4d1a7
personnes: individual holidays management improved
Closes #3108
2013-12-16 18:44:25 +01:00
Serghei Mihai 14a6b60bb3 personnes: no more need to check the empty services attribute 2013-12-12 16:57:14 +01:00
Serghei Mihai d29317d341
personnes: showing the services common holidays for each service
Closes #4105
2013-12-12 14:25:51 +01:00
Serghei Mihai b4e251576d personnes: group holidays displayed by service
Closes #4105
2013-12-12 14:03:29 +01:00
Serghei Mihai 4cf92e4aba personnes: worker attachement to holiday fix 2013-12-11 15:00:19 +01:00
Mikaël Ates 5b88932cb3 personnes/ressources: always put service in the view contexts. 2013-12-11 14:56:00 +01:00
Serghei Mihai 46f98e2c49
personnes: logging added when holidays management exceptions occur 2013-11-26 09:58:40 +01:00
Serghei Mihai 9090fa1a4e
personnes: group holidays management refactored 2013-11-25 17:51:37 +01:00
Serghei Mihai 8e003db0ab
personnes: individual holidays management refactored: page refreshed when operation successfull
Services concerned by the holiday updated
2013-11-25 15:48:25 +01:00
Serghei Mihai f16d675e2d
personnes: fixing the multiple holidays when using 'for_worker' manager.
The Holiday's 'services' attribute can't be empty and is initiated on holiday creation
2013-09-13 15:14:43 +02:00
Serghei Mihai 5b90c12ed5 Group absences refactored 2013-08-28 11:05:06 +02:00
Serghei Mihai 3ade90b9df prototype of editing group absences 2013-08-22 10:09:55 +02:00
Serghei Mihai cb64718379 worker object injected in the form before its validation and saving 2013-08-16 10:53:52 +02:00
Serghei Mihai e840a72be3 personal absences url update on 'Absences' page 2013-08-14 15:47:30 +02:00
Serghei Mihai 6ba250f732 Fixing the broken url for viewing group holidays 2013-08-14 11:12:53 +02:00
Serghei Mihai c029f2852e absences management refactored 2013-08-12 17:50:03 +02:00
Benjamin Dauvergne cfbe06e8d7 personnes: make worker delete return to the worker listing, not the worker update view which does not exist anymore 2013-01-24 11:59:12 +01:00
Jérôme Schneider 7843b54f9e personnes: fix #2311 remove a user in personn access 2013-01-15 15:21:27 +01:00
Benjamin Dauvergne e6e5249f0c personnes: use localized month names in the holidays view 2013-01-10 22:35:43 +01:00
Benjamin Dauvergne 84614733d8 personnes: rewrite holidays view (fixes #2308) 2013-01-10 00:09:08 +01:00
Mikaël Ates 5c9faa2c9a authorization: restrict access to access views. 2013-01-09 15:35:30 +01:00
Benjamin Dauvergne 7b1f0cd6dc personnes: show holidays of all workers, improve performance of queries 2013-01-07 17:21:10 +01:00
Frédéric Péters 4b2eac21e2 personnes: minor improvements to holidays page 2012-12-30 10:38:57 +01:00
Mikaël Ates c2f3ff62d5 personnes: add update success message when updating a worker. 2012-12-29 14:59:18 +01:00
Mikaël Ates 9edb5f6080 personnes: Enhance holiday management pages. 2012-12-24 19:50:18 +01:00
Frédéric Péters 937f1ad2ed personnes: only display current workers by default (#2273) 2012-12-22 16:17:56 +01:00
Mikaël Ates c5dd5b8a25 personnes: modify views to display enabled workers. 2012-12-21 18:17:20 +01:00
Benjamin Dauvergne d964fe2f63 personnes: fix yearly holidays view, fixes #2231 2012-12-17 22:05:36 +01:00
Benjamin Dauvergne f8f903c3c2 personnes: add periodicity fields to the TimeTable model
The new fields are:
 - week_offset, week_period to define a repeat pattern using a modulo
   and an initial offset,
 - week_parity, to define a repeat pattern based on the remainder modulo
   2 of the ISO week number,
 - week_rank, to define a pattern of week rank in the month for which
   the schedule is valid.

The weekday has been moved to an IntegerField for more efficient lookup.
2012-11-26 12:26:24 +01:00
Benjamin Dauvergne 52d3b72269 personnes,agenda: change timetable model to make it belong to multiple services, fixes #1982
Schema was changed, you must reinit your db.
2012-11-21 11:03:49 +01:00
Benjamin Dauvergne 34029347e4 personnes: in the new access form, fill the worker combobox with service workers, fixes #1973 2012-11-20 17:26:59 +01:00
Benjamin Dauvergne a5bdc8ecb1 personnes: add new methods of the HolidayQuerySet
New methods allow to filter holidays based on a time period or for the
future (happening later than today, today included).
2012-11-20 15:24:44 +01:00
Benjamin Dauvergne 57212b18fa personnes: fix "for all services" checbox in yearly holidays update view 2012-11-16 16:42:31 +01:00
Benjamin Dauvergne f69ae8a272 personnes: add views to manage service holidays 2012-11-15 17:51:12 +01:00
Benjamin Dauvergne 4696b8271b personnes: rename template personnel_edit.html to worker_update.html 2012-11-15 17:43:31 +01:00