disabled réunions btns
This commit is contained in:
parent
3b2f881424
commit
e66ed56324
6 changed files with 23 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ Title: Miss Dior Blooming Bouquet
|
|||
|
||||
----
|
||||
|
||||
Currentstep: virtualSample
|
||||
Currentstep: proposal
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ class ProjectPage extends Page {
|
|||
$this->handleClientBriefStep($child, $files, $uri);
|
||||
}
|
||||
|
||||
if ($child->stepName() == 'proposal') {
|
||||
$this->handleProposalStep($child, $files, $uri);
|
||||
}
|
||||
|
||||
if ($child->stepName() == 'virtualSample') {
|
||||
$this->handleVirtualSampleStep($child, $files, $uri);
|
||||
}
|
||||
|
|
@ -49,6 +53,15 @@ class ProjectPage extends Page {
|
|||
$files[] = getFileData($child->pdf()->toFile());
|
||||
}
|
||||
}
|
||||
|
||||
private function handleProposalStep($child, &$files, &$uri) {
|
||||
$uri = $child->parent()->uri() . '?dialog=' . $child->slug();
|
||||
if ($child->pdf()->isNotEmpty()) {
|
||||
foreach ($child->pdf()->toFiles() as $file) {
|
||||
$files[] = getFileData($file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function handleVirtualSampleStep($child, &$files, &$uri) {
|
||||
$uri = $child->parent()->uri() . '?dialog=' . $child->slug();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue