Commit Graph

2440 Commits

Author SHA1 Message Date
Jérôme Schneider f93684a477 calebasse.dossiers.js: put a warning if an error occured
Closes #2740
2014-08-21 09:44:21 +02:00
Serghei Mihai 66307b99c4 dossiers: template for printing quotations added 2014-08-19 22:19:02 +02:00
Serghei Mihai e1c2c36b6f spin animation picked from FontAwesome style, which is removed 2014-08-19 18:34:01 +02:00
Serghei Mihai ad0780e685 agenda: when adding events of type COURRIEL or TELEPHONE the start time and
duration are taken in account and default to 8h and 10 minutes if not defined

Closes #5015
2014-08-19 18:06:00 +02:00
Serghei Mihai fbfab2cc4d agenda: ressource appointment view redesigned to look like worker's
Closes #5284
2014-08-19 18:06:00 +02:00
Serghei Mihai 0a8aab3242 dossiers: notification displayed when updates done on patient addresses/contacts
Closes #4807
2014-08-19 18:06:00 +02:00
Serghei Mihai 1dd5253acd dossiers: expendable elements selector update 2014-08-19 18:06:00 +02:00
Jérôme Schneider 33c3c6d1bb calebasse/dossiers/views.py: fix a success_url for paper_id form 2014-08-19 16:13:02 +02:00
Jérôme Schneider 90070ef629 static/js/calebasse.dialog.js: fixing calebasse_ajax_form
Closes #5285
2014-08-19 12:30:51 +02:00
Jérôme Schneider 91140baf5c fixes a toggle bug specific to Firefox 2014-08-18 19:23:41 +02:00
Serghei Mihai 1f4ae3b347 patient record id grayed on all pages in order to avoid confusion
Closes #3120
2014-08-18 16:55:57 +02:00
Serghei Mihai 1cb3dc45ea statistics: fix the stats form url 2014-08-18 10:50:15 +02:00
Jérôme Schneider 5ea0db1a1c ressources: new command reinit_schools_from_xls which reset schools
Usage example :
python manage.py reinit_schools_from_xls /home/jschneider/apps/calebasse/xls

