Project

General

Profile

« Previous | Next » 

Revision 523c5aaf

Added by Mikaël Ates almost 11 years ago

facturation: rename CMPP billing functions.

View differences:

calebasse/facturation/tests.py
20 20

  
21 21
from list_acts import (list_acts_for_billing_CAMSP,
22 22
    list_acts_for_billing_SESSAD, list_acts_for_billing_CMPP,
23
    list_acts_for_billing_CMPP_2)
23
    list_acts_for_billing_CMPP)
24 24

  
25 25
from models import PricePerAct, Invoicing
26 26

  
......
254 254
        hct.save()
255 255
        hct.add_prolongation()
256 256

  
257
        billing_cmpp = list_acts_for_billing_CMPP_2(datetime(2020, 11, 30), service_cmpp)
257
        billing_cmpp = list_acts_for_billing_CMPP(datetime(2020, 11, 30), service_cmpp)
258 258

  
259 259
        self.assertEqual(len(billing_cmpp[5][patient_a]), 6)
260 260
        self.assertEqual(len(billing_cmpp[6][patient_a]), 40)

Also available in: Unified diff