@extends('layouts.planti') @section('contenido') @if(Session::has('success'))
{{Session::get('success')}}
@endif {!! Charts::styles() !!}

KPI - Indicadores de Gestión

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

@endif
@csrf

{{--

--}}

@if(count($kpi) >0) {{-- Generar Reporte--}}

@if(count($columname)) @foreach($columname as $fil) @endforeach @endif @if(count($kpi)) @php($tot =0 ) @foreach($kpi as $fil) {{-- "VALOR: " . $fil->nombre --}} @foreach($fil as $nombre => $key ) @if ($nombre=="nro" || $nombre=="total") @php($tot = $tot + $key) @endif @endforeach @endforeach @else @endif
{{ strtoupper($fil) }}
{{$key }}
TOTAL {{$tot}}
No hay registro !!
{!! $chart->html() !!}
@endif @endsection {!! Charts::scripts() !!} {!! $chart->script() !!}