fixed test broken..
This commit is contained in:
parent
881d0acac5
commit
c8fd30ec6e
@ -150,7 +150,7 @@ class Revenues extends Controller
|
||||
|
||||
$customers = Contact::customer()->enabled()->orderBy('name')->take(setting('default.select_limit'))->pluck('name', 'id');
|
||||
|
||||
if ($revenue->contact && !array_key_exists($revenue->contact_id, $vendors)) {
|
||||
if ($revenue->contact && !array_key_exists($revenue->contact_id, $customers)) {
|
||||
$customers->put($revenue->contact->id, $revenue->contact->name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user