mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Clean up models
This commit is contained in:
parent
e8d92f627d
commit
44a57b2679
@ -26,8 +26,6 @@ class Client extends BaseModel
|
||||
use Filterable;
|
||||
use GeneratesNumberCounter;
|
||||
|
||||
protected $dateFormat = 'Y-m-d H:i:s.u';
|
||||
|
||||
protected $presenter = 'App\Models\Presenters\ClientPresenter';
|
||||
|
||||
protected $appends = [
|
||||
|
@ -4,7 +4,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CompanyLedger extends Model
|
||||
class CompanyLedger extends BaseModel
|
||||
{
|
||||
|
||||
protected $dateFormat = 'Y-m-d H:i:s.u';
|
||||
|
@ -15,8 +15,6 @@ class Document extends BaseModel
|
||||
'is_default',
|
||||
];
|
||||
|
||||
protected $dateFormat = 'Y-m-d H:i:s.u';
|
||||
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
@ -13,9 +13,6 @@ class Expense extends BaseModel
|
||||
'id',
|
||||
];
|
||||
|
||||
protected $dateFormat = 'Y-m-d H:i:s.u';
|
||||
|
||||
|
||||
protected $appends = ['expense_id'];
|
||||
|
||||
public function getRouteKeyName()
|
||||
|
Loading…
Reference in New Issue
Block a user