@extends('admin.layout') @section('title', 'Tasks Management') @section('header', 'Tasks Management') @section('content')
| Task | Ticket | Technician | Status | Priority | Payment | Actions |
|---|---|---|---|---|---|---|
|
{{ $task->title }}
@if($task->description)
{{ Str::limit($task->description, 50) }}
@endif
Created: {{ $task->created_at->format('M d, Y') }}
|
@if($task->ticket)
{{ $task->ticket->ticket_id }}
{{ $task->ticket->first_name }} {{ $task->ticket->last_name }}
@else
No ticket
@endif
|
@if($task->technician)
{{ $task->technician->name }}
{{ $task->technician->phone }}
@else
Not assigned
@endif
|
{{ ucfirst(str_replace('_', ' ', $task->status)) }} | {{ ucfirst($task->priority) }} |
@if($task->isPaid())
${{ number_format($task->payment_amount, 2) }}
{{ $task->payment_method }}
@elseif($task->status === 'completed')
Pending
@else
-
@endif
|
|
| No tasks found. | ||||||
Showing {{ $tasks->firstItem() }} to {{ $tasks->lastItem() }} of {{ $tasks->total() }} results