Compare commits

..

4 Commits

Author SHA1 Message Date
eb9335b250 Revert "commit project after oc case fee bug"
This reverts commit 809dbfc837.
2022-06-03 12:02:45 +02:00
809dbfc837 commit project after oc case fee bug
:wq
2022-06-03 11:53:40 +02:00
156434fecc Merge branch 'master' of ssh://git.autonomic.zone:2222/autonomic-cooperative/opencase 2022-06-03 11:51:45 +02:00
57795b6393 added defauilt value to OCCaseFee 2022-06-03 11:51:37 +02:00

View File

@ -230,7 +230,8 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
->setLabel(t('Visible'))
->setDescription(t('A boolean indicating whether the Case Fee is published.'))
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE);
->setDisplayConfigurable('view', TRUE)
->setDefaultValue(TRUE);
$fields['created'] = BaseFieldDefinition::create('created')
->setLabel(t('Created'))
@ -268,7 +269,7 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
->setDisplayConfigurable("view", true)
->setDisplayConfigurable("form", true)
->setRequired(FALSE);
$fields['description'] = BaseFieldDefinition::create('string_long')
->setRevisionable(TRUE)
->setLabel(t('Description'))