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

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