From 4936a3ce005b3ad3b8551d50538762e5c2f93bf5 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Sat, 27 Apr 2024 19:28:40 +0300 Subject: [PATCH] ProvisioningHistoryRecords --- app/templates/ProvisioningHistoryRecords/fields.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/templates/ProvisioningHistoryRecords/fields.inc b/app/templates/ProvisioningHistoryRecords/fields.inc index d1b8e63d1..027766e58 100644 --- a/app/templates/ProvisioningHistoryRecords/fields.inc +++ b/app/templates/ProvisioningHistoryRecords/fields.inc @@ -27,9 +27,15 @@ // This view does not support add or edit if($vv_action == 'view') { - print $this->Field->control('comment'); - - print $this->Field->control('status'); + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'comment' + ]]); + + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'status' + ]]); // Currently these records only apply to People and Groups, but that will probably change if(!empty($vv_obj->person->primary_name)) {