Einrichtung: Konditionen und CRM-Status beim Anlegen direkt sichtbar machen
- Backend (omsorgCore): CreateFacilityRequest um Konditionen- und CRM-Status-Felder erweitert, identisch mit UpdateFacilityRequest - FacilitiesController.Create: Gleiche Validierung wie Update (CrmStatus-Allowlist, FollowUp-Logik, Konditions-Wertebereich), aber ohne Transition-Check (kein Vorzustand beim Anlegen) - Gemeinsame Validierungslogik in ValidateCrmStatusAndFollowUpAsync extrahiert, um Code-Duplizierung zu vermeiden - omsorgCore/CLAUDE.md aktualisiert: Konditionen sind jetzt auch beim Anlegen setzbar - API-Clients neu generiert (TypeScript und PHP) - Frontend (omsorgapp): FacilityForm.jsx: includeCrmStatus-Flag entfernt, Konditionen und CRM-Status immer sichtbar - CreateFacilityDialog.jsx: CRM-Status-Auswahl + FollowUpDaysDialog-Workflow (analog zu Edit-Dialog) - EditFacilityDialog.jsx: vereinfacht (includeCrmStatus-Prop entfernt) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 4.5
parent
52fbec3214
commit
e1fbfadd17
@@ -5,6 +5,7 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **string** | | [optional]
|
||||
**crm_status** | **string** | | [optional]
|
||||
**facility_type** | **string** | | [optional]
|
||||
**website** | **string** | | [optional]
|
||||
**street** | **string** | | [optional]
|
||||
@@ -15,5 +16,19 @@ Name | Type | Description | Notes
|
||||
**billing_postal_code** | **string** | | [optional]
|
||||
**billing_city** | **string** | | [optional]
|
||||
**billing_country** | **string** | | [optional]
|
||||
**follow_up_days** | **int** | | [optional]
|
||||
**billing_rate** | **float** | | [optional]
|
||||
**night_surcharge_percent** | **float** | | [optional]
|
||||
**saturday_surcharge_percent** | **float** | | [optional]
|
||||
**sunday_surcharge_percent** | **float** | | [optional]
|
||||
**holiday_surcharge_percent** | **float** | | [optional]
|
||||
**travel_cost_rate** | **float** | | [optional]
|
||||
**travel_cost_mode** | **string** | | [optional]
|
||||
**travel_cost_per_km** | **float** | | [optional]
|
||||
**meal_allowance_rate** | **float** | | [optional]
|
||||
**minimum_hours** | **float** | | [optional]
|
||||
**billing_interval** | **string** | | [optional]
|
||||
**payment_term_days** | **int** | | [optional]
|
||||
**individual_agreements** | **string** | | [optional]
|
||||
|
||||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
||||
|
||||
Reference in New Issue
Block a user