{
    "date": "2026-10-06 15:10:46",
    "resultat": {
        "action": "planning_traite",
        "commande_id": 3,
        "projet_id": 3,
        "projet_statut": "deja_existant",
        "nb_jours_total": 0,
        "nb_crees": 0,
        "nb_deja_existants": 0,
        "slots": []
    }
}

{
    "date": "2026-10-06 19:49:53",
    "resultat": {
        "action": "planning_traite",
        "commande_id": 3,
        "projet_id": 3,
        "projet_statut": "deja_existant",
        "nb_jours_total": 52,
        "nb_crees": 40,
        "nb_deja_existants": 12,
        "slots": [
            {
                "slot_id": 25,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-28",
                "statut": "deja_existant"
            },
            {
                "slot_id": 26,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-29",
                "statut": "deja_existant"
            },
            {
                "slot_id": 27,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-30",
                "statut": "deja_existant"
            },
            {
                "slot_id": 28,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-01",
                "statut": "deja_existant"
            },
            {
                "slot_id": 29,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-02",
                "statut": "deja_existant"
            },
            {
                "slot_id": 30,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-05",
                "statut": "deja_existant"
            },
            {
                "slot_id": 31,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-06",
                "statut": "deja_existant"
            },
            {
                "slot_id": 32,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-07",
                "statut": "deja_existant"
            },
            {
                "slot_id": 33,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-08",
                "statut": "deja_existant"
            },
            {
                "slot_id": 34,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-09",
                "statut": "deja_existant"
            },
            {
                "slot_id": 35,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-12",
                "statut": "deja_existant"
            },
            {
                "slot_id": 45,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-13",
                "statut": "cree"
            },
            {
                "slot_id": 10,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-14",
                "statut": "deja_existant"
            },
            {
                "slot_id": 46,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-15",
                "statut": "cree"
            },
            {
                "slot_id": 47,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-16",
                "statut": "cree"
            },
            {
                "slot_id": 48,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-19",
                "statut": "cree"
            },
            {
                "slot_id": 49,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-20",
                "statut": "cree"
            },
            {
                "slot_id": 50,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-21",
                "statut": "cree"
            },
            {
                "slot_id": 51,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-22",
                "statut": "cree"
            },
            {
                "slot_id": 52,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-23",
                "statut": "cree"
            },
            {
                "slot_id": 53,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-26",
                "statut": "cree"
            },
            {
                "slot_id": 54,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-27",
                "statut": "cree"
            },
            {
                "slot_id": 55,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-28",
                "statut": "cree"
            },
            {
                "slot_id": 56,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-29",
                "statut": "cree"
            },
            {
                "slot_id": 57,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-30",
                "statut": "cree"
            },
            {
                "slot_id": 58,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-02",
                "statut": "cree"
            },
            {
                "slot_id": 59,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-03",
                "statut": "cree"
            },
            {
                "slot_id": 60,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-04",
                "statut": "cree"
            },
            {
                "slot_id": 61,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-05",
                "statut": "cree"
            },
            {
                "slot_id": 62,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-06",
                "statut": "cree"
            },
            {
                "slot_id": 63,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-09",
                "statut": "cree"
            },
            {
                "slot_id": 64,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-10",
                "statut": "cree"
            },
            {
                "slot_id": 65,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-11",
                "statut": "cree"
            },
            {
                "slot_id": 66,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-12",
                "statut": "cree"
            },
            {
                "slot_id": 67,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-13",
                "statut": "cree"
            },
            {
                "slot_id": 68,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-16",
                "statut": "cree"
            },
            {
                "slot_id": 69,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-17",
                "statut": "cree"
            },
            {
                "slot_id": 70,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-18",
                "statut": "cree"
            },
            {
                "slot_id": 71,
                "role": "ELECTRICITE",
                "date": "2026-11-19",
                "statut": "cree"
            },
            {
                "slot_id": 72,
                "role": "ELECTRICITE",
                "date": "2026-11-20",
                "statut": "cree"
            },
            {
                "slot_id": 73,
                "role": "ELECTRICITE",
                "date": "2026-11-23",
                "statut": "cree"
            },
            {
                "slot_id": 74,
                "role": "ELECTRICITE",
                "date": "2026-11-24",
                "statut": "cree"
            },
            {
                "slot_id": 75,
                "role": "ELECTRICITE",
                "date": "2026-11-25",
                "statut": "cree"
            },
            {
                "slot_id": 76,
                "role": "ISOLATION \/ PLATRES",
                "date": "2026-11-26",
                "statut": "cree"
            },
            {
                "slot_id": 77,
                "role": "ISOLATION \/ PLATRES",
                "date": "2026-11-27",
                "statut": "cree"
            },
            {
                "slot_id": 78,
                "role": "CARRELAGE",
                "date": "2026-11-30",
                "statut": "cree"
            },
            {
                "slot_id": 79,
                "role": "CARRELAGE",
                "date": "2026-12-01",
                "statut": "cree"
            },
            {
                "slot_id": 80,
                "role": "CARRELAGE",
                "date": "2026-12-02",
                "statut": "cree"
            },
            {
                "slot_id": 81,
                "role": "CARRELAGE",
                "date": "2026-12-03",
                "statut": "cree"
            },
            {
                "slot_id": 82,
                "role": "CARRELAGE",
                "date": "2026-12-04",
                "statut": "cree"
            },
            {
                "slot_id": 83,
                "role": "CARRELAGE",
                "date": "2026-12-07",
                "statut": "cree"
            },
            {
                "slot_id": 84,
                "role": "CARRELAGE",
                "date": "2026-12-08",
                "statut": "cree"
            }
        ]
    }
}

