@include('header') 
@include('navigator_no_cuit')
<div class="container">
    <h3 class="text-center heading-block "> Panel De Fuentes </h3>
    <div class="col-md-12">
        <table class="table table-hover" id="tabla_fuente_procesada">
            <thead>
                <tr>
                    <th class="text-left">Nombre</th>
                    <th class="text-center">Descripcion</th>
                    <th>Fecha de datos</th>
                    <th>Fecha ultima carga</th>
                    <th>Periodicidad</th>
                    <th>Proveedor</th>
                    <th>Campos</th>
                    <th>Secciones Informe</th>
                    <th>Estado</th>
                </tr>
            </thead>
            <tbody>
                @foreach($fuentes as $fuente)
                    <tr>
                        <td class="text-left">{{$fuente->nombre}}</td>
                        <td class="text-left">{{$fuente->descripcion}}</td>
                        <td class="text-center">{{$fuente->fecha_informacion}}</td>
                        <td class="text-center">{{$fuente->fecha_carga}}</td>
                        <td class="text-center">{{$fuente->periodicidad}}</td>
                        <td class="text-center">{{$fuente->proveedor}}</td>
                        <td class="text-center">{{$fuente->campos}}</td>
                        <td class="text-center">{{$fuente->secciones}}</td>
                        <td class="text-center alert @if($fuente->estado == 1) alert-success @else alert-warning @endif">
                            {{$fuente->estado_texto}}</td>
                    </tr>
                @endforeach
            </tbody>
        </table>
    </div>

</div>


<script type="text/javascript"
    src="{{ URL::asset('js/tablasgenerales/fuentes_procesadas.js') }}?v={{time()}}"> </script>
<script>
    crearDataTable("#tabla_fuente_procesada");
</script>
@include('footer')