summaryrefslogtreecommitdiff
path: root/public/app/controllers/Office.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-05 04:07:05 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-05 04:07:05 +0300
commit537673748f0b01539fc5839c2af1bacbefafc86d (patch)
treec2032ff9efb06257bbf70f3329524d86bc2cb6e3 /public/app/controllers/Office.php
parent63f714d5a78b765c117ebf6bbdfdbd748dd45644 (diff)
downloadgyraf1gov-537673748f0b01539fc5839c2af1bacbefafc86d.tar.gz
gyraf1gov-537673748f0b01539fc5839c2af1bacbefafc86d.tar.bz2
gyraf1gov-537673748f0b01539fc5839c2af1bacbefafc86d.zip
the penalty form (input, new record)
Diffstat (limited to 'public/app/controllers/Office.php')
-rw-r--r--public/app/controllers/Office.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/public/app/controllers/Office.php b/public/app/controllers/Office.php
index cfadde3..44428af 100644
--- a/public/app/controllers/Office.php
+++ b/public/app/controllers/Office.php
@@ -160,6 +160,11 @@ class Office {
}
+ private static function render_common_petition($opts)
+ {
+
+ }
+
private static function render_penalty_form($opts)
{
$user_id = $opts['user']->getID();
@@ -193,7 +198,7 @@ class Office {
// get Form's HTML and Jsvascript
$form = JsonToForm::json_form($form_setup, [
- ['name' => 'id', 'value' => $user_id] // pass user identity
+ ['name' => 'user_id', 'value' => $user_id] // pass user identity
]);
Render::view('templates/penalty', ['form' => $form]);