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

This commit is contained in:
Björn Fromme
2025-12-11 12:07:19 +01:00
parent f54f66cd32
commit c1539a47f9
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.';
}