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

This commit is contained in:
Björn Fromme
2026-03-16 12:00:56 +01:00
parent 96619c6cec
commit 3984a623bf
14 changed files with 68 additions and 140 deletions
+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.';
}