@extends('admin.layout.app') @section('title', 'Assigned Ticket Engineers') @push('styles') tr[data-href]:hover { background-color: #f5f5f5; } @endpush @section('content')
| # | Ticket ID | Assigned To | Attended By | Time In | Time Out | Paid Hours | Cost Type | Agreed Cost | Hours Worked | Travel Type | Travel Cost | Fuel Cost | Parking Cost | Parking Approved | Car ID | Consumables | Comments | Created By | Updated By |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $entry->ticket_id }} | {{ optional($entry->assignedTo)->first_name }} {{ optional($entry->assignedTo)->last_name }} | {{ optional($entry->attendedBy)->first_name }} {{ optional($entry->attendedBy)->last_name }} | {{ $entry->time_in }} | {{ $entry->time_out }} | {{ $entry->paid_hours }} | {{ ucfirst($entry->cost_type) }} | €{{ $entry->agreed_cost }} | {{ $entry->hours_worked }} | {{ ucfirst($entry->travel_type) }} | €{{ $entry->travel_cost }} | €{{ $entry->fuel_cost }} | €{{ $entry->parking_cost }} | @if($entry->parking_approved) Yes @else No @endif | {{ $entry->car_id }} | €{{ $entry->engineer_consumables }} | {{ Str::limit($entry->comments, 30) }} | {{ optional($entry->createdBy)->first_name }} | {{ optional($entry->updatedBy)->first_name }} |