42 lines
No EOL
893 B
PHP
42 lines
No EOL
893 B
PHP
<?php
|
|
|
|
class ProjectPage extends Page {
|
|
public function getSteps() {
|
|
|
|
$steps = [
|
|
[
|
|
'text' => '1. Brief',
|
|
'value' => 'brief'
|
|
],
|
|
[
|
|
'text' => '2. Offre commerciale',
|
|
'value' => 'proposal'
|
|
],
|
|
[
|
|
'text' => '3. Brief enrichi',
|
|
'value' => 'extendedBrief'
|
|
],
|
|
];
|
|
|
|
if (str_contains($this->optionalSteps(), 'industrialIdeation')) {
|
|
$steps[] = [
|
|
'text' => '4. Idéation industrielle',
|
|
'value' => 'industrialIdeation'
|
|
];
|
|
}
|
|
|
|
$steps[] = [
|
|
'text' => count($steps) + 1 . '. Échantillon virtuel',
|
|
'value' => 'virtualSample'
|
|
];
|
|
|
|
if (str_contains($this->optionalSteps(), 'physicalSample')) {
|
|
$steps[] = [
|
|
'text' => count($steps) + 1 . '.Échantillon physique',
|
|
'value' => 'physicalSample'
|
|
];
|
|
}
|
|
|
|
return $steps;
|
|
}
|
|
} |