diff --git a/frappe-setup/setup_dispatch_custom_fields.py b/frappe-setup/setup_dispatch_custom_fields.py index 891278b..9198666 100644 --- a/frappe-setup/setup_dispatch_custom_fields.py +++ b/frappe-setup/setup_dispatch_custom_fields.py @@ -27,6 +27,9 @@ FIELDS = [ ("Dispatch Technician", "cost_salary_h", "Salaire horaire ($/h)", "Float", None, "0", "efficiency", {}), ("Dispatch Technician", "cost_charges_pct", "Charges sociales (%)", "Float", None, "0", "cost_salary_h", {}), ("Dispatch Technician", "cost_other_h", "Autres coûts/h ($ véhicule, outils, frais)", "Float", None, "0", "cost_charges_pct", {}), + # ── Shift Template : quart de garde (sur appel) ── + ("Shift Template", "on_call", "Garde (sur appel — non offert au booking)", "Check", None, "0", "color", + {"description": "Quart de garde/urgence : capacité de réserve. NON offert au booking client et exclu du calcul de capacité offrable. S'affiche en bande hachurée sur la timeline."}), # ── Dispatch Job : prise de RDV ── ("Dispatch Job", "booking_prefs", "Préférences RDV (JSON)", "Small Text", None, None, "status", {}), ("Dispatch Job", "booking_status", "Statut RDV", "Select", "À planifier\nProposé\nConfirmé\nAnnulé\nÀ reporter", "À planifier", "booking_prefs", {}),