diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5666a064..568224874 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ and this project adheres to
* rewrite page which allow to select activity
* [main] Add mainLocation field to User entity and add it in user form type
* [course list in person context] show full username/label for ref
+* [accompanying period work] remove the possibility to generate document from an accompanying period work
## Test releases
diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/App.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/App.vue
index 97bda5fc5..b5e5d3221 100644
--- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/App.vue
+++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/App.vue
@@ -233,18 +233,6 @@
-
-
-
- {{ $t('Generate doc') }}
-
-
-
-
{{ $t('fix_these_errors') }}
@@ -458,10 +446,6 @@ export default {
submit() {
this.$store.dispatch('submit');
},
- beforeGenerateTemplate() {
- console.log('before generate');
- return Promise.resolve();
- },
saveFormOnTheFly(payload) {
console.log('saveFormOnTheFly: type', payload.type, ', data', payload.data);
payload.target = 'resource';
diff --git a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkContext.php b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkContext.php
index b47c46b00..514f396c6 100644
--- a/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkContext.php
+++ b/src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkContext.php
@@ -21,10 +21,7 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
-class AccompanyingPeriodWorkContext implements
- DocGeneratorContextInterface,
- DocGeneratorContextWithAdminFormInterface,
- DocGeneratorContextWithPublicFormInterface
+class AccompanyingPeriodWorkContext
{
private NormalizerInterface $normalizer;