Finance overview page added to admin with monthly breakdown #130

This commit is contained in:
Nabeel Shahzad
2018-03-05 19:55:48 -06:00
parent 01af6f6855
commit 505931736c
18 changed files with 276 additions and 31 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Models;
use App\Models\Enums\JournalType;
use App\Models\Enums\PirepState;
use App\Models\Traits\JournalTrait;
use Illuminate\Foundation\Auth\User as Authenticatable;
@@ -32,6 +33,11 @@ class User extends Authenticatable
public $table = 'users';
/**
* The journal type for when it's being created
*/
public $journal_type = JournalType::USER;
protected $fillable = [
'name',
'email',