Project

General

Profile

« Previous | Next » 

Revision e4de318c

Added by Mikaël Ates over 12 years ago

facturation: acts losts are not billable.

View differences:

calebasse/facturation/list_acts.py
44 44
    if isinstance(end_day, datetime):
45 45
        end_day = end_day.date()
46 46
    if acts is None:
47
        acts = Act.objects.filter(is_billed=False,
47
        acts = Act.objects.filter(is_billed=False, is_lost=False,
48 48
            patient__service=service).order_by('date')
49 49
    # Filter acts according to the date
50 50
    i = 0

Also available in: Unified diff