@extends('layouts.site')
@section('title', 'Search | Trading Corporation of Pakistan')
@section('description', 'Search TCP pages, tenders, reports, officials and office information.')
@section('content')
TCP informationWhat can we help you find?
Search official pages, tenders, reports, public documents, officials and office information.
@if($term && mb_strlen($term) < 2)Enter at least two characters
Try a document title, tender reference, commodity or department.
@elseif($results)
Search results
{{ $results->total() }} result{{ $results->total() === 1 ? '' : 's' }} for “{{ $term }}”
@forelse($results as $result)
{{ match($result->type){'Document'=>'▤','Tender'=>'◫','Official'=>'◎','Office'=>'⌂','News'=>'◉',default=>'↗'} }}
{{ $result->type }}@if($result->category){{ str($result->category)->replace('-', ' ')->title() }}@endif @if($result->year){{ $result->year }}@endif
@if($result->summary)
{{ $result->summary }}
@endif
Open {{ str($result->type)->lower() }} →@empty
No matching published records
Try a broader term, remove a filter or browse the popular destinations.
@endforelse
{{ $results->links() }}
@elseSearch TCP’s public information
Enter a phrase above, or use one of the popular destinations to get started.
@endif
@endsection