@extends('layouts.frontend2') @section('content')

Search Contractors

{{ Form::open(['route' => 'client-management.search_contractor', 'id' => 'search_contractor']) }} {{ Form::label('Service') }} {{ Form::select('service',$data['services'],null,['class' => 'form-control']) }} {{ Form::label('Price Range') }} {{ Form::select('price_range',$data['price_ranges'],null,['class' => 'form-control']) }} {{ Form::submit('Submit',['class' => 'btn btn-info btn-sm', 'style' => 'margin-top: 10px; float: right']) }} {{ Form::close() }}
@if(session()->has('message'))
{{ session()->get('message') }}
@endif {{--
@role('admin') ADD IMPORT DOWNLOAD TEMPLATE @endrole
{{ csrf_field() }}
@if (session('status')) @endif @foreach($data['contractors'] as $contractor) @endforeach
Company Contact Person Email Contact Number Action
{{ $contractor->company }} {{ $contractor->contact_person }} {{ $contractor->email }} {{ $contractor->contact_number }} @role('admin') @endrole @role('admin') @endrole
@if(count($data['contractors']) > 0) {{ $data['contractors']->links() }} @endif
--}}
@foreach($data['contractors'] as $contractor)
{{ $contractor->company }} Apply
Rate/h: R{{ $contractor->hourly_rate }}
Service(s):
  • List of Services
  • List of Services
  • List of Services
@endforeach
@if(count($data['contractors']) > 0) {{ $data['contractors']->links() }} @endif
@endsection @section('scripts') @endsection