Commit Graph

1781 Commits

Author SHA1 Message Date
Mikaël Ates 3cd1c7429f dossiers: add CAMSP state for the patient entry date. 2013-04-08 20:26:47 +02:00
Mikaël Ates 20d1be4cae facturation: display more details on invoicing details page. 2013-04-08 20:26:47 +02:00
Mikaël Ates 38c8991776 facturation: invoicing stat method returns patients with missing policy. 2013-04-08 20:26:47 +02:00
Mikaël Ates edf9155565 facturation: updates in not CMPP acts listings function.
Return list of patients with missing healthcare policy information
  in acts listing function for CAMSP and SESSAD.

  Use setdefault when possible.

  Use iteritems() instead of items() when possible.
2013-04-08 20:26:47 +02:00
Mikaël Ates 47d0781fda scripts: script to import management codes of policy holders. 2013-04-08 20:26:47 +02:00
Mikaël Ates 0aa40a2c78 dossiers: display management code on contact tab. 2013-04-08 20:26:47 +02:00
Mikaël Ates 4b56905833 dossiers: add management_code field to PatientContact form. 2013-04-08 20:26:47 +02:00
Mikaël Ates f17381495f dossiers: remove print statement 2013-04-08 20:26:47 +02:00
Mikaël Ates 2178a08f65 dossiers: South migration script for PatientContact new field. 2013-04-08 20:26:47 +02:00
Mikaël Ates a4bee9e627 dossiers: add field management_code to PatientContact. 2013-04-08 20:26:47 +02:00
Mikaël Ates 09f71e03c1 scripts: script to import management codes for old soft. 2013-04-08 20:26:47 +02:00
Mikaël Ates 6280500205 ressources: South migration script for ManagementCode. 2013-04-08 20:26:47 +02:00
Mikaël Ates 2828e0c4bc ressources: model ManagementCode used for billing by not CMPP services. 2013-04-08 20:26:47 +02:00
Thomas NOËL 863f59f5d1 b2: multiple batch in a B2 file 2013-04-08 17:58:03 +02:00
Thomas NOËL 3d7a840abf new invoice.batch logic (fix #2525)
warning: execute this to init healthcenters hc_invoice
(redirections like in transmissions.csv from Faure)

----
from calebasse.ressources.models import HealthCenter

def redirect(from_, to):
    hc_from=HealthCenter.objects.get(pk=from_)
    hc_to=HealthCenter.objects.get(pk=to)
    print hc_from.b2_000(), hc_from,
    print "\t>", hc_to.b2_000(), hc_to
    hc_from.hc_invoice=hc_to
    hc_from.save()

redirect(454, 163)
redirect(944, 940)
redirect(980, 940)
redirect(928, 940)
redirect(979, 940)
redirect(988, 940)
redirect(1512, 1511)
-----
2013-04-05 14:37:39 +02:00
Jérôme Schneider 3255164897 actes: fix build_act save comment, doctors and last_validation_state 2013-04-04 11:16:42 +02:00
Jérôme Schneider e57e74dbe7 api: fix new authorization management 2013-04-03 11:34:19 +02:00
Jérôme Schneider 2e1babcf8a requirements: force tastypie version 2013-04-02 17:50:53 +02:00
Jérôme Schneider 55dfa03ad0 actes: fix last_validation state save into set_state 2013-04-02 17:48:03 +02:00
Jérôme Schneider 981abc286b actes: modify db to store the last validation state
Improve act search with last state : pointed, away, ...

WARNING this commit change the database :

  ./manage.py migrate actes

Fixes #2092
2013-03-29 17:55:29 +01:00
Thomas NOËL 7dd458764d add hc_invoice in HealtCenter
with a new migration directory :
      ./manage.py migrate ressources --fake 0001
      ./manage.py migrate ressources
2013-03-29 15:21:56 +01:00
Jérôme Schneider 3fb150dee1 pgsql: add reinit-psql.sh which dump and apply the last db 2013-03-29 12:13:37 +01:00
Jérôme Schneider 504817bcb2 actes: fix indent block 2013-03-28 15:14:54 +01:00
Jérôme Schneider 90ff081123 actes: improve presentation (#2092) 2013-03-28 12:09:26 +01:00
Jérôme Schneider 9335a09634 Dossiers: fix oldest state deletion
Fixes #2508
2013-03-28 10:53:56 +01:00
Jérôme Schneider 38b4bc2737 agenda / act: synchronise comment and description between EventWithAct
and Act

Fixes #2602
2013-03-27 12:04:43 +01:00
Jérôme Schneider 5534cf1d02 agenda: sync act comment and event description when a new act is create
from an EventWithAct

Begin fixes #2602
2013-03-26 19:34:12 +01:00
Jérôme Schneider 79bfd39873 api: fix calebasse Event save (tastipye api change)
d850758b08
http://stackoverflow.com/questions/15157071/tastypie-nested-resources-cached-obj-get-takes-exactly-2-arguments-1-given
2013-03-26 19:16:15 +01:00
Jérôme Schneider fca68db0ca dossiers: show a notification message when a place of birth is updated
Fixes #2605
2013-03-26 17:48:05 +01:00
Jérôme Schneider 5e76bb577c dossiers: fix update main contactpatient
fixes #2604 #2565
2013-03-25 18:37:00 +01:00
Mikaël Ates c798e9eedd dossiers: hide comment column in past acts as it does not work. 2013-03-20 12:03:53 +01:00
Mikaël Ates 9893156d43 dossiers: show comment in last and next apponitments (fixes #2528). 2013-03-19 16:35:11 +01:00
Mikaël Ates 1ea930b016 agenda: add datepicker to periodic event dialog (fixes #2451). 2013-03-19 15:24:29 +01:00
Mikaël Ates c654d723e9 Update login fields labels. 2013-03-19 15:11:19 +01:00
Mikaël Ates 89a6a7b122 dossiers: remove flog column for list (fixes #2102). 2013-03-19 14:44:02 +01:00
Mikaël Ates 6f890c89d3 Remove debug statements. 2013-03-19 12:15:07 +01:00
Mikaël Ates 273ce9f114 facturation: rejection of invoice from invoicing detail view (fixes #2062).
Add a boolean field to Invoice to mark rejected invoices.
  Require ./manage.py migrate facturation

  Add a button that rejects an invoice. Each act of the invoice is marked
  not billed and not cared. The invoice is marked rejected.
2013-03-19 12:10:35 +01:00
Mikaël Ates a12cecdd45 personnes: reorder blocks on holiday page. 2013-03-19 10:11:35 +01:00
Mikaël Ates 5b1b446978 personnes: give absence types on worker page. 2013-03-19 10:09:57 +01:00
Mikaël Ates e52ab81f55 personnes: replace Congé by Absence (bis) (fixes #2594) 2013-03-19 10:07:37 +01:00
Mikaël Ates cb31cfc53c personnes: replace Congé by Absence (fixes #2594) 2013-03-19 10:04:28 +01:00
Mikaël Ates 538e7917fe facturation: hide teletransmission button. 2013-03-18 17:21:09 +01:00
Mikaël Ates 64ec5b79ca Show Facturation on homepage. 2013-03-18 17:20:42 +01:00
Mikaël Ates b9d6c60c01 dossiers: Fix display of number of acts of healthcare. 2013-03-18 17:11:56 +01:00
Mikaël Ates 5f8f4437b8 Remove bad import. 2013-03-18 16:56:40 +01:00
Jérôme Schneider 7a742662e2 agenda: fix agenda ressources view
fixes #2570
2013-03-07 16:53:56 +01:00
Jérôme Schneider 5d625358a2 dossiers: don't allow adresses selection for the current patient
fixes #2565
2013-03-07 15:32:19 +01:00
Benjamin Dauvergne 0e34ab8f95 facturation: generate invoice headers by batches no by healthcenter
fixes #2568
2013-03-07 14:12:22 +01:00
Jérôme Schneider 39ddd165b3 dossiers: use model validator instead of form validator 2013-03-07 13:43:13 +01:00
Jérôme Schneider 27d44355ac dossiers acts: add migrations scripts and disable acts 2013-03-07 12:17:58 +01:00