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

@@ -12,20 +12,26 @@ use Carbon\Carbon;
/**
* Class Journal
* @package Scottlaurent\Accounting
* @property Money $balance
* @property string $currency
* @property Carbon $updated_at
* @property Carbon $post_date
* @property Carbon $created_at
* @property Money $balance
* @property string $currency
* @property Carbon $updated_at
* @property Carbon $post_date
* @property Carbon $created_at
* @property \App\Models\Enums\JournalType type
*/
class Journal extends BaseModel
{
/**
* @var string
*/
protected $table = 'journals';
public $fillable = [
'ledger_id',
'journal_type',
'balance',
'currency',
'morphed_type',
'morphed_id',
];
/**
* @var array
*/