@extends('frontend.layouts.app') @section('description') {{ strip_tags($job->description) }} @endsection @section('og:image') @if ($job->company) {{ $job->company->logo_url }} @endif @endsection @section('title') {{ $job->title }} @endsection @section('ld-data') @php $employment_type = App\Services\Jobs\GoogleJobPostingFormatter::formatJobType(optional($job->job_type)->slug ?? ''); $salary_type = App\Services\Jobs\GoogleJobPostingFormatter::formatSalaryType($job->salary_type->slug); $currency = currentCurrencyCode(); $min_salary = $job->max_salary ? currencyConversion($job->max_salary, $currency) : 0; $max_salary = $job->max_salary ? currencyConversion($job->max_salary, $currency) : 0; @endphp @endsection @section('main') @php $lat = $job->lat; $long = $job->long; @endphp
@if (advertisement_status('job_detailpage_ad')) @if (advertisementCode('job_detailpage_fat_ad_header_section'))
{!! advertisementCode('job_detailpage_fat_ad_header_section') !!}
@endif @endif
{{--
{{ __('job_description') }}
--}}
{!! $job->description !!}
@if (advertisement_status('job_detailpage_ad')) @if (advertisement_status('job_detailpage_right_ad')) @if (advertisementCode('job_detailpage_fat_ad_before_salary_section'))
{!! advertisementCode('job_detailpage_fat_ad_before_salary_section') !!}
@endif @endif @endif

{{ __('salary') }}

@if ($job->salary_mode == 'range')

{{ getFormattedNumber($job->min_salary) }} - {{ getFormattedNumber($job->max_salary) }} {{ currentCurrencyCode() }}

@else
{{ $job->custom_salary }}
@endif

{{ $job->salary_type->name }} {{ __('based') }}

@if ($job->is_remote)

{{ __('remote_job') }}

{{ __('worldwide') }}

@else

{{ __('location') }}

{{ $job->exact_location ? $job->exact_location : $job->full_address }}

@endif
@if ($job->benefits && count($job->benefits))
{{ __('job_benefits') }}
@foreach ($job->benefits as $benefit) {{ $benefit->name }} @endforeach
@endif @if (advertisement_status('job_detailpage_ad')) @if (advertisement_status('job_detailpage_right_ad')) @if (advertisementCode('job_detailpage_fat_ad_after_jobbenefits_section'))
{!! advertisementCode('job_detailpage_fat_ad_after_jobbenefits_section') !!}
@endif @endif @endif
{{ __('job_overview') }}
{{ __('job_posted') }}:
{{ Carbon\Carbon::parse($job->created_at)->diffForHumans() }}
@if ($job->deadline_active)
{{ __('job_expire') }}:
{{ \Carbon\Carbon::parse($job->deadline)->diffForHumans() }}
@endif
{{ __('job_type') }}
{{ $job->job_type ? $job->job_type->name : '' }}
{{ __('job_role') }}
{{ $job?->role?->name ?? '' }}
@if ($job->education)
{{ __('education') }}
{{ $job->education ? $job->education->name : '' }}
@endif @if ($job->experience)
{{ __('experience') }}
{{ $job->experience ? $job->experience->name : '' }}
@endif @if ($job->vacancies)
{{ __('vacancies') }}
{{ $job->vacancies }}
@endif
@if ($job->tags && count($job->tags))

{{ __('job_tags') }}:

@foreach ($job->tags as $tag) {{ $tag->name }} @endforeach
@endif

{{ __('share_this_job') }}:

@if (advertisement_status('job_detailpage_ad')) @if (advertisement_status('job_detailpage_right_ad')) @if (advertisementCode('job_detailpage_fat_ad_after_share_section'))
{!! advertisementCode('job_detailpage_fat_ad_after_share_section') !!}
@endif @endif @endif
{{ __('location') }}

{{ $job->exact_location ? $job->exact_location : $job->full_address }}

@php $map = $setting->default_map; @endphp @if ($map == 'google-map')
@else
@endif
@if (count($related_jobs))

@endif @endsection @section('css') @include('map::links') @endsection @section('script') {{-- Leaflet --}} @if ($map == 'google-map') @endif @yield('child_js') @endsection