@extends('layouts.app') @section('title', 'Repairs') @section('breadcrumb')
Manage repair tickets, technician assignments and delivery
| Ticket # | Customer | Device | Problem | Technician | Received | Expected | Cost | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $ticket->ticket_no }} |
{{ $ticket->customer->name }}
{{ $ticket->customer->phone }}
|
{{ $ticket->device_name }}
@if($ticket->device_model){{ $ticket->device_model }} @endif
@if($ticket->serial_no){{ $ticket->serial_no }}@endif
|
{{ $ticket->technician?->name ?? '—' }} | {{ $ticket->received_date->format('d M Y') }} |
{{ $ticket->expected_delivery?->format('d M Y') ?? '—' }}
@if($isOverdue) OVERDUE @endif
|
@if($ticket->actual_cost > 0) ৳{{ number_format($ticket->actual_cost, 0) }} @elseif($ticket->estimated_cost > 0) ~৳{{ number_format($ticket->estimated_cost, 0) }} @else — @endif | @php $rc=['pending'=>'warning','diagnosing'=>'info','in_progress'=>'primary','completed'=>'success','delivered'=>'success','cancelled'=>'secondary']; @endphp {{ $ticket->status_name }} | ||
| No repair tickets found. Create your first ticket. | |||||||||