1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

add custom values to settings object

This commit is contained in:
David Bomba 2019-10-06 22:58:11 +11:00
parent ac96a01c03
commit b7a90a4cae
2 changed files with 31 additions and 0 deletions

View File

@ -37,6 +37,11 @@ class CompanySettings extends BaseSettings
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 = '';
public $custom_client_label3 = '';
@ -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',

View File

@ -0,0 +1,22 @@
<?php
/**
* @OA\Schema(
* schema="Activity",
* type="object",
* @OA\Property(property="id", type="string", example="Opnel5aKBz", description="______"),
* @OA\Property(property="activity_type_id", type="string", example="2", description="______"),
* @OA\Property(property="client_id", type="string", example="2", description="______"),
* @OA\Property(property="company_id", type="string", example="2", description="______"),
* @OA\Property(property="user_id", type="string", example="2", description="______"),
* @OA\Property(property="invoice_id", type="string", example="2", description="______"),
* @OA\Property(property="payment_id", type="string", example="2", description="______"),
* @OA\Property(property="credit_id", type="string", example="2", description="______"),
* @OA\Property(property="updated_at", type="string", example="2", description="______"),
* @OA\Property(property="expense_id", type="string", example="2", description="______"),
* @OA\Property(property="is_system", type="boolean", example=true, description="______"),
* @OA\Property(property="contact_id", type="string", example="2", description="______"),
* @OA\Property(property="task_id", type="string", example="2", description="______"),
* @OA\Property(property="notes", type="string", example="2", description="______"),
* @OA\Property(property="ip", type="string", example="2", description="______"),
* )
*/