mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-22 14:04:05 +00:00
changed files according to discussions on Gitlab and tweaked search function
This commit is contained in:
@@ -22,7 +22,10 @@ class CompanyController extends Controller
|
||||
{
|
||||
foreach ($matchedTerms as $key => $matchedTerm)
|
||||
{
|
||||
if($matchedTerm->id != Auth::user()->company()->first()->id)
|
||||
{
|
||||
array_push($output, ['recipient_id'=> $matchedTerm->id, 'company_name' => $matchedTerm->company_name, 'tel_no' => $matchedTerm->tel_no, 'contact_person'=>$matchedTerm->contact_person ]);
|
||||
}
|
||||
}
|
||||
|
||||
return response($output);
|
||||
|
||||
Reference in New Issue
Block a user