@extends('layouts.app') @section('title', 'All tickets | ' . Options::get('title') ) @section('content')

All Tickets

@if( count($tickets) ) @foreach($tickets as $ticket)
Warning: Undefined variable $ticket in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\tickets\all.blade.php on line 46

Warning: Attempt to read property "created_at" on null in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\tickets\all.blade.php on line 46
Ticket ID Ticket title Department Date Status Action
#{{ $ticket->id }} {{ str_limit($ticket->subject, 30) }} {{ $ticket->getDepartment() }} {{ $date->diffInMonths(Carbon::now()) >= 1 ? $date->format('j M Y, g:ia') : $date->diffForHumans() }} {{ ucwords($ticket->status) }}
Fatal error: Uncaught Error: Class "Options" not found in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\tickets\all.blade.php:62 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\tickets\all.blade.php on line 62