first&last
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body { font-family: DejaVu Sans, sans-serif; font-size: 12px; }
|
||||
table { width: 100%; border-collapse: collapse; }
|
||||
th, td { border: 1px solid #d1d5db; padding: 6px; text-align: left; }
|
||||
th { background: #f3f4f6; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Отчет по эффективности техников</h2>
|
||||
<p>Сформировано: {{ $generatedAt }}</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Техник</th>
|
||||
<th>Назначено</th>
|
||||
<th>Решено</th>
|
||||
<th>Среднее время (ч)</th>
|
||||
<th>Рейтинг</th>
|
||||
<th>Просрочено</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($rows as $row)
|
||||
<tr>
|
||||
<td>{{ $row['technician'] }}</td>
|
||||
<td>{{ $row['assigned'] }}</td>
|
||||
<td>{{ $row['resolved'] }}</td>
|
||||
<td>{{ $row['avg_resolution_hours'] }}</td>
|
||||
<td>{{ $row['rating'] }}</td>
|
||||
<td>{{ $row['overdue'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user