WARNING: this script delete all schools
2014-08-11 11:13:10 +02:00
Jérôme Schneider e8a1fe3143 dossiers: render pause facturation comment expandable
Closes #5010
2014-08-11 11:13:10 +02:00
Jérôme Schneider bbf89bd4bd dossiers: show an alert when closing without saving
Closes #2740
2014-08-11 11:12:19 +02:00
Frédéric Péters 9f237a5a5b display age next to birthdate in dossier main page (#3429) 2014-08-11 08:35:47 +02:00
Frédéric Péters 62685e1b6a Filter the formatted date with |lower to avoid uppercase in months (#4805) 2014-08-11 08:35:47 +02:00
Serghei Mihai 3fbbba756d agenda: multiple GET requests on editing periodic events fix
Closes #5230
2014-08-08 11:35:03 +02:00
Serghei Mihai f248574d60 agenda: arrivals dans departures displayed before appointments
Closes #5235
2014-08-04 11:14:17 +02:00
Serghei Mihai 54318d2c86 dossiers: printing each patient record tab with filtering past and future appointments by dates
Closes #3109
2014-08-01 15:07:57 +02:00
Jérôme Schneider 9fa488035a ressources: add zip code and city into school dispaly name 2014-08-01 12:39:26 +02:00
Mikaël Ates b8c44af86f agenda : hide the delete button on periodic event dialog when an act is already billed. 2014-08-01 00:12:53 +02:00
Mikaël Ates 5b5935ffe2 agenda: reccurrence periodicity can not be modified on an event with already billed acts. 2014-08-01 00:12:06 +02:00
Mikaël Ates f20148c6e7 agenda : Add warning message and prevent hazardous modifications.
Add message on the periodic event dialog to warn when acts are already billed.

    Prevent periodic event field edition when an act is already billed excepted the fields
    start and end date, description and ressource.

    Patient can not be modified on periodic event and its occurence.
2014-08-01 00:10:46 +02:00
Mikaël Ates c7b1f1426f agenda: event delete view just call Model delete. 2014-08-01 00:06:52 +02:00
Mikaël Ates b2ab5f4c20 agenda: various modification on periodicity management and heper functions and properties
Add date, time and duration to Event model.

    Add acts property returning a queryset of the acts associated to the periodic Event
    and associated to its exceptions.

    Add one_act_already_billed and one_act_is_billed, existence tests on periodic Event
    acts.

    Add events_cleaning Event function run at saving to delete exceptions out of the
    reccurrency bounds.

    Modify acts_cleaning to protect act already_billed from deletion.

    Modify init_act() EventWithAct method to prevent act synchronisation called by
    acts_cleaning for billed acts.

    Modify Event delete method to prevent deletion of Event with an already billed act.
    If deletion is possible, run the delete on all the exception before setting self
    canceled and saving.
2014-08-01 00:03:27 +02:00
Mikaël Ates d9c011a6e7 agenda: hidden occurrence delete icon when the associated act is already billed. 2014-07-31 23:55:36 +02:00
Mikaël Ates c56057b470 agenda: check in reccurrent event form that reccurrency bound dates won't exclude already_billed acts. 2014-07-31 23:54:21 +02:00
Mikaël Ates af0ca53c51 agenda: add already_billed attribute to appointment. 2014-07-31 23:51:51 +02:00
Mikaël Ates 5978c161b5 actes: complete the setting of already billed field in the data migration. 2014-07-30 17:17:12 +02:00
Mikaël Ates 82bd6993b9 agenda: act comment does not exist anymore. 2014-07-30 17:17:12 +02:00
Mikaël Ates 3aeb5201b0 actes: define rebilling Act model property. 2014-07-30 17:17:12 +02:00
Mikaël Ates 3cfcd72884 actes: set already_billed field at Act model saving. 2014-07-30 17:17:12 +02:00
Mikaël Ates 6eaf55c77f actes: add data migration to populate already_billed field of Act model. 2014-07-30 17:17:12 +02:00
Mikaël Ates 565ceb934c actes: add already_billed field to Act model. 2014-07-30 17:17:12 +02:00
Mikaël Ates b93b5302b4 actes: act saving does not care about event and event canceling, if necessary check elsewhere. 2014-07-30 17:17:12 +02:00
Mikaël Ates b8fe32bb27 actes: add comment property to Act model based on parent event description field. 2014-07-30 17:17:11 +02:00
Mikaël Ates 1edcbebd07 actes: remove comment field from Act model. 2014-07-30 17:17:11 +02:00
Mikaël Ates 9a5bca6e26 agenda: the comment displayed through an appointment is the event one. 2014-07-30 17:17:11 +02:00
Mikaël Ates 3e4631f43b agenda: comment update in ajax, we update comment on event and not on act 2014-07-30 17:17:11 +02:00
Mikaël Ates 48091f7822 actes: an act comment can only be updated from an event update. 2014-07-30 17:17:11 +02:00
Mikaël Ates 05a6bb2037 actes: 'valide' act field must not be edited, replace 'Validés' by 'Présents' (fixes #3413). 2014-07-30 17:17:11 +02:00
Serghei Mihai 3fa5579ebf dossiers: quotations view improvements 2014-07-30 10:56:48 +02:00
Serghei Mihai 2c6641c85c dossiers: print all quotations
font-awesome styles added for icons effects

Closes #5012
2014-07-29 17:52:47 +02:00
Serghei Mihai 181c62ade8 icon definitions moved to common stylesheet 2014-07-29 17:49:48 +02:00
Serghei Mihai ce41c769bf agenda: highlight last saved updated act
Closes #3148
2014-07-29 17:46:08 +02:00
Serghei Mihai 748e8d64e8 dossiers: quotations table refactored
Closes #5013
2014-07-28 18:08:43 +02:00
Serghei Mihai feffc42192 dossiers: display anap quotations and filter by them
Closes #5011
2014-07-28 18:08:43 +02:00
Jérôme Schneider 1a3d891234 dossiers: merge administrative forms into one form
Closes #2739
2014-07-28 18:02:22 +02:00
Jérôme Schneider fb700370ae dossiers: use service slug instead of name 2014-07-25 16:19:00 +02:00