mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
Added search function and frontend of add contacts
This commit is contained in:
@@ -23,15 +23,8 @@ class CompanyController extends Controller
|
||||
{
|
||||
foreach ($matchedTerms as $key => $matchedTerm)
|
||||
{
|
||||
array_push($output,
|
||||
'<li style="display: show;">
|
||||
<a href="#">
|
||||
<i class="fa fa-user"></i>' . $matchedTerm->company_name .
|
||||
'<span class="list-item-title-role" style="margin-top:-10px">' . $matchedTerm->tel_no . '</span>
|
||||
<br>
|
||||
<span class="list-item-title-role" style="margin-top:-10px">' . $matchedTerm->contact_person . '</span>
|
||||
</a>
|
||||
</li> <br>');
|
||||
array_push($output, ['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