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

{{ __('Job Details') }}

#{{ str_pad($job_details->id, 6, '0', STR_PAD_LEFT) }} · {{ $job_details->title }}

{{ __('My Jobs') }}
{{-- Left Column --}}
{{-- Job Details Card --}}
{{-- ID + badges --}}
#{{ str_pad($job_details->id, 6, '0', STR_PAD_LEFT) }} {{ ucfirst($job_details->type) }} @if ($job_details->on_off == 0) {{ __('Closed') }} @else {{ __('Open') }} @endif @if ($job_details->current_status == 1) {{ __('In Progress') }} @endif @if ($job_details->current_status == 2) {{ __('Complete') }} @endif
{{-- Title --}}

{{ $job_details->title }}

{{-- Meta --}}
@if ($job_details->on_off == 1) {{ __('Public') }} @else {{ __('Only Me') }} @endif {{ $job_details->created_at->toFormattedDateString() }} · {{ ucfirst($job_details->level ?? '') }}
{{-- Stats --}}
  • @if ($job_details->type == 'hourly') {{ __('Hourly Rate') }}: {{ float_amount_with_currency_symbol($job_details->hourly_rate) }} @else {{ __('Budget') }}: {{ float_amount_with_currency_symbol($job_details->budget) }} @endif
  • {{ __('Hired') }}: {{ $hired_freelancer_count }}
  • {{ __('Proposals') }}: {{ $job_details?->job_proposals?->count() }}
  • @if ($job_details->type == 'hourly') {{ __('Estimated Hours') }}: {{ $job_details->estimated_hours }} @else {{ __('Created') }}: {{ $job_details->created_at->toFormattedDateString() }} @endif
{{-- Skills --}} @if ($job_details->job_skills->count() > 0) @endif {{-- Description --}}
{!! $job_details->description !!}
{{-- Actions --}}
@if ($job_details->on_off == 0) {{ __('Open Job') }} @else {{ __('Close Job') }} @endif @if (moduleExists('SecurityManage')) @if (Auth::guard('web')->user()->freeze_job == 'freeze') {{ __('Edit Job') }} @else {{ __('Edit Job') }} @endif @else {{ __('Edit Job') }} @endif
{{-- Proposals Card --}}
  • {{ __('Proposals') }} ({{ $job_details->job_proposals->count() ?? 0 }})
  • {{ __('Hired') }} ({{ $hired_freelancer_count }})
  • {{ __('Shortlisted') }} ({{ $short_listed_freelancer_count }})
  • {{ __('Interviewed') }} ({{ $interviewed_freelancer_count }})
  • {{ __('Rejected') }} ({{ $rejected_freelancer_count }})
@include('frontend.user.client.job.job-details.proposals')
{{-- Right Column: Activities --}}
@php $activity_count = 0; @endphp
    @foreach ($job_details?->job_proposals as $proposal) @if ($proposal->is_interview_take == 1) @php $activity_count++; @endphp
  • {{ __('Interviewed') }} {{ $proposal?->freelancer?->fullname }}

    {{ $proposal->updated_at?->toFormattedDateString() }}

  • @endif @if ($proposal?->is_interview_take == 0 && $proposal?->is_short_listed == 1) @php $activity_count++; @endphp
  • {{ __('Shortlisted') }} {{ $proposal?->freelancer?->fullname }}

    {{ $proposal->updated_at?->toFormattedDateString() }}

  • @endif @endforeach @if ($activity_count === 0)
  • {{ __('No activities yet.') }}

  • @endif
{{-- #activities-body --}}
{{-- Interview Modal --}} {{-- Rate & Hours Modal --}} @endsection @section('script') @include('frontend.user.client.job.job-details.proposal-js') @endsection