@extends('admin.layouts.app') @section('title', __('admin.ticket_statuses.title')) @section('content') @if($errors->any())
@endif
@csrf

{{ __('admin.ticket_statuses.auto_close_hint') }}

@if(($statuses ?? collect())->isEmpty())
{{ __('admin.ticket_statuses.no_statuses_msg') }}
@else @foreach($statuses as $status) @endforeach
{{ __('admin.ticket_statuses.status_name_col') }}{{ __('admin.ticket_statuses.color_col') }}{{ __('admin.ticket_statuses.show_on_client') }}{{ __('admin.ticket_statuses.sort_order') }}{{ __('admin.ticket_statuses.auto_close_col') }}{{ __('common.table.actions') }}
{{ $status->title }} {{ $status->color ?? '-' }} {{ $status->show_active ? __('common.yes') : __('common.no') }} {{ $status->sort_order ?? 0 }} {{ $status->auto_close ? __('common.yes') : __('common.no') }}
@csrf @method('DELETE')
@endif
@endsection