Add finance controller; morphable expense type so they can be applied to any model #130

This commit is contained in:
Nabeel Shahzad
2018-03-05 14:18:54 -06:00
parent 33c2ee702b
commit 53e4bf533f
6 changed files with 85 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Models;
use App\Models\Traits\ExpensableTrait;
use Illuminate\Notifications\Notifiable;
/**
@@ -11,6 +12,7 @@ use Illuminate\Notifications\Notifiable;
*/
class Airport extends BaseModel
{
use ExpensableTrait;
use Notifiable;
public $table = 'airports';