@extends('layout.administrator.index') @section('title', 'Rules') @section('content')
{{--

Rules

--}}
@if (session('success')) @endif @if (session('danger')) @endif

Busqueda avanzada

{{-- FILTRO POR NOMBRE --}}
{{-- FILTRO POR ESTADO --}}
{{-- FILTRO POR TIPO --}}
{{-- FILTRO POR CUSTOMER --}}
{{-- FILTRO POR ACCOUNT --}}
{{-- FILTRO POR MODEL --}}
{{-- FILTRO POR COMPONENT LOCATION --}}

Listado de Reglas

@forelse ($allRules as $rule) @empty @endforelse
Nombre Descripción Tipo Estado Acción
{{ $rule->name }} {{ Str::limit($rule->description, 50) }} @if ($rule->type == 'equipo') Equipo @else Viscosidad @endif {{ Config::get('constants.states')[$rule->state]['name'] }}
No se encontraron reglas
{{ $allRules->links() }}
@endsection @section('js') @endsection