diff --git a/app/Form/Requests/FormCompileRequest.php b/app/Form/Requests/FormCompileRequest.php
index 951edea4..90a175ab 100644
--- a/app/Form/Requests/FormCompileRequest.php
+++ b/app/Form/Requests/FormCompileRequest.php
@@ -72,7 +72,7 @@ class FormCompileRequest extends Data implements HasContributionData {
}
$members[] = [
- 'is_leader' => $participant->matchesCondition($participant->form->leader_condition),
+ 'is_leader' => $participant->matchesCondition($participant->form->leader_conditions),
'gender' => 'weiblich',
...$member,
];
diff --git a/resources/js/views/form/Index.vue b/resources/js/views/form/Index.vue
index 3662eea5..0fb216d1 100644
--- a/resources/js/views/form/Index.vue
+++ b/resources/js/views/form/Index.vue
@@ -115,6 +115,11 @@
+
+
+
+
+
@@ -202,7 +207,7 @@ const fileSettingPopup = ref(null);
const active = ref(0);
const activeMailTab = ref(0);
-const tabs = [{ title: 'Allgemeines' }, { title: 'Beschreibung' }, { title: 'Formular' }, { title: 'Bestätigungs-E-Mail' }, { title: 'Export' }, { title: 'Prävention' }];
+const tabs = [{ title: 'Allgemeines' }, { title: 'Beschreibung' }, { title: 'Formular' }, { title: 'Bestätigungs-E-Mail' }, { title: 'Export' }, { title: 'Prävention' }, {title: 'Zuschüsse'}];
const mailTabs = [{ title: 'vor Daten' }, { title: 'nach Daten' }];
const swal = useSwal();
diff --git a/tests/Feature/Form/GenerateContributionTest.php b/tests/Feature/Form/GenerateContributionTest.php
index 699b5498..4efc320b 100644
--- a/tests/Feature/Form/GenerateContributionTest.php
+++ b/tests/Feature/Form/GenerateContributionTest.php
@@ -144,7 +144,7 @@ it('creates document with is leader', function (array $defaultData, array $field
test()->dropdownField('leader')->options(['L', 'NL'])->specialType(SpecialType::LEADER),
])
->has(Participant::factory()->data([...$defaultData, 'leader' => 'L']))
- ->leaderCondition(ConditionRequestFactory::new()->whenField('leader', 'L')->create())
+ ->leaderConditions(ConditionRequestFactory::new()->whenField('leader', 'L')->create())
->create();
generate(RdpNrwDocument::class, $form, false)->assertOk();