From d5bf19ad9847f0dc07ff77185784430e892d22c2 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 21 Mar 2018 18:11:44 +0200 Subject: [PATCH] Fix for P&L report --- app/Ninja/Presenters/ExpensePresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/Presenters/ExpensePresenter.php b/app/Ninja/Presenters/ExpensePresenter.php index 2cac47973d..1559e3b5a0 100644 --- a/app/Ninja/Presenters/ExpensePresenter.php +++ b/app/Ninja/Presenters/ExpensePresenter.php @@ -36,7 +36,7 @@ class ExpensePresenter extends EntityPresenter public function month() { - return Carbon::parse($this->entity->payment_date)->format('Y m'); + return Carbon::parse($this->entity->expense_date)->format('Y m'); } public function amount()