From b7a90a4cae9b072f949c49131d3331ab42be4499 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 6 Oct 2019 22:58:11 +1100 Subject: [PATCH] add custom values to settings object --- app/DataMapper/CompanySettings.php | 9 ++++++++ .../Controllers/OpenAPI/ActivitySchema.php | 22 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 app/Http/Controllers/OpenAPI/ActivitySchema.php diff --git a/app/DataMapper/CompanySettings.php b/app/DataMapper/CompanySettings.php index 75665b4aa9..177a805014 100644 --- a/app/DataMapper/CompanySettings.php +++ b/app/DataMapper/CompanySettings.php @@ -36,6 +36,11 @@ class CompanySettings extends BaseSettings public $custom_label2 = ''; public $custom_label3 = ''; public $custom_label4 = ''; + + public $custom_value1 = ''; + public $custom_value2 = ''; + public $custom_value3 = ''; + public $custom_value4 = ''; public $custom_client_label1 = ''; public $custom_client_label2 = ''; @@ -203,6 +208,10 @@ class CompanySettings extends BaseSettings 'custom_label2' => 'string', 'custom_label3' => 'string', 'custom_label4' => 'string', + 'custom_value1' => 'string', + 'custom_value2' => 'string', + 'custom_value3' => 'string', + 'custom_value4' => 'string', 'custom_client_label1' => 'string', 'custom_client_label2' => 'string', 'custom_client_label3' => 'string', diff --git a/app/Http/Controllers/OpenAPI/ActivitySchema.php b/app/Http/Controllers/OpenAPI/ActivitySchema.php new file mode 100644 index 0000000000..4db09e1c18 --- /dev/null +++ b/app/Http/Controllers/OpenAPI/ActivitySchema.php @@ -0,0 +1,22 @@ +