1
0
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:
David Bomba 2019-05-07 15:33:20 +10:00
parent e8d92f627d
commit 44a57b2679
4 changed files with 1 additions and 8 deletions

View File

@ -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 = [

View File

@ -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';

View File

@ -15,8 +15,6 @@ class Document extends BaseModel
'is_default',
];
protected $dateFormat = 'Y-m-d H:i:s.u';
/**
* @var array

View File

@ -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()