@extends('app') @section('head') {!! Html::style('css/stickyTableHeaders.css') !!} {!! Html::style('css/stickyTableHeaders.normalize.css') !!} {!! Html::style('css/cartera.css') !!} @endsection @section('content') {!!Form::open(['action' => ['Admin\ProclientsController@index'], 'class' => 'form-horizontal', 'method'=>'GET'])!!} {!! Form::hidden('export') !!}
{!! $clients->render()!!}
{!!Form::close()!!} @include('errors.partials.alert',['errors'=>$errors->client]) @if($clients->count() > 0)
Datos Prospecto Datos Contacto Prospecto Datos beneficiario
@foreach($aditional_columns as $column => $enabled) @if($enabled) @endif @endforeach @foreach($columns as $column => $enabled) @if($enabled) @endif @endforeach @foreach($clients as $client) @if(($manager = $client->manager)) @endif @foreach($aditional_columns as $column => $enabled) @if($enabled) @endif @endforeach @foreach($columns as $column => $enabled) @if($enabled) @endif @endforeach @endforeach
NOMBRE COMPLETO GERENTE @lang("proclient.$column") @lang("proclient.$column")
{{$client->a_paterno}} {{$client->a_materno}} {{$client->nombre}}
{{$manager ? $manager->manager_details: ''}}
@if($client->family == 'C' or (! $client->family)) @if ($manager) @else @endif @endif
{{$client->$column}} @if($column == 'proclients.management_id') {{$client->manager ? $client->manager->management ? $client->manager->management->name : 'N/A' : 'N/A'}} @elseif($column == 'proclients.no_emp') {{$client->executive ? $client->executive->no_emp : 'N/A'}} @else {{$client->$column}} @endif
@else
No hay clientes que mostrar
@endif @include('admin.proclients.partials.assign_modal') @include('admin.proclients.partials.assign_error_modal') @if (isset($columns)) {!! Form::open(['method' => 'POST','id' => 'filter-column-form']) !!} {!! Form::hidden('current_page', Input::get('page', 1)) !!} {!! Form::hidden('page') !!} @include('common/proclients/partials/modal_columns') @include('common/proclients/partials/modal_order') @include('common/proclients/partials/modal_filter') {!! Form::close() !!} @endif @stop @section('script') {!! Html::script('js/throttle.min.js') !!} {!! Html::script('js/clients/index.scroll.js') !!} {!! Html::script('js/jquery.stickyheader.js') !!} @stop