@extends('layouts.admin') @section('css') @endsection @section('content')
@if(Auth::user()->profile_id == 1) @if (session('status'))
{{ session('status') }}
@endif @endif
{{$cumplimedidas100}} %

Porcentaje de medidas cumplidas

Total: {{ $cumplimiento; }}

%

Porcentaje promedio de avance total

{{$cumpli2}} %

Porcentaje de medidas con más de la mitad de avance

Total: {{$cumplimiento50}}

Avance por ejes

Función Pública

{{$fp}}%

Recursos Públicos

{{$rp}}%

Transparencia

{{$tp}}%

Política

{{$pl}}%

Sector Privado

{{$sp}}%

Transversal

{{$tv}}%
@if(Auth::user()->profile_id == 1)

Medidas

Listado de medidas por eje

@foreach($measures as $measure) @endforeach
Eje Nro Medida Descripción Tipo Responsable Revisar Prioridad
{{$measure->axe->name}} {{$measure->nro}} {{$measure->name}} {{$measure->description}} {{$measure->type}} {{$measure->user->name}} search edit
@endif @if(Auth::user()->profile_id == 2)

Medidas

Listado de medidas por eje

@foreach($measures as $measure) @if(Auth::user()->id == $measure->user_id) @endif @endforeach
Eje Nro Medida Descripción Tipo Responsable Cumplimiento
{{$measure->axe->name}} {{$measure->nro}} {{$measure->name}} {{$measure->description}} {{$measure->type}} {{$measure->user->name}} {{$measure->cumplimiento}}
@endif
@endsection @section('charts') Chart.defaults.global.legend.position = "bottom"; Chart.defaults.global.defaultFontSize = 14; var ctx = document.getElementById("myChart"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas legislativas"], datasets: [{ label: '% de cumplimiento', data: [, 210], backgroundColor: [ '#193475', '#c4cfe8', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { labels: { fontFamily: 'Roboto', boxWidth: 0, fontSize: 16, fontColor: '#FF6E6E' }, display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart2"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas gestión"], datasets: [{ label: '% de cumplimiento', data: [25, 210], backgroundColor: [ '#186bb1', '#c7d7e2', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart3"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas administrativas"], datasets: [{ label: '% de cumplimiento', data: [, 210], backgroundColor: [ '#44b9f3', '#cfe1e5', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart4"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas legislativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#2e73a6', '#97b9d3', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { labels: { fontFamily: 'Roboto', boxWidth: 0, fontSize: 16, fontColor: '#FF6E6E' }, display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart5"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas gestión"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#c24d7b', '#e1a6bd', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart6"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas administrativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#e29332', '#f1c999', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart7"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas legislativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#714387', '#b8a1c3', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { labels: { fontFamily: 'Roboto', boxWidth: 0, fontSize: 16, fontColor: '#FF6E6E' }, display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart8"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas gestión"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#118060', '#88c0b0', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart9"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas administrativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#414042', '#838185', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart10"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas legislativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#c24d7b', '#e1a6bd', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { labels: { fontFamily: 'Roboto', boxWidth: 0, fontSize: 16, fontColor: '#FF6E6E' }, display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart11"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas gestión"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#714387', '#b8a1c3', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); var ctx = document.getElementById("myChart12"); var myChart = new Chart(ctx, { type: 'doughnut', data: { labels: ["Medidas Completadas", "Total de medidas administrativas"], datasets: [{ label: '% de cumplimiento', data: [5, 3], backgroundColor: [ '#c24d7b', '#e1a6bd', ], borderWidth: 0 }] }, options: { tooltips: false, legend: { display: false }, cutoutPercentage: 50, rotation: 1 * Math.PI, circumference: 1 * Math.PI } }); @endsection