@extends('frontend.layout.dashboard-master') @section('site_title', __('Time Tracker')) @section('style') @endsection @section('content') {{-- Page Header --}}

{{ __('Time Tracker') }}

{{ __('Track your work hours for this order') }}

{{ __('Back to Order') }}
{{-- Warning notice --}}
{{ __('Please stop the time tracker before submitting your task.') }}
{{-- Over-budget warning --}} @if($over_budget)

{{ __('Estimated hours exceeded') }}

{{ __('You have logged') }} {{ number_format($logged_hours, 2) }} {{ __('hrs') }} {{ __('against an estimate of') }} {{ number_format($budget_hours, 2) }} {{ __('hrs') }}. {{ __('Any hours beyond the estimate will not be compensated.') }}

@else
@endif {{-- Tracker card --}}
{{-- Job info --}}

{{ $order?->job->title }}

{{ $order?->job?->job_creator->fullname }} @if($budget_hours > 0) {{ number_format($logged_hours, 2) }} / {{ number_format($budget_hours, 2) }} {{ __('hrs logged') }} @else {{ __('Est.') }} {{ $order?->job->estimated_hours }} {{ __('hrs') }} @endif
{{-- Clock + controls --}}

00:00:00

{{ __('Ready to start') }}

{{-- Form + actions --}}
@csrf {{-- Notes preview --}}
{{-- Note Modal --}}
{{ __('Add Notes') }}
{{-- Restore Time Modal --}}
{{ __('Restore Work Hours') }}
{{ __('If your computer shuts down or you logged out before submitting, enter your previous work time here to restore it.') }}
@endsection @section('script') @include('frontend.user.freelancer.order.time-tracker.time-tracker-js') @endsection