mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 21:24:35 -04:00
remove prop
This commit is contained in:
parent
805229f4c0
commit
d5e16f189c
@ -128,23 +128,14 @@ class Account extends BaseModel
|
|||||||
'num_users',
|
'num_users',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $dates = [
|
|
||||||
'deleted_at',
|
|
||||||
'promo_expires',
|
|
||||||
'discount_expires',
|
|
||||||
// 'trial_started',
|
|
||||||
// 'plan_expires'
|
|
||||||
];
|
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'updated_at' => 'timestamp',
|
'updated_at' => 'timestamp',
|
||||||
'created_at' => 'timestamp',
|
'created_at' => 'timestamp',
|
||||||
'deleted_at' => 'timestamp',
|
'deleted_at' => 'timestamp',
|
||||||
'onboarding' => 'object',
|
'onboarding' => 'object',
|
||||||
'set_react_as_default_ap' => 'bool'
|
'set_react_as_default_ap' => 'bool',
|
||||||
|
'promo_expires' => 'date',
|
||||||
|
'discount_expires' => 'date',
|
||||||
];
|
];
|
||||||
|
|
||||||
const PLAN_FREE = 'free';
|
const PLAN_FREE = 'free';
|
||||||
|
@ -73,9 +73,6 @@ class BankIntegration extends BaseModel
|
|||||||
'auto_sync',
|
'auto_sync',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $dates = [
|
|
||||||
];
|
|
||||||
|
|
||||||
public function getEntityType()
|
public function getEntityType()
|
||||||
{
|
{
|
||||||
return self::class;
|
return self::class;
|
||||||
|
@ -87,8 +87,6 @@ class BankTransaction extends BaseModel
|
|||||||
'amount'
|
'amount'
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $dates = [
|
|
||||||
];
|
|
||||||
|
|
||||||
public function getInvoiceIds()
|
public function getInvoiceIds()
|
||||||
{
|
{
|
||||||
|
@ -87,9 +87,6 @@ class BankTransactionRule extends BaseModel
|
|||||||
'created_at' => 'timestamp',
|
'created_at' => 'timestamp',
|
||||||
'deleted_at' => 'timestamp',
|
'deleted_at' => 'timestamp',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $dates = [
|
|
||||||
];
|
|
||||||
|
|
||||||
protected array $search_keys = [
|
protected array $search_keys = [
|
||||||
'description' => 'string',
|
'description' => 'string',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user