@extends('backend.layouts.app') @section('title') {{ __('salary_types_list') }} @endsection @section('content')
This list will be displayed on the company settings page as well as the profile setup page. The company can select which organization type his company was in from a list.

{{ __('salary_types_list') }} ({{ $salaryTypes ? count($salaryTypes) : '0' }})

{{-- --}}
@forelse ($salaryTypes as $key => $salaryType) @empty @endforelse
{{ __('name') }} {{ __('action') }}
{{ $salaryType->name }}
@foreach ($salaryType->translations as $translation) @if (app()->getLocale() == $translation->locale) @else {{ getLanguageByCodeInLookUp($translation->locale,$app_language) }}: {{ $translation->name }} @endif @endforeach
@method('DELETE') @csrf
{{ __('no_data_found') }}
@if (!empty($salaryType_id))

{{ __('edit') }} {{ __('salary_type') }}

{{ __('create') }}
@csrf @method('PUT') @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCodeInLookUp($language->code,$app_language); $name = "name_{$language->code}"; $code = $salaryType_id->translations[$key]['locale'] ?? ''; $data = $salaryType_id->translations->where('locale', $language->code)->first(); $value = $data ? $data->name : ''; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@endif @if (empty($salaryType_id))

{{ __('create') }} {{ __('salary_type') }}

@csrf @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCodeInLookUp($language->code,$app_language); $name = "name_{$language->code}"; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@endif
@endsection