Skip to content

Commit

Permalink
Set starting stages
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 30, 2020
1 parent cba0687 commit 9ac4633
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions api/src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function load(ObjectManager $manager)
$geboorte = $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
//$property->setId('');
$stage1->setStart(true);
$stage1->setTitle('Datum');
$stage1->setIcon('fal fa-calendar-day');
$stage1->setSlug('datum');
Expand Down Expand Up @@ -183,7 +183,7 @@ public function load(ObjectManager $manager)
$overlijden= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1 = new Property();
//$property->setId('');
$stage1->setStart(true);
$stage1->setTitle('Datum');
$stage1->setIcon('fal fa-calendar-day');
$stage1->setSlug('datum');
Expand Down Expand Up @@ -232,6 +232,7 @@ public function load(ObjectManager $manager)
$reisdocument= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Type');
$stage1->setIcon('fal fa-passport');
$stage1->setSlug('document');
Expand Down Expand Up @@ -281,6 +282,7 @@ public function load(ObjectManager $manager)
$mob = $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Wat');
$stage1->setIcon('fal fa-map-marked');
$stage1->setSlug('locatie');
Expand Down Expand Up @@ -331,6 +333,7 @@ public function load(ObjectManager $manager)
$verhuizenNL= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1 = new Property();
$stage1->setStart(true);
$stage1->setTitle('Datum');
$stage1->setIcon('fal fa-calendar-day');
$stage1->setSlug('datum');
Expand Down Expand Up @@ -379,6 +382,7 @@ public function load(ObjectManager $manager)
$verhuizenDenBosh= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
//$verhuizenNL->setId('');
$stage1->setTitle('Email');
$stage1->setIcon('fal fa-envelope');
Expand Down Expand Up @@ -417,7 +421,7 @@ public function load(ObjectManager $manager)
$verhuizenEindhoven= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
//$verhuizenNL->setId('');
$stage1->setStart(true);
$stage1->setTitle('Eigenaar');
$stage1->setIcon('fal fa-user');
$stage1->setSlug('eigenaar');
Expand Down Expand Up @@ -454,14 +458,15 @@ public function load(ObjectManager $manager)
$aanvraagBabs->setId($id);
$manager->persist($aanvraagBabs);
$manager->flush();
$aanvraagBabs= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));
$aanvraagBabs= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Gegevens');
$stage1->setIcon('fal fa-user');
$stage1->setSlug('babs');
$stage1->setType('string');
$stage1->setFormat('instemming');
$stage1->setFormat('string');
$stage1->setDescription('Wat zijn de contact gegevens van uw beoogd BABS');
$stage1->setRequestType($aanvraagBabs);
$manager->persist($stage1);
Expand All @@ -479,6 +484,7 @@ public function load(ObjectManager $manager)
$aanvraagLocatie= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Adress');
$stage1->setIcon('fal fa-map-marked');
$stage1->setSlug('locatie');
Expand Down Expand Up @@ -512,6 +518,7 @@ public function load(ObjectManager $manager)
$meldingTrouwenNL= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Datum');
$stage1->setIcon('fas fa-calendar-day');
$stage1->setSlug('datum');
Expand Down Expand Up @@ -562,6 +569,7 @@ public function load(ObjectManager $manager)
$omzettingNL= $manager->getRepository('App:RequestType')->findOneBy(array('id'=> $id));

$stage1= new Property();
$stage1->setStart(true);
$stage1->setTitle('Datum');
$stage1->setIcon('fas fa-calendar-day');
$stage1->setSlug('datum');
Expand Down

0 comments on commit 9ac4633

Please sign in to comment.