mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Better call to date.
This commit is contained in:
@@ -263,7 +263,7 @@ class ReportController extends Controller
|
||||
public function index(AccountRepositoryInterface $repository)
|
||||
{
|
||||
/** @var Carbon $start */
|
||||
$start = clone session('first', new Carbon);
|
||||
$start = clone session('first', today(config('app.timezone')));
|
||||
$months = $this->helper->listOfMonths($start);
|
||||
$customFiscalYear = app('preferences')->get('customFiscalYear', 0)->data;
|
||||
$accounts = $repository->getAccountsByType(
|
||||
|
Reference in New Issue
Block a user