mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 12:01:20 +02:00
WIP timesheet REST API
This commit is contained in:
@ -151,6 +151,7 @@ class timesheet_bo extends Api\Storage
|
||||
* Name of the timesheet table storing custom fields
|
||||
*/
|
||||
const EXTRA_TABLE = 'egw_timesheet_extra';
|
||||
const TABLE = 'egw_timesheet';
|
||||
|
||||
/**
|
||||
* Columns to search when user does a text search
|
||||
@ -166,7 +167,7 @@ class timesheet_bo extends Api\Storage
|
||||
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct(TIMESHEET_APP,'egw_timesheet',self::EXTRA_TABLE,'','ts_extra_name','ts_extra_value','ts_id');
|
||||
parent::__construct(TIMESHEET_APP,self::TABLE,self::EXTRA_TABLE,'','ts_extra_name','ts_extra_value','ts_id');
|
||||
|
||||
$this->config_data = Api\Config::read(TIMESHEET_APP);
|
||||
$this->quantity_sum = $this->config_data['quantity_sum'] == 'true';
|
||||
|
Reference in New Issue
Block a user