summaryrefslogtreecommitdiff
path: root/public/app/controllers/Office.php
diff options
context:
space:
mode:
authorGeo Xalkis <gx23100@gmail.com>2023-07-30 20:00:44 +0300
committerGeo Xalkis <gx23100@gmail.com>2023-07-30 20:00:44 +0300
commitc6b6f89e7cda2621fd3d0dfa0768d010fc41d437 (patch)
tree4ab442691a931b5bb8820cea248516342e216b40 /public/app/controllers/Office.php
parent866ee315d09b1b8ecfda9d7bed516523fc1b82e4 (diff)
downloadgyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.tar.gz
gyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.tar.bz2
gyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.zip
changes on petition form (more to come)
Diffstat (limited to 'public/app/controllers/Office.php')
-rw-r--r--public/app/controllers/Office.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/app/controllers/Office.php b/public/app/controllers/Office.php
index 4161efc..ade0a03 100644
--- a/public/app/controllers/Office.php
+++ b/public/app/controllers/Office.php
@@ -249,7 +249,8 @@ class Office {
// #4: get Form's HTML and Javascript ----------------------------------
$form = JsonToForm::json_form($form_setup, [
- ['name' => 'user_id', 'value' => $user_id] // pass user identity
+ ['name' => 'user_id', 'value' => $user_id], // pass user identity
+ ['name' => 'subject', 'value' => ''] // subject shall be auto-created
]);
// #5: create ticket; then render the view -----------------------------