@extends('frontend.layouts.app') @section('title') {{ __('edit_job') }} @endsection @section('main')
{{-- Sidebar --}}

{{ __('edit_job') }}

@csrf @method('PUT')
@error('title') {{ $message }} @enderror
@error('category_id') {{ $message }} @enderror
({{ __('saerch_or_write_tag_and_hit_enter') }}) @error('tags') {{ $message }} @enderror
@error('role_id') {{ $message }} @enderror

{{ __('salary') }}

@error('custom_salary') {{ $message }} @enderror
{{ $currency_symbol }}
@error('min_salary') {{ $message }} @enderror
{{ $currency_symbol }}
@error('max_salary') {{ $message }} @enderror
@error('salary_type') {{ $message }} @enderror

{{ __('advance_information') }}

@error('education') {{ $message }} @enderror
@error('experience') {{ $message }} @enderror
@error('job_type') {{ $message }} @enderror
@error('vacancies') {{ $message }} @enderror
@error('deadline') {{ $message }} @enderror
@if (config('templatecookie.map_show'))
@php $map = $setting->default_map; @endphp

{{ __('location') }} * ({{ __('click_to_add_a_pointer') }})


@error('location') {{ $message }} @enderror
@php $session_location = session()->get('location'); $session_country = $session_location && array_key_exists('country', $session_location) ? $session_location['country'] : '-'; $session_exact_location = $session_location && array_key_exists('exact_location', $session_location) ? $session_location['exact_location'] : '-'; $company_country = $job->country; $company_exact_location = $job->exact_location; @endphp
@else @php session([ 'selectedCountryId' => null, 'selectedStateId' => null, 'selectedCityId' => null, ]); session([ 'selectedCountryId' => $job->country, 'selectedStateId' => $job->region, 'selectedCityId' => $job->district, ]); @endphp
@livewire('country-state-city', ['row' => true]) @error('location') {{ $message }} @enderror
@endif

{{ __('benefits') }}

@foreach ($benefits as $benefit) @endforeach
@error('benefits') {{ $message }} @enderror
@error('skills') {{ __($message) }} @enderror

{{ __('job_description') }}

@error('description') {{ $message }} @enderror
{{-- Additional Questions --}} @if (currentCompany()->question_feature_enable)

{{ __('add_screening_questions') }}

{{ __('choose_from_existing_question') }}
{{ __('create_new_screening_question') }}

{{ __('selected_screening_questions') }}

@endif

{{ __('apply_job_on') }}:

apply_on === 'app' ? 'checked' : '' }} checked name="apply_on" value="app" id="app-app">
apply_on === 'custom_url' ? 'checked' : '' }} name="apply_on" value="custom_url" id="app-custom_url">
apply_on === 'email' ? 'checked' : '' }} name="apply_on" value="email" id="app-email">
@error('apply_url') {{ $message }} @enderror
@error('apply_email') {{ $message }} @enderror
@endsection @section('css') @include('map::links') @endsection @section('frontend_scripts') @livewireScripts @stack('js') @if (app()->getLocale() == 'ar') @endif @include('map::set-edit-leafletmap', ['lat' => $job->lat, 'long' => $job->long]) @include('map::set-edit-googlemap', ['job' => $job]) @endsection