@extends('layouts/client') @section('title', __('helpdesk.support.create.newticket')) @section('styles') @endsection @section('scripts') @endsection @section('content')
@include('shared/alerts')

{{ __('helpdesk.support.create.newticket') }}

{{ __('helpdesk.support.create.index_description') }}

@csrf
@include("shared/input", ["name" => "subject", "label" => __("helpdesk.subject"), 'value' => old('subject', $subject)])
@include("shared/select", ["name" => "priority", "label" => __("helpdesk.priority"), "options" => $priorities, 'value' => old('priority', $priority)])
@include("shared/select", ["name" => "related_id", "label" => __("helpdesk.support.create.relatedto"), "options" => $related, 'value' => old('related_id', $related_id)])
@if ($errors->has('content')) @foreach ($errors->get('content') as $error)
{{ $error }}
@endforeach @endif
@if (setting('helpdesk_allow_attachments'))
@include('shared/file2', ['name' => 'attachments','multiple' => true, 'label' => __('helpdesk.attachments'), 'help' => __('helpdesk.support.attachments_help', ['size' => setting('helpdesk_attachments_max_size'), 'types' => formatted_extension_list(setting('helpdesk_attachments_allowed_types'))])])
@endif
@endsection