project blueprint : fix currentStep field
This commit is contained in:
parent
3477a6f2fd
commit
3b2f881424
6 changed files with 15 additions and 6 deletions
Binary file not shown.
|
|
@ -0,0 +1,5 @@
|
|||
Uuid: 7cCbXLUJWENOMUwh
|
||||
|
||||
----
|
||||
|
||||
Template: pdf
|
||||
|
|
@ -2,6 +2,10 @@ Title: Offre commerciale
|
|||
|
||||
----
|
||||
|
||||
Pdf: - file://7cCbXLUJWENOMUwh
|
||||
|
||||
----
|
||||
|
||||
Stepname: proposal
|
||||
|
||||
----
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ tabs:
|
|||
options:
|
||||
type: query
|
||||
query: page.getSteps
|
||||
text: "{{ item.text }}"
|
||||
value: "{{ item.value }}"
|
||||
text: "{{ item.label }}"
|
||||
value: "{{ item.id }}"
|
||||
- width: 1/3
|
||||
fields:
|
||||
client:
|
||||
|
|
|
|||
|
|
@ -17,5 +17,9 @@ options:
|
|||
tabs:
|
||||
contentTab:
|
||||
fields:
|
||||
pdf:
|
||||
label: Document(s)
|
||||
type: files
|
||||
uploads: pdf
|
||||
stepName:
|
||||
type: hidden
|
||||
|
|
|
|||
|
|
@ -13,10 +13,6 @@ class ProjectPage extends Page {
|
|||
return $steps;
|
||||
}
|
||||
|
||||
public function getCurrentStep() {
|
||||
return $this->getStepsLabel()[$this->currentStep()];
|
||||
}
|
||||
|
||||
private function createStep($child) {
|
||||
$files = [];
|
||||
$uri = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue