fix: properly assign readonly state to form fields for unavailable services

This commit is contained in:
Björn Fromme committed 2026-03-16 12:00:56 +01:00
1 parent 96619c6cec
commit 3984a623bf
14 files changed
+68 -140

No files matched your search

+1 -5
View File
@@ -61,11 +61,7 @@ class AppRuntime implements RuntimeExtensionInterface
*/
public function formatServicePrice(float|int|null $price): string
{
if (null === $price) {
return '';
}
if (0 === $price || 0.0 === $price) {
if (null === $price || 0 === $price || 0.0 === $price) {
return 'inkl.';
}