mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 14:34:34 -04:00
INA-5 | Scheduler [License fix, is_deleted introduced, archived property removed]
This commit is contained in:
parent
5538c2ee59
commit
1d09cda4a4
@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||||
*
|
*
|
||||||
* @license https://opensource.org/licenses/AAL
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||||
*
|
*
|
||||||
* @license https://opensource.org/licenses/AAL
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
@ -18,7 +18,7 @@ use Illuminate\Support\Carbon;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @property boolean paused
|
* @property boolean paused
|
||||||
* @property boolean archived
|
* @property boolean is_deleted
|
||||||
* @property \Carbon\Carbon|mixed start_from
|
* @property \Carbon\Carbon|mixed start_from
|
||||||
* @property string repeat_every
|
* @property string repeat_every
|
||||||
* @property \Carbon\Carbon|mixed scheduled_run
|
* @property \Carbon\Carbon|mixed scheduled_run
|
||||||
@ -35,7 +35,6 @@ class Scheduler extends BaseModel
|
|||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'start_from',
|
'start_from',
|
||||||
'paused',
|
'paused',
|
||||||
'archived',
|
|
||||||
'repeat_every',
|
'repeat_every',
|
||||||
'scheduled_run',
|
'scheduled_run',
|
||||||
'company_id'
|
'company_id'
|
||||||
@ -47,7 +46,7 @@ class Scheduler extends BaseModel
|
|||||||
'updated_at'=> 'timestamp',
|
'updated_at'=> 'timestamp',
|
||||||
'deleted_at'=> 'timestamp',
|
'deleted_at'=> 'timestamp',
|
||||||
'paused' => 'boolean',
|
'paused' => 'boolean',
|
||||||
'archived' => 'boolean',
|
'is_deleted' => 'boolean',
|
||||||
];
|
];
|
||||||
protected $appends = ['linked_job'];
|
protected $appends = ['linked_job'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user