New code by @vissert that allows category edit (see #282)

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-09-03 05:01:48 +02:00
parent 29af4bd1b9
commit 8c7ef49eb6
3 changed files with 19 additions and 10 deletions

View File

@@ -192,7 +192,7 @@ class MassController extends Controller
$destAccountName = $request->get('destination_account_name')[$journal->id] ?? '';
$budgetId = $journal->budgets->first() ? $journal->budgets->first()->id : 0;
$category = $journal->categories->first() ? $journal->categories->first()->name : '';
$category = $request->get('category')[$journal->id];
$tags = $journal->tags->pluck('tag')->toArray();
// build data array