@extends('layouts.dashboardnew')
@section('content')
{{-- filtro por fecha --}}
@include('usuario.componentes.filtroPorFecha', ['ruta' => 'ticket-filtro', 'form' => ''])
{{-- filtro por Nombre --}}
@include('usuario.componentes.filtroNombre', ['ruta' => 'ticket-filtro', 'form' => ''])
{{-- filtro por ID --}}
@include('usuario.componentes.filtroID', ['ruta' => 'ticket-filtro', 'form' => ''])
| # |
ID |
Usuario |
Fecha |
Tipo de ticket |
Titulo |
Soporte |
Estado |
Opciones |
@foreach ($ticket as $tic)
| {{ $tic->id }} |
{{ $tic->user_id }} |
{{ $tic->user->display_name }} |
{{ date('d-m-Y', strtotime($tic->created_at)) }} |
{{ $tic->tipo }} |
{{ $tic->titulo }} |
Enviado a Soporte |
@if($tic->status == 0)
Abierto
@else
Cerrado
@endif
|
@if(Auth::user()->rol_id != 0)
@endif
@if($tic->status == 0 && Auth::user()->rol_id == 0)
@endif
@if($tic->status == 1 && Auth::user()->rol_id == 0)
@endif
|
@endforeach
@endsection
@include('usuario.componentes.scritpTable')