@extends('layouts.app') @section('title', 'Timesheets') @section('content')

Timesheets

Add Time Entry
0 Entries Selected | Total Hours: 0.00 | Est. Amount: {{ getCurrencySymbol() }}0.00
@csrf
@forelse($timesheets as $timesheet) @empty @endforelse
Date User Project Task Hours Status Actions
@if($timesheet->status == 'unbilled') @endif {{ \Carbon\Carbon::parse($timesheet->date)->format('d M Y') }} {{ optional($timesheet->user)->name ?? 'Unknown User' }} {{ optional($timesheet->project)->name ?? 'No Project' }} {{ optional($timesheet->task)->name ?? 'No Task' }} {{ number_format($timesheet->hours, 2) }} @php $statusColors = [ 'unbilled' => 'bg-warning text-dark', 'billed' => 'bg-success', ]; @endphp {{ ucfirst($timesheet->status) }}
@csrf @method('DELETE')

No time entries found.

Add Time Entry
{{ $timesheets->links() }}
@endsection