@extends('app') @section('breadcrumbs') @endsection @section('content')
@include('errors.partials.alert') @include('proclients.generic_actions') @if($clients->count())
@foreach($clients as $idx => $client) @endforeach
CLIENTE
{{$client->nombre. " " . ($client->a_paterno ? $client->a_paterno : $client->a_materno) }}
@include('proclients.actions.'.auth()->user()->role)
@if($mappings = trans('proclient')) @foreach($columns as $column) @endforeach @endif @foreach($clients as $client) @foreach($columns as $column) @endforeach @endforeach
{!! Form::open([ 'action' => 'SessionController@updateOrder', 'method' => 'PUT', ]) !!} {!!Form::close()!!}
@if(($pieces = explode('.', $column)) && ($c = end($pieces))) @if(file_exists(base_path('resources/views/proclients/columns')."/$c.blade.php")) @include("proclients.columns.$c") @else {{ $client->getAttribute($column) }} @endif @endif
@else
No hay clientes que mostrar.
@endif
@endsection @section('modal') @include('proclients.modals.'.Auth::user()->role) @include('proclients.modals.all.columns') @include('proclients.modals.all.filters') @include('proclients.modals.all.remove_clients') @include('proclients.modals.all.retrieve_clients') @include('proclients.modals.all.contact') @include('proclients.modals.all.alert') @endsection @section('script') @parent {!! Html::script('js/proclients/generic/index.js?v='.str_random(6)) !!} {!! Html::script('js/proclients/generic/stickyTables.js') !!} {!! Html::script('js/proclients/'.Auth::user()->role.'/index.js?v='.str_random(6)) !!} {!! Html::script('js/select2.full.js')!!} {!! Html::script("js/moment/moment.js")!!} {!! Html::script('js/jquery-ui.js') !!} @endsection @section('style') @parent {!!Html::style('css/select2.css')!!} {!!Html::style('css/select2-bootstrap.css')!!} {!!Html::style('css/jquery-ui/thms/flick/jquery-ui.min.css') !!} {!!Html::style('css/jquery-ui/thms/flick/theme.css') !!} @endsection