{
    "date": "2026-10-06 19:49:57",
    "resultat": {
        "action": "planning_traite",
        "commande_id": 3,
        "projet_id": 3,
        "projet_statut": "deja_existant",
        "nb_jours_total": 52,
        "nb_crees": 0,
        "nb_deja_existants": 52,
        "slots": [
            {
                "slot_id": 25,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-28",
                "statut": "deja_existant"
            },
            {
                "slot_id": 26,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-29",
                "statut": "deja_existant"
            },
            {
                "slot_id": 27,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-09-30",
                "statut": "deja_existant"
            },
            {
                "slot_id": 28,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-01",
                "statut": "deja_existant"
            },
            {
                "slot_id": 29,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-02",
                "statut": "deja_existant"
            },
            {
                "slot_id": 30,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-05",
                "statut": "deja_existant"
            },
            {
                "slot_id": 31,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-06",
                "statut": "deja_existant"
            },
            {
                "slot_id": 32,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-07",
                "statut": "deja_existant"
            },
            {
                "slot_id": 33,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-08",
                "statut": "deja_existant"
            },
            {
                "slot_id": 34,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-09",
                "statut": "deja_existant"
            },
            {
                "slot_id": 35,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-12",
                "statut": "deja_existant"
            },
            {
                "slot_id": 45,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-13",
                "statut": "deja_existant"
            },
            {
                "slot_id": 10,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-14",
                "statut": "deja_existant"
            },
            {
                "slot_id": 46,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-15",
                "statut": "deja_existant"
            },
            {
                "slot_id": 47,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-16",
                "statut": "deja_existant"
            },
            {
                "slot_id": 48,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-19",
                "statut": "deja_existant"
            },
            {
                "slot_id": 49,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-20",
                "statut": "deja_existant"
            },
            {
                "slot_id": 50,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-21",
                "statut": "deja_existant"
            },
            {
                "slot_id": 51,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-22",
                "statut": "deja_existant"
            },
            {
                "slot_id": 52,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-23",
                "statut": "deja_existant"
            },
            {
                "slot_id": 53,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-26",
                "statut": "deja_existant"
            },
            {
                "slot_id": 54,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-27",
                "statut": "deja_existant"
            },
            {
                "slot_id": 55,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-28",
                "statut": "deja_existant"
            },
            {
                "slot_id": 56,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-29",
                "statut": "deja_existant"
            },
            {
                "slot_id": 57,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-10-30",
                "statut": "deja_existant"
            },
            {
                "slot_id": 58,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-02",
                "statut": "deja_existant"
            },
            {
                "slot_id": 59,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-03",
                "statut": "deja_existant"
            },
            {
                "slot_id": 60,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-04",
                "statut": "deja_existant"
            },
            {
                "slot_id": 61,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-05",
                "statut": "deja_existant"
            },
            {
                "slot_id": 62,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-06",
                "statut": "deja_existant"
            },
            {
                "slot_id": 63,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-09",
                "statut": "deja_existant"
            },
            {
                "slot_id": 64,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-10",
                "statut": "deja_existant"
            },
            {
                "slot_id": 65,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-11",
                "statut": "deja_existant"
            },
            {
                "slot_id": 66,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-12",
                "statut": "deja_existant"
            },
            {
                "slot_id": 67,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-13",
                "statut": "deja_existant"
            },
            {
                "slot_id": 68,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-16",
                "statut": "deja_existant"
            },
            {
                "slot_id": 69,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-17",
                "statut": "deja_existant"
            },
            {
                "slot_id": 70,
                "role": "MAÇONNERIE \/ DÉMOLITION",
                "date": "2026-11-18",
                "statut": "deja_existant"
            },
            {
                "slot_id": 71,
                "role": "ELECTRICITE",
                "date": "2026-11-19",
                "statut": "deja_existant"
            },
            {
                "slot_id": 72,
                "role": "ELECTRICITE",
                "date": "2026-11-20",
                "statut": "deja_existant"
            },
            {
                "slot_id": 73,
                "role": "ELECTRICITE",
                "date": "2026-11-23",
                "statut": "deja_existant"
            },
            {
                "slot_id": 74,
                "role": "ELECTRICITE",
                "date": "2026-11-24",
                "statut": "deja_existant"
            },
            {
                "slot_id": 75,
                "role": "ELECTRICITE",
                "date": "2026-11-25",
                "statut": "deja_existant"
            },
            {
                "slot_id": 76,
                "role": "ISOLATION \/ PLATRES",
                "date": "2026-11-26",
                "statut": "deja_existant"
            },
            {
                "slot_id": 77,
                "role": "ISOLATION \/ PLATRES",
                "date": "2026-11-27",
                "statut": "deja_existant"
            },
            {
                "slot_id": 78,
                "role": "CARRELAGE",
                "date": "2026-11-30",
                "statut": "deja_existant"
            },
            {
                "slot_id": 79,
                "role": "CARRELAGE",
                "date": "2026-12-01",
                "statut": "deja_existant"
            },
            {
                "slot_id": 80,
                "role": "CARRELAGE",
                "date": "2026-12-02",
                "statut": "deja_existant"
            },
            {
                "slot_id": 81,
                "role": "CARRELAGE",
                "date": "2026-12-03",
                "statut": "deja_existant"
            },
            {
                "slot_id": 82,
                "role": "CARRELAGE",
                "date": "2026-12-04",
                "statut": "deja_existant"
            },
            {
                "slot_id": 83,
                "role": "CARRELAGE",
                "date": "2026-12-07",
                "statut": "deja_existant"
            },
            {
                "slot_id": 84,
                "role": "CARRELAGE",
                "date": "2026-12-08",
                "statut": "deja_existant"
            }
        ]
    }
}

