fix: properly assign readonly state to form fields for unavailable services
This commit is contained in:
1 parent
96619c6cec
commit
3984a623bf
14 files changed
+68
-140
No files matched your search
@@ -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.';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user