Fix Event & EventType resource issues and apply formatting

- Fix EventType deletion error handling (constraint violations)
- Fix Event update error (package_id column missing)
- Fix Event Type dropdown options (JSON display issue)
- Fix EventPackagesRelationManager query error
- Add missing translations for deletion errors
- Apply Pint formatting
This commit is contained in:
Codex Agent
2026-01-21 10:34:06 +01:00
parent 198fbf6751
commit fa33e7cbcf
112 changed files with 334 additions and 280 deletions

View File

@@ -18,4 +18,4 @@ class CreditLedgerResource extends JsonResource
'created_at' => $this->created_at->toISOString(),
];
}
}
}

View File

@@ -59,6 +59,7 @@ class EmotionResource extends JsonResource
}
$first = reset($value);
return $first !== false ? (string) $first : $fallback;
}
}

View File

@@ -21,4 +21,4 @@ class EventPurchaseResource extends JsonResource
'created_at' => $this->created_at->toISOString(),
];
}
}
}