@extends('layouts.back') @section('titulo', 'Pesquisa') @section('page_header','Painel') @push('header_imports') @endpush @section('content')

Pesquisa

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Mostrando {{($leads->currentPage()-1)*$leads->perpage()+1}} - {{$leads->currentPage()*$leads->perpage()}} de {{$leads->total()}} resultados
{{ $leads->appends(['pesquisa' => $pesquisa, 'page_leads' => $leads->currentPage()])->links() }}
@if(count($leads) > 0)
@foreach($leads as $lead)
{{$lead->empresa}}
{{$lead->nome}}
{{$lead->celular}}
{{$lead->email}}
@endforeach
@else
:( Não foram encontrados leads
@endif
Mostrando {{($instituicoes->currentPage()-1)*$instituicoes->perpage()+1}} - {{$instituicoes->currentPage()*$instituicoes->perpage()}} de {{$instituicoes->total()}} resultados
{{ $instituicoes->appends(['pesquisa' => $pesquisa, 'page_instituicoes' => $instituicoes->currentPage()])->links() }}
@if(count($instituicoes) > 0)
@foreach($instituicoes as $instituicao)
{{$instituicao->razao_social}}
{{$instituicao->nome}}
{{$instituicao->celular}}
{{$instituicao->email}}
@endforeach
@else
:( Não foram encontradas instituições
@endif
@endsection @push('js') {{-- --}} @endpush