@extends('layouts.app') @section('content')
@if (session('status'))
{{ session('status') }}
@endif
@if (json_decode(Auth::user()->permisos)->puede_administrar_tipo_gastos == 'on') @if ($tipogastos->count() > 0) @foreach ($tipogastos as $tipogasto) @endforeach
ID Titulo Descripción Acciones
{{ $tipogasto->id }} {{ $tipogasto->titulo }} {{ $tipogasto->descripcion }}
@else
No hay tipos de gasto Registrados

Registrar mi primer tipo de gasto
@endif @else
No puedes ver esta información.

@endif
@endsection