fixed test
This commit is contained in:
parent
c8fd30ec6e
commit
4a0f40f256
@ -156,7 +156,7 @@ class Payments extends Controller
|
||||
|
||||
$categories = Category::expense()->enabled()->orderBy('name')->take(setting('default.select_limit'))->pluck('name', 'id');
|
||||
|
||||
if ($revenue->category && !array_key_exists($payment->category_id, $categories)) {
|
||||
if ($payment->category && !array_key_exists($payment->category_id, $categories)) {
|
||||
$categories->put($revenue->category->id, $revenue->category->name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user