HEX
Server: LiteSpeed
System: Linux sv4.hami.host 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: armgroup (1008)
PHP: 8.2.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, mail, socket_create, socket_create_listen, socket_create_pair, link, dl, openlog, syslog, stream_socket_server, curl_multi_init
Upload Files
File: /home/armgroup/libs/storage/framework/views/44ff6b45d8a9307fa36744d896a17b853ce8777c.php
<?php $__env->startSection('content'); ?>
    <div class="container my-5 body-content">
        <div class="row">
            <div class="col-lg-3 col-sm-12">
                <?php echo $__env->make('account.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
            <div class="col-lg-9 col-sm-12">
                <div class="card">
                    <h5 class="card-header"><?php echo e(__('Tickets')); ?>

                        <span class="float-end">
                            <a href="<?php echo e(route('account.tickets.create')); ?>" class="btn btn-sm btn-primary">
                                <span class="fa fa-plus"></span> <?php echo e(__('Add')); ?>

                            </a>
                        </span>
                    </h5>
                    <div class="card-body">
                        <table class="table table-sm">
                            <thead class="thead-dark">
                                <tr>
                                    <th scope="col"><?php echo e(__('Ticket number')); ?></th>
                                    <th scope="col"><?php echo e(__('Title')); ?></th>
                                    <th scope="col"><?php echo e(__('Priority')); ?></th>
                                    <th scope="col"><?php echo e(__('Status')); ?></th>
                                    <th scope="col"><?php echo e(__('Edit date')); ?></th>
                                    <th scope="col"><?php echo e(__('Actions')); ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $tickets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ticket): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($ticket->slug); ?></td>
                                        <td><?php echo e($ticket->title); ?></td>
                                        <td>
                                            <span class="badge bg-<?php echo e($ticket->priority->color()); ?>">
                                                <?php echo e($ticket->priority->description); ?>

                                            </span>
                                        </td>
                                        <td>
                                            <span class="badge bg-<?php echo e($ticket->status->color()); ?>">
                                                <?php echo e($ticket->status->description); ?>

                                            </span>
                                        </td>
                                        <td><?php echo e(to_persian_numbers(jdate($ticket->updated_at))); ?></td>
                                        <td>
                                            <a href="<?php echo e(route('account.tickets.edit', $ticket->slug)); ?>"
                                               class="btn btn-info btn-sm">
                                                <span class="fa fa-eye"></span> <?php echo e(__('View')); ?>

                                            </a>
                                            <?php if (! ($ticket->status->is(\App\Enums\TicketStatus::CLOSED))): ?>
                                                <form class="d-inline" method="POST" action="<?php echo e(route('account.tickets.update', $ticket->slug)); ?>">
                                                    <?php echo csrf_field(); ?>
                                                    <?php echo method_field('PATCH'); ?>
                                                    <button type="submit" class="btn btn-sm btn-danger"
                                                            onclick="return confirm('<?php echo e(__('Are you sure?')); ?>');">
                                                        <span class="fa fa-times"></span> <?php echo e(__('Close the ticket')); ?>

                                                    </button>
                                                </form>
                                            <?php endif; ?>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                    <?php echo e($tickets->links()); ?>

                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/technova/technovar/resources/views/account/tickets/index.blade.php ENDPATH**/ ?>