@extends('layouts.master') @section('body')
| @php $current = $sorts['technical_support.id'] ?? null; if ($current === null) { $dir = 'asc'; } elseif ($current === 'asc') { $dir = 'desc'; } elseif ($current === 'desc') { $dir = null; } $newSorts = $sorts; if ($dir) { $newSorts['technical_support.id'] = $dir; } else { unset($newSorts['technical_support.id']); } @endphp № @if($current === 'asc') ↑ @elseif($current === 'desc') ↓ @else ⋯ @endif | Sorğu sahəsi | Sorğu göndərən əməkdaş | Sorğunun yaranma tarixi | İcraçı | Sorğunun qəbul tarixi | Filial adı | Şassi nömrəsi / Bar kod | Möhürlər | Sorğunu bitirmə tarixi | Status | Sorğunun açıqlaması | Sorğu sənədi | @permission('support_admin')İcra et | @endpermissionSorğunun cavabı | Tənzimlə |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ($data->currentPage() - 1) * 15 + 1 + $loop->index }} | {{ strtoupper($item->survey_name) }} | {{ $item->author_name }} | {{ $item->created_at }} | {{ $item->assigned_name }} | {{ $item->admission_date ?? null }} | {{ $item->branch_name }} | {{ $item->tractor_highway_code ?? $item->bar_code }} | @if ($item->tractor_highway && count($item->tractor_highway->seals)) Göstər @endif | {{ $item->completion_date ?? null }} | $item->status_name == 'processing', 'bg-green-400' => $item->status_name == 'completed', 'bg-red-400' => $item->status_name == 'rejected', ])> {{ $item->status_name == 'waiting' ? 'Gözləmədə' : ($item->status_name == 'processing' ? 'İcra olunur' : ($item->status_name == 'completed' ? 'İcra olundu' : 'İcra olunmadı')) }} | {{ $item->description ?? null }} | @if ($item->file_path) Göstər @endif | @permission('support_admin')@if (!$item->assigned_to) İcra et @endif | @endpermission{{ $item->response ?? null }} | @permission('support_admin') @if ($item->assigned_to && !$item->completion_date) Bitir / @endif @endpermission @permission('delete_support') @endpermission |