Commit Graph

1781 Commits

Author SHA1 Message Date
Mikaël Ates 005f126443 dossiers: add prescription log model using cpickle for prescription choices dict. 2013-05-15 21:24:13 +02:00
Mikaël Ates c8954c82ea dossiers: complete template of cerfa 50742_03. 2013-05-15 21:21:26 +02:00
Mikaël Ates 71d239fc06 dossiers: add date in transport prescription file name. 2013-05-14 17:44:31 +02:00
Mikaël Ates 56a3211ff7 dossiers: allow to change date for transport prescription creation. 2013-05-14 17:21:21 +02:00
Mikaël Ates 61c88ce1c5 Format date in doc generated using django format utils (i10n). 2013-05-14 16:44:00 +02:00
Mikaël Ates dc52663149 Date formatting. 2013-05-14 16:12:07 +02:00
Mikaël Ates 838f9d1847 actes: stay on the same date after editing an act. 2013-05-14 15:40:55 +02:00
Mikaël Ates 1537fefc49 actes: add missing template for act rebilling. 2013-05-14 15:06:20 +02:00
Mikaël Ates 91897302e9 facturation: change the order of use of healthcare at billing.
When there is an overlapping of coverage between healthcare, the most
  recent must be used, even if the previous one is not full.

  That should not happen with two treatment HC because the overlapping is
  forbidden. But that may often happen between Diag and Treatment HC since
  Diag HC have not end date.
2013-05-14 11:48:41 +02:00
Mikaël Ates fb3af921da Remove trailling blank lines. 2013-05-14 11:28:16 +02:00
Mikaël Ates 5282952792 actes: Allow to rebill a single act if it was billed with the old system. 2013-05-14 11:27:45 +02:00
Mikaël Ates df3c5f1f76 Display all adresses for selection in template-based document generation. 2013-05-14 10:13:47 +02:00
Mikaël Ates 2a5c234cb7 Check missing health center in template-based document generation. 2013-05-14 09:24:55 +02:00
Mikaël Ates a192e19ab6 Refresh template choices without reloading server. 2013-05-13 16:03:05 +02:00
Mikaël Ates b4310641ee Complete variables for template-based document generation. 2013-05-13 12:16:34 +02:00
Mikaël Ates 9fdf0ddd7c Allow a silent mode for missing variables in template generation. 2013-05-13 12:13:55 +02:00
Mikaël Ates d2d9cff5cf Add a test file with all variables for template generation. 2013-05-13 12:12:35 +02:00
Mikaël Ates b3b3c171fe settings: add missing patient subdirectory. 2013-05-13 12:10:42 +02:00
Mikaël Ates 9b4b395ea1 dossiers: add button in file tab and a bit of style for 50742_03 generation. 2013-05-03 16:47:42 +02:00
Mikaël Ates 447e737be3 dossiers: add js and html for 50742_03 generation 2013-05-03 16:46:31 +02:00
Mikaël Ates cda024769f dossiers: add view for 50742_03 generation with ph address selection. 2013-05-03 16:45:21 +02:00
Mikaël Ates 0ea528a43d dossiers: generation and completion of cerfa 50742_03 (prescription transport). 2013-05-03 16:43:40 +02:00
Mikaël Ates 364eecbeef dossiers: Modify persistance if doc generated from rtf templates:
If USE_PATIENT_FILE_RTF_REPOSITORY_DIRECTORY is False and
    RTF_REPOSITORY_DIRECTORY is None, generated files are temporary.

    If USE_PATIENT_FILE_RTF_REPOSITORY_DIRECTORY is True, assuming
    that PATIENT_FILES_BASE_DIRECTORY is well configured, the
    generated files are persistents and the destination path root
    is the patient file. If RTF_REPOSITORY_DIRECTORY is set, its
    value his appended to the destination. That allows to put
    all generated files in the 'Courriers' directory of the
    patient files.

    Else if USE_PATIENT_FILE_RTF_REPOSITORY_DIRECTORY is False,
    RTF_REPOSITORY_DIRECTORY is the destination to save persistent
    files.
2013-05-02 16:10:45 +02:00
Mikaël Ates 3d52e1f4b6 Handle temp file in making doc from rtf template. 2013-05-02 16:06:31 +02:00
Mikaël Ates fe04204b6e agenda: only show 'courrier' link if a rtf template dir is set. 2013-05-02 16:05:24 +02:00
Mikaël Ates bc17dbd78c dossiers: limit to 5 the number of address rtf template variables. 2013-05-02 15:11:57 +02:00
Mikaël Ates 7296f9f107 dossiers: add second in generated filename to avoid colisions. 2013-05-02 15:11:13 +02:00
Mikaël Ates 8c2e6d82b9 agenda: better null fiel handling at rtf generation. 2013-05-02 15:08:50 +02:00
Mikaël Ates 6a5a3da2f7 agenda: enhance address js selection for rtf generation. 2013-05-02 15:07:38 +02:00
Mikaël Ates 25f8303ac8 agenda: activate 'courrier' function. 2013-05-02 15:06:37 +02:00
Jérôme Schneider b9ed3c1171 actes: create act when a new event act is created 2013-04-25 18:24:59 +02:00
Jérôme Schneider 7cd2f6fb39 actes: fix new act dialog
Fix #2792

 * actes/templates/actes/act_listing.html: cleaning
 * actes/templates/actes/act_update.html: fix new act dialog
 * actes/urls.py: rename url nouvel-acte to new-act
 * actes/views.py: fix new act
 * agenda/templates/agenda/base.html: rename /spam to /span
 * dossiers/views.py: cut lines to 80 characters
2013-04-25 14:58:06 +02:00
Mikaël Ates 6e9b19bc95 dossiers: change an imperative message to an indication. 2013-04-25 12:55:29 +02:00
Frédéric Péters 139bba80df tests: do not import missing add_price method 2013-04-23 18:57:17 +02:00
Mikaël Ates 80fcd3e21b dossiers Fix automatic diag hc creation and rediag possibility. 2013-04-23 17:24:33 +02:00
Mikaël Ates 67de272447 agenda: add print button at the bottom of the all-agenda page. 2013-04-12 11:49:10 +02:00
Mikaël Ates fb54b8beda dossiers: South script for last commit. 2013-04-12 10:52:00 +02:00
Mikaël Ates 44a0fb1087 dossiers: allow to modify CmppHealthCareTreatment end_date. 2013-04-12 10:51:18 +02:00
Mikaël Ates a88371f105 dossiers: add comment column in past acts (fixes #2528). 2013-04-11 16:52:02 +02:00
Mikaël Ates f615e1173c facturation: higher bottom margin in invoicing rendering. 2013-04-10 20:47:25 +02:00
Mikaël Ates 74da1939ff facturation: order not cmpp invoicing rendering sorted on the policy holder. 2013-04-09 15:34:17 +02:00
Mikaël Ates 56406192aa facturation: landscape and better display of not cmpp invoicing rendering. 2013-04-09 10:44:01 +02:00
Mikaël Ates 98f6a43c21 facturation: authorize missing first name in invoicing rendering. 2013-04-09 10:43:13 +02:00
Mikaël Ates 3bb50103dd facturation: trigger invoicing rendering from print button. 2013-04-08 20:26:47 +02:00
Mikaël Ates 2f2a7de9f6 facturation: Add rendering functions for not CMPP services. 2013-04-08 20:26:47 +02:00
Mikaël Ates 84340f4b0b Add nir control key computation function to utils. 2013-04-08 20:26:47 +02:00
Mikaël Ates 9b388e5a67 dossiers: South migration script for Invoice new fields. 2013-04-08 20:26:47 +02:00
Mikaël Ates e2e4192d68 facturation: add new fields to Invoice and build invoicing for not CMPP services.
* Invoice can now register the management code.

  * Now use invoices to build the not CMPP invoicings.
2013-04-08 20:26:47 +02:00
Mikaël Ates 6c3d1192d9 facturation: remove debug statement. 2013-04-08 20:26:47 +02:00
Mikaël Ates ed91f09eb8 Remove print statement. 2013-04-08 20:26:47 +02:00