customers and vendors change contact

This commit is contained in:
Cüneyt Şentürk 2021-01-13 15:54:27 +03:00
parent bac373618a
commit e60314a5a4

View File

@ -15,6 +15,8 @@
$key = $class->filters['keys'][$filter_name];
} else if ($key == 'years') {
$key = 'year';
} else if ($key == 'customers' || $key == 'vendors') {
$key = 'contact_id';
} else {
$key = Str::singular($key) . '_id';
}