mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 14:42:42 +01:00
Merge expense category fix
This commit is contained in:
parent
552dec105d
commit
6a194fc3ad
@ -1,6 +1,7 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Laracasts\Presenter\PresentableTrait;
|
||||
|
||||
/**
|
||||
* Class ExpenseCategory
|
||||
@ -9,6 +10,7 @@ class ExpenseCategory extends EntityModel
|
||||
{
|
||||
// Expense Categories
|
||||
use SoftDeletes;
|
||||
use PresentableTrait;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
@ -17,6 +19,11 @@ class ExpenseCategory extends EntityModel
|
||||
'name',
|
||||
];
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $presenter = 'App\Ninja\Presenters\EntityPresenter';
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user