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

@@ -60,7 +60,7 @@ class JournalRepository extends BaseRepository implements CacheableInterface
'debit' => $debit ? $debit->getAmount():null,
'currency' => config('phpvms.currency'),
'memo' => $memo,
'post_date' => $post_date ?: Carbon::now(),
'post_date' => $post_date ?? Carbon::now(),
];
if($reference !== null) {