Restore original functionality.

This commit is contained in:
James Cole
2016-02-23 07:31:01 +01:00
parent 537b4ae003
commit 3f829a3114
2 changed files with 2 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ class ExportController extends Controller
$checked = array_keys($accountList);
$formats = array_keys(Config::get('firefly.export_formats'));
$defaultFormat = Preferences::get('export_format', Config::get('firefly.default_export_format'))->data;
$first = Carbon::create()->subWeek()->format('Y-m-d');
$first = session('first')->format('Y-m-d');
$today = Carbon::create()->format('Y-m-d');
return view('export.index', compact('job', 'checked', 'accountList', 'formats', 'defaultFormat', 'first', 'today'));