fix #32
This commit is contained in:
parent
64af50816b
commit
24dbf5bf8d
5 changed files with 30 additions and 11 deletions
|
|
@ -6,6 +6,10 @@ Stepname: clientBrief
|
|||
|
||||
----
|
||||
|
||||
Isvalidated: true
|
||||
|
||||
----
|
||||
|
||||
Pdf:
|
||||
|
||||
----
|
||||
|
|
@ -26,8 +30,4 @@ Stepindex: 1
|
|||
|
||||
----
|
||||
|
||||
Uuid: glE28vWGearnAmxw
|
||||
|
||||
----
|
||||
|
||||
Isvalidated: true
|
||||
Uuid: glE28vWGearnAmxw
|
||||
|
|
@ -22,7 +22,7 @@ tabs:
|
|||
fields:
|
||||
stepName:
|
||||
type: hidden
|
||||
isSent:
|
||||
isValidated:
|
||||
type: hidden
|
||||
pdf:
|
||||
label: PDF
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'pattern' => 'validate-brief.json',
|
||||
'pattern' => '(:all)validate-brief.json',
|
||||
'method' => 'POST',
|
||||
'action' => function () {
|
||||
$json = file_get_contents('php://input');
|
||||
|
|
@ -28,6 +28,7 @@ return [
|
|||
]
|
||||
],
|
||||
'date' => $dateTime->format('Y-m-d\TH:i:sP'),
|
||||
'text' => "Brief (" . $project->title()->value() . ")",
|
||||
'author' => [
|
||||
'name' => (string) kirby()->user()->name(),
|
||||
'email' => (string) kirby()->user()->email(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue