@extends('layouts.app') @section('breadreportecrumbs') @include('__partials.breadcrumbs', [ 'data' => [ ['route' => 'home', 'name' => 'Home'], ['route' => '', 'name' => 'Dias No Habiles'] ], 'show_add_button' => false, 'add_button_route' => route('dias.crear') ]) @endsection @section('content')

EDITAR PERFIL

{{ csrf_field() }}
@foreach($permisos as $permiso)
@if(!$permiso->hijos->isEmpty())
@foreach($permiso->hijos as $hijo)
permisos()->where('menu.id', $hijo->id)->exists()) checked @endif value="{{ $hijo->id }}">
@endforeach
@endif @endforeach
Cancelar
@endsection