Project

General

Profile

« Previous | Next » 

Revision 76974b6f

Added by Benjamin Dauvergne almost 12 years ago

agenda/actes/dossiers: move Occurence fields into Event, add recurring events support

View differences:

calebasse/fixtures/tests/test_actes.json
2 2
    {
3 3
        "fields": {
4 4
            "act_type": 97,
5
            "date": "2012-10-30T12:00:00",
5
            "date": "2012-10-30",
6 6
            "patient": 8,
7 7
            "transport_company": null,
8 8
            "transport_type": null,
9
            "validation_locked": false
9
            "validation_locked": false,
10
            "doctors": [
11
                5
12
            ],
13
            "parent_event": 1
10 14
        },
11 15
        "model": "actes.act",
12 16
        "pk": 1
......
14 18
    {
15 19
        "fields": {
16 20
            "act_type": 10,
17
            "date": "2012-10-30T00:00:00",
21
            "date": "2012-10-30",
18 22
            "patient": 9,
19 23
            "transport_company": null,
20 24
            "transport_type": null,
21
            "validation_locked": false
22
        },
23
        "model": "actes.act",
24
        "pk": 2
25
    },
26
    {
27
        "fields": {
28
            "attendance": "absent",
29
            "convocation_sent": false,
30
            "event_ptr": 1,
31
            "participants": [
25
            "validation_locked": false,
26
            "doctors": [
32 27
                5
33 28
            ],
34
            "services": [
35
                1
36
            ]
29
            "parent_event": 2
37 30
        },
38
        "model": "actes.eventact",
39
        "pk": 1
40
    },
41
    {
42
        "fields": {
43
            "attendance": "absent",
44
            "convocation_sent": false,
45
            "event_ptr": 2,
46
            "participants": [
47
                5
48
            ],
49
            "services": [
50
                1
51
            ]
52
        },
53
        "model": "actes.eventact",
31
        "model": "actes.act",
54 32
        "pk": 2
55 33
    },
56 34
    {

Also available in: Unified diff