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

{{ __('Proposal Details') }}

{{ $proposal_details->job->title ?? '' }}

{{ __('Back to Job') }}
{{-- Freelancer Card --}}
{{-- Author --}}
@if($proposal_details->freelancer?->image) @if(cloudStorageExist() && in_array(Storage::getDefaultDriver(), ['s3', 'cloudFlareR2', 'wasabi'])) {{ $proposal_details?->freelancer?->fullname }} @else {{ $proposal_details?->freelancer?->fullname }} @endif @else {{ __('AuthorImg') }} @endif

{{ $proposal_details->freelancer?->fullname ?? '' }}

{{ $proposal_details->freelancer?->user_introduction?->title ?? '' }} @if($proposal_details->freelancer?->user_state?->state || $proposal_details->freelancer?->user_country?->country) · {{ $proposal_details->freelancer?->user_state?->state ?? '' }}, {{ $proposal_details->freelancer?->user_country?->country ?? '' }} @endif

{!! freelancer_rating($proposal_details->freelancer_id) !!}
{{-- Status badges --}}

{{ $proposal_details->created_at->diffForHumans() }}

{{-- Offered stats --}}
{{ __('Offered') }} {{ float_amount_with_currency_symbol($proposal_details->amount) }}
{{ __('Est. delivery duration') }} {{ $proposal_details->duration }}
@if($proposal_details?->job?->type == 'hourly')
{{ __(ucfirst($proposal_details?->job->type)) }} {{ float_amount_with_currency_symbol($proposal_details?->job->hourly_rate) }}
{{ __('Estimated hours') }} {{ $proposal_details?->job->estimated_hours ?? '' }}
@endif
{{-- Action buttons --}}
@if($proposal_details->is_rejected == 0 && $proposal_details->is_hired == 0) @if($proposal_details->is_short_listed == 0) {{ __('Add to Shortlist') }} @else {{ __('Remove from Shortlist') }} @endif @endif @if($proposal_details?->job?->type == 'hourly') {{ __('Update Hourly Rate') }} @endif
@if($proposal_details->is_rejected == 1) {{ __('Rejected') }} @else
@if($proposal_details->is_interview_take == 1) {{ __('Interviewed') }} @else {{ __('Take Interview') }} @endif @if($proposal_details->is_hired == 0 && $proposal_details?->job?->type != 'hourly') {{ __('Reject') }} {{ __('Accept') }} @endif @if(moduleExists('HourlyJob')) @if($proposal_details->is_hired == 0 && $proposal_details?->job->type == 'hourly') {{ __('Reject') }} {{ __('Accept') }}
@endif @endif
@endif
{{-- Cover Letter --}}

{{ __('Cover Letter') }}

{{ $proposal_details->cover_letter ?? '' }}

{{-- Attachment --}} @if($proposal_details->attachment)

{{ __('Attachment') }}

@if(cloudStorageExist() && in_array(Storage::getDefaultDriver(), ['s3', 'cloudFlareR2', 'wasabi'])) {{ __('Download Attachment') }} @else {{ __('Download Attachment') }} @endif
@endif
{{-- Interview Modal --}} {{-- Rate & Hours Modal --}} {{-- Payment Gateway Modal --}} @endsection @section('script') @include('frontend.user.client.job.job-details.proposal-js') @endsection