{
    "date": "2026-10-16 09:02:58",
    "resultat": {
        "action": "planning_traite",
        "commande_id": 3,
        "projet_id": 3,
        "projet_statut": "deja_existant",
        "durees_recalculees": true,
        "heures_par_lot": {
            "terrassement": 0,
            "maconnerie_demolition": 0,
            "charpente_couverture": 0,
            "fenetre_de_toit": 0,
            "etancheite": 0,
            "zinguerie": 0,
            "facades": 0,
            "menuiseries": 0,
            "fermetures": 0,
            "plomberie_sanitaires": 0,
            "chauffage_climatisation": 0,
            "electricite": 0,
            "isolation_platres": 0.5,
            "escalier": 0,
            "carrelage": 0,
            "peinture": 0,
            "parquet_sols_souples": 0,
            "cuisine": 0
        },
        "jours_par_lot": {
            "terrassement": 0,
            "maconnerie_demolition": 0,
            "charpente_couverture": 0,
            "fenetre_de_toit": 0,
            "etancheite": 0,
            "zinguerie": 0,
            "facades": 0,
            "menuiseries": 0,
            "fermetures": 0,
            "plomberie_sanitaires": 0,
            "chauffage_climatisation": 0,
            "electricite": 0,
            "isolation_platres": 1,
            "escalier": 0,
            "carrelage": 0,
            "peinture": 0,
            "parquet_sols_souples": 0,
            "cuisine": 0
        },
        "nb_jours_total": 1,
        "nb_crees": 1,
        "nb_deja_existants": 0,
        "slots": [
            {
                "slot_id": 85,
                "role": "ISOLATION \/ PLATRES",
                "date": "2026-09-28",
                "statut": "cree"
            }
        ]
    }